[OpenSIPS-Users] Stun Module - OpenSIPS won't start
osiris123d
duane.larson at gmail.com
Fri May 7 06:05:10 CEST 2010
I just compiled the STUN module on Debian 5.0.4 x64 and added the following
stun parameters to my config
port=5060
/* uncomment and configure the following line if you want opensips to
bind on a specific interface/port/proto (default bind on all available)
*/
listen=udp:173.*.*.134:5060
#**
# ----- stun params -----
modparam("stun","primary_ip","173.*.*.134")
modparam("stun","primary_port","5060")
When I try and start OpenSIPS it fails and I see the following errors in
syslog. Any idea whats up?
May 6 22:53:38 Proxy01 /usr/local/sbin/opensips[11212]: DBG:core:init_mod:
initializing module stun
May 6 22:53:38 Proxy01 /usr/local/sbin/opensips[11212]:
DBG:core:grep_sock_info: checking if host==us: 14==14 && [173.*.*.134]
== [173.*.*.134]
May 6 22:53:38 Proxy01 /usr/local/sbin/opensips[11212]:
DBG:core:grep_sock_info: checking if port 5060 matches port 5060
May 6 22:53:38 Proxy01 /usr/local/sbin/opensips[11212]:
DBG:core:grep_sock_info: checking if host==us: 14==14 && [173.*.*.134]
== [173.*.*.134]
May 6 22:53:38 Proxy01 /usr/local/sbin/opensips[11212]:
DBG:core:grep_sock_info: checking if port 5060 matches port 3478
May 6 22:53:38 Proxy01 /usr/local/sbin/opensips[11212]:
DBG:stun:stun_mod_init: socketfd2 not found
May 6 22:53:38 Proxy01 /usr/local/sbin/opensips[11212]:
DBG:core:grep_sock_info: checking if host==us: 13==14 && [192.168.2.143] =
= [173.*.*.134]
May 6 22:53:38 Proxy01 /usr/local/sbin/opensips[11212]:
DBG:core:grep_sock_info: checking if port 5060 matches port 5060
May 6 22:53:38 Proxy01 /usr/local/sbin/opensips[11212]:
DBG:stun:stun_mod_init: socketfd3 not found
May 6 22:53:38 Proxy01 /usr/local/sbin/opensips[11212]:
DBG:core:grep_sock_info: checking if host==us: 13==14 && [192.168.2.143] =
= [173.*.*.134]
May 6 22:53:38 Proxy01 /usr/local/sbin/opensips[11212]:
DBG:core:grep_sock_info: checking if port 5060 matches port 3478
May 6 22:53:38 Proxy01 /usr/local/sbin/opensips[11212]:
DBG:stun:stun_mod_init: socketfd4 not found
May 6 22:53:38 Proxy01 /usr/local/sbin/opensips[11212]:
DBG:stun:stun_mod_init: stun init failed
May 6 22:53:38 Proxy01 /usr/local/sbin/opensips[11212]:
ERROR:core:init_mod: failed to initialize module stun
May 6 22:53:38 Proxy01 /usr/local/sbin/opensips[11212]: ERROR:core:main:
error while initializing modules
--
View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/Stun-Module-OpenSIPS-won-t-start-tp5017728p5017728.html
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.
More information about the Users
mailing list