Hi John,

If you enter "show application dial" when logged into the Asterisk console,
you can read that help (extract only regarding dial option) :

    L(x[:y][:z]) - Limit the call to 'x' ms. Play a warning when 'y' ms are
           left. Repeat the warning every 'z' ms. The following special
           variables can be used with this option:
           * LIMIT_PLAYAUDIO_CALLER   yes|no (default yes)
                                      Play sounds to the caller.
           * LIMIT_PLAYAUDIO_CALLEE   yes|no
                                      Play sounds to the callee.
           * LIMIT_TIMEOUT_FILE       File to play when time is up.
           * LIMIT_CONNECT_FILE       File to play when call begins.
           * LIMIT_WARNING_FILE       File to play as warning if 'y' is
defined.
                                      The default is to say the time
remaining.

Always think to display help through the "show application ...", it could be
pertinent.

Good luck !

Francois BERGERET,
France.

-----Message d'origine-----
De : [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] De la part de John Rich
Envoyé : dimanche 16 avril 2006 15:46
À : [email protected]
Objet : [Asterisk-Users] How do I limit the lenght of a call


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

Reply via email to