Displaying 1 result from an estimated 1 matches for "cidnumorig".
2007 Jun 11
1
CDR on transfers of called ZAP channel
...ristuffed Asterisk 1.2.18 running with
bristuff-0.3.0-PRE-1y-g. Here is my dialplan, I simplified it a bit:
[default]
exten => 0123456789,1,Macro(dialpstn,${EXTEN})
[macro-dialpstn]
exten => s,1,Set(TRANSFER_CONTEXT=transfer)
exten => s,2,Set(FORWARD_CONTEXT=transfer)
exten => s,3,Set(CIDNUMORIG=${CALLERID(num)}) ; save callerid-num
exten => s,4,Set(CALLERID(num)=98765) ; dial out using msn 98765
exten => s,5,Dial(Zap/g1/${ARG1}|30|t)
exten => h,1,Set(CALLERID(num)=${CIDNUMORIG}) restore callerid-num for
CDR
[transfer]
exten => _X.,1,Set(CALLERID(all)="External" <...