RE: [Asterisk-Users] DIALSTATUS for Multiple Dialled Numbers

2006-04-08 Thread Alexander Lopez
Mailing List - Non-Commercial Discussion > Subject: Re: [Asterisk-Users] DIALSTATUS for Multiple Dialled Numbers > > 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 obvi

Re: [Asterisk-Users] DIALSTATUS for Multiple Dialled Numbers

2006-04-08 Thread Moises Silva
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. Regard

RE: [Asterisk-Users] DIALSTATUS for Multiple Dialled Numbers

2006-04-07 Thread Alexander Lopez
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