[SR-Users] How to convert ipv6 to ipv4 address inside message body

Sebastian Damm damm at sipgate.de
Mon Jul 3 10:13:43 CEST 2017


Hi,

On Fri, Jun 30, 2017 at 5:40 PM, Narayan P <narayana88 at outlook.com> wrote:
> But when 183 session progress came ,kamailio is sending its ipv6 address to
> pjsip client inside sdp body.So that  it is not accepting and 488 error
> message is giving.
>
>
> How to convert ipv6 to ipv4  inside kamailio so that pjsip can accept.

don't know how the appropriate options would look like for rtpproxy,
but with rtpengine you have to define an "external" and an "internal"
interface and then use the correct options for bridging from external
to internal. And you have to call the appropriate rtpproxy function
for each reply that has an SDP body, not only for the request.

See https://www.youtube.com/watch?v=j8e0D2aOE5A (from Kamailioworld
two years ago) for configuration examples using the rtpengine module.

HTH
Sebastian



More information about the sr-users mailing list