<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:10pt"><div dir="ltr"><span>Hi,<br></span></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"><span>I used Opensips with RTPproxy and now RTP goes from RTPproxy. But </span><tt>rtpproxy_stream2uac() function not work properly. my cfg:</tt></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: monospace; background-color: transparent; font-style: normal;" dir="ltr"><br></div><pre class="programlisting">if (is_method("INVITE")) {
        rtpproxy_offer("ro");<br><span class="tab">&nbsp;&nbsp;&nbsp;&nbsp;   </span> rtpproxy_stream2uas("/var/rtpproxy/prompts/test", "-1");
        }</pre><div dir="ltr">There isn't any info in logs about this function. what is the problem? <br></div>  <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"> <hr size="1"><br><div id="yiv3056740500"><div>
    <div dir="ltr" class="yiv3056740500moz-cite-prefix"><tt>Hello,<br clear="none">
        <br clear="none">
        You can simply do ring back tones with OpenSIPS and RTPProxy -
        it can inject media in a call in early stage. See the
        rtpproxy_stream2uac() functions:<br clear="none">
        &nbsp;&nbsp;&nbsp;
<a rel="nofollow" shape="rect" class="yiv3056740500moz-txt-link-freetext" target="_blank" href="http://www.opensips.org/html/docs/modules/1.9.x/rtpproxy.html#rtpproxy_stream2xxx">http://www.opensips.org/html/docs/modules/1.9.x/rtpproxy.html#rtpproxy_stream2xxx</a><br clear="none">
        <br clear="none">
        Regards,<br clear="none">
      </tt>
      <pre class="yiv3056740500moz-signature">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a rel="nofollow" shape="rect" class="yiv3056740500moz-txt-link-freetext" target="_blank" href="http://www.opensips-solutions.com/">http://www.opensips-solutions.com</a></pre>
      On 13.02.2014 20:45, Jayesh Nambiar wrote:<br clear="none">
    </div>
    <blockquote type="cite">Hi,
      <div>CRBT is caller ring back tone. What you are primarily looking
        at is&nbsp;<span></span>sending the INVITE to some b2bua like
        FreeSWITCH or Asterisk where you control both legs of the call.
        So when you get a ringing signal from the B-leg, you play some
        media file on the A-leg.&nbsp;</div>
      <div><br clear="none">
      </div>
      <div>--- Jayesh<br clear="none">
        <br clear="none">
        On Friday, February 7, 2014, Bogdan-Andrei Iancu &lt;<a rel="nofollow" shape="rect" ymailto="mailto:bogdan@opensips.org" target="_blank" href="mailto:bogdan@opensips.org">bogdan@opensips.org</a>&gt;
        wrote:<br clear="none">
        <blockquote class="yiv3056740500gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
          <div>
            <div><tt>Hello,<br clear="none">
                <br clear="none">
                No sure what CRBT stands for, but it looks to me that
                you need to use B2B module - what you are trying to do
                is something more than simply proxying a call.<br clear="none">
                <br clear="none">
                Regards,<br clear="none">
              </tt>
              <pre>Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a rel="nofollow" shape="rect" target="_blank" href="http://www.opensips-solutions.com/">http://www.opensips-solutions.com</a></pre>
              On 07.02.2014 19:00, H Yavari wrote:<br clear="none">
            </div>
            <blockquote type="cite">
              <div style="font-size:8pt;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;">
                <div dir="ltr"><span style="font-size:13px;">Hi Bogdan,</span></div>
                <div dir="ltr"><span style="font-size:small;">thanks for
                    your answer. I want to implement CRBT. For this I
                    want when the invite received,I send an invite to
                    media server and play something.</span></div>
                <div dir="ltr"><span style="font-size:13px;">I can do
                    this&nbsp;<span>with B2BUA</span><span style="background-color:transparent;">? I write a
                      module for this or do with script? script running
                      has side effect on performance when load is high?</span></span></div>
                <div dir="ltr"><span style="font-size:13px;"><span style="background-color:transparent;"><br clear="none">
                    </span></span></div>
                <div dir="ltr"><span style="font-size:13px;"><span style="background-color:transparent;">Regards,</span></span></div>
                <div dir="ltr"><span style="font-size:13px;"><span style="background-color:transparent;">H.Yavari</span></span></div>
                <div><br clear="none">
                </div>
                <div style="font-family:HelveticaNeue, 'Helvetica                   Neue', Helvetica, Arial, 'Lucida                   Grande', sans-serif;font-size:8pt;">
                  <div style="font-family:HelveticaNeue, 'Helvetica                     Neue', Helvetica, Arial, 'Lucida                     Grande', sans-serif;font-size:12pt;">
                    <div dir="ltr">
                      <hr size="1"> </div>
                    <div><br clear="none">
                      <div>
                        <div>
                          <div><tt>Hello,<br clear="none">
                              <br clear="none">
                              Typically you process in OpenSIPS script
                              an incoming request (and you fwd or reply
                              it). It is unusual to generate a new
                              request while processing another one.<br clear="none">
                              <br clear="none">
                              May I ask about your scenario ? <br clear="none">
                              <br clear="none">
                              Regards,<br clear="none">
                            </tt>
                            <pre>Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a rel="nofollow" shape="rect" target="_blank" href="http://www.opensips-solutions.com/">http://www.opensips-solutions.com</a></pre>
                            On 28.01.2014 10:02, H Yavari wrote:<br clear="none">
                          </div>
                          <blockquote type="cite">
                            <div>
                              <div>
                                <div dir="ltr">Hi to all openSIPSer,</div>
                                <div dir="ltr">I want to initialize a
                                  sip message from routing, is it
                                  possible?</div>
                                <div dir="ltr">If only way that do this
                                  is writing script, is this efficient
                                  when load on openSIPS is high?</div>
                                <div dir="ltr">If answer is yes, can you
                                  give me some example to how do this?</div>
                                <div dir="ltr"><br clear="none">
                                </div>
                                <div dir="ltr" style="font-style:normal;font-size:10.6667px;background-color:transparent;font-family:HelveticaNeue, 'Helvetica                                   Neue', Helvetica, Arial, 'Lucida                                   Grande', sans-serif;">Regards,</div>
                                <div dir="ltr" style="font-style:normal;font-size:10.6667px;background-color:transparent;font-family:HelveticaNeue, 'Helvetica                                   Neue', Helvetica, Arial, 'Lucida                                   Grande', sans-serif;">H.Yavari<br clear="none">
                                </div>
                              </div>
                            </div>
                            <br clear="none">
                            <fieldset></fieldset>
                            <br clear="none">
                            <pre>_______________________________________________
Users mailing list
<a href="" rel="nofollow" shape="rect">Users@lists.opensips.org</a>
<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>
</pre>
                          </blockquote>
                          <div class="yiv3056740500yqt3348109603" id="yiv3056740500yqtfd50803"><br clear="none">
                        </div></div><div class="yiv3056740500yqt3348109603" id="yiv3056740500yqtfd05981">
                      </div></div><div class="yiv3056740500yqt3348109603" id="yiv3056740500yqtfd77803">
                      <br clear="none">
                      <br clear="none">
                    </div></div><div class="yiv3056740500yqt3348109603" id="yiv3056740500yqtfd49914">
                  </div></div><div class="yiv3056740500yqt3348109603" id="yiv3056740500yqtfd41738">
                </div></div><div class="yiv3056740500yqt3348109603" id="yiv3056740500yqtfd03985">
              </div></div><div class="yiv3056740500yqt3348109603" id="yiv3056740500yqtfd63811">
            </div></blockquote><div class="yiv3056740500yqt3348109603" id="yiv3056740500yqtfd74496">
            <br clear="none">
          </div></div><div class="yiv3056740500yqt3348109603" id="yiv3056740500yqtfd60326">
        </div></blockquote><div class="yiv3056740500yqt3348109603" id="yiv3056740500yqtfd85343">
      </div></div><div class="yiv3056740500yqt3348109603" id="yiv3056740500yqtfd55013">
      <br clear="none">
      <fieldset class="yiv3056740500mimeAttachmentHeader"></fieldset>
      <br clear="none">
      <pre>_______________________________________________
Users mailing list
<a rel="nofollow" shape="rect" class="yiv3056740500moz-txt-link-abbreviated" ymailto="mailto:Users@lists.opensips.org" target="_blank" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a rel="nofollow" shape="rect" class="yiv3056740500moz-txt-link-freetext" target="_blank" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </div></blockquote><div class="yiv3056740500yqt3348109603" id="yiv3056740500yqtfd44067">
    <br clear="none">
  </div></div></div><br><div class="yqt3348109603" id="yqtfd99565">_______________________________________________<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>