<div dir="ltr"><div>Issam,</div><div><br></div><div>Sorry, it is vacation season and I haven't been able to get back to you on this.  I recommend that in addition to analyzing the SIP trace you also enable mohqueue debugging and look at the Kamailio logs (see <a href="http://kamailio.org/docs/modules/5.0.x/modules/mohqueue.html#rpc.debug">http://kamailio.org/docs/modules/5.0.x/modules/mohqueue.html#rpc.debug</a>).  This will tell you how mohqueue processes the messages.</div><div><br></div><div>Feel free to write back again but I may not be available for another week.</div><div><br></div><div>Bob </div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jun 14, 2017 at 12:36 PM, Issam <span dir="ltr"><<a href="mailto:ihambouz@gmail.com" target="_blank">ihambouz@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 dir="ltr"><div><div><div><div><div>Hello Robert,<br><br></div>Thank you for your response.<br><br></div>Point 1 is crystal clear, just needed such confirmation.<br><br></div>Point 2: Looking at the below trace, can't find anything wrong (except the 404 response for BYE at the end). Moreover, it looks to me that the INVITE gets positively completed, taking into account the 200 OK + MOH getting played. Yet, the mentioned error appears after 4-5 seconds, at the same moment the call gets removed from mohqcalls table .. as for the MOH, it keeps playing as expected.<br><br></div><div>Hints and comments are appreciated!<br></div><div><br>U 2017/06/14 14:56:28.132052 +0300 <a href="http://172.16.21.12:5060" target="_blank">172.16.21.12:5060</a> -> <a href="http://10.110.3.57:5060" target="_blank">10.110.3.57:5060</a><br><br>INVITE <a href="mailto:sip%3Ademo@10.110.3.57" target="_blank">sip:demo@10.110.3.57</a> SIP/2.0<br>Via: SIP/2.0/UDP 172.16.21.12:5060;rport;<wbr>branch=z9hG4bKPjb1ac7743-b936-<wbr>4074-9a5d-98e345a33f26<br>Max-Forwards: 70<br>From: <<a href="mailto:sip%3A6010@10.110.3.57" target="_blank">sip:6010@10.110.3.57</a>>;tag=<wbr>8bfd31ff-59ad-4efd-8ae5-<wbr>47fde1862ef1<br>To: <<a href="mailto:sip%3Ademo@10.110.3.57" target="_blank">sip:demo@10.110.3.57</a>><br>Contact: <<a href="http://sip:6010@172.16.21.12:5060" target="_blank">sip:6010@172.16.21.12:5060</a>><br>Call-ID: 2116d060-8211-4f5c-beba-<wbr>4a7d6c4fd08f<br>CSeq: 14866 INVITE<br>Subject: Phone call<br>Allow: SUBSCRIBE, NOTIFY, REFER, INVITE, ACK, BYE, CANCEL, UPDATE, INFO, OPTIONS, MESSAGE, PUBLISH<br>Supported: replaces<br>Content-Type: application/sdp<br>Content-Length:   399<br><br>v=0<br>o=yakama 3706430188 0 IN IP4 172.16.21.12<br>s=sflphone<br>c=IN IP4 172.16.21.12<br>t=0 0<br>m=audio 32298 RTP/AVP 0 3 8 9 110 111 112 101<br>a=rtpmap:0 PCMU/8000<br>a=rtpmap:3 GSM/8000<br>a=rtpmap:8 PCMA/8000<br>a=rtpmap:9 G722/8000<br>a=rtpmap:110 speex/8000<br>a=rtpmap:111 speex/16000<br>a=rtpmap:112 speex/32000<br>a=sendrecv<br>a=rtpmap:101 telephone-event/8000<br>a=fmtp:101 0-15<br>a=rtcp:32299 IN IP4 172.16.21.12<br><br>U 2017/06/14 14:56:28.132412 +0300 <a href="http://10.110.3.57:5060" target="_blank">10.110.3.57:5060</a> -> <a href="http://172.16.21.12:5060" target="_blank">172.16.21.12:5060</a><br><br>SIP/2.0 407 Proxy Authentication Required<br>Via: SIP/2.0/UDP 172.16.21.12:5060;rport=5060;<wbr>branch=z9hG4bKPjb1ac7743-b936-<wbr>4074-9a5d-98e345a33f26;<wbr>received=172.16.21.12<br>From: <<a href="mailto:sip%3A6010@10.110.3.57" target="_blank">sip:6010@10.110.3.57</a>>;tag=<wbr>8bfd31ff-59ad-4efd-8ae5-<wbr>47fde1862ef1<br>To: <<a href="mailto:sip%3Ademo@10.110.3.57" target="_blank">sip:demo@10.110.3.57</a>>;tag=<wbr>20db48d68ad8cea70ceb54cf4988a9<wbr>0d.fe0d<br>Call-ID: 2116d060-8211-4f5c-beba-<wbr>4a7d6c4fd08f<br>CSeq: 14866 INVITE<br>Proxy-Authenticate: Digest realm="10.110.3.57", nonce="<wbr>WUElmFlBJGysi4cnHPxRxIhhn6VcSB<wbr>1i"<br>Server: kamailio (4.2.3 (x86_64/linux))<br>Content-Length: 0<br><br><br>U 2017/06/14 14:56:28.142416 +0300 <a href="http://172.16.21.12:5060" target="_blank">172.16.21.12:5060</a> -> <a href="http://10.110.3.57:5060" target="_blank">10.110.3.57:5060</a><br><br>ACK <a href="mailto:sip%3Ademo@10.110.3.57" target="_blank">sip:demo@10.110.3.57</a> SIP/2.0<br>Via: SIP/2.0/UDP 172.16.21.12:5060;rport;<wbr>branch=z9hG4bKPjb1ac7743-b936-<wbr>4074-9a5d-98e345a33f26<br>Max-Forwards: 70<br>From: <<a href="mailto:sip%3A6010@10.110.3.57" target="_blank">sip:6010@10.110.3.57</a>>;tag=<wbr>8bfd31ff-59ad-4efd-8ae5-<wbr>47fde1862ef1<br>To: <<a href="mailto:sip%3Ademo@10.110.3.57" target="_blank">sip:demo@10.110.3.57</a>>;tag=<wbr>20db48d68ad8cea70ceb54cf4988a9<wbr>0d.fe0d<br>Call-ID: 2116d060-8211-4f5c-beba-<wbr>4a7d6c4fd08f<br>CSeq: 14866 ACK<br>Content-Length:  0<br><br><br>U 2017/06/14 14:56:28.142768 +0300 <a href="http://172.16.21.12:5060" target="_blank">172.16.21.12:5060</a> -> <a href="http://10.110.3.57:5060" target="_blank">10.110.3.57:5060</a><br><br>INVITE <a href="mailto:sip%3Ademo@10.110.3.57" target="_blank">sip:demo@10.110.3.57</a> SIP/2.0<br>Via: SIP/2.0/UDP 172.16.21.12:5060;rport;<wbr>branch=z9hG4bKPj63038e66-0dc3-<wbr>4cce-8e07-04549f40d72b<br>Max-Forwards: 70<br>From: <<a href="mailto:sip%3A6010@10.110.3.57" target="_blank">sip:6010@10.110.3.57</a>>;tag=<wbr>8bfd31ff-59ad-4efd-8ae5-<wbr>47fde1862ef1<br>To: <<a href="mailto:sip%3Ademo@10.110.3.57" target="_blank">sip:demo@10.110.3.57</a>><br>Contact: <<a href="http://sip:6010@172.16.21.12:5060" target="_blank">sip:6010@172.16.21.12:5060</a>><br>Call-ID: 2116d060-8211-4f5c-beba-<wbr>4a7d6c4fd08f<br>CSeq: 14867 INVITE<br>Subject: Phone call<br>Allow: SUBSCRIBE, NOTIFY, REFER, INVITE, ACK, BYE, CANCEL, UPDATE, INFO, OPTIONS, MESSAGE, PUBLISH<br>Supported: replaces<br>Proxy-Authorization: Digest username="6010", realm="10.110.3.57", nonce="<wbr>WUElmFlBJGysi4cnHPxRxIhhn6VcSB<wbr>1i", uri="<a href="mailto:sip%3Ademo@10.110.3.57" target="_blank">sip:demo@10.110.3.57</a>", response="<wbr>cf367b584f49117c1cf2d3a20ef629<wbr>bd"<br>Content-Type: application/sdp<br>Content-Length:   399<br><br>v=0<br>o=yakama 3706430188 0 IN IP4 172.16.21.12<br>s=sflphone<br>c=IN IP4 172.16.21.12<br>t=0 0<br>m=audio 32298 RTP/AVP 0 3 8 9 110 111 112 101<br>a=rtpmap:0 PCMU/8000<br>a=rtpmap:3 GSM/8000<br>a=rtpmap:8 PCMA/8000<br>a=rtpmap:9 G722/8000<br>a=rtpmap:110 speex/8000<br>a=rtpmap:111 speex/16000<br>a=rtpmap:112 speex/32000<br>a=sendrecv<br>a=rtpmap:101 telephone-event/8000<br>a=fmtp:101 0-15<br>a=rtcp:32299 IN IP4 172.16.21.12<br><br>U 2017/06/14 14:56:28.148654 +0300 <a href="http://10.110.3.57:5060" target="_blank">10.110.3.57:5060</a> -> <a href="http://172.16.21.12:5060" target="_blank">172.16.21.12:5060</a><br><br>SIP/2.0 180 Ringing<br>Via: SIP/2.0/UDP 172.16.21.12:5060;rport=5060;<wbr>branch=z9hG4bKPj63038e66-0dc3-<wbr>4cce-8e07-04549f40d72b;<wbr>received=172.16.21.12<br>From: <<a href="mailto:sip%3A6010@10.110.3.57" target="_blank">sip:6010@10.110.3.57</a>>;tag=<wbr>8bfd31ff-59ad-4efd-8ae5-<wbr>47fde1862ef1<br>To: <<a href="mailto:sip%3Ademo@10.110.3.57" target="_blank">sip:demo@10.110.3.57</a>>;tag=<wbr>2f2adbacc4317338a374a6531765d2<wbr>55-9497<br>Call-ID: 2116d060-8211-4f5c-beba-<wbr>4a7d6c4fd08f<br>CSeq: 14867 INVITE<br>Contact: <<a href="http://sip:demo@10.110.3.57:5060" target="_blank">sip:demo@10.110.3.57:5060</a>><br>Server: kamailio (4.2.3 (x86_64/linux))<br>Content-Length: 0<br><br><br>U 2017/06/14 14:56:28.149767 +0300 <a href="http://10.110.3.57:5060" target="_blank">10.110.3.57:5060</a> -> <a href="http://172.16.21.12:5060" target="_blank">172.16.21.12:5060</a><br><br>SIP/2.0 200 OK<br>Via: SIP/2.0/UDP 172.16.21.12:5060;rport=5060;<wbr>branch=z9hG4bKPj63038e66-0dc3-<wbr>4cce-8e07-04549f40d72b;<wbr>received=172.16.21.12<br>From: <<a href="mailto:sip%3A6010@10.110.3.57" target="_blank">sip:6010@10.110.3.57</a>>;tag=<wbr>8bfd31ff-59ad-4efd-8ae5-<wbr>47fde1862ef1<br>To: <<a href="mailto:sip%3Ademo@10.110.3.57" target="_blank">sip:demo@10.110.3.57</a>>;tag=<wbr>2f2adbacc4317338a374a6531765d2<wbr>55-9497<br>Call-ID: 2116d060-8211-4f5c-beba-<wbr>4a7d6c4fd08f<br>CSeq: 14867 INVITE<br>Contact: <<a href="http://sip:demo@10.110.3.57:5060" target="_blank">sip:demo@10.110.3.57:5060</a>><br>Allow: INVITE, ACK, BYE, CANCEL, NOTIFY, PRACK<br>Supported: 100rel<br>Accept-Language: en<br>Content-Type: application/sdp<br>User-Agent: Kamailio MOH Queue v1.0<br>Server: kamailio (4.2.3 (x86_64/linux))<br>Content-Length: 166<br><br>v=0<br>o=- 1 1 IN IP4 10.110.3.57<br>s=Kamailio MOH Queue v1.0<br>c=IN IP4 10.110.3.57<br>t=0 0<br>a=sendrecv<br>m=audio 49464 RTP/AVP 3<br>a=rtpmap:3 GSM/8000 <br>a=nortpproxy:yes<br><br>U 2017/06/14 14:56:28.165176 +0300 <a href="http://172.16.21.12:5060" target="_blank">172.16.21.12:5060</a> -> <a href="http://10.110.3.57:5060" target="_blank">10.110.3.57:5060</a><br><br>ACK <a href="http://sip:demo@10.110.3.57:5060" target="_blank">sip:demo@10.110.3.57:5060</a> SIP/2.0<br>Via: SIP/2.0/UDP 172.16.21.12:5060;rport;<wbr>branch=z9hG4bKPj69bbf40b-cc63-<wbr>4699-bc05-fb41e210ac12<br>Max-Forwards: 70<br>From: <<a href="mailto:sip%3A6010@10.110.3.57" target="_blank">sip:6010@10.110.3.57</a>>;tag=<wbr>8bfd31ff-59ad-4efd-8ae5-<wbr>47fde1862ef1<br>To: <<a href="mailto:sip%3Ademo@10.110.3.57" target="_blank">sip:demo@10.110.3.57</a>>;tag=<wbr>2f2adbacc4317338a374a6531765d2<wbr>55-9497<br>Call-ID: 2116d060-8211-4f5c-beba-<wbr>4a7d6c4fd08f<br>CSeq: 14867 ACK<br>Content-Length:  0<br><br><br>U 2017/06/14 14:56:34.592956 +0300 <a href="http://172.16.21.12:5060" target="_blank">172.16.21.12:5060</a> -> <a href="http://10.110.3.57:5060" target="_blank">10.110.3.57:5060</a><br><br>BYE <a href="http://sip:demo@10.110.3.57:5060" target="_blank">sip:demo@10.110.3.57:5060</a> SIP/2.0<br>Via: SIP/2.0/UDP 172.16.21.12:5060;rport;<wbr>branch=z9hG4bKPjd58e78ac-48c1-<wbr>440c-833c-7d6b6c91038b<br>Max-Forwards: 70<br>From: <<a href="mailto:sip%3A6010@10.110.3.57" target="_blank">sip:6010@10.110.3.57</a>>;tag=<wbr>8bfd31ff-59ad-4efd-8ae5-<wbr>47fde1862ef1<br>To: <<a href="mailto:sip%3Ademo@10.110.3.57" target="_blank">sip:demo@10.110.3.57</a>>;tag=<wbr>2f2adbacc4317338a374a6531765d2<wbr>55-9497<br>Call-ID: 2116d060-8211-4f5c-beba-<wbr>4a7d6c4fd08f<br>CSeq: 14868 BYE<br>Contact: <<a href="http://sip:6010@172.16.21.12:5060" target="_blank">sip:6010@172.16.21.12:5060</a>><br>Content-Length:  0<br><br><br>U 2017/06/14 14:56:34.593103 +0300 <a href="http://10.110.3.57:5060" target="_blank">10.110.3.57:5060</a> -> <a href="http://172.16.21.12:5060" target="_blank">172.16.21.12:5060</a><br><br>SIP/2.0 404 Not here<br>Via: SIP/2.0/UDP 172.16.21.12:5060;rport=5060;<wbr>branch=z9hG4bKPjd58e78ac-48c1-<wbr>440c-833c-7d6b6c91038b;<wbr>received=172.16.21.12<br>From: <<a href="mailto:sip%3A6010@10.110.3.57" target="_blank">sip:6010@10.110.3.57</a>>;tag=<wbr>8bfd31ff-59ad-4efd-8ae5-<wbr>47fde1862ef1<br>To: <<a href="mailto:sip%3Ademo@10.110.3.57" target="_blank">sip:demo@10.110.3.57</a>>;tag=<wbr>2f2adbacc4317338a374a6531765d2<wbr>55-9497<br>Call-ID: 2116d060-8211-4f5c-beba-<wbr>4a7d6c4fd08f<br>CSeq: 14868 BYE<br>Server: kamailio (4.2.3 (x86_64/linux))<br>Content-Length: 0<br><br><br></div>Regards,<br></div>Issam<br></div>
<br>______________________________<wbr>_________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" target="_blank" rel="noreferrer">https://lists.kamailio.org/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>users</a><br>
<br></blockquote></div><br></div>