[Users] pdt and IPv6

Bogdan-Andrei Iancu bogdan at voice-system.ro
Tue Mar 6 18:20:40 CET 2007


Hi Bernard,

yes "::" is used as a separator between the name and the value of a 
attribute (line). Try to place the address between quotes to avoid 
parsing it:
   

:pdt_add:openser_tmp_reply
voip.mycompany.com
9
"[::ffff:abcd:1234]"


regards,
bogdan

Bernard Chan wrote:
> Dear All,
>
> I am experimenting with OpenSER on an IPv6 environment. The pdt module
> appears not to support using an IPv6 address as destination domain (I
> guess that is true of source domain too, but I do not need that
> anyway). 
>
> I tried to append a pdt row to MySQL using the documented OpenSER FIFO
> interface. The message I sent to the FIFO is similar to 
>
> :pdt_add:openser_tmp_reply
> voip.mycompany.com
> 9
> [::ffff:abcd:1234]
>
> However, when the row is created in MySQL pdt, the [:: is apparently
> missing. I guess that is because the FIFO parser mistook that as the
> FIFO :-separated message header or something similar? 
>
> Testing with an IPv4 address instead as the destination domain, the row
> can be created properly, and prefix2domain() worked flawlessly in an
> IPv4 environment.
>
> I would like to use IPv4-mapped IPv6 address to forward to an Asterisk
> PABX over SIP+IPv4 as Asterisk has no official IPv6 release yet (this is
> another question, whether OpenSER will handle v4-mapped address
> properly). This is what I would like to test by setting this pdt rule.
>
> I'm using OpenSER 1.2.0-dev19-notls on i386/linux, by the way.
>
> Thanks for any invaluable insights.
>
> Regards,
> Bernard Chan.
>
>
> _______________________________________________
> Users mailing list
> Users at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
>
>   





More information about the Users mailing list