<div dir="ltr">Hello Daniel,<div><br></div><div>Thank for reply !</div><div><br></div><div><span style="font-size:12.8px">do you have the pcap for such message?</span><br></div><div><br></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div>Here is the message, I capture via Wireshark on client:</div><div><div><i>Session Initiation Protocol (INVITE)</i></div></div><div><div><i> Request-Line: INVITE <a href="mailto:sip%3Abuiduchahai@happy.anttel-pro.ab-kz-02.antbuddy.com">sip:buiduchahai@happy.anttel-pro.ab-kz-02.antbuddy.com</a> SIP/2.0</i></div></div><div><div><i> Message Header</i></div></div><div><div><i> Via: SIP/2.0/TCP 10.0.2.15:57735;rport;branch=z9hG4bKPjaXcUF2ZkxyQGYCb3a57cPQ3rkcKMY.eS;alias</i></div></div><div><div><i> Max-Forwards: 70</i></div></div><div><div><i> From: "Phap Huynh" <<a 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><div><div><i> To: <<a href="mailto:sip%3Abuiduchahai@happy.anttel-pro.ab-kz-02.antbuddy.com">sip:buiduchahai@happy.anttel-pro.ab-kz-02.antbuddy.com</a>></i></div></div><div><div><i> Contact: <sip:huynhngocphap@49.156.54.54:50785;transport=TCP;ob></i></div></div><div><div><i> Call-ID: ftMudIpIQeKWwP8kQDi2z1S0D1sV3KaB</i></div></div><div><div><i> CSeq: 29055 INVITE</i></div></div><div><div><i> Route: <sip:125.212.212.40;transport=tcp;lr></i></div></div><div><div><i> Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, INFO, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS</i></div></div><div><div><i> Supported: replaces, 100rel, timer, norefersub</i></div></div><div><div><i> Session-Expires: 1800</i></div></div><div><div><i> Min-SE: 9</i></div></div><div><div><i> User-Agent: CSipSimple_hlteatt-19/r55</i></div></div><div><div><i> [truncated]Proxy-Authorization: Digest username="huynhngocphap", realm="<a href="http://happy.anttel-pro.ab-kz-02.antbuddy.com">happy.anttel-pro.ab-kz-02.antbuddy.com</a>", nonce="452a7bce-d326-11e6-a605-e9dce514db6e", uri="<a href="mailto:sip%3Abuiduchahai@happy.anttel-pro.ab-kz-02.antbuddy.com">sip:buiduchahai@happy.anttel-pro.ab-kz-02.antbuddy.com</a>", response="71749de</i></div></div><div><div><i> Content-Type: application/sdp</i></div></div><div><div><i> Content-Length: 299</i></div></div><div><div><i> Message Body</i></div></div><div><div><i> Session Description Protocol</i></div></div><div><div><i> Session Description Protocol Version (v): 0</i></div></div><div><div><i> Owner/Creator, Session Id (o): - 3692596134 3692596134 IN IP4 10.0.2.15</i></div></div><div><div><i> Session Name (s): pjmedia</i></div></div><div><div><i> Connection Information (c): IN IP4 10.0.2.15</i></div></div><div><div><i> Time Description, active time (t): 0 0</i></div></div><div><div><i> Media Description, name and address (m): audio 4002 RTP/AVP 9 0 8 101</i></div></div><div><div><i> Connection Information (c): IN IP4 10.0.2.15</i></div></div><div><div><i> Media Attribute (a): rtcp:4003 IN IP4 10.0.2.15</i></div></div><div><div><i> Media Attribute (a): sendrecv</i></div></div><div><div><i> Media Attribute (a): rtpmap:9 G722/8000</i></div></div><div><div><i> Media Attribute (a): rtpmap:0 PCMU/8000</i></div></div><div><div><i><b> Media Attribute (a): rtpmap:8 PCMA/8000</b></i></div></div><div><div><i><b> Media Attribute (a): rtpmap:101 telephone-event/8000</b></i></div></div><div><div><i><b> Media Attribute (a): fmtp:101 0-16</b></i></div></div><div><i><b><br></b></i></div><div>And this is message I receive on Freeswitch:</div><div><div> ------------------------------------------------------------------------</div></div><div><div> INVITE <a href="mailto:sip%3Abuiduchahai@happy.anttel-pro.ab-kz-02.antbuddy.com">sip:buiduchahai@happy.anttel-pro.ab-kz-02.antbuddy.com</a> SIP/2.0</div></div><div><div> Record-Route: <sip:125.212.212.40;transport=tcp;lr=on;ftag=zJBNvD67y3E.1I5Y5ZrRI4JmP5JKeNWO></div></div><div><div> Via: SIP/2.0/TCP 125.212.212.40:5060;branch=z9hG4bK0d89.3807a4cf41ce9b48a7d1a75826762d6e.0;i=533c</div></div><div><div> Via: SIP/2.0/TCP 10.0.2.15:57735;received=49.156.54.54;rport=50785;branch=z9hG4bKPjaXcUF2ZkxyQGYCb3a57cPQ3rkcKMY.eS;alias</div></div><div><div> Max-Forwards: 50</div></div><div><div> From: "Phap Huynh" <<a 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</div></div><div><div> To: <<a href="mailto:sip%3Abuiduchahai@happy.anttel-pro.ab-kz-02.antbuddy.com">sip:buiduchahai@happy.anttel-pro.ab-kz-02.antbuddy.com</a>></div></div><div><div> Contact: <sip:huynhngocphap@49.156.54.54:50785;transport=TCP;ob></div></div><div><div> Call-ID: ftMudIpIQeKWwP8kQDi2z1S0D1sV3KaB</div></div><div><div> CSeq: 29055 INVITE</div></div><div><div> Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, INFO, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS</div></div><div><div> Supported: replaces, 100rel, timer, norefersub</div></div><div><div> Session-Expires: 1800</div></div><div><div> Min-SE: 9</div></div><div><div> User-Agent: CSipSimple_hlteatt-19/r55</div></div><div><div> Proxy-Authorization: Digest username="huynhngocphap", realm="<a href="http://happy.anttel-pro.ab-kz-02.antbuddy.com">happy.anttel-pro.ab-kz-02.antbuddy.com</a>", nonce="452a7bce-d326-11e6-a605-e9dce514db6e", uri="<a href="mailto:sip%3Abuiduchahai@happy.anttel-pro.ab-kz-02.antbuddy.com">sip:buiduchahai@happy.anttel-pro.ab-kz-02.antbuddy.com</a>", response="71749de35a220aef0b92c9ade03f90b7", algorithm=MD5, cnonce="px.OiQUg2zZmYh.0-MmLC0f.-ZPXYa1V", qop=auth, nc=00000001</div></div><div><div> Content-Type: application/sdp</div></div><div><div> Content-Length: 289</div></div><div><div> X-AUTH-IP: 49.156.54.54</div></div><div><div> X-AUTH-PORT: 50785</div></div><div><div><br></div></div><div><div> v=0</div></div><div><div> o=- 3692596134 3692596134 IN IP4 49.156.54.54</div></div><div><div> s=pjmedia</div></div><div><div> c=IN IP4 49.156.54.54</div></div><div><div> t=0 0</div></div><div><div> m=audio 4002 RTP/AVP 9 0 8 101</div></div><div><div> c=IN IP4 49.156.54.54</div></div><div><div> a=rtcp:4003</div></div><div><div> a=sendrecv</div></div><div><div> a=rtpmap:9 G722/8000</div></div><div><div> a=rtpmap:0 PCMU/8000</div></div><div><div> a=oldmediaip:10.0.2.15</div></div><div><div> a=oldmediaip:10.0.2.15</div></div><div><div> a=oldmediaip:10.0.2.15</div></div><div><div> ------------------------------------------------------------------------</div></div></blockquote><div><br></div><div>You can see, it missing:</div><div><i><b> Media Attribute (a): rtpmap:8 PCMA/8000</b></i></div><div><i><b> Media Attribute (a): rtpmap:101 telephone-event/8000</b></i></div><div><i><b> Media Attribute (a): fmtp:101 0-16</b></i></div><div><br></div><div> <span style="font-size:12.8px">Is it happening for the ACK you pasted or some other message?</span></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><span style="font-size:12.8px">It only happen on ACK messages, when my client reply 200 OK /SDP to server to establish call.</span></div></blockquote><div><br></div><div>For more detail: I use another soft phone on Android like Zoiper and test with the same scenario, it work ok. And when my client use 3G, it still work ok.</div><div><br></div><div>Regards,</div><div>Hai Bui</div><div><br></div><div><i><b><br></b></i></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 5, 2017 at 10:25 PM, Daniel-Constantin Mierla <span dir="ltr"><<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div 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><div><div class="h5">
<br>
<div class="m_-6112597045264792776moz-cite-prefix">On 05/01/2017 12:16, Hai Bui Duc Ha
wrote:<br>
</div>
</div></div><blockquote type="cite"><div><div class="h5">
<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=<wbr>fmtp:101 0-16#015#012ACK
<a class="m_-6112597045264792776moz-txt-link-freetext">sip:buiduchahai@125.212.212.<wbr>36:11000;transport=tcp</a>
SIP/2.0#015#012Via: SIP/2.0/TCP
10.0.2.15:57735;rport;branch=<wbr>z9hG4bKPjlgc13AjrUrFJHq60vWhGq<wbr>sUaGXi2F98Z;alias#015#012Max-<wbr>Forwards:
70#015#012From: "Phap Huynh" <<a href="mailto:sip%3Ahuynhngocphap@happy.anttel-pro.ab-kz-02.antbuddy.com" target="_blank">sip:huynhngocphap@happy.<wbr>anttel-pro.ab-kz-02.antbuddy.<wbr>com</a>>;tag=zJBNvD67y3E.<wbr>1I5Y5ZrRI4JmP5JKeNWO#015#<wbr>012To:
<<a href="mailto:sip%3Abuiduchahai@happy.anttel-pro.ab-kz-02.antbuddy.com" target="_blank">sip:buiduchahai@happy.anttel-<wbr>pro.ab-kz-02.antbuddy.com</a>>;<wbr>tag=2SF4D790Zy6Kj#015#012Call-<wbr>ID:
ftMudIpIQeKWwP8kQDi2z1S0D1sV3K<wbr>aB#015#012CSeq: 29055
ACK#015#012Route:
<a class="m_-6112597045264792776moz-txt-link-rfc2396E"><sip:125.212.212.40;transport=<wbr>tcp;lr;ftag=zJBNvD67y3E.<wbr>1I5Y5ZrRI4JmP5JKeNWO></a>#015#<wbr>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 href="http://49.156.54.54:50785/2" target="_blank">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="m_-6112597045264792776moz-txt-link-freetext">sip:buiduchahai@125.212.212.<wbr>36:11000;transport=tcp</a>
SIP/2.0</i></div>
<div><i>Via: SIP/2.0/TCP
10.0.2.15:57735;rport;branch=<wbr>z9hG4bKPjlgc13AjrUrFJHq60vWhGq<wbr>sUaGXi2F98Z;alias</i></div>
<div><i>Max-Forwards: 70</i></div>
<div><i>From: "Phap Huynh" <<a href="mailto:sip%3Ahuynhngocphap@happy.anttel-pro.ab-kz-02.antbuddy.com" target="_blank">sip:huynhngocphap@happy.<wbr>anttel-pro.ab-kz-02.antbuddy.<wbr>com</a>>;tag=zJBNvD67y3E.<wbr>1I5Y5ZrRI4JmP5JKeNWO</i></div>
<div><i>To: <<a href="mailto:sip%3Abuiduchahai@happy.anttel-pro.ab-kz-02.antbuddy.com" target="_blank">sip:buiduchahai@happy.anttel-<wbr>pro.ab-kz-02.antbuddy.com</a>>;<wbr>tag=2SF4D790Zy6Kj</i></div>
<div><i>Call-ID: ftMudIpIQeKWwP8kQDi2z1S0D1sV3K<wbr>aB</i></div>
<div><i>CSeq: 29055 ACK</i></div>
<div><i>Route:
<a class="m_-6112597045264792776moz-txt-link-rfc2396E"><sip:125.212.212.40;transport=<wbr>tcp;lr;ftag=zJBNvD67y3E.<wbr>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="m_-6112597045264792776gmail_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="m_-6112597045264792776mimeAttachmentHeader"></fieldset>
<br>
</div></div><pre>______________________________<wbr>_________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="m_-6112597045264792776moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a>
<a class="m_-6112597045264792776moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>users</a><span class="HOEnZb"><font color="#888888">
</font></span></pre><span class="HOEnZb"><font color="#888888">
</font></span></blockquote><span class="HOEnZb"><font color="#888888">
<br>
<pre class="m_-6112597045264792776moz-signature" cols="72">--
Daniel-Constantin Mierla
<a class="m_-6112597045264792776moz-txt-link-abbreviated" href="http://www.twitter.com/miconda" target="_blank">www.twitter.com/miconda</a> -- <a class="m_-6112597045264792776moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda" target="_blank">www.linkedin.com/in/miconda</a>
Kamailio World Conference - May 8-10, 2017 - <a class="m_-6112597045264792776moz-txt-link-abbreviated" href="http://www.kamailioworld.com" target="_blank">www.kamailioworld.com</a></pre>
</font></span></div>
<br>______________________________<wbr>_________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">http://lists.sip-router.org/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="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><div><font color="#000066"></font><div><font color="#000066"></font></div></div></font></span></div></div></div></div></div></div></div></div>
</div>