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:[EMAIL PROTECTED]
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 <[EMAIL PROTECTED]> wrote:
> Using 1.0.9:
>
> If I have:
>
> exten => s,1,Dial(SIP/5555&SIP/[EMAIL PROTECTED])
>
> 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/
_______________________________________________
--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
_______________________________________________
--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