Hi,

I have a SIP.CONF with a user section like this:-

[1234]
accountcode=HABITAZ
type=friend
callerid="HABITAZ/1234"
context=milkshake
userName=1234
secret=1234
host=dynamic
dtmfmode=rfc2833
qualify=yes
callgroup=1
pickupgroup=1
canreinvite=no


When I login from a X-Lite phone, with "Username", "Authentication User" and 
"Password" set to '1234', everything works fine. The
account code is set to 'HABITAZ' and everything seems fine.

But when the "Username" on X-Lite is changed to pretty much anything else, eg. 
'4321' - and the "Authentication User" and "Password"
left to be '1234', Asterisk still allows calls to be made from the phone, but 
the CDR countains a blank accountcode.

How can I disallow login if the "Username" field on X-Lite is not set to a 
valid user section in SIP.conf?

Andre



_______________________________________________
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to