[asterisk-dev] how to findout which destination has picked call among all dialed destinations?

Krunal Patel krunal.patel at ecosmob.com
Mon May 12 23:55:16 CDT 2008


Hi,

I need to dial multiple destinations & if anybody of them accept the call
then the others will be hangup.
So I have dialed mulitple destinations by concating dialstring by '&'.

For example :

exten
=>s,n,Dial(SIP/voip-provider/4444&SIP/voip-provider/5555&SIP/voip-provider/6666&SIP/voip-provider/7777|100)

Now if 4444 has been accepted then how to find it out.
I have cheked CDR(dst) but it's returning 4444,5555,6666,7777 .

Even checked agi variables.But i can't search it out.

Is there any way to find it out which destination has picked the call?

Thanks in advance.

--
Regards,
Krunal Patel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20080513/283ac41a/attachment.htm 


More information about the asterisk-dev mailing list