[Asterisk-Users] limit SIP extention outgoing calls

Joseph syscon at interbaun.com
Sun Feb 27 16:09:45 MST 2005


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



More information about the asterisk-users mailing list