WARNING[18086] chan_sip.c: Format for registration is [peer?][transport://]user[@domain]

I am running FreePBX 2.8 with Asterisk 1.6.2xx. This is a new install and we are trying to clean up all errors before we go live. How do a get rid of this error. Even deleting users.conf does not help.

[2010-10-06 11:24:19] VERBOSE[18086] config.c: == Parsing ‘/etc/asterisk/users.conf’: [2010-10-06 11:24:19] VERBOSE[18086] config.c: == Found

[2010-10-06 11:24:19] WARNING[18086] chan_sip.c: Format for registration is [peer?][transport://]user[@domain][:secret[:authuser]]@host[:port][/extension][~expiry] at line 8

[2010-10-06 11:24:19] WARNING[18086] chan_sip.c: Format for registration is [peer?][transport://]user[@domain][:secret[:authuser]]@host[:port][/extension][~expiry] at line 9

[2010-10-06 11:24:19] WARNING[18086] chan_sip.c: Format for registration is [peer?][transport://]user[@domain][:secret[:authuser]]@host[:port][/extension][~expiry] at line 10

[2010-10-06 11:24:19] WARNING[18086] chan_sip.c: Format for registration is [peer?][transport://]user[@domain][:secret[:authuser]]@host[:port][/extension][~expiry] at line 11

[2010-10-06 11:24:19] WARNING[18086] chan_sip.c: Format for registration is [peer?][transport://]user[@domain][:secret[:authuser]]@host[:port][/extension][~expiry] at line 12

[2010-10-06 11:24:19] WARNING[18086] chan_sip.c: Format for registration is [peer?][transport://]user[@domain][:secret[:authuser]]@host[:port][/extension][~expiry] at line 13

[2010-10-06 11:24:19] WARNING[18086] chan_sip.c: Format for registration is [peer?][transport://]user[@domain][:secret[:authuser]]@host[:port][/extension][~expiry] at line 14

[2010-10-06 11:24:19] WARNING[18086] chan_sip.c: Format for registration is [peer?][transport://]user[@domain][:secret[:authuser]]@host[:port][/extension][~expiry] at line 15

[2010-10-06 11:24:19] WARNING[18086] chan_sip.c: Format for registration is [peer?][transport://]user[@domain][:secret[:authuser]]@host[:port][/extension][~expiry] at line 16

[2010-10-06 11:24:19] WARNING[18086] chan_sip.c: Format for registration is [peer?][transport://]user[@domain][:secret[:authuser]]@host[:port][/extension][~expiry] at line 17

[2010-10-06 11:24:19] WARNING[18086] chan_sip.c: Format for registration is [peer?][transport://]user[@domain][:secret[:authuser]]@host[:port][/extension][~expiry] at line 18

Yes. Many Thanks. No registration is needed on outbound calls from Asterisk to Cisco.

This makes no sense, registration associates a username with an IP address for dynamic peers. What would registering with just an IP address and no username possibly accomplish?

Secondly AS5300 don’t have registration proxies and only support a single SIP UA definition, not sure what you are trying to say.

Are you sending calls from the AS5300 to the Asterisk box? If you are you should code the IP address in the SIP session target.

just like I thought. Can’t register with my Cisco 5300 that way. It requires @x.x.x.x not [email protected] (where username = trunk name or provider user name)

[2010-10-06 16:51:28] VERBOSE[21190] chan_sip.c: – Got SIP response 405 “Method Not Allowed” back from x.x.x.x
[2010-10-06 16:51:28] VERBOSE[21592] manager.c: == Manager ‘admin’ logged off from 127.0.0.1
[2010-10-06 16:53:08] NOTICE[21190] chan_sip.c: – Registration for ‘[email protected]’ timed out, trying again (Attempt #1)
[2010-10-06 16:53:08] VERBOSE[21190] chan_sip.c: – Got SIP response 405 “Method Not Allowed” back from x.x.x.x

so I disabled ALL trunks (except 1) and the error is down to one line but I don’t see anything wrong with the trunk registration. Where else do I look?

[2010-10-06 15:45:42] WARNING[21149] chan_sip.c: Format for registration is [peer?][transport://]user[@domain][:secret[:authuser]]@host[:port][/extension][~expiry] at line 8

PEER DETAILS:
type=peer
qualify=yes
insecure=very
host=73.44.66.40
disallow=all
canreinvite=no
allow=g729

USER Context: from-trunk
USER DETAILS:
type=user

REGISTRATION: @73.44.66.40

sip_registrations.conf contains only
[email protected]

You need a user name before the @ in registrations, you have:

@73.44.66.40

The format is:

[email protected]

Yes. Thanks. I just found an obscure reference here
https://issues.asterisk.org/view.php?id=15672
to this new registration setting but what if the provider does not require a user name on registration? Will is still work?
register =>[email protected]:5060

any registrations in FreePBX are setup in the trunks by you.

Check your format in the register boxes of your trunks to see if there is a format problem and check which ones it is complaining about based on the line numbers (which may be mis-leading, as they may be ‘virtual’ line numbers based on the #include statements and you will have to “reverse engineer” them.