<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    the code shows that is added for U command, if to-tag exists:<br>
    <br>
<a class="moz-txt-link-freetext" href="https://github.com/kamailio/kamailio/blob/master/modules/rtpproxy/rtpproxy.c#L2692">https://github.com/kamailio/kamailio/blob/master/modules/rtpproxy/rtpproxy.c#L2692</a><br>
    <br>
    Can you edit the rtpproxy.c and add a log message (e.g., using
    LM_ERR("..."); ) there and is it is printed by kamailio?<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <div class="moz-cite-prefix">On 17/10/15 20:57, Arun Kumar wrote:<br>
    </div>
    <blockquote
cite="mid:CAMK9NEN4t9UQTmLsxtKCd43SsULghMuvzUnAfJ0q3hCV3szAVg@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hi
        <div><br>
        </div>
        <div>Rtp Session timeout notification is not working , we tried
          with kamailio 4.2 with rtpproxy 2.0 / 1.3 beta/1.2 releases ,
          i think kamailio rtpproxy is not submitting session timeout
          socket to rtpproxy <br>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div> kamailio 4.2.0</div>
        <div>-----------------------------------</div>
        <div> </div>
        <div>
          <div>modparam("rtpproxy", "rtpproxy_sock", "udp:<a
              moz-do-not-send="true" href="http://127.0.0.1:7722"
              target="_blank">127.0.0.1:7722</a>")</div>
          <div>modparam("rtpproxy", "timeout_socket", "xmlrpc:<a
              moz-do-not-send="true" href="http://127.0.0.1:5060/RPC"
              target="_blank"><a class="moz-txt-link-freetext" href="http://127.0.0.1:5060/RPC">http://127.0.0.1:5060/RPC</a></a>")</div>
        </div>
        <div><br>
        </div>
        <div>...............</div>
        <div>rtpproxy_manage();</div>
        <div>................</div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>RtpProxy</div>
        <div>-------------------------</div>
        <div>RTPProxy 2.0</div>
        <div>RTPProxy 1.3 Beta with patch given by <i
            style="color:rgb(0,0,0);font-family:'Times New
            Roman';font-size:medium">Daniel</i></div>
        <div>RTPProxy 1.2 <br>
        </div>
        <div><br>
        </div>
        <div>
          <div>rtpproxy   -F   -s udp:<a moz-do-not-send="true"
              href="http://127.0.0.1:7722">127.0.0.1:7722</a> -d DBUG -f
            -i -T 10<br>
          </div>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>RTPRoxy Log</div>
        <div>----------------------------------------------------</div>
        <div>
          <div>DBUG:get_command: received command "4242_9 Uc0,8,101
            2479e562440c023d 192.168.1.103 6074 5410ef73;1"</div>
          <div>INFO:handle_command: new session 2479e562440c023d, tag
            5410ef73;1 requested, type strong</div>
          <div>INFO:handle_command: new session on a port 45984 created,
            tag 5410ef73;1</div>
          <div>INFO:handle_command: pre-filling caller's address with <a
              moz-do-not-send="true" href="http://192.168.1.103:6074">192.168.1.103:6074</a></div>
          <div>DBUG:doreply: sending reply "4242_9 45984</div>
          <div>"</div>
          <div>DBUG:get_command: received command "4242_10 Lc0,101
            2479e562440c023d 192.168.1.102 4002 5410ef73;1
            ADqH-A-mLLN0th2gGoopYMK1cy.-ozDf;1"</div>
          <div>INFO:handle_command: lookup on ports 45984/36756, session
            timer restarted</div>
          <div>INFO:handle_command: pre-filling callee's address with <a
              moz-do-not-send="true" href="http://192.168.1.102:4002">192.168.1.102:4002</a></div>
          <div>DBUG:doreply: sending reply "4242_10 36756</div>
          <div>"</div>
          <div>INFO:rxmit_packets: callee's address latched in: <a
              moz-do-not-send="true" href="http://192.168.1.102:4002">192.168.1.102:4002</a>
            (RTP)</div>
          <div>INFO:rxmit_packets: callee's address latched in: <a
              moz-do-not-send="true" href="http://192.168.1.102:4003">192.168.1.102:4003</a>
            (RTCP)</div>
          <div>INFO:rxmit_packets: caller's address latched in: <a
              moz-do-not-send="true" href="http://192.168.1.103:6075">192.168.1.103:6075</a>
            (RTCP)</div>
          <div>INFO:rxmit_packets: caller's address latched in: <a
              moz-do-not-send="true" href="http://192.168.1.103:6074">192.168.1.103:6074</a>
            (RTP)</div>
          <div>INFO:process_rtp: session timeout</div>
          <div>INFO:remove_session: RTP stats: 328 in from callee, 5 in
            from caller, 333 relayed, 0 dropped</div>
          <div>INFO:remove_session: RTCP stats: 3 in from callee, 4 in
            from caller, 7 relayed, 0 dropped</div>
          <div>INFO:remove_session: session on ports 45984/36756 is
            cleaned up</div>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>Kamailio RTP log</div>
        <div>-----------------------------------------------</div>
        <div>
          <div> 3(4242) DEBUG: rtpproxy [rtpproxy_funcs.c:148]:
            check_content_type(): type <application/sdp> found
            valid</div>
          <div> 3(4242) DEBUG: rtpproxy [rtpproxy.c:2704]:
            force_rtp_proxy(): proxy reply: 45984</div>
        </div>
        <div><br>
        </div>
        <div>for more log please see attachment </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-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Book: SIP Routing With Kamailio - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a></pre>
  </body>
</html>