I’ve several VoIP providers connected to my asterisk and working fine (including SIP registration).
Recently I’ve found provider which perfectly meets my needs and wanted to add it to my setup.
There is one specific thing with its configuration. The user there is a user’s full email (like email@example.com) where domain of the email is different that domain of provider (voip.provider.com) and its host address (sip.voip.provider.com).
but request created by asterisk (11.1) does not match my expectations (definetly because register string is wrong):
REGISTER sip:corporation.com SIP/2.0
Via: SIP/2.0/UDP x.x.x.x:5060;branch=z9hG4bK243ecc44
CSeq: 103 REGISTER
User-Agent: Asterisk PBX 11.1.0
Clearly domain where asterisk is trying to register (first line of request) is not the one of provider (voip.provider.com), but that of my corporartion (corporation.com). Request is being correctly sent to sip.voip.provider.com.
What should be correct format of register string in such case (different provider domain, host and user domain). Can anyone sent me example?
Thanks in advance.