[Asterisk-Users] Call duration limits not working

tim at marocon.com tim at marocon.com
Sun Aug 21 14:54:10 MST 2005


Hello everybody.  Recently I've been trying to limit the duration of some
calls for a simple application I'm writing.  Unfortunately all of the
documented methods are failing and I'm not sure what else to try.  Here
are some samples of what I've done:

1) The AbsoluteTimeout application.
   - exten => 1,1,AbsoluteTimeout (30)

2) The new version of AbsoluteTimeout.
   - exten => 1,1,Set(TIMEOUT(absolute)=30)

3) The S option to the Dial application.
   - exten => 1,1,Dial(${PROVIDER}/${NUMBER}|30|S(30))

4) The L option to the Dial application.
   - exten => 1,1,Dial(${PROVIDER}/${NUMBER}|30|L(30000))

5) A combination of all of the above.
   - exten => 1,1,Set(TIMEOUT(absolute)=30) OR exten =>
1,1,AbsoluteTimeout (30)
   - exten => 1,2,Dial(${PROVIDER}/${NUMBER}|30|S(30)L(30000))

Nothing seems to work.  When using "S" I get a message on the console that
says the call is going to be limited to 30 seconds but it just keeps
going.  For completeness I'm dialing an IAX provider and I'm using the
Asterisk CVS HEAD.  I also am sure that did not forget to reload (and
sometimes restart entirely) after I made changes to extensions.conf.  The
timeout "|30" works when calls don't supervise but the time limit "|S(30)"
or "|L(30000)" lets calls continue forever when calls do supervise.

What could I be doing wrong?  What should I try to remedy this situation?

Thank you,
Tim Mattison
tim at marocon.com




More information about the asterisk-users mailing list