[Asterisk-Users] "Looking for username in default"

Ed Greenberg edg at greenberg.org
Tue Jul 19 11:49:18 MST 2005


When a particular peer tries to connect, I get the message
"looking for his_username in default"

Then asterisk sends back a 404.

The username is set as the stanza in sip.conf that looks like this:

[his_username]
type=peer
host=999.999.999.999
context=his_context
disallow=all
allow=ulaw
secret=his_secret
username=his_username
insecure=very

I don't understand whether it's looking for a stanza in sip.conf named 
default, or looking for a context in extensions.conf named default.

Note that his_context also properly exists in extensions.conf.

Can anybody explain to me why it's not matching his_username with the 
stanza shown above?

</edg> 



More information about the asterisk-users mailing list