Summary:ASTERISK-02228: A @ character as a username for a sip host is read wrong
Reporter:hackit25 (hackit25)Labels:
Date Opened:2004-08-16 13:11:57Date Closed:2011-06-07 14:10:31
Versions:Frequency of
Description:Running Slackware 9.1
Kernel 2.4.22
CVS Head 08/06/04

When using a SIP provider that provides a username in the format of an email address, in sip.conf to register as a peer, Asterisk uses the email domain after the first @ character to authenticate the user as if It is a sip server.
The format in sip.conf is the following.

register => john@useremail.com:password@sipprovider.com

Which produces this error:

Aug 16 11:30:05 NOTICE[114695]: chan_sip.c:3922 sip_reg_timeout:
Registration for 'john@useremail.com@sipprovider.com' timed
out, trying again
Aug 16 11:30:06 NOTICE[114695]: chan_sip.c:6575 handle_response: Failed
to authenticate on REGISTER to
Comments:By: Mark Spencer (markster) 2004-08-16 14:02:45

This is a configuration issue, get on IRC and you should be able to find someone to assist you.