[Asterisk-Users] strange behaviour of asterisk sip.conf type=user vs type=peer

Vikas topgun9 at gmail.com
Tue Oct 25 12:57:32 MST 2005


Hi,

In sip.conf if
type=peer
then incoming calls from broadvoice are sent to context=incoming in
the extension.conf file.

But in sip.conf if
type=user
then we get the following messages in the packets being exchanged with
broadvoice:
1. "Found no matching peer or user for '147.135.20.128:5060'"
2. Looking for 4155131083 in default
3. Reliably Transmitting (no NAT):
4. SIP/2.0 404 Not Found

The sip.conf host section for broadvoice looks like:
[sip.broadvoice.com]
callerid=xxxxxxxxxx
context=incoming
fromdomain=sip.broadvoice.com
host=sip.broadvoice.com
insecure=very
secret=xxxxxxxx
type=peer
user=xxxxxxxxx
username=xxxxxxxxx

Why is this happening,

vikas



More information about the asterisk-users mailing list