At "@" sign in sip user name

Hi,

I would like to use @ sign in my seep user name. Basiclly I would like to have following entry in sip.conf:

[bla@bla.com]
type=friend
secret=bla
qualify=yes
insecure=port,invite
qualify=yes
context=test
host=dynamic
nat=force_rport
allow=all

I can register with bla@bla.com but I can’t send call to this user. I tried to send call to bla%40bla.com, but it doesn’t work:

[Sep 1 12:32:42] ERROR[2741][C-00000029]: netsock2.c:303 ast_sockaddr_resolve: getaddrinfo(“bla%40bla.com”, “(null)”, …): Name or service not known
[Sep 1 12:32:42] WARNING[2741][C-00000029]: chan_sip.c:6178 create_addr: No such host: bla%40bla.com
[Sep 1 12:32:42] WARNING[2741][C-00000029]: app_dial.c:2421 dial_exec_full: Unable to create channel of type ‘SIP’ (cause 20 - Subscriber absent)

I will appreciate any help.

With kind regards,

Jurijs

That would create an illegal SIP URI. @ is a reserved character and is not one for which an exception is made for SIP user fields. The nearest you could get would be %40, but the remote system may or may not understand this.

If the remote system is insisting on a bare @, it is broken.