[asterisk-users] Registration by IP address

michel freiha michofr at gmail.com
Tue Sep 23 04:51:51 CDT 2008


Dear All,
I'm using a2billing interface with asterisk in order to bill all calls
flowing through my PBX... I need to prevent my customers to use the same
extension from different IP addresses so I created a new extension under
extensions.conf as follow:

[michofr]
type=peer
username=michofr
accountcode=4197464352
regexten=michofr
callerid=111111
amaflags=billing
secret=123456
nat=yes
dtmfmode=RFC2833
qualify=yes
canreinvite=yes
disallow=all
allow=ulaw
allow=alaw
allow=gsm
allow=g729
host=192.168.0.164
context=a2billing
regseconds=0
cancallforward=yes

When trying to registr I'm getting 403 Forbidden...I think it's a domain
issue under sip.conf file....Can someone help me in that please?

Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080923/01826876/attachment.htm 


More information about the asterisk-users mailing list