{"id":562,"date":"2014-01-04T15:41:26","date_gmt":"2014-01-04T09:41:26","guid":{"rendered":"http:\/\/alexeyka.zantsev.com\/?p=562"},"modified":"2014-01-04T15:45:12","modified_gmt":"2014-01-04T09:45:12","slug":"freeswitch-unexpected-behavior","status":"publish","type":"post","link":"https:\/\/alexeyka.zantsev.com\/?p=562","title":{"rendered":"FreeSWITCH unexpected behavior"},"content":{"rendered":"<p>FreeSWITCH is a new telephony engine for me, so I&#8217;m just learning it when I have free time.<br \/>\nToday I discovered a <code>'system'<\/code> command in FS CLI and for the sake of curiosity typed <code>'system ping 8.8.8.8'<\/code>. Nothing changed in the CLI.<br \/>\nSome time later I started to learn how to reload the SIP stack of FreeSWITCH (<code>'reload mod_sofia'<\/code>). And each time I saw an error:<\/p>\n<p><code>...<br \/>\n2014-01-04 09:02:57.468709 [ERR] sofia.c:1501 Error Creating SIP UA for profile: internal<br \/>\n2014-01-04 09:02:57.468709 [ERR] sofia.c:1501 Error Creating SIP UA for profile: internal-ipv6<br \/>\n2014-01-04 09:02:57.468709 [ERR] sofia.c:1501 Error Creating SIP UA for profile: external<br \/>\n...<\/code><\/p>\n<p>All of SIP-profiles failed when restarting them.<\/p>\n<p>I started searching &#8211; who is listening on port 5060. That&#8217;s what I&#8217;ve discovered:<br \/>\n<code>root@server:\/opt\/freeswitch\/bin# netstat -tulpan | grep 5060<br \/>\ntcp        0      0 10.15.9.10:5060       0.0.0.0:*               LISTEN      6887\/ping<br \/>\nudp   124576      0 10.15.9.10:5060       0.0.0.0:*                           6887\/ping <\/code><\/p>\n<p>My ping, that <code>'system'<\/code> application. I killed it and restarted FreeSWITCH. After that everything works fine.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>FreeSWITCH is a new telephony engine for me, so I&#8217;m just learning it when I have free time. Today I discovered a &#8216;system&#8217; command in FS CLI and for the sake of curiosity typed &#8216;system ping 8.8.8.8&#8217;. Nothing changed in the CLI. Some time later I started to learn how to reload the SIP stack [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[147,146,148],"class_list":["post-562","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-cli","tag-freeswitch","tag-fs_cli"],"_links":{"self":[{"href":"https:\/\/alexeyka.zantsev.com\/index.php?rest_route=\/wp\/v2\/posts\/562","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/alexeyka.zantsev.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/alexeyka.zantsev.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/alexeyka.zantsev.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/alexeyka.zantsev.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=562"}],"version-history":[{"count":8,"href":"https:\/\/alexeyka.zantsev.com\/index.php?rest_route=\/wp\/v2\/posts\/562\/revisions"}],"predecessor-version":[{"id":570,"href":"https:\/\/alexeyka.zantsev.com\/index.php?rest_route=\/wp\/v2\/posts\/562\/revisions\/570"}],"wp:attachment":[{"href":"https:\/\/alexeyka.zantsev.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=562"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/alexeyka.zantsev.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=562"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/alexeyka.zantsev.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=562"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}