Jonathan H
2016-Aug-23 17:19 UTC
[asterisk-users] Asterisk 13.10.0 just randomly got pjsip endpoint amnesia.
Here's a weirdness - I got a call from someone who couldn't get to my info line earlier, I tried it and it was busy tone. Being on a layby beside a road on a mobile on a long journey, my only real option was a remote server reboot so I couldn't diagnose further. That fixed it, but here's the weirdness: [Aug 23 14:16:59] NOTICE[5923] res_pjsip/pjsip_distributor.c: Request 'INVITE' from '"thecallerID" <sip:017XXXXXXXX at 46.31.X.X>' failed for '46.31.X.X:5060' (callid: VF0046af0fc3f12e7dddb70d62974exx at voipfone) - No matching endpoint found [Aug 23 14:17:25] NOTICE[5923] res_pjsip/pjsip_distributor.c: Request 'INVITE' from '"thecallerID" <sip:017XXXXXXXX at 46.31.X.X>' failed for '46.31.X.X:5060' (callid: VFdfc3ae4343390139cb285533bc97xx at voipfone) - No matching endpoint found [Aug 23 14:18:01] NOTICE[5923] res_pjsip/pjsip_distributor.c: Request 'INVITE' from '"thecallerID" <sip:017XXXXXXXX at 46.31.X.X>' failed for '46.31.X.X:5060' (callid: VF9f956b236cef2b7609037335db7xx at voipfone) - No matching endpoint found [Aug 23 14:28:54] NOTICE[4014] res_pjsip/pjsip_distributor.c: Request 'INVITE' from '"thecallerID" <sip:017XXXXXXXX at 46.31.X.X>' failed for '46.31.X.X:5060' (callid: VFb797ae4a6e90a05a480de806afxxe at voipfone) - No matching endpoint found All I can tell you is that this server has been up and running for 3 months without problem (occasional reboot). The host's monitors showed no strange spikes, it didn't run out of memory, and I can find nothing in syslog related to Asterisk between a known "good" time and the time of the failed calls. And of course, the Asterisk process didn't crash, otherwise it wouldn't be writing to logs. The only thing that might be relevant is that yesterday, the ITSP increased its IP address ranges, but I already had those ranges listed in iptables and pjsip.conf. And besides, if the traffic hadn't been blocked, then, again, it wouldn't have made it through to Asterisk to get logged. Am I correct? So, it's like it somehow got amnesia. The only other strange thing I am doing is running this script at just after midnight each night, although it's been running just fine for a couple of weeks now. (It's a workaround for a moh fiddle I'm running - see a previous post but I can't see it as being relevant). pkill mpg123 >> /root/tidy.log /usr/sbin/asterisk -x "moh reload" >> /root/tidy.log /usr/sbin/asterisk -x "database query \"DELETE FROM \`astdb\` WHERE \`key\` LIKE \'%Last%\';\"" >> /root/tidy.log So... it just seems like Asterisk got pjsip endpoint amnesia - is that possible? Anyone come across this before? Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20160823/a6ba5476/attachment.html>
George Joseph
2016-Aug-23 18:16 UTC
[asterisk-users] Asterisk 13.10.0 just randomly got pjsip endpoint amnesia.
On Tue, Aug 23, 2016 at 11:19 AM, Jonathan H <lardconcepts at gmail.com> wrote:> Here's a weirdness - I got a call from someone who couldn't get to my info > line earlier, I tried it and it was busy tone. > > Being on a layby beside a road on a mobile on a long journey, my only real > option was a remote server reboot so I couldn't diagnose further. > > That fixed it, but here's the weirdness: > > [Aug 23 14:16:59] NOTICE[5923] res_pjsip/pjsip_distributor.c: Request > 'INVITE' from '"thecallerID" <sip:017XXXXXXXX at 46.31.X.X>' failed for > '46.31.X.X:5060' (callid: VF0046af0fc3f12e7dddb70d62974exx at voipfone) - No > matching endpoint found > [Aug 23 14:17:25] NOTICE[5923] res_pjsip/pjsip_distributor.c: Request > 'INVITE' from '"thecallerID" <sip:017XXXXXXXX at 46.31.X.X>' failed for > '46.31.X.X:5060' (callid: VFdfc3ae4343390139cb285533bc97xx at voipfone) - No > matching endpoint found > [Aug 23 14:18:01] NOTICE[5923] res_pjsip/pjsip_distributor.c: Request > 'INVITE' from '"thecallerID" <sip:017XXXXXXXX at 46.31.X.X>' failed for > '46.31.X.X:5060' (callid: VF9f956b236cef2b7609037335db7xx at voipfone) - No > matching endpoint found > [Aug 23 14:28:54] NOTICE[4014] res_pjsip/pjsip_distributor.c: Request > 'INVITE' from '"thecallerID" <sip:017XXXXXXXX at 46.31.X.X>' failed for > '46.31.X.X:5060' (callid: VFb797ae4a6e90a05a480de806afxxe at voipfone) - No > matching endpoint found >Assuming you have an "identify" object defined for the ITSP, it sounds like it didn't match for some reason. You might want to double check the "match" parameter. Maybe there's a typo or something and the ITSP just happened to use one of the new addresses for that particular call.> > All I can tell you is that this server has been up and running for 3 > months without problem (occasional reboot). > > The host's monitors showed no strange spikes, it didn't run out of memory, > and I can find nothing in syslog related to Asterisk between a known "good" > time and the time of the failed calls. > > And of course, the Asterisk process didn't crash, otherwise it wouldn't be > writing to logs. > > The only thing that might be relevant is that yesterday, the ITSP > increased its IP address ranges, but I already had those ranges listed in > iptables and pjsip.conf. > > And besides, if the traffic hadn't been blocked, then, again, it wouldn't > have made it through to Asterisk to get logged. Am I correct? > > So, it's like it somehow got amnesia. The only other strange thing I am > doing is running this script at just after midnight each night, although > it's been running just fine for a couple of weeks now. > > (It's a workaround for a moh fiddle I'm running - see a previous post but > I can't see it as being relevant). > > pkill mpg123 >> /root/tidy.log > /usr/sbin/asterisk -x "moh reload" >> /root/tidy.log > /usr/sbin/asterisk -x "database query \"DELETE FROM \`astdb\` WHERE > \`key\` LIKE \'%Last%\';\"" >> /root/tidy.log > > So... it just seems like Asterisk got pjsip endpoint amnesia - is that > possible? Anyone come across this before? > > Thanks. > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > Join the Asterisk Community at the 13th AstriCon, September 27-29, 2016 > http://www.asterisk.org/community/astricon-user-conference > > New to Asterisk? Start here: > https://wiki.asterisk.org/wiki/display/AST/Getting+Started > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-- George Joseph Digium, Inc. | Software Developer 445 Jan Davis Drive NW - Huntsville, AL 35806 - US Check us out at: www.digium.com & www.asterisk.org -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20160823/330188d4/attachment.html>