<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:10pt"><span>Dear Razvan,</span><div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 10pt;"><div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif; font-size: 12pt;"><div class="y_msg_container"><div id="yiv7488374862"><div><div style="color:#000;background-color:#fff;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:10pt;"><div dir="ltr" style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;"><span>Thanks for your reply. RTPproxy and OpenSIPS have communication with each other and all of call's RTP streams passed from RTPproxy.
 So there isn't any problem between them.In logs only exist this info:&nbsp; DBG:rtpproxy:force_rtp_proxy_body: proxy reply: 57548 192.168.1.20#012</span></div><div dir="ltr" style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;"><span>and nothing for </span>:
 rtpproxy_stream2uas("/var/rtpproxy/prompts/test", "-1") or any errors. <br clear="none"></div><div dir="ltr" style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;">"What do you mean the function does not work properly?" I mean this function not work for me and not send any command to RTPproxy.</div><div dir="ltr" style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;">If you can, give me a choice to use your patch.<br clear="none"></div><div dir="ltr" style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;">Thanks so.</div><div dir="ltr" style="color:rgb(0, 0,
 0);font-size:13.3333px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;"><br clear="none"></div><div dir="ltr" style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;">Best Regards,</div><div dir="ltr" style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;">H.Yavari<br><br>PS:<br><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;" dir="ltr"><span>I enabled the RTPproxy logging and this is result of calling the method :</span>rtpproxy_stream2uas("/var/rtpproxy/prompts/092", "-1")
 :::</div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;" dir="ltr"><br></div><span>DBUG:handle_command:
 received command "6387_7 P-1 
562e15da4cdd600161336f3235ce8213@192.168.1.116 
/var/rtpproxy/prompts/092.8 session as5f218e73;1 "<br>ERR:handle_play: can't create player<br>DBUG:doreply: sending reply "6387_7 E6</span><br clear="none"></div>  <div class="yiv7488374862yqt3868349330" id="yiv7488374862yqt82702"><div style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:10pt;"> <div style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif;font-size:12pt;"> <div class="yiv7488374862y_msg_container"> <hr size="1">Hi!<br clear="none"><div dir="ltr"><br clear="none">What do you mean the function does not work
 properly? It doesn't send <br clear="none">any command to RTPProxy? Can you trace the communication between <br clear="none">OpenSIPS and RTPProxy?<br clear="none">Also, have you checked the RTPProxy logs for errors? I am not sure how <br clear="none">you can detect this, but if I remember correctly, I had to patch <br clear="none">RTPProxy to properly inject media in early stage. If you want me, I can <br clear="none">provide that patch for you so you can give it a try.<br clear="none"><br clear="none">Best regards,<br clear="none"><br clear="none">Razvan Crainea<br clear="none">OpenSIPS Core Developer<br clear="none"><a rel="nofollow" shape="rect" target="_blank" href="http://www.opensips-solutions.com/">http://www.opensips-solutions.com</a><br clear="none"><div class="yiv7488374862yqt2516290827" dir="ltr" id="yiv7488374862yqtfd54781"><br clear="none">On 02/24/2014 08:03 AM, H Yavari wrote:<br clear="none">&gt; Hi,<br clear="none">&gt; I used Opensips
 with RTPproxy and now RTP goes from
 RTPproxy. But<br clear="none">&gt; rtpproxy_stream2uac() function not work properly. my cfg:<br clear="none">&gt;<br clear="none">&gt; if (is_method("INVITE")) {<br clear="none">&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; rtpproxy_offer("ro");<br clear="none">&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  rtpproxy_stream2uas("/var/rtpproxy/prompts/test", "-1");<br clear="none">&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br clear="none">&gt;<br clear="none">&gt; There isn't any info in logs about this function. what is the problem?<br clear="none">&gt; ------------------------------------------------------------------------<br clear="none">&gt;<br clear="none"><br clear="none">_______________________________________________<br clear="none">Users mailing list<br clear="none"><a rel="nofollow" shape="rect" ymailto="mailto:Users@lists.opensips.org" target="_blank" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br clear="none"><a rel="nofollow"
 shape="rect" target="_blank" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br clear="none"></div></div><br clear="none"><br clear="none"></div> </div> </div></div>  </div></div></div><br><div class="yqt3868349330" id="yqt41338">_______________________________________________<br clear="none">Users mailing list<br clear="none"><a shape="rect" ymailto="mailto:Users@lists.opensips.org" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br clear="none"><a shape="rect" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br clear="none"></div><br><br></div> </div> </div>  </div></body></html>