Zamknięty

Send line to [login to view URL] on call transfer

I need code to send a line to the [login to view URL] when a call is transferred.

The current code I use is below but the UNIQUEID is incorrect and I need the duration and billsec added.

exten => s,n,ExecIf($["${BLINDTRANSFER}" != ""]?System(echo "${EPOCH}|${UNIQUEID}|${FROMEXTEN}|Local/${CUT(agent,@,1)}@from-queue|COMPLETECALLER|0|${CDR(billsec)}|${CDR(duration)}" >> /var/log/asterisk/queue_log ))

Correct UNIQUEID

1524458999|1524458986.618|56|Local/105@from-queue|COMPLETECALLER|2|11|1

UNIQUEID changes on Transfer

1524458997|1524458986.620|56|Local/105@from-queue|COMPLETECALLER|0|0|

Umiejętności: Asterisk PBX, PHP, VoIP

Zobacz więcej: voip, asterisk pbx

Numer ID Projektu: #16760823