Re: [asterisk-users] sequential Dial() commands

2006-10-11 Thread Mark Price
I was using timeouts. The dial plan was altered and working by the time of the replies, so I'm sorry I can't show the original problem.It's possible I did something simple like not waiting the whole timeout.Thanks,
MarkOn 10/10/06, Dovid B [EMAIL PROTECTED] wrote:







Simple
Exten = 1234,1,Dial(SIP/[EMAIL PROTECTED],90) ; This will ring thier phone 
for 90 seconds
Exten =1234,2,Noop(If user dosent pick 
up do something here)
Exten = 1234,102,Dial(SIP/[EMAIL PROTECTED],90) ; WIll ring user B if User is 
Busy or hits the reject button
Exten = 1234,103,Noop(If user dosent pick up 
do something here)
Exten = 1234,203,Noop(If user B is busy or 
rejects call do something here)

  - Original Message - 
  
From: 
  Mark Price 
  
  To: 
Asterisk Users 
  Sent: Tuesday, October 10, 2006 7:28 
  PM
  Subject: [asterisk-users] sequential 
  Dial() commands
  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.ThanksMark
  
  

  ___--Bandwidth and 
  Colocation provided by Easynews.com --asterisk-users mailing 
  listTo UNSUBSCRIBE or update options visit: 
  http://lists.digium.com/mailman/listinfo/asterisk-users


___--Bandwidth and Colocation provided by Easynews.com --
asterisk-users mailing listTo 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


[asterisk-users] sequential Dial() commands

2006-10-10 Thread Mark Price
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.ThanksMark
___
--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


Re: [asterisk-users] sequential Dial() commands

2006-10-10 Thread Dave Fullerton

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


Re: [asterisk-users] sequential Dial() commands

2006-10-10 Thread Luki

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.


Specify a time out. Without it * will not continue to priority 2 if
[EMAIL PROTECTED] is reachable but does not answer.

exten = context,1,Dial(SIP/[EMAIL PROTECTED],20)
exten = context,2,Dial(SIP/[EMAIL PROTECTED],20)
___
--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


Re: [asterisk-users] sequential Dial() commands

2006-10-10 Thread Dovid B



Simple
Exten = 1234,1,Dial(SIP/[EMAIL PROTECTED],90) ; This will ring thier phone 
for 90 seconds
Exten =1234,2,Noop("If user dosent pick 
up do something here")
Exten = 1234,102,Dial(SIP/[EMAIL PROTECTED],90) ; WIll ring user B if User is 
Busy or hits the reject button
Exten = 1234,103,Noop("If user dosent pick up 
do something here")
Exten = 1234,203,Noop("If user B is busy or 
rejects call do something here")

  - Original Message - 
  From: 
  Mark Price 
  
  To: Asterisk Users 
  Sent: Tuesday, October 10, 2006 7:28 
  PM
  Subject: [asterisk-users] sequential 
  Dial() commands
  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.ThanksMark
  
  

  ___--Bandwidth and 
  Colocation provided by Easynews.com --asterisk-users mailing 
  listTo 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