Mark Price wrote:
Hi,

How do I cause the dial plan to dial a different extension if the first
either never picks up or presses ignore or what have you?
For example, something like this:

exten => context,1,Dial(SIP/[EMAIL PROTECTED])
exten => context,2,Dial(SIP/[EMAIL PROTECTED])

Currently, if the first number doesn't answer, the session is closed.

Thanks
Mark

You need to specify a timeout on at least the first dial command.

From 'show application dial':
"Unless there is a timeout specified, the Dial application will wait
indefinitely until one of the called channels answers, the user hangs up, or if all of the called channels are busy or unavailable. Dialplan executing will continue if no requested channels can be called, or if the timeout expires."

'show application dial' on the command line will tell you how and where to put the necessary options.

-Dave
_______________________________________________
--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

Reply via email to