fs_cli -x 'mod_sofia' shows nothing, mddr=ip

679 views
Skip to first unread message

Andre S.

unread,
Dec 10, 2015, 7:10:59 AM12/10/15
to 2600hz-dev
Able to register devices. Calls get 480 "All servers busy", based on the following:

QUESTION:
Where is the maddr set?

[ERR] sofia.c:2865 Error Creating SIP UA for profile: sipinterface_1 (sip:mod_...@10.10.10.11:11000;maddr=ip;transport=udp,tcp)

[root@freeswitch1 ~]# fs_cli -x 'erlang status'
Running mod_kazoo 1.4.15-3
Listening for new Erlang connections on 10.144.70.51:38572 with cookie unique
Registered as Erlang node frees...@freeswitch1.domain.local, visible as freeswitch
Connected to:
  ecal...@kazoo1.domain.local (10.144.70.11:38572) up 0 years, 0 days, 0 hours, 11 minutes, 18 seconds


[root@kazoo1 ~]# sup -n ecallmgr ecallmgr_maintenance node_details

Node        : frees...@freeswitch1.domain.local
Cookie      : unique
Client      : mod_kazoo 1.4.15-3
Connected   : true
Options     : [{cookie,unique}]
SIP URL     : undefined
SIP External: undefined
Supervisor  : <5628.3991.0>
Workers
    <5628.4057.0>   frees...@freeswitch1.domain.local_msg
    <5628.4011.0>   frees...@freeswitch1.domain.local_event_stream_sup
    <5628.4009.0>   frees...@freeswitch1.domain.local_conference
    <5628.4005.0>   frees...@freeswitch1.domain.local_notify
    <5628.4002.0>   frees...@freeswitch1.domain.local_resource
    <5628.4000.0>   frees...@freeswitch1.domain.local_config
    <5628.3999.0>   frees...@freeswitch1.domain.local_channel
    <5628.3997.0>   frees...@freeswitch1.domain.local_route
    <5628.3995.0>   frees...@freeswitch1.domain.local_authn
    <5628.3992.0>   frees...@freeswitch1.domain.local_node
Capabilities:
  conference   provided by mod_conference, is available
  channel_move provided by mod_channel_move, is not available
  http_cache   provided by mod_http_cache, is available
  dialplan     provided by mod_dptools, is available
  sip          provided by mod_sofia, is available
  fax          provided by mod_spandsp, is available
  tts          provided by mod_flite, is available
  freetdm      provided by mod_freetdm, is not available
  skype        provided by mod_skypopen, is not available
  xmpp         provided by mod_dingaling, is not available
  skinny       provided by mod_skinny, is not available
  sms          provided by mod_sms, is not available

Found 1 nodes

/var/log/freeswitch/debug.log
2015-12-10 01:45:06.171255 [INFO] kazoo_node.c:625 exec: sofia(status profile sipinterface_1)
2015-12-10 01:45:06.371295 [DEBUG] kazoo_node.c:1100 Sent erlang message to ecal...@kazoo1.domain.local <2.3992.0>

/var/log/freeswitch/error.log
2015-12-10 01:32:13.157293 [WARNING] mod_kazoo.c:438 Event filter not found in configuration, using default
2015-12-10 01:32:13.157477 [WARNING] mod_kazoo.c:464 Number of worker threads not found in configuration, using default 2015-12-10 01:32:13.255472 [CRIT] switch_loadable_module.c:1447 Error Loading module /usr/lib64/freeswitch/mod/mod_speex.so
**/usr/lib64/freeswitch/mod/mod_speex.so: cannot open shared object file: No such file or directory**
2015-12-10 01:32:13.257727 [ERR] mod_opus.c:434 Opening of opus.conf failed
2015-12-10 01:32:21.771234 [ERR] switch_xml.c:1379 Couldn't open /etc/freeswitch/gateways/*.xml (No such file or directory)
2015-12-10 01:32:21.771234 [ERR] switch_xml.c:1379 Couldn't open /etc/kazoo/freeswitch/dialplan/*.xml (No such file or directory)
2015-12-10 01:32:21.771234 [ERR] switch_xml.c:1379 Couldn't open /etc/kazoo/freeswitch/chatplan/*.xml (No such file or directory)
2015-12-10 01:32:21.771234 [ERR] switch_xml.c:1379 Couldn't open /etc/kazoo/freeswitch/directory/*.xml (No such file or directory)
2015-12-10 01:32:21.791231 [WARNING] sofia.c:1939 MSG Thread 0 Started
2015-12-10 01:32:24.551262 [ERR] sofia.c:2855 Error Creating SIP UA for profile: sipinterface_1 (sip:mod_...@10.10.10.11:11000;maddr=ip;transport=udp,tcp) ATTEMPT 1 (RETRY IN 5 SEC)
2015-12-10 01:32:26.151389 [ERR] switch_xml.c:1379 Couldn't open /etc/freeswitch/gateways/*.xml (No such file or directory)
2015-12-10 01:32:26.151389 [ERR] switch_xml.c:1379 Couldn't open /etc/kazoo/freeswitch/dialplan/*.xml (No such file or directory)
2015-12-10 01:32:26.151389 [ERR] switch_xml.c:1379 Couldn't open /etc/kazoo/freeswitch/chatplan/*.xml (No such file or directory)
2015-12-10 01:32:26.151389 [ERR] switch_xml.c:1379 Couldn't open /etc/kazoo/freeswitch/directory/*.xml (No such file or directory)
2015-12-10 01:32:29.571233 [ERR] sofia.c:2855 Error Creating SIP UA for profile: sipinterface_1 (sip:mod_...@10.10.10.11:11000;maddr=ip;transport=udp,tcp) ATTEMPT 2 (RETRY IN 5 SEC)
2015-12-10 01:32:34.591277 [ERR] sofia.c:2855 Error Creating SIP UA for profile: sipinterface_1 (sip:mod_...@10.10.10.11:11000;maddr=ip;transport=udp,tcp) ATTEMPT 3 (RETRY IN 5 SEC)
2015-12-10 01:32:34.591277 [ERR] sofia.c:2865 Error Creating SIP UA for profile: sipinterface_1 (sip:mod_...@10.10.10.11:11000;maddr=ip;transport=udp,tcp)
The likely causes for this are:
1) Another application is already listening on the specified address.
2) The IP the profile is attempting to bind to is not local to this system.


netstat -nap | grep 11000
returns nothing.

Any advice is appreciate! Thank you.

Andre S.

unread,
Dec 10, 2015, 11:02:00 AM12/10/15
to 2600hz-dev
All ips above are actually the same. I attempted to sanitize the ip and hostname, domain however missed some.

Andre S.

unread,
Dec 10, 2015, 1:55:40 PM12/10/15
to 2600hz-dev
SOLVED by Mr. Sir mc_ on irc.
Somehow I borked this more than once using the simple-installer:

/etc/kazoo/freeswitch/sip_profiles/sipinterface_1.xml
  <param name="sip-ip" value="ip"/>
instead of the correct
  <param name="sip-ip" value="$${local_ip_v4}"/>
Reply all
Reply to author
Forward
0 new messages