[asterisk-users] Call limits and VoIP providers

Jeremy McNamara jj at nufone.net
Mon Nov 20 11:15:02 MST 2006


Mike wrote:
> That doesn't work thought, because calls from extension to extension 
> (i.e. 201 to 205) shouldn't be taken into account.  Only calls to/from 
> my VoiP providers should.


If you set the call limit on the type=peer entry for your provider it 
would.  Remember you can have more than one type=peer entry with the 
same host=voip.provider.com entry.   Then set your dialplan logic up so 
that the customer you want to have a limit on go thru the type=peer in 
sip.conf that has the limit set on.

The others go thru the other type=peer without call limits.



[provider-with-limit-4]
type=peer
host=bob.com
call-limit=4

[provider]
type=peer
host=bob.com



Jeremy McNamara







More information about the asterisk-users mailing list