According to
http://www.voip-info.org/wiki/index.php?page=Asterisk+cmd+Dial#Parameters
the timeout parameter is only in effect if the call is not answered.

> The timeout parameter is optional. If not specifed, the Dial command will 
> wait indefinitely, exiting only when the originating channel hangs up, or all 
> the dialed channels return a busy or error condition. 
Otherwise it specifies a maximum time, in seconds, that the Dial command
is to __wait for a channel to answer__.

Am I missing something?

Thank you
Sim


Sukhbir Singh wrote:
> Hi Sim,
> 
>     You can set the time limit of a call by Adding S(times in seconds)
> option in Dial Application.
>     For Example if u want to disconnect call After 5 mintue for extension
> 123 then use Dial Application in extensions.conf file as follow:
> 
>     exten => 123,1,Dial(SIP/abc|10| S(400))
> 
> With Regards,
> Sukhbir Singh
> 
> 
> ----- Original Message -----
> From: "Sim Zacks" <[EMAIL PROTECTED]>
> To: <[email protected]>
> Sent: Monday, May 19, 2008 10:38 AM
> Subject: [asterisk-users] time limit
> 
> 
> How can I put a time limit on calls for specific extensions?
> For extension 123, for example, I want the phone to disconnect after 5
> minutes.
> 
> Thank you
> Sim
> 
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
> 
> 
> This message and its attachments contain confidential information and may 
> also contain legally privileged information. This message is intended solely 
> for the named addressee. If you are not the addressee indicated in this 
> message (or authorized to receive for addressee), you may not copy or deliver 
> any part of this message or its attachments to anyone or use any part of this 
> message or  its attachments. Rather, you should permanently delete this 
> message and its attachments (and all copies) from your system and kindly 
> notify the sender by reply e-mail. Any content of this message and its 
> attachments that does not relate to the official business of Cellebrum.com 
> Pvt Ltd or its affiliates and/or subsidiaries must be taken not to have been 
> sent or endorsed by any of them. Opinions and information in this email that 
> do not relate to the official business of Cellebrum.com Pvt Ltd, shall be 
> understood as neither given nor endorsed by Cellebrum.com Pvt Ltd. Any 
> action/proceeding/
opportunity upon the contents of this email taken by not intended addressee 
shall attract liabilities both criminal and civil against such addressee.
> 
> Email communications are not private and no warranty is made that e-mail 
> communications are timely, secure or free from computer virus or other defect.
> 
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to