cannot resolve hostname

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

cannot resolve hostname

vivid333
opensips.cfg
    modparam("nathelper", "rtpproxy_sock", "udp:127.0.0.1:7890")           # I tried localhost, public IP, still not work .
    modparam("nathelper", "force_socket", "udp:127.0.0.1:7890")

but I do :
     ping www.google.com
it works.


below is opensips.log:

Sep  5 17:22:10 user-desktop /sbin/opensips[16536]: NOTICE:core:main: version: opensips 1.6.4-2-notls (i386/linux)
Sep  5 17:22:10 user-desktop /sbin/opensips[16536]: INFO:core:main: using 32 Mb shared memory
Sep  5 17:22:10 user-desktop /sbin/opensips[16536]: INFO:core:main: using 1 Mb private memory per process
Sep  5 17:22:10 user-desktop /sbin/opensips[16536]: NOTICE:signaling:mod_init: initializing module ...
Sep  5 17:22:10 user-desktop /sbin/opensips[16536]: INFO:sl:mod_init: Initializing StateLess engine
Sep  5 17:22:10 user-desktop /sbin/opensips[16536]: INFO:tm:mod_init: TM - initializing...
Sep  5 17:22:10 user-desktop /sbin/opensips[16536]: INFO:rr:mod_init: rr - initializing
Sep  5 17:22:10 user-desktop /sbin/opensips[16536]: INFO:maxfwd:mod_init: initializing...
Sep  5 17:22:10 user-desktop /sbin/opensips[16536]: INFO:usrloc:ul_init_locks: locks array size 512
Sep  5 17:22:10 user-desktop /sbin/opensips[16536]: INFO:registrar:mod_init: initializing...
Sep  5 17:22:10 user-desktop /sbin/opensips[16536]: INFO:textops:mod_init: initializing...
Sep  5 17:22:10 user-desktop /sbin/opensips[16536]: INFO:dialplan:mod_init: initializing module...
Sep  5 17:22:10 user-desktop /sbin/opensips[16536]: WARNING:dialplan:dp_load_db: no data in the db
Sep  5 17:22:10 user-desktop /sbin/opensips[16536]: INFO:siptrace:mod_init: initializing...
Sep  5 17:22:10 user-desktop /sbin/opensips[16536]: INFO:drouting:dr_init: Dynamic-Routing - initializing
Sep  5 17:22:10 user-desktop /sbin/opensips[16536]: INFO:load_balancer:mod_init: Load-Balancer module - initializing
Sep  5 17:22:10 user-desktop /sbin/opensips[16536]: WARNING:load_balancer:lb_db_load_data: table "load_balancer" empty
Sep  5 17:22:10 user-desktop /sbin/opensips[16536]: WARNING:dispatcher:ds_load_db: no dispatching data in the db -- empty destination set
Sep  5 17:22:10 user-desktop /sbin/opensips[16536]: ERROR:nathelper:new_rtpp_notify_node: cannot resolve hostname 127.0.0.1:7890
Sep  5 17:22:10 user-desktop /sbin/opensips[16536]: ERROR:nathelper:init_rtpp_notify_list: cannot add rtpproxy to list
Sep  5 17:22:10 user-desktop /sbin/opensips[16536]: ERROR:nathelper:mod_init: cannot find any valid rtpproxy to use
Sep  5 17:22:10 user-desktop /sbin/opensips[16536]: ERROR:core:init_mod: failed to initialize module nathelper
Sep  5 17:22:10 user-desktop /sbin/opensips[16536]: ERROR:core:main: error while initializing modules
Sep  5 17:22:10 user-desktop /sbin/opensips[16536]: NOTICE:presence:destroy: destroy module ...




Thanking  for your helps in advance, i am looking forward to have your reply

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: cannot resolve hostname

Razvan Crainea
Hi,

It seems there is a parsing error. Can you please try again with the patch I attached?

Regards,
--
Răzvan Crainea
OpenSIPS Developer

On 05.09.2011 12:50, vivid333 wrote:
opensips.cfg
    modparam("nathelper", "rtpproxy_sock", "udp:127.0.0.1:7890")           # I tried localhost, public IP, still not work .
    modparam("nathelper", "force_socket", "udp:127.0.0.1:7890")

but I do :
     ping www.google.com
it works.


below is opensips.log:

Sep  5 17:22:10 user-desktop /sbin/opensips[16536]: NOTICE:core:main: version: opensips 1.6.4-2-notls (i386/linux)
Sep  5 17:22:10 user-desktop /sbin/opensips[16536]: INFO:core:main: using 32 Mb shared memory
Sep  5 17:22:10 user-desktop /sbin/opensips[16536]: INFO:core:main: using 1 Mb private memory per process
Sep  5 17:22:10 user-desktop /sbin/opensips[16536]: NOTICE:signaling:mod_init: initializing module ...
Sep  5 17:22:10 user-desktop /sbin/opensips[16536]: INFO:sl:mod_init: Initializing StateLess engine
Sep  5 17:22:10 user-desktop /sbin/opensips[16536]: INFO:tm:mod_init: TM - initializing...
Sep  5 17:22:10 user-desktop /sbin/opensips[16536]: INFO:rr:mod_init: rr - initializing
Sep  5 17:22:10 user-desktop /sbin/opensips[16536]: INFO:maxfwd:mod_init: initializing...
Sep  5 17:22:10 user-desktop /sbin/opensips[16536]: INFO:usrloc:ul_init_locks: locks array size 512
Sep  5 17:22:10 user-desktop /sbin/opensips[16536]: INFO:registrar:mod_init: initializing...
Sep  5 17:22:10 user-desktop /sbin/opensips[16536]: INFO:textops:mod_init: initializing...
Sep  5 17:22:10 user-desktop /sbin/opensips[16536]: INFO:dialplan:mod_init: initializing module...
Sep  5 17:22:10 user-desktop /sbin/opensips[16536]: WARNING:dialplan:dp_load_db: no data in the db
Sep  5 17:22:10 user-desktop /sbin/opensips[16536]: INFO:siptrace:mod_init: initializing...
Sep  5 17:22:10 user-desktop /sbin/opensips[16536]: INFO:drouting:dr_init: Dynamic-Routing - initializing
Sep  5 17:22:10 user-desktop /sbin/opensips[16536]: INFO:load_balancer:mod_init: Load-Balancer module - initializing
Sep  5 17:22:10 user-desktop /sbin/opensips[16536]: WARNING:load_balancer:lb_db_load_data: table "load_balancer" empty
Sep  5 17:22:10 user-desktop /sbin/opensips[16536]: WARNING:dispatcher:ds_load_db: no dispatching data in the db -- empty destination set
Sep  5 17:22:10 user-desktop /sbin/opensips[16536]: ERROR:nathelper:new_rtpp_notify_node: cannot resolve hostname 127.0.0.1:7890
Sep  5 17:22:10 user-desktop /sbin/opensips[16536]: ERROR:nathelper:init_rtpp_notify_list: cannot add rtpproxy to list
Sep  5 17:22:10 user-desktop /sbin/opensips[16536]: ERROR:nathelper:mod_init: cannot find any valid rtpproxy to use
Sep  5 17:22:10 user-desktop /sbin/opensips[16536]: ERROR:core:init_mod: failed to initialize module nathelper
Sep  5 17:22:10 user-desktop /sbin/opensips[16536]: ERROR:core:main: error while initializing modules
Sep  5 17:22:10 user-desktop /sbin/opensips[16536]: NOTICE:presence:destroy: destroy module ...




Thanking  for your helps in advance, i am looking forward to have your reply
_______________________________________________ Users mailing list [hidden email] http://lists.opensips.org/cgi-bin/mailman/listinfo/users

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

nathelper_socket_parsing.patch (579 bytes) Download Attachment