Check the value of DIALSTATUS then decide of you want to dial the 2nd
number. See [macro-std-exten] in extensions.conf for an example of
checking the value of DIALSTATUS.
The only time you might want two Dial lines in a row is if you always,
not matter what, want to dial the 2nd number.
Il Neofita wrote:
Yes, but I would like to try a number and after to try a second one.
Any Idea how to avoid this.
On 2/18/07, *Eric ManxPower Wieling* < [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
C F wrote:
> Asterisk supports this directly by issuing the hangup command before
> the answer command. However, when using an analog interface like FXO
> the line has no way of knowing you just hung up and will continue to
> ring, which asterisk will see as a new call. in my experience even
> when using a PRI if i dont give the pri cause the provider re
> initiates the call.
This would only happen if you blindly run two Dial lines in sequence in
your dialplan. Don't do this.
_______________________________________________
--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