Google is your friend, or you enemy, either way they usually have an answer:

"/Dial a single destination, ringing for a maximum of 20 seconds. Limit the call length to 60 seconds, warning the caller when only 20 seconds remain:/

exten => 200,1,Dial(SIP/1234,20,L(60000:20000))
" -- http://www.automated.it/asterisk/lah-3-6-05_4.html



John Rich wrote:
Hi,
Is there a way to limit the duration of a call in the Dial command? Mainly for perpay account. Thanks

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

------------------------------------------------------------------------

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

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