Hi guys, I am trying to force a correct callerID on a trunk . I am running a2B 1.8 with elastix 2.03 (asterisk 1.6.2) I think i am configuring the callback incorrectly. What is happening is the incoming callerID is sent as outgoing CallerId on the trunk.
This is how it is done:
[from-trunk-custom-a2billing] ;; this is where the call comes exten => _X.,1,Set(CALLERID(num)=852${CALLERID(num)}) exten => _X.,n,Goto(a2billing-cid-callback,${EXTEN},1)
[a2billing-cid-callback] exten => _X.,1,Ringing() exten => _X.,n,DeadAGI(a2billing.php,1,cid-callback,) ;last parameter is the callback area code exten => _X.,n,Wait(60)
the daemon picks it up correctly and tries to call, however, from the screenshot attached, you can see it sending the incoming callerID as the outgoing callerID.
Does anyone know how to do this properly?
Attachments: |
File comment: the callerID that is sent in the channel is the same callerID that was received !
.. A2Billing Portal ...png [ 117.27 KiB | Viewed 2889 times ]
|
|