Unable to get "Host Port" through REGISTER on asterisk

Hi everyone,

I am in the process of replacing a HW device that my service provider provides by configuring a SIP peer on asterisk. I am having trouble getting the register message from asterisk to include the host part that the hw device provides during the register, causing asterisk not to be able to register properly. I have included the sniffer traces from both devices below for explanation. The register command I have in sip.conf is

register => 64677XXX:XXXXXXX@moip.oc2:5060

Look forward to your help !


It is not needed when it is the default. In that part it may not be needed at all, because, if it is wrong, the packet will be sent to the wrong place.