[asterisk-users] Limit call duration

Rizwan Hisham rizwanhasham at gmail.com
Thu Mar 22 08:15:58 MST 2007


I think you can set absolute timeout variable for incoming call also. I
havent tested it yet, y dont you try it. do like this:

before every local extension you can set:

exten=> _XXX,1,SET(Timeout(absolute) = 10)

exten=> 123,2,Dial
exten=> 234,2,Dial


On 3/22/07, Suity Zsolt <suich at yunord.net> wrote:
>
> Yuan LIU wrote:
> >> From: Suity Zsolt <suich at yunord.net>
> >> Date: Wed, 21 Mar 2007 14:09:20 +0100
> >>
> >> Robert Lister wrote:
> >>> On Wed, Mar 21, 2007 at 12:56:55PM +0100, Suity Zsolt wrote:
> >>>> Hi everyone,
> >>>>
> >>>> I'm new to Asterisk, but I like it ;o)
> >>>> Have a question to you;
> >>>>
> >>>> How can I limit the incoming call duration?
> >
> > You could use L() flag in when dialing the physical end point.
> >
> Yes, I use that flag for outgoing calls (when Dial from a box), but I
> have to limit incoming call (when someone call into my box) to say 10
> minutes. I have a limitations by law.
>
>
> > Yuan Liu
> >
> >>> I think you can say something like:
> >>>
> >>> AbsoluteTimeout (or in 1.2x, Set(TIMEOUT(absolute) = seconds) )
>
> --
> Suich
> _______________________________________________
> --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
>



-- 
Regards
Rizwan Hisham
Software Engineer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070322/0460d864/attachment.htm


More information about the asterisk-users mailing list