[asterisk-users] 5 min limitation on phone calls! how to!

RoLaNd RoLaNd r_o_l_a_n_d at hotmail.com
Thu Aug 21 13:41:40 CDT 2008


i tried that before.. it didnt actually work! it the call kept on going well beyound the allowed test seconds...
heres my extensions.conf:


[sipura-line]
exten => 301,1,Answer() ; Answer inbound calls
exten => 301,2,Playback(silence/1)
exten => 301,3,Background(simzy1) ; input an extension
exten => 301,4,WaitExten(8)
exten => 301,5,Dial(SIP/100,15) ; goes to operator
exten => 301,4,Wait(8)
include => spa
exten => _XXX,6,VoiceMail(100 at default)
exten => 301,n,Hangup()




[spa]
exten =>_301,1,GoTo(sipura-line,${EXTEN},1)
exten => _1XX,1,Dial(SIP/${EXTEN},15) ;each ring equals to 5 seconds so it will ring 3 times
exten => _1XX,2,VoiceMail(${EXTEN}@default) ; direct 2 voicemail box if line is busy or unavailable
exten => _1XX,3,HangUp()
exten => _2XX,1,Dial(SIP/${EXTEN},15) ;each ring equals to 5 seconds so it will ring 3 times
exten => _2XX,2,VoiceMail(${EXTEN}@default) ; directs to voicemail box if line is busy or unavailable
exten => _2XX,3,HangUp()
exten => _3XX,1,Dial(SIP/${EXTEN},15) ; each ring equals to 5 seconds so it will ring 3 times
exten => _3XX,2,VoiceMail(${EXTEN}@default) ; directs 2 voicemail box if line is busy or unavailable
exten => _3XX,3,HangUp()
exten =>_01,1,Dial(SIP/$(EXTEN)@300) ; old ogero line
exten =>_01,2,Set(TIMEOUT(absolute)=5)
exten =>_02,1,Dial(SIP/$(EXTEN)@304) ; new ogero line
exten =>_03,1,Dial(SIP/$(EXTEN)@305) ; samer
exten =>_04,1,Dial(SIP/$(EXTEN)@306) ; gilberte
exten =>_05,1,Dial(SIP/$(EXTEN)@307) ; conference
exten =>_06,1,Dial(SIP/$(EXTEN)@308) ; line 4
exten => 303,1,VoicemailMain ; voicemail box to be redirected to




> Date: Thu, 21 Aug 2008 20:26:48 +0300
> From: list-asterisk-users at gofferje.homelinux.org
> To: asterisk-users at lists.digium.com
> Subject: Re: [asterisk-users] 5 min limitation on phone calls! how to!
> 
> RoLaNd RoLaNd schrieb:
> > Hello all!
> >  
> > my last month's phone bill sky rocketed after i setup asterisk with
> > softphones all over the house!
> > 
> > could someone help me set up a limitation for my wife and kids not to be
> > able to talk for more than 5 min at a time!
> > or like 20 min per week! or whtever limitation i could set for this!
> 
> Set(TIMEOUT(absolute)=seconds)
> 
> http://www.voip-info.org/wiki/index.php?page=Asterisk+cmd+AbsoluteTimeout
> 
> 
> Terve,
> Stefan
> 
> -- 
> Last words of a stormchaser:
> "Where is that rotation on the radar?!"
> 
> 
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> 
> AstriCon 2008 - September 22 - 25 Phoenix, Arizona
> Register Now: http://www.astricon.net
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users

_________________________________________________________________
Discover the new Windows Vista
http://search.msn.com/results.aspx?q=windows+vista&mkt=en-US&form=QBRE
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080821/61b132aa/attachment.htm 


More information about the asterisk-users mailing list