On Sun, 2005-02-27 at 19:39 +0000, Kanishka Somaratne wrote: > Hi > how do i set an SIP users to make outgoing calls that is worth only > $5. if they exceed $5 they can't make any calls. what i need is not a > calling card, but to limit outgoing calls for SIP users depedning on > a value i give. > > I use realtime asterisk.
Translate it to a time value, whatever you charge per minute or $5.00 is worth, Use "L" option in Dail string, example: exten => _9NXXXXXX,4,Dial(SIP/${EXTEN:[EMAIL PROTECTED],60,trL(600000:240000:180000)) -- #Joseph _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users