<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hello,</p>
<p>do you have the pcap for such message? Is it happening for the
ACK you pasted or some other message?</p>
<p>Cheers,<br>
Daniel<br>
</p>
<br>
<div class="moz-cite-prefix">On 05/01/2017 12:16, Hai Bui Duc Ha
wrote:<br>
</div>
<blockquote
cite="mid:CA+Gtc=TqsEH9-NUygcW9FnAZmWmtYRO3=0g9+AEgw8nOsVhmxQ@mail.gmail.com"
type="cite">
<div dir="ltr">Hi all,
<div><br>
</div>
<div>I have problem when make call with my Android mobile use
PJSIP library.</div>
<div>Scenario:</div>
<div><br>
</div>
<div>my client -> Kamailio -> Freeswitch (media server)
-> another client (soft phone on Windows)</div>
<div><br>
</div>
<div>my client:</div>
<div> + use Bluestack</div>
<div> + Capture via Wireshark</div>
<div> + use Wifi</div>
<div><br>
</div>
<div>Issue: The call will be drop after ~ 30 second.</div>
<div><br>
</div>
<div>I see the error on Kamailio:</div>
<div>
<div><i>Jan 5 16:08:59 ab-kz-02 kamailio[6343]: ERROR:
<core> [parser/parse_fline.c:257]:
parse_first_line(): parse_first_line: bad message (offset:
13)</i></div>
<div><i>Jan 5 16:08:59 ab-kz-02 kamailio[6343]: ERROR:
<core> [parser/parse_fline.c:257]:
parse_first_line(): parse_first_line: bad message (offset:
13)</i></div>
<div><i>Jan 5 16:08:59 ab-kz-02 kamailio[6343]: ERROR:
<core> [parser/msg_parser.c:690]: parse_msg():
ERROR: parse_msg: message=<p:8
PCMA/8000#015#012a=rtpmap:101
telephone-event/8000#015#012a=fmtp:101 0-16#015#012ACK
<a class="moz-txt-link-freetext" href="sip:buiduchahai@125.212.212.36:11000;transport=tcp">sip:buiduchahai@125.212.212.36:11000;transport=tcp</a>
SIP/2.0#015#012Via: SIP/2.0/TCP
10.0.2.15:57735;rport;branch=z9hG4bKPjlgc13AjrUrFJHq60vWhGqsUaGXi2F98Z;alias#015#012Max-Forwards:
70#015#012From: "Phap Huynh" <<a moz-do-not-send="true"
href="mailto:sip%3Ahuynhngocphap@happy.anttel-pro.ab-kz-02.antbuddy.com">sip:huynhngocphap@happy.anttel-pro.ab-kz-02.antbuddy.com</a>>;tag=zJBNvD67y3E.1I5Y5ZrRI4JmP5JKeNWO#015#012To:
<<a moz-do-not-send="true"
href="mailto:sip%3Abuiduchahai@happy.anttel-pro.ab-kz-02.antbuddy.com">sip:buiduchahai@happy.anttel-pro.ab-kz-02.antbuddy.com</a>>;tag=2SF4D790Zy6Kj#015#012Call-ID:
ftMudIpIQeKWwP8kQDi2z1S0D1sV3KaB#015#012CSeq: 29055
ACK#015#012Route:
<a class="moz-txt-link-rfc2396E" href="sip:125.212.212.40;transport=tcp;lr;ftag=zJBNvD67y3E.1I5Y5ZrRI4JmP5JKeNWO"><sip:125.212.212.40;transport=tcp;lr;ftag=zJBNvD67y3E.1I5Y5ZrRI4JmP5JKeNWO></a>#015#012Content-Length:
0#015#012#015#012></i></div>
<div><i>Jan 5 16:08:59 ab-kz-02 kamailio[6343]: ERROR:
<core> [receive.c:129]: receive_msg(): core parsing
of SIP message failed (<a moz-do-not-send="true"
href="http://49.156.54.54:50785/2">49.156.54.54:50785/2</a>)</i></div>
</div>
<div><br>
</div>
<div>Seem to the server error when parse</div>
<div>(on INVITE SDP)</div>
<i>a=rtpmap:8 PCMA/8000<br>
a=rtpmap:101 telephone-event/8000<br>
a=fmtp:101 0-16</i>
<div><br clear="all">
<div>(on new ACK message)</div>
<div>
<div><i>ACK
<a class="moz-txt-link-freetext" href="sip:buiduchahai@125.212.212.36:11000;transport=tcp">sip:buiduchahai@125.212.212.36:11000;transport=tcp</a>
SIP/2.0</i></div>
<div><i>Via: SIP/2.0/TCP
10.0.2.15:57735;rport;branch=z9hG4bKPjlgc13AjrUrFJHq60vWhGqsUaGXi2F98Z;alias</i></div>
<div><i>Max-Forwards: 70</i></div>
<div><i>From: "Phap Huynh" <<a moz-do-not-send="true"
href="mailto:sip%3Ahuynhngocphap@happy.anttel-pro.ab-kz-02.antbuddy.com">sip:huynhngocphap@happy.anttel-pro.ab-kz-02.antbuddy.com</a>>;tag=zJBNvD67y3E.1I5Y5ZrRI4JmP5JKeNWO</i></div>
<div><i>To: <<a moz-do-not-send="true"
href="mailto:sip%3Abuiduchahai@happy.anttel-pro.ab-kz-02.antbuddy.com">sip:buiduchahai@happy.anttel-pro.ab-kz-02.antbuddy.com</a>>;tag=2SF4D790Zy6Kj</i></div>
<div><i>Call-ID: ftMudIpIQeKWwP8kQDi2z1S0D1sV3KaB</i></div>
<div><i>CSeq: 29055 ACK</i></div>
<div><i>Route:
<a class="moz-txt-link-rfc2396E" href="sip:125.212.212.40;transport=tcp;lr;ftag=zJBNvD67y3E.1I5Y5ZrRI4JmP5JKeNWO"><sip:125.212.212.40;transport=tcp;lr;ftag=zJBNvD67y3E.1I5Y5ZrRI4JmP5JKeNWO></a></i></div>
<div><i>Content-Length: 0</i></div>
</div>
<div><br>
</div>
<div>I think the SIP message is fragmented but when resume
package is not correct.</div>
<div>Do you have any advice ? Thank you for watching !</div>
<div><br>
</div>
<div>Regards,</div>
<div>Hai Bui</div>
<div><br>
</div>
<div><br>
</div>
-- <br>
<div class="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>Hai Bui<br>
</div>
<div>VoIP engineer, Cvoice team, HTK-HCM Office<br>
</div>
<div>
<div dir="ltr"><span><font color="#888888">
<div>
<font color="#000066">Mobile:
+84-165-618-9876<br>
</font></div>
</font></span></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.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 World Conference - May 8-10, 2017 - <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com">www.kamailioworld.com</a></pre>
</body>
</html>