Re: [OpenSIPS-Users] About STUN server configuration

2010-01-18 Thread Bogdan-Andrei Iancu
Hi Yagishita,

The error is not related to STUN - I see you configured 127.0.0.1:5060 
as a TCP listening interface, but it seams other application is already 
using it.

Regards,
Bogdan

Koichi Yagishita wrote:
 Hi Bogdan,

 Thank you for your response. The following is output of /var/log/messages and 
 ifconfig.

 [/var/log/messages]
 Jan 16 09:21:41 jrc opensips: WARNING:core:fix_socket_list: could not rev. 
 resolve 192.168.1.1 
 Jan 16 09:21:41 jrc opensips: WARNING:core:fix_socket_list: could not rev. 
 resolve 192.168.100.1 
 Jan 16 09:21:41 jrc opensips: WARNING:core:fix_socket_list: could not rev. 
 resolve 192.168.1.1 
 Jan 16 09:21:41 jrc opensips: WARNING:core:fix_socket_list: could not rev. 
 resolve 192.168.100.1 
 Jan 16 09:21:41 jrc opensips: INFO:core:init_tcp: using epoll_lt as the TCP 
 io watch method (auto detected) 
 Jan 16 09:21:41 jrc /usr/local/sbin/opensips[4991]: NOTICE:core:main: 
 version: opensips 1.6.0-tls (i386/linux) 
 Jan 16 09:21:41 jrc /usr/local/sbin/opensips[4991]: INFO:core:main: using 32 
 Mb shared memory 
 Jan 16 09:21:41 jrc /usr/local/sbin/opensips[4991]: INFO:core:main: using 1 
 Mb private memory per process 
 Jan 16 09:21:41 jrc /usr/local/sbin/opensips[4991]: 
 NOTICE:signaling:mod_init: initializing module ... 
 Jan 16 09:21:41 jrc /usr/local/sbin/opensips[4991]: INFO:sl:mod_init: 
 Initializing StateLess engine 
 Jan 16 09:21:41 jrc /usr/local/sbin/opensips[4991]: INFO:tm:mod_init: TM - 
 initializing... 
 Jan 16 09:21:41 jrc /usr/local/sbin/opensips[4991]: INFO:maxfwd:mod_init: 
 initializing... 
 Jan 16 09:21:41 jrc /usr/local/sbin/opensips[4991]: 
 INFO:usrloc:ul_init_locks: locks array size 512 
 Jan 16 09:21:41 jrc /usr/local/sbin/opensips[4991]: INFO:registrar:mod_init: 
 initializing... 
 Jan 16 09:21:41 jrc /usr/local/sbin/opensips[4991]: INFO:textops:mod_init: 
 initializing... 
 Jan 16 09:21:41 jrc /usr/local/sbin/opensips[4991]: INFO:xlog:mod_init: 
 initializing... 
 Jan 16 09:21:41 jrc /usr/local/sbin/opensips[4991]: INFO:acc:mod_init: 
 initializing... 
 Jan 16 09:21:41 jrc /usr/local/sbin/opensips[4991]: INFO:auth:mod_init: 
 initializing... 
 Jan 16 09:21:41 jrc /usr/local/sbin/opensips[4991]: INFO:auth_db:mod_init: 
 initializing... 
 Jan 16 09:21:41 jrc /usr/local/sbin/opensips[4991]: 
 INFO:core:probe_max_receive_buffer: using a UDP receive buffer of 255 kb 
 Jan 16 09:21:41 jrc last message repeated 2 times
 Jan 16 09:21:41 jrc /usr/local/sbin/opensips[4991]: ERROR:core:tcp_init: 
 bind(a, 0x81ca8b4, 16) on 127.0.0.1:5060 : Address already in use 

 [ifconfig]
 eth0  Link encap:Ethernet  HWaddr 00:25:64:EB:13:33  
   inet addr:192.168.100.1  Bcast:192.168.100.255  Mask:255.255.255.0
   inet6 addr: fe80::225:64ff:feeb:1333/64 Scope:Link
   UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
   RX packets:400 errors:0 dropped:0 overruns:0 frame:0
   TX packets:134 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 txqueuelen:1000 
   RX bytes:59253 (57.8 KiB)  TX bytes:32835 (32.0 KiB)
   Memory:fe6e-fe70 

 eth0:1Link encap:Ethernet  HWaddr 00:25:64:EB:13:33  
   inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
   UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
   Memory:fe6e-fe70 

 loLink encap:Local Loopback  
   inet addr:127.0.0.1  Mask:255.0.0.0
   inet6 addr: ::1/128 Scope:Host
   UP LOOPBACK RUNNING  MTU:16436  Metric:1
   RX packets:1660 errors:0 dropped:0 overruns:0 frame:0
   TX packets:1660 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 txqueuelen:0 
   RX bytes:2581132 (2.4 MiB)  TX bytes:2581132 (2.4 MiB)

 Regards,
 Yagishita

 ___
 Users mailing list
 Users@lists.opensips.org
 http://lists.opensips.org/cgi-bin/mailman/listinfo/users

   


-- 
Bogdan-Andrei Iancu
www.voice-system.ro


___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] About STUN server configuration

2010-01-18 Thread Koichi Yagishita

Hi Bogdan,

Thank you very much for the response. This issue has been solved.

Regards,
Yagishita


 Hi Yagishita,
 
 The error is not related to STUN - I see you configured 127.0.0.1:5060 
 as a TCP listening interface, but it seams other application is already 
 using it.
 
 Regards,
 Bogdan
 
 Koichi Yagishita wrote:
  Hi Bogdan,
 
  Thank you for your response. The following is output of /var/log/messages 
  and ifconfig.
 
  [/var/log/messages]
  Jan 16 09:21:41 jrc opensips: WARNING:core:fix_socket_list: could not rev. 
  resolve 192.168.1.1 
  Jan 16 09:21:41 jrc opensips: WARNING:core:fix_socket_list: could not rev. 
  resolve 192.168.100.1 
  Jan 16 09:21:41 jrc opensips: WARNING:core:fix_socket_list: could not rev. 
  resolve 192.168.1.1 
  Jan 16 09:21:41 jrc opensips: WARNING:core:fix_socket_list: could not rev. 
  resolve 192.168.100.1 
  Jan 16 09:21:41 jrc opensips: INFO:core:init_tcp: using epoll_lt as the TCP 
  io watch method (auto detected) 
  Jan 16 09:21:41 jrc /usr/local/sbin/opensips[4991]: NOTICE:core:main: 
  version: opensips 1.6.0-tls (i386/linux) 
  Jan 16 09:21:41 jrc /usr/local/sbin/opensips[4991]: INFO:core:main: using 
  32 Mb shared memory 
  Jan 16 09:21:41 jrc /usr/local/sbin/opensips[4991]: INFO:core:main: using 1 
  Mb private memory per process 
  Jan 16 09:21:41 jrc /usr/local/sbin/opensips[4991]: 
  NOTICE:signaling:mod_init: initializing module ... 
  Jan 16 09:21:41 jrc /usr/local/sbin/opensips[4991]: INFO:sl:mod_init: 
  Initializing StateLess engine 
  Jan 16 09:21:41 jrc /usr/local/sbin/opensips[4991]: INFO:tm:mod_init: TM - 
  initializing... 
  Jan 16 09:21:41 jrc /usr/local/sbin/opensips[4991]: INFO:maxfwd:mod_init: 
  initializing... 
  Jan 16 09:21:41 jrc /usr/local/sbin/opensips[4991]: 
  INFO:usrloc:ul_init_locks: locks array size 512 
  Jan 16 09:21:41 jrc /usr/local/sbin/opensips[4991]: 
  INFO:registrar:mod_init: initializing... 
  Jan 16 09:21:41 jrc /usr/local/sbin/opensips[4991]: INFO:textops:mod_init: 
  initializing... 
  Jan 16 09:21:41 jrc /usr/local/sbin/opensips[4991]: INFO:xlog:mod_init: 
  initializing... 
  Jan 16 09:21:41 jrc /usr/local/sbin/opensips[4991]: INFO:acc:mod_init: 
  initializing... 
  Jan 16 09:21:41 jrc /usr/local/sbin/opensips[4991]: INFO:auth:mod_init: 
  initializing... 
  Jan 16 09:21:41 jrc /usr/local/sbin/opensips[4991]: INFO:auth_db:mod_init: 
  initializing... 
  Jan 16 09:21:41 jrc /usr/local/sbin/opensips[4991]: 
  INFO:core:probe_max_receive_buffer: using a UDP receive buffer of 255 kb 
  Jan 16 09:21:41 jrc last message repeated 2 times
  Jan 16 09:21:41 jrc /usr/local/sbin/opensips[4991]: ERROR:core:tcp_init: 
  bind(a, 0x81ca8b4, 16) on 127.0.0.1:5060 : Address already in use 
 
  [ifconfig]
  eth0  Link encap:Ethernet  HWaddr 00:25:64:EB:13:33  
inet addr:192.168.100.1  Bcast:192.168.100.255  Mask:255.255.255.0
inet6 addr: fe80::225:64ff:feeb:1333/64 Scope:Link
UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
RX packets:400 errors:0 dropped:0 overruns:0 frame:0
TX packets:134 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000 
RX bytes:59253 (57.8 KiB)  TX bytes:32835 (32.0 KiB)
Memory:fe6e-fe70 
 
  eth0:1Link encap:Ethernet  HWaddr 00:25:64:EB:13:33  
inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
Memory:fe6e-fe70 
 
  loLink encap:Local Loopback  
inet addr:127.0.0.1  Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING  MTU:16436  Metric:1
RX packets:1660 errors:0 dropped:0 overruns:0 frame:0
TX packets:1660 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0 
RX bytes:2581132 (2.4 MiB)  TX bytes:2581132 (2.4 MiB)
 
  Regards,
  Yagishita


___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] About STUN server configuration

2010-01-15 Thread Bogdan-Andrei Iancu
Hi Yagishita,

What is the error indicated in the logs 
(http://www.opensips.org/Resources/DocsTsStart) ?

Regards,
Bogdan

Koichi Yagishita wrote:
 Dear all,

 After configuring the following related to stun in opensips.cfg for my 
 opensips1.6.0, start-up of the opensips failed.
 What else should I configure to work STUN server?

 [opensips.cfg]

 ### Modules Section 

 loadmodule stun.so


 # - stun params -

 modparam(stun, primary_ip, 192.168.100.1)
 modparam(stun, primary_port, 5060)
 modparam(stun, alternate_ip, 192.168.1.1)
 modparam(stun, alternate_port, 3479)


 Regards,
 Yagishita

 ___
 Users mailing list
 Users@lists.opensips.org
 http://lists.opensips.org/cgi-bin/mailman/listinfo/users

   


-- 
Bogdan-Andrei Iancu
www.voice-system.ro


___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] About STUN server configuration

2010-01-15 Thread Koichi Yagishita

Hi Bogdan,

Thank you for your response. The following is output of /var/log/messages and 
ifconfig.

[/var/log/messages]
Jan 16 09:21:41 jrc opensips: WARNING:core:fix_socket_list: could not rev. 
resolve 192.168.1.1 
Jan 16 09:21:41 jrc opensips: WARNING:core:fix_socket_list: could not rev. 
resolve 192.168.100.1 
Jan 16 09:21:41 jrc opensips: WARNING:core:fix_socket_list: could not rev. 
resolve 192.168.1.1 
Jan 16 09:21:41 jrc opensips: WARNING:core:fix_socket_list: could not rev. 
resolve 192.168.100.1 
Jan 16 09:21:41 jrc opensips: INFO:core:init_tcp: using epoll_lt as the TCP io 
watch method (auto detected) 
Jan 16 09:21:41 jrc /usr/local/sbin/opensips[4991]: NOTICE:core:main: version: 
opensips 1.6.0-tls (i386/linux) 
Jan 16 09:21:41 jrc /usr/local/sbin/opensips[4991]: INFO:core:main: using 32 Mb 
shared memory 
Jan 16 09:21:41 jrc /usr/local/sbin/opensips[4991]: INFO:core:main: using 1 Mb 
private memory per process 
Jan 16 09:21:41 jrc /usr/local/sbin/opensips[4991]: NOTICE:signaling:mod_init: 
initializing module ... 
Jan 16 09:21:41 jrc /usr/local/sbin/opensips[4991]: INFO:sl:mod_init: 
Initializing StateLess engine 
Jan 16 09:21:41 jrc /usr/local/sbin/opensips[4991]: INFO:tm:mod_init: TM - 
initializing... 
Jan 16 09:21:41 jrc /usr/local/sbin/opensips[4991]: INFO:maxfwd:mod_init: 
initializing... 
Jan 16 09:21:41 jrc /usr/local/sbin/opensips[4991]: INFO:usrloc:ul_init_locks: 
locks array size 512 
Jan 16 09:21:41 jrc /usr/local/sbin/opensips[4991]: INFO:registrar:mod_init: 
initializing... 
Jan 16 09:21:41 jrc /usr/local/sbin/opensips[4991]: INFO:textops:mod_init: 
initializing... 
Jan 16 09:21:41 jrc /usr/local/sbin/opensips[4991]: INFO:xlog:mod_init: 
initializing... 
Jan 16 09:21:41 jrc /usr/local/sbin/opensips[4991]: INFO:acc:mod_init: 
initializing... 
Jan 16 09:21:41 jrc /usr/local/sbin/opensips[4991]: INFO:auth:mod_init: 
initializing... 
Jan 16 09:21:41 jrc /usr/local/sbin/opensips[4991]: INFO:auth_db:mod_init: 
initializing... 
Jan 16 09:21:41 jrc /usr/local/sbin/opensips[4991]: 
INFO:core:probe_max_receive_buffer: using a UDP receive buffer of 255 kb 
Jan 16 09:21:41 jrc last message repeated 2 times
Jan 16 09:21:41 jrc /usr/local/sbin/opensips[4991]: ERROR:core:tcp_init: 
bind(a, 0x81ca8b4, 16) on 127.0.0.1:5060 : Address already in use 

[ifconfig]
eth0  Link encap:Ethernet  HWaddr 00:25:64:EB:13:33  
  inet addr:192.168.100.1  Bcast:192.168.100.255  Mask:255.255.255.0
  inet6 addr: fe80::225:64ff:feeb:1333/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:400 errors:0 dropped:0 overruns:0 frame:0
  TX packets:134 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000 
  RX bytes:59253 (57.8 KiB)  TX bytes:32835 (32.0 KiB)
  Memory:fe6e-fe70 

eth0:1Link encap:Ethernet  HWaddr 00:25:64:EB:13:33  
  inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  Memory:fe6e-fe70 

loLink encap:Local Loopback  
  inet addr:127.0.0.1  Mask:255.0.0.0
  inet6 addr: ::1/128 Scope:Host
  UP LOOPBACK RUNNING  MTU:16436  Metric:1
  RX packets:1660 errors:0 dropped:0 overruns:0 frame:0
  TX packets:1660 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0 
  RX bytes:2581132 (2.4 MiB)  TX bytes:2581132 (2.4 MiB)

Regards,
Yagishita

___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users