<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hello,</p>
<p><br>
</p>
<p>maybe this tutorial is going to provide you some useful hints:</p>
<p><br>
</p>
<p> - <a class="moz-txt-link-freetext" href="https://kb.asipto.com/kamailio:kamailio-mixed-ipv4-ipv6">https://kb.asipto.com/kamailio:kamailio-mixed-ipv4-ipv6</a></p>
<p><br>
</p>
<p>Cheers,<br>
Daniel<br>
</p>
<br>
<div class="moz-cite-prefix">On 30.06.17 17:40, Narayan P wrote:<br>
</div>
<blockquote type="cite"
cite="mid:HK2PR0201MB1745BCDE115CD5E465A95348D7D30@HK2PR0201MB1745.apcprd02.prod.outlook.com">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<div id="divtagdefaultwrapper"
style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;"
dir="ltr">
<p>Hi,</p>
<p><br>
</p>
<p>I am using kamailio as outbound proxy integrated with
rtpproxy.I have done the configuration of ipv6 to ipv4
network.</p>
<p>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.</p>
<p><br>
</p>
<p>How to convert ipv6 to ipv4 inside kamailio so that pjsip
can accept.</p>
<p>Below is the sip trace from client.</p>
<p><br>
</p>
<div>20:49:20.152 pjsua_app.c .....Call 0 state changed to
EARLY (183 Session progress)<br>
20:49:20.152 pjsua_media.c .....Call 0: updating media..<br>
20:49:20.152 pjsua_media.c
......pjmedia_stream_info_from_sdp() failed for call_id 0
media 0: Unsupported address family (PJ_EAFNOTSUP)<br>
20:49:20.152 pjsua_media.c ......Error updating media
call00:0: Unsupported address family (PJ_EAFNOTSUP)<br>
20:49:20.152 pjsua_call.c .....Unable to create media
session: No active media stream after negotiation
(PJMEDIA_SDPNEG_ENOMEDIA) [status=220048]<br>
20:49:20.152 pjsua_core.c ........TX 418 bytes Request msg
CANCEL/cseq=12308 (tdta0x7f0b28008400) to UDP
2001:db8:bad:a55::2:5070:<br>
CANCEL <a class="moz-txt-link-freetext" href="sip:919035438928@185.122.206.62">sip:919035438928@185.122.206.62</a> SIP/2.0<br>
Via: SIP/2.0/UDP
[2001:DB8:BAD:A55:0:0:0:2]:5077;rport;branch=z9hG4bKPj8pbyM6u7jh2tBncOqhPSbPMA8mK4RaIz<br>
Max-Forwards: 70<br>
From:
<a class="moz-txt-link-freetext" href="sip:OTT919620649614@185.122.206.62;tag=YZDJ3TTb4kDIO2.0Bvuw8nrkTTNPBwtm">sip:OTT919620649614@185.122.206.62;tag=YZDJ3TTb4kDIO2.0Bvuw8nrkTTNPBwtm</a><br>
To: <a class="moz-txt-link-rfc2396E" href="sip:919035438928@185.122.206.62"><sip:919035438928@185.122.206.62></a><br>
Call-ID: 7otfmBr7j6wvfhjlApd0xcHOPp6wsII6<br>
CSeq: 12308 CANCEL<br>
Route: <a class="moz-txt-link-rfc2396E" href="sip:[2001:db8:bad:a55::2]:5070;lr"><sip:[2001:db8:bad:a55::2]:5070;lr></a><br>
Content-Length: 0<br>
<br>
<br>
--end msg--<br>
20:49:20.154 pjsua_core.c .RX 457 bytes Response msg
200/CANCEL/cseq=12308 (rdata0x7f0b28001d08) from UDP
2001:db8:bad:a55::2:5070:<br>
SIP/2.0 200 canceling<br>
Via: SIP/2.0/UDP
[2001:DB8:BAD:A55:0:0:0:2]:5077;rport=5077;branch=z9hG4bKPj8pbyM6u7jh2tBncOqhPSbPMA8mK4RaIz;received=2001:DB8:BAD:A55:0:0:0:2<br>
From:
<a class="moz-txt-link-freetext" href="sip:OTT919620649614@185.122.206.62;tag=YZDJ3TTb4kDIO2.0Bvuw8nrkTTNPBwtm">sip:OTT919620649614@185.122.206.62;tag=YZDJ3TTb4kDIO2.0Bvuw8nrkTTNPBwtm</a><br>
To:
<a class="moz-txt-link-rfc2396E" href="sip:919035438928@185.122.206.62"><sip:919035438928@185.122.206.62></a>;tag=6374de6d95f421336d5241fc0a072275-2b9b<br>
Call-ID: 7otfmBr7j6wvfhjlApd0xcHOPp6wsII6<br>
CSeq: 12308 CANCEL<br>
Server: kamailio (5.0.0-dev5 (x86_64/linux))<br>
Content-Length: 0<br>
<br>
<br>
--end msg--<br>
20:49:20.310 pjsua_core.c .RX 380 bytes Response msg
487/INVITE/cseq=12308 (rdata0x7f0b28001d08) from UDP
2001:db8:bad:a55::2:5070:<br>
SIP/2.0 487 Request Terminated<br>
Via: SIP/2.0/UDP
[2001:DB8:BAD:A55:0:0:0:2]:5077;rport=5077;branch=z9hG4bKPj8pbyM6u7jh2tBncOqhPSbPMA8mK4RaIz;received=2001:DB8:BAD:A55:0:0:0:2<br>
From:
<a class="moz-txt-link-rfc2396E" href="sip:OTT919620649614@185.122.206.62"><sip:OTT919620649614@185.122.206.62></a>;tag=YZDJ3TTb4kDIO2.0Bvuw8nrkTTNPBwtm<br>
To: <a class="moz-txt-link-rfc2396E" href="sip:919035438928@185.122.206.62"><sip:919035438928@185.122.206.62></a><br>
CSeq: 12308 INVITE<br>
Call-ID: 7otfmBr7j6wvfhjlApd0xcHOPp6wsII6<br>
Content-Length: 0<br>
<br>
<br>
--end msg--<br>
20:49:20.310 pjsua_core.c ..TX 412 bytes Request msg
ACK/cseq=12308 (tdta0x7f0b2800cf40) to UDP
2001:db8:bad:a55::2:5070:<br>
ACK <a class="moz-txt-link-freetext" href="sip:919035438928@185.122.206.62">sip:919035438928@185.122.206.62</a> SIP/2.0<br>
Via: SIP/2.0/UDP
[2001:DB8:BAD:A55:0:0:0:2]:5077;rport;branch=z9hG4bKPj8pbyM6u7jh2tBncOqhPSbPMA8mK4RaIz<br>
Max-Forwards: 70<br>
From:
<a class="moz-txt-link-freetext" href="sip:OTT919620649614@185.122.206.62;tag=YZDJ3TTb4kDIO2.0Bvuw8nrkTTNPBwtm">sip:OTT919620649614@185.122.206.62;tag=YZDJ3TTb4kDIO2.0Bvuw8nrkTTNPBwtm</a><br>
To: <a class="moz-txt-link-rfc2396E" href="sip:919035438928@185.122.206.62"><sip:919035438928@185.122.206.62></a><br>
Call-ID: 7otfmBr7j6wvfhjlApd0xcHOPp6wsII6<br>
CSeq: 12308 ACK<br>
Route: <a class="moz-txt-link-rfc2396E" href="sip:[2001:db8:bad:a55::2]:5070;lr"><sip:[2001:db8:bad:a55::2]:5070;lr></a><br>
Content-Length: 0<br>
<br>
<br>
--end msg--<br>
20:49:20.311 pjsua_app.c .....Call 0 is DISCONNECTED
[reason=488 (Not Acceptable Here)]<br>
20:49:20.311 pjsua_app_comm .....<br>
[DISCONNCTD] To:
<a class="moz-txt-link-rfc2396E" href="sip:919035438928@185.122.206.62"><sip:919035438928@185.122.206.62></a>;tag=GB-1498835320600<br>
Call time: 00h:00m:00s, 1st res in 361 ms, conn in 0ms<br>
#0 audio deactivated<br>
20:49:20.311 pjsua_media.c .....Call 0: deinitializing
media..<br>
20:49:20.311 pjsua_media.c .......Media stream call00:0 is
destroyed<br>
20:49:21.311 pjsua_aud.c !Closing sound device after idle
for 1 second(s)<br>
20:49:21.311 pjsua_app.c .Turning sound device OFF<br>
20:49:21.311 pjsua_aud.c .Closing default sound playback
device and default sound capture device<br>
</div>
<p><br>
</p>
<p>Any suggestion will be highly appreciated.</p>
<p><br>
</p>
<p>Thanks,</p>
<p>Narayan<br>
</p>
<p><br>
</p>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Kamailio Advanced Training - <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
Kamailio World Conference - <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com">www.kamailioworld.com</a></pre>
</body>
</html>