Kanishka Somaratne
2005-Feb-27 12:39 UTC
[Asterisk-Users] limit SIP extention outgoing calls
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. Thank You Kanishka -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050227/73c38e9c/attachment.htm
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:1}@pstn-spa3k,60,trL(600000:240000:180000)) -- #Joseph