I am pretty new to the use of PBX, the use of SIP, etc. We have a hosted freePBX server that has been working great coming through our older router, no problems with that part of the system. The issue is we are trying out a newer Sonicwall router to swap out with the older unit.
The Sonicwall is on a separate gateway than the older router but same service provider. After adding all the NAT rules and polices the system was working fine until the No Service and endpoint issue started. The traffic from both routers flow through all the switches listed below.
I do have the phone set to use a static IP to force it to be used through the Sonicwall.
Now as far as the topology of the two network routes-
Old router
Service Provider->Switch->CiscoRouter->Switch->Switch->Switch->Aastra phones
Sonicwall
Service Provider->Switch->Sonicwall->Switch->Switch->Switch->Aastra 55i phone
I was wondering if due to this setup if it would be causing this issue but the older router is configured just the same but those phones operate fine. Below is the logs which show that the phone becomes reachable after exactly 57 seconds and unreachable after exactly 2 minutes and 3 seconds. This is continuous and repeats.
Some days the phone will sit with No Service and is not able to connect (even on rebooting), then the next morning it will connect but have the reachable/unreachable issue. The phone cannot receive calls while unreachable, but if you call out while unreachable it will work.
[2023-06-01 08:36:18] VERBOSE[27729] res_pjsip/pjsip_configuration.c: Endpoint 103 is now Unreachable | |
---|---|
[2023-06-01 08:36:18] VERBOSE[27729] res_pjsip/pjsip_options.c: Contact 103/sip:103@...:52910;x-ast-orig-host=10.14.10.58:5060 is now Unreachable. RTT: 0.000 msec |
[2023-06-01 08:37:15] VERBOSE[6237] res_pjsip/pjsip_configuration.c: Endpoint 103 is now Reachable | |
---|---|
[2023-06-01 08:37:15] VERBOSE[6237] res_pjsip/pjsip_options.c: Contact 103/sip:103@...:52910;x-ast-orig-host=10.14.10.58:5060 is now Reachable. RTT: 45.543 msec |
[2023-06-01 08:39:18] VERBOSE[6237] res_pjsip/pjsip_configuration.c: Endpoint 103 is now Unreachable | |
---|---|
[2023-06-01 08:39:18] VERBOSE[6237] res_pjsip/pjsip_options.c: Contact 103/sip:103@...:52910;x-ast-orig-host=10.14.10.58:5060 is now Unreachable. RTT: 0.000 msec |