Colin Anderson
2006-Feb-28 16:44 UTC
[Asterisk-Users] Capturing DIALSTATUS on a PARTICULAR channel if multiple-dialling?
Using 1.0.9: If I have: exten => s,1,Dial(SIP/5555&SIP/12345@192.168.1.1) How can I return the DIALSTATUS variable for the second SIP channel ONLY if the second SIP channel is busy, regardless of the dialstatus of the first SIP channel? What I want is, if the second SIP channel is busy go to n+1 or n+101 regardless of the status of the first SIP channel. tia
BJ Weschke
2006-Feb-28 17:01 UTC
[Asterisk-Users] Capturing DIALSTATUS on a PARTICULAR channel if multiple-dialling?
On 2/28/06, Colin Anderson <ColinA@landmarkmasterbuilder.com> wrote:> Using 1.0.9: > > If I have: > > exten => s,1,Dial(SIP/5555&SIP/12345@192.168.1.1) > > How can I return the DIALSTATUS variable for the second SIP channel ONLY if > the second SIP channel is busy, regardless of the dialstatus of the first > SIP channel? What I want is, if the second SIP channel is busy go to n+1 or > n+101 regardless of the status of the first SIP channel. >You'd need to modify the code of app_dial.c for 1.0.9 to make this happen. There isn't a way to do it as it is now. -- Bird's The Word Technologies, Inc. http://www.btwtech.com/
Colin Anderson
2006-Feb-28 21:02 UTC
[Asterisk-Users] Capturing DIALSTATUS on a PARTICULAR channel if multiple-dialling?
>You'd need to modify the code of app_dial.c for 1.0.9 to make this >happen. There isn't a way to do it as it is now.Dang. Thanks for that. Time to put my thinking cap on to do this in a more unobtrusive manner.
Colin Anderson
2006-Mar-01 16:19 UTC
[Asterisk-Users] Capturing DIALSTATUS on a PARTICULAR channel if multiple-dialling?
I have found out that you can pattern-match the ${DIALEDPEERNUMBER} variable to determine who picked up the phone. ${DIALEDPEERNUMBER} will contain tne extension number of the person that picked up the call, however it will NOT contain the TECHNOLOGY/ part of the call. Crude, but it works. Hope this helps someone in the future. -----Original Message----- From: BJ Weschke [mailto:bweschke@gmail.com] Sent: Tuesday, February 28, 2006 5:01 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] Capturing DIALSTATUS on a PARTICULAR channel if multiple-dialling? On 2/28/06, Colin Anderson <ColinA@landmarkmasterbuilder.com> wrote:> Using 1.0.9: > > If I have: > > exten => s,1,Dial(SIP/5555&SIP/12345@192.168.1.1) > > How can I return the DIALSTATUS variable for the second SIP channel ONLYif> the second SIP channel is busy, regardless of the dialstatus of the first > SIP channel? What I want is, if the second SIP channel is busy go to n+1or> n+101 regardless of the status of the first SIP channel. >You'd need to modify the code of app_dial.c for 1.0.9 to make this happen. There isn't a way to do it as it is now. -- Bird's The Word Technologies, Inc. http://www.btwtech.com/ _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users