IPv6 SIP URI in Dispatcher List (destination set)

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

IPv6 SIP URI in Dispatcher List (destination set)

alain bernard
Folks,

We are using dispatcher module for load balancing for a while with IPv4.  Now, we are moving to IPv6, we would like to use these features again. However, by specifying IPv6 SIP URI in the dispatcher.list for the destination host, the URI can't be resolved. Below is the debug log.

A simple destination set in dispatcher.list is:

1 sip:[2001:430:1403:3::1]:5081
1 sip:[2001:430:1403:3::2]:5082

We tried other IPv6 SIP URI syntaxes without success.

Any thoughts how to solve this issue or how to use IPv6 SIP URI in dispatcher.list for destination hosts/set.

Regards,

Alain

-------------------------------------------------------------------------------------------------------------------------

Sep 11 06:58:04 [32571] INFO:core:init_tcp: using epoll_lt as the TCP io watch method (auto detected)
[root@pctest opensips]# Sep 11 06:58:04 [32573] NOTICE:core:main: version: opensips 1.5.2-notls (i386/linux)
Sep 11 06:58:04 [32573] INFO:core:main: using 32 Mb shared memory
Sep 11 06:58:04 [32573] INFO:core:main: using 1 Mb private memory per process
Sep 11 06:58:04 [32573] NOTICE:signaling:mod_init: initializing module ...
Sep 11 06:58:04 [32573] INFO:sl:mod_init: Initializing StateLess engine
Sep 11 06:58:04 [32573] INFO:tm:mod_init: TM - initializing...
Sep 11 06:58:04 [32573] INFO:maxfwd:mod_init: initializing...
Sep 11 06:58:04 [32573] INFO:usrloc:ul_init_locks: locks array size 512
Sep 11 06:58:04 [32573] INFO:registrar:mod_init: initializing...
Sep 11 06:58:04 [32573] INFO:textops:mod_init: initializing...
Sep 11 06:58:04 [32573] INFO:xlog:mod_init: initializing...
Sep 11 06:58:04 [32573] INFO:acc:mod_init: initializing...
Sep 11 06:58:04 [32573] ERROR:dispatcher:add_dest2list: could not resolve [2001:430:1403:3::1]
Sep 11 06:58:04 [32573] ERROR:dispatcher:mod_init: no dispatching list loaded from file
Sep 11 06:58:04 [32573] ERROR:core:init_mod: failed to initialize module dispatcher
Sep 11 06:58:04 [32573] ERROR:core:main: error while initializing modules





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

Re: IPv6 SIP URI in Dispatcher List (destination set)

Bogdan-Andrei Iancu
Hi Alain,

I did a small fix on the SVN in regards to dealing with IPv6 IP
addresses in the dispatcher module. According to my tests, it should
work now.

So, please update from SVN and give it a try.

Thanks for report and regards,
Bogdan

alain bernard wrote:

> Folks,
>
> We are using dispatcher module for load balancing for a while with
> IPv4.  Now, we are moving to IPv6, we would like to use these features
> again. However, by specifying IPv6 SIP URI in the dispatcher.list for
> the destination host, the URI can't be resolved. Below is the debug log.
>
> A simple destination set in dispatcher.list is:
>
> 1 sip:[2001:430:1403:3::1]:5081
> 1 sip:[2001:430:1403:3::2]:5082
>
> We tried other IPv6 SIP URI syntaxes without success.
>
> Any thoughts how to solve this issue or how to use IPv6 SIP URI in
> dispatcher.list for destination hosts/set.
>
> Regards,
>
> Alain
>
> -------------------------------------------------------------------------------------------------------------------------
>
> Sep 11 06:58:04 [32571] INFO:core:init_tcp: using epoll_lt as the TCP
> io watch method (auto detected)
> [root@pctest opensips]# Sep 11 06:58:04 [32573] NOTICE:core:main:
> version: opensips 1.5.2-notls (i386/linux)
> Sep 11 06:58:04 [32573] INFO:core:main: using 32 Mb shared memory
> Sep 11 06:58:04 [32573] INFO:core:main: using 1 Mb private memory per
> process
> Sep 11 06:58:04 [32573] NOTICE:signaling:mod_init: initializing module ...
> Sep 11 06:58:04 [32573] INFO:sl:mod_init: Initializing StateLess engine
> Sep 11 06:58:04 [32573] INFO:tm:mod_init: TM - initializing...
> Sep 11 06:58:04 [32573] INFO:maxfwd:mod_init: initializing...
> Sep 11 06:58:04 [32573] INFO:usrloc:ul_init_locks: locks array size 512
> Sep 11 06:58:04 [32573] INFO:registrar:mod_init: initializing...
> Sep 11 06:58:04 [32573] INFO:textops:mod_init: initializing...
> Sep 11 06:58:04 [32573] INFO:xlog:mod_init: initializing...
> Sep 11 06:58:04 [32573] INFO:acc:mod_init: initializing...
> Sep 11 06:58:04 [32573] ERROR:dispatcher:add_dest2list: could not
> resolve [2001:430:1403:3::1]
> Sep 11 06:58:04 [32573] ERROR:dispatcher:mod_init: no dispatching list
> loaded from file
> Sep 11 06:58:04 [32573] ERROR:core:init_mod: failed to initialize
> module dispatcher
> Sep 11 06:58:04 [32573] ERROR:core:main: error while initializing modules
>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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
Reply | Threaded
Open this post in threaded view
|

Re: IPv6 SIP URI in Dispatcher List (destination set)

alain bernard
Hi Bogdan,
 
Thanks for taking care of this bug. Now it works fine after few tests. Will let you know if other issue show up after deep tests.
 
I assume that this update applies also for Load Balancing module when setting destination set (dst_uri as IPv6 SIP URI), since the syntax is similar.
 
Thanks again and best regards,
 
Alain

On Tue, Sep 15, 2009 at 10:34 AM, Bogdan-Andrei Iancu <[hidden email]> wrote:
Hi Alain,

I did a small fix on the SVN in regards to dealing with IPv6 IP
addresses in the dispatcher module. According to my tests, it should
work now.

So, please update from SVN and give it a try.

Thanks for report and regards,
Bogdan

alain bernard wrote:
> Folks,
>
> We are using dispatcher module for load balancing for a while with
> IPv4.  Now, we are moving to IPv6, we would like to use these features
> again. However, by specifying IPv6 SIP URI in the dispatcher.list for
> the destination host, the URI can't be resolved. Below is the debug log.
>
> A simple destination set in dispatcher.list is:
>
> 1 sip:[2001:430:1403:3::1]:5081
> 1 sip:[2001:430:1403:3::2]:5082
>
> We tried other IPv6 SIP URI syntaxes without success.
>
> Any thoughts how to solve this issue or how to use IPv6 SIP URI in
> dispatcher.list for destination hosts/set.
>
> Regards,
>
> Alain
>
> -------------------------------------------------------------------------------------------------------------------------
>
> Sep 11 06:58:04 [32571] INFO:core:init_tcp: using epoll_lt as the TCP
> io watch method (auto detected)
> [root@pctest opensips]# Sep 11 06:58:04 [32573] NOTICE:core:main:
> version: opensips 1.5.2-notls (i386/linux)
> Sep 11 06:58:04 [32573] INFO:core:main: using 32 Mb shared memory
> Sep 11 06:58:04 [32573] INFO:core:main: using 1 Mb private memory per
> process
> Sep 11 06:58:04 [32573] NOTICE:signaling:mod_init: initializing module ...
> Sep 11 06:58:04 [32573] INFO:sl:mod_init: Initializing StateLess engine
> Sep 11 06:58:04 [32573] INFO:tm:mod_init: TM - initializing...
> Sep 11 06:58:04 [32573] INFO:maxfwd:mod_init: initializing...
> Sep 11 06:58:04 [32573] INFO:usrloc:ul_init_locks: locks array size 512
> Sep 11 06:58:04 [32573] INFO:registrar:mod_init: initializing...
> Sep 11 06:58:04 [32573] INFO:textops:mod_init: initializing...
> Sep 11 06:58:04 [32573] INFO:xlog:mod_init: initializing...
> Sep 11 06:58:04 [32573] INFO:acc:mod_init: initializing...
> Sep 11 06:58:04 [32573] ERROR:dispatcher:add_dest2list: could not
> resolve [2001:430:1403:3::1]
> Sep 11 06:58:04 [32573] ERROR:dispatcher:mod_init: no dispatching list
> loaded from file
> Sep 11 06:58:04 [32573] ERROR:core:init_mod: failed to initialize
> module dispatcher
> Sep 11 06:58:04 [32573] ERROR:core:main: error while initializing modules
>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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


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

Re: IPv6 SIP URI in Dispatcher List (destination set)

Bogdan-Andrei Iancu
Hi Alain,

Alain Bernard wrote:
> Hi Bogdan,
>  
> Thanks for taking care of this bug. Now it works fine after few tests.
> Will let you know if other issue show up after deep tests.
OK, cool
>  
> I assume that this update applies also for Load Balancing module when
> setting destination set (dst_uri as IPv6 SIP URI), since the syntax is
> similar.
Not really - the error was not syntax related, but the way dispatcher
module tried to resolve via DNS the loaded destinations. LB module is
not doing that, so it should be safe.

Regards.
Bogdan

>  
> Thanks again and best regards,
>  
> Alain
>
> On Tue, Sep 15, 2009 at 10:34 AM, Bogdan-Andrei Iancu
> <[hidden email] <mailto:[hidden email]>> wrote:
>
>     Hi Alain,
>
>     I did a small fix on the SVN in regards to dealing with IPv6 IP
>     addresses in the dispatcher module. According to my tests, it should
>     work now.
>
>     So, please update from SVN and give it a try.
>
>     Thanks for report and regards,
>     Bogdan
>
>     alain bernard wrote:
>     > Folks,
>     >
>     > We are using dispatcher module for load balancing for a while with
>     > IPv4.  Now, we are moving to IPv6, we would like to use these
>     features
>     > again. However, by specifying IPv6 SIP URI in the
>     dispatcher.list for
>     > the destination host, the URI can't be resolved. Below is the
>     debug log.
>     >
>     > A simple destination set in dispatcher.list is:
>     >
>     > 1 sip:[2001:430:1403:3::1]:5081
>     > 1 sip:[2001:430:1403:3::2]:5082
>     >
>     > We tried other IPv6 SIP URI syntaxes without success.
>     >
>     > Any thoughts how to solve this issue or how to use IPv6 SIP URI in
>     > dispatcher.list for destination hosts/set.
>     >
>     > Regards,
>     >
>     > Alain
>     >
>     >
>     -------------------------------------------------------------------------------------------------------------------------
>     >
>     > Sep 11 06:58:04 [32571] INFO:core:init_tcp: using epoll_lt as
>     the TCP
>     > io watch method (auto detected)
>     > [root@pctest opensips]# Sep 11 06:58:04 [32573] NOTICE:core:main:
>     > version: opensips 1.5.2-notls (i386/linux)
>     > Sep 11 06:58:04 [32573] INFO:core:main: using 32 Mb shared memory
>     > Sep 11 06:58:04 [32573] INFO:core:main: using 1 Mb private
>     memory per
>     > process
>     > Sep 11 06:58:04 [32573] NOTICE:signaling:mod_init: initializing
>     module ...
>     > Sep 11 06:58:04 [32573] INFO:sl:mod_init: Initializing StateLess
>     engine
>     > Sep 11 06:58:04 [32573] INFO:tm:mod_init: TM - initializing...
>     > Sep 11 06:58:04 [32573] INFO:maxfwd:mod_init: initializing...
>     > Sep 11 06:58:04 [32573] INFO:usrloc:ul_init_locks: locks array
>     size 512
>     > Sep 11 06:58:04 [32573] INFO:registrar:mod_init: initializing...
>     > Sep 11 06:58:04 [32573] INFO:textops:mod_init: initializing...
>     > Sep 11 06:58:04 [32573] INFO:xlog:mod_init: initializing...
>     > Sep 11 06:58:04 [32573] INFO:acc:mod_init: initializing...
>     > Sep 11 06:58:04 [32573] ERROR:dispatcher:add_dest2list: could not
>     > resolve [2001:430:1403:3::1]
>     > Sep 11 06:58:04 [32573] ERROR:dispatcher:mod_init: no
>     dispatching list
>     > loaded from file
>     > Sep 11 06:58:04 [32573] ERROR:core:init_mod: failed to initialize
>     > module dispatcher
>     > Sep 11 06:58:04 [32573] ERROR:core:main: error while
>     initializing modules
>     >
>     >
>     >
>     >
>     >
>     ------------------------------------------------------------------------
>     >
>     > _______________________________________________
>     > Users mailing list
>     > [hidden email] <mailto:[hidden email]>
>     > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>     >
>
>
>     _______________________________________________
>     Users mailing list
>     [hidden email] <mailto:[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
>  


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