Thanks gentlemen
Stewart, I use a SIP trunk for outgoing calls, and PJSIP for incoming, with different user numbers and passwords for each. It was the Outgoing calls that took longer to come back up.
I just ran a test by rebooting the router and the registrations for both were back up in a matter of minutes.
Looking at the log from the other day, I find this:
[2019-05-29 15:30:07] NOTICE[2401] chan_sip.c: Peer ‘10xxxx4’ is now Lagged. (3050ms / 2000ms)
[2019-05-29 15:30:07] NOTICE[2401] chan_sip.c: Peer ‘new siptalk sip’ is now Lagged. (3075ms / 2000ms)
[2019-05-29 15:30:10] SECURITY[2734] res_security_log.c: SecurityEvent=“SuccessfulAuth”,EventTV=“2019-05-29T15:30:10.110+1000”,Severity=“Informational”,Service=“AMI”,EventVersion=“1”,AccountID=“admin”,SessionID=“0x7f1b4c034c20”,LocalAddress=“IPV4/TCP/0.0.0.0/5038”,RemoteAddress=“IPV4/TCP/127.0.0.1/59846”,UsingPassword=“0”,SessionTV=“2019-05-29T15:30:10.110+1000”
[2019-05-29 15:30:21] NOTICE[2401] chan_sip.c: Peer ‘10xxxx4’ is now UNREACHABLE! Last qualify: 3050
[2019-05-29 15:30:21] NOTICE[2401] chan_sip.c: Peer ‘new siptalk sip’ is now UNREACHABLE! Last qualify: 3075
[2019-05-29 15:30:34] SECURITY[2734] res_security_log.c: SecurityEvent=“ChallengeSent”,EventTV="2019-05
and
15:30:34.896+1000",Severity=“Informational”,Service=“AMI”,EventVersion=“1”,AccountID=“admin”,SessionID=“0x7f1b60025e40”,LocalAddress=“IPV4/TCP/0.0.0.0/5038”,RemoteAddress=“IPV4/TCP/127.0.0.1/59850”,UsingPassword=“0”,SessionTV=“2019-05-29T15:30:34.896+1000”
[2019-05-29 15:30:35] WARNING[9025][C-0000033b] app_dial.c: Unable to create channel of type ‘SIP’ (2:51 PM 1/06/2019 - Subscriber absent)
[2019-05-29 15:30:39] SECURITY[2734] res_security_log.c: SecurityEvent=“SuccessfulAuth”,EventTV="2019-05-
I’m not sure if more will add any useful info.
Its a pretty straightforward set up: NBN with 50/25 speed, Standard Netgear router, Static external IP Address, no fancy NAT settings or anything like that. Siptalk provides the Sip.
I have discussed with them the idea of the setup that avoids the need for registration, and might re-visit that.
I use SIP for outgoing calls because I had run into problems with PJSIP for outgoing calls in the past, and have never gone back. When I started getting incoming calls from the VOIP provider as well, Chan-SIP didn’t work. So I have PJSIP for that. Sorry I have no more detail about what failed for either of those, it just works the way it is. Mostly…
Dave, thanks for the info and I will look into it at a later date.
I suspect the problem lay with the VOIP provider, I know they did a server reboot in the middle of the day last week, and all these problems happened then as well.
One last thing: Other than lack of elegance, does “core reload” potentially cause problems? Ultimately the problem is that I am frequently not on site and I just need everything to be as automatic as it can possibly be.
Thanks
Peter