Hello there,
I have a 3rd party callback application running in the same asterisk PBX. I would like to authenticate both legs of this callback using a2billing CLI authentication.
Following is the dialplan given by my vendor to handle the callback.
[callback-a] exten => _X.,1,NoOp(call back A caller ID ${CALLERID(num)} exten: ${EXTEN}) exten => _X.,n,Dial(SIP/${EXTEN}@siptrunkip) exten => _X.,n,hangup()
[callback-b] exten => _X.,1,NoOp(to PBX calls ${CALLERID(num)} exten: ${EXTEN}) exten => _X.,n,Dial(SIP/${EXTEN}@siptrunkip) exten => _X.,n,hangup()
Callback-a is the first leg of the callback and callback-b is the second leg of the callback.
I'm currently using my sip trunk provider ip address in the siptrunkip place and the calls of both first leg and second leg are getting connected and bridged.
Now all i need is to have the a2billing CLI authentication done which will be checked against the Caller ID added in the a2billing card.
Can someone please help me in getting the dialplan which will authenticate the calls via a2billing ?
Asterisk 13.3.2 A2Billing 1.9.4
Thanks Vinod
|