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

Krunal Patel krunal.patel at ecosmob.com
Tue May 13 06:00:40 CDT 2008


Hi
${DIALEDPEERNUMBER} has solved my problem.
Thanks to all of you.


On Tue, May 13, 2008 at 1:38 PM, Grey Man <greymanvoip at gmail.com> wrote:

> On Tue, May 13, 2008 at 5:55 AM, Krunal Patel <krunal.patel at ecosmob.com>
> wrote:
> > 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?
>
> ${DIALEDPEERNUMBER}
>
> Regards,
>
> Greyman.
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-dev
>



-- 
Thanks & regards,
Krunal Patel
Software Engineer
Ecosmob Technologies Pvt. Ltd.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20080513/5ccd19b4/attachment-0001.htm 


More information about the asterisk-dev mailing list