Hello,
I am trying to setup a2b in the following way:
1. incoming call to DDI 2. a2b forwards this call to two or more destinations (can be landline nr, mobile nr or SIP client)
I want to use this setup for calls coming into our support team.
I can easily achieve it in asterisk - to terminate the incoming call on an asterisk extension and in its context use the Dial command to multiple destinations:
exten => 1000,1,Answer(750) exten => 1000,2,Dial(SIP/4479xxxxxx@trunk_facing_provider&SIP/4478xxxxxxx@trunk_facing_provider)
In this scenario I have 2 mobiles ringing simultaneously, once the call is answered on one mobile the other stops ringing - this is what I want.
Ideally I would like this call to go via a2billing to bill for the second leg of the call.
I tried to sent 2 calls from asterisk to a2b in the following way but it fails - the priority 3 is not reached:
exten => 1000,1,Answer(750) exten => 1000,2,Dial(SIP/4479xxxxxx@trunk_facing_provider&SIP/4478xxxxxxx@trunk_facing_provider) exten => 1000,3,DeadAgi(a2billing.php,1,did)
I also tried to send one call to a2billing and setup 2 destinations in INBOUND DDI >> DESTINATIONS section. I set the priority to 1 on both (it is meant to send SIP INVITEs to both destinations) but only one destination number is dialed.
|