[OpenSIPS-Users] Stun Module - OpenSIPS won't start
osiris123d
duane.larson at gmail.com
Fri May 7 16:58:24 CEST 2010
Thanks. Just looked at RFC 3489 and didn't know STUN had to have a second
IP. Makes sense why it needs one now.
On May 7, 2010 2:56am, "Bogdan-Andrei Iancu [via OpenSIPS (Open SIP
Server)]" <ml-node+5018216-1841559165-169958 at n2.nabble.com> wrote:
> Hi,
> you need to define the secondary IP and port params too.
> Regards,
> Bogdan
> osiris123d wrote:
> > 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
> >
> --
> Bogdan-Andrei Iancu
> www.voice-system.ro
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> View message @
> http://opensips-open-sip-server.1449251.n2.nabble.com/Stun-Module-OpenSIPS-won-t-start-tp5017728p5018216.html
> To unsubscribe from Stun Module - OpenSIPS won't start, click here.
--
View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/Stun-Module-OpenSIPS-won-t-start-tp5017728p5019690.html
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20100507/04a515c5/attachment.htm
More information about the Users
mailing list