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
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(a)openser.org
http://openser.org/cgi-bin/mailman/listinfo/users