I believe a have found a critical error in the system. I'm currently unable to set a domain for my trunk.
If I configure everything except the domain I can verify the sip.conf is set as expected. Once I try to set the domain, the register string is incorrectly changed to:
register=<username>:<passwd>@<username>/<trunkid>
As you can see instead of domain it would use username as the domain. If i remove the domain from the config it goes back to use SIP server as expected.
The trunk I'm referring to is SIP/3934541. I would appreciate your help as I believe this is the reason why I'm unable to receive calls in this specific trunk.