When you pass several Dial strings only the last exited channel
DIALSTATUS is saved. In the case that 1 of the channels answer, the
status will be ANSWER obviously, but if the second fails because of
CONGESTION and the first because NOANSWER, the last exited channel
dial status will be set.
Regards
On 4/7/06, Alexander Lopez <[EMAIL PROTECTED]> wrote:
> Without modifications to Dial, I don't think so.
>
> However,
>
> Dial(Local/[EMAIL PROTECTED]&Local/[EMAIL PROTECTED])
>
> [dialstatus]
> _X.,1,Set(TECH=${CUT(${EXTEN},-,1)})
> _X.,2,Set(DEVICE=${CUT(${EXTEN},-,2)})
> _X.,3,Dial(${TECH}/${DEVICE}||)
>
>
> Or something like this...
>
> I would also create Variable name to track each one.
>
>
> >>-----Original Message-----
> >>From: [EMAIL PROTECTED]
> >>[mailto:[EMAIL PROTECTED] On Behalf Of
> >>Douglas Garstang
> >>Sent: Friday, April 07, 2006 2:21 PM
> >>To: Asterisk Users Mailing List - Non-Commercial Discussion
> >>Subject: [Asterisk-Users] DIALSTATUS for Multiple Dialled Numbers
> >>
> >>Folks,
> >>
> >>When I have a dial string like this:
> >>
> >>Dial(SIP/3254101&SIP/3254102,20,tr)
> >>
> >>and I want to check the ${DIALSTATUS} variable after the
> >>dial, how do I know which number I am getting the variable for?
> >>
> >>And, what about this?
> >>
> >>Dial(SIP/3254101&SIP/[EMAIL PROTECTED],20,tr)
> >>
> >>What happens in that case? How can I get the ${DIALSTATUS}
> >>variable for EACH NUMBER dialled?
> >>
> >>Thanks,
> >>Doug.
> >>_______________________________________________
> >>--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
>
--
"Su nombre es GNU/Linux, no solamente Linux, mas info en http://www.gnu.org"
_______________________________________________
--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