Issue:
I have successfully configured a SIP trunk with another provider (A), but BTCL (B provider) is not registering. The trunk shows “Rejected”, and logs show “No response from sip:10.200.10.4:5060”.
BTCL Credentials Provided:
Username: [email protected]
SIP Server IP: 10.200.10.4
Port: 5060
SIP Debug Logs:
[2025-02-12 18:47:07] WARNING[2200] res_pjsip_outbound_registration.c: No response received from ‘sip:10.200.10.4:5060’ on registration attempt to ‘sip:[email protected]:5060’, retrying in ‘60’
What I’ve Tried:
Used [email protected] as the username.
Set from domain=ims.btcl.net.bd.
Checked network reachability (ping 10.200.10.4).
Verified firewall rules on Mikrotik (iptables & NAT rules).
Disabled SIP ALG (/ip firewall service-port set sip disabled=yes).
Can someone suggest how to register this trunk correctly?
Do you have some connection with this provider to be on the same non-public space? Because that IP in the outbound proxy isn’t routable over the public Internet.
User names containing @ are problematic. In any case, no response indicates a lower level problem, generally packet are not arriving at their destination, in one direction or other, possibly because Via headers are wrong, and rport isn’t being forced. If user names were wrong, there should be a response, probably 403 Forbidden.
So it turns out that Sangoma’s support stuff uses 10.200.xx.yy for something, and when the support VPN is on, they push down a route to this subnet on their end.
So check your routes on the PBX (cli: route -n) and see if this is there:
10.200.0.0 172.16.0.1 255.255.255.0 UG 0 0 0 tun0
If it is, then that would be your problem. Change the SIP server IP (if you can) to something else out side of 10.200.0.0/24 and you should be ok.
I tried ICMP. It’s fine, i have checked all the network issues. The problem is the username with the domain name. I think for the username trunk is not being registered.
Then sngrep would exposes all the traffic getting to your PBX host machine (but not necessarily through your firewall to your PBX) both SIP and SDP, compare the traffic with what the mikrotik sees