Sip registration with @ simbol in username

Our Telephone provider has given account details for SIP registration which we can use to register soft phone or a IP phone. If I use a SIP client with account details in below format, Incoming and outgoing calls are working .

Ex:
Register Name : +9739123456@provider.bh
User Name : +97372222222
Server/Domain : provider.bh
Password: VoIPpassw0rd
Outbound Proxy Server/Host : 123.165.185.144

How can I use account details in Asterisk to register and make calls using my home PBX.
I can’t setup registry string since it has @ symbol in authentication field.

Thanks

Are you sure it is actually in the user name, rather than terminating it? I think they may have given you the full address of record, not just the username part.

@ is not a valid character in a user name, unless escaped, in which case I believe it is %40.

Configuration of my IP phone is like this.

Which SIP channel driver are you using?

@jcolp
I use chan_sip in my asterisk.

how I should write register string for below values

Register Name : +9739123456@provider.bh
User Name : +97372222222
Server/Domain : provider.bh
Password: VoIPpassw0rd
Outbound Proxy Server/Host : 123.165.185.144

Thanks