<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <span id="result_box" class="" lang="en"><span class="hps">Sorry,
        but</span> <span class="hps">if not more difficult</span><span
        class="">, please help</span><span class="">.</span> <br>
      <span class="hps">I need</span> <span class="hps">configured</span>
      <span class="hps">Rtpproxy</span> <span class="hps">or</span> <span
        class="hps">mediaproxy</span> <span class="hps">B2B</span> <span
        class="hps">and</span> <span class="hps">to work with</span> <span
        class="hps">such a scheme</span><span class="">:</span></span><br>
    UAC---si,rtp----&gt;(IP1 Opensips IP2)----sip,rtp-----&gt;(MGW <span
      id="result_box" class="short_text" lang="en"><span class="hps">accepts
        all INVITE with </span></span>prefix)----TDM---&gt;PSTN<br>
    <span id="result_box" class="" lang="en"><span class="">Please help</span><span
        class=""> with CFG-file and rtp-proxy configurate.<br>
        <br>
        <br>
      </span></span>
    <div class="moz-cite-prefix">26.02.2014 11:22, H Yavari пишет:<br>
    </div>
    <blockquote
      cite="mid:1393399341.44518.YahooMailNeo@web171805.mail.ir2.yahoo.com"
      type="cite">
      <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:  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
                        <a class="moz-txt-link-abbreviated" href="mailto:562e15da4cdd600161336f3235ce8213@192.168.1.116">562e15da4cdd600161336f3235ce8213@192.168.1.116</a>
                        /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 moz-do-not-send="true" 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;          rtpproxy_offer("ro");<br
                                  clear="none">
                                &gt;         
                                rtpproxy_stream2uas("/var/rtpproxy/prompts/test",
                                "-1");<br clear="none">
                                &gt;          }<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 moz-do-not-send="true" 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 moz-do-not-send="true" 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 moz-do-not-send="true" shape="rect"
                  ymailto="mailto:Users@lists.opensips.org"
                  href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br
                  clear="none">
                <a moz-do-not-send="true" 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>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>