<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hello,<br>
      <br>
      RTPproxy can be installed on a different machine (and you can have
      multiple rtpproxies under a single OpenSIPS) - the communication
      between is done via IP.<br>
      <br>
      Yes, the idea is to start media injection and to stop it at 200 OK
      (to allow the end-to-end media).<br>
      <br>
      Using a B2BUA for this purpose is like using a truck to carry a
      feather :). It can be done, but not the optimal solution.<br>
      <br>
      Regards,<br>
      <pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
      On 13.02.2014 23:30, H Yavari wrote:<br>
    </div>
    <blockquote
      cite="mid:1392327037.78660.YahooMailNeo@web171802.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">
        <div dir="ltr"><span>Dear Bogdan,</span></div>
        <div dir="ltr" style="color: rgb(0, 0, 0); font-size: 13px;
          font-family: HelveticaNeue, 'Helvetica Neue', Helvetica,
          Arial, 'Lucida Grande', sans-serif; background-color:
          transparent; font-style: normal;"><span>thanks for your guide.
            this solution is dependent to RTPProxy and I think this
            should be on the same server with opensips. this thing have
            any impact on performance? in this solution, we can play
            something when we received 180 or 183? and after the call
            answered we should care about RTP stream of the call ?&nbsp;</span></div>
        <div dir="ltr" style="color: rgb(0, 0, 0); font-size: 13px;
          font-family: HelveticaNeue, 'Helvetica Neue', Helvetica,
          Arial, 'Lucida Grande', sans-serif; background-color:
          transparent; font-style: normal;"><span>Have you any idea how
            do this with B2BUA like freeswitch or asterisk?</span></div>
        <div dir="ltr" style="color: rgb(0, 0, 0); font-size: 13px;
          font-family: HelveticaNeue, 'Helvetica Neue', Helvetica,
          Arial, 'Lucida Grande', sans-serif; background-color:
          transparent; font-style: normal;"><span><br>
          </span></div>
        <div dir="ltr" style="color: rgb(0, 0, 0); font-size: 13px;
          font-family: HelveticaNeue, 'Helvetica Neue', Helvetica,
          Arial, 'Lucida Grande', sans-serif; background-color:
          transparent; font-style: normal;"><span>Regards,</span></div>
        <div dir="ltr" style="color: rgb(0, 0, 0); font-size: 13px;
          font-family: HelveticaNeue, 'Helvetica Neue', Helvetica,
          Arial, 'Lucida Grande', sans-serif; background-color:
          transparent; font-style: normal;">H.Yavari</div>
        <div><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 dir="ltr">
              <hr size="1"> <font size="2" face="Arial"> <b><span
                    style="font-weight:bold;">From:</span></b>
                Bogdan-Andrei Iancu <a class="moz-txt-link-rfc2396E" href="mailto:bogdan@opensips.org">&lt;bogdan@opensips.org&gt;</a><br>
                <b><span style="font-weight: bold;">To:</span></b>
                OpenSIPS users mailling list
                <a class="moz-txt-link-rfc2396E" href="mailto:users@lists.opensips.org">&lt;users@lists.opensips.org&gt;</a>; Jayesh Nambiar
                <a class="moz-txt-link-rfc2396E" href="mailto:jayesh1017@gmail.com">&lt;jayesh1017@gmail.com&gt;</a> <br>
                <b><span style="font-weight: bold;">Sent:</span></b>
                Thursday, 13 February 2014, 23:26:27<br>
                <b><span style="font-weight: bold;">Subject:</span></b>
                Re: [OpenSIPS-Users] Initializing SIP messages from
                routing<br>
              </font> </div>
            <div class="y_msg_container"><br>
              <div id="yiv5415934624">
                <div>
                  <div class="yiv5415934624moz-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 moz-do-not-send="true" rel="nofollow"
                        shape="rect"
                        class="yiv5415934624moz-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="yiv5415934624moz-signature">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" rel="nofollow" shape="rect" class="yiv5415934624moz-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 moz-do-not-send="true" 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="yiv5415934624gmail_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 moz-do-not-send="true" 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 moz-do-not-send="true" 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 moz-do-not-send="true" rel="nofollow" shape="rect" href="">Users@lists.opensips.org</a>
<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>
</pre>
                                        </blockquote>
                                        <div
                                          class="yiv5415934624yqt4947442125"
                                          id="yiv5415934624yqtfd25027"><br
                                            clear="none">
                                        </div>
                                      </div>
                                      <div
                                        class="yiv5415934624yqt4947442125"
                                        id="yiv5415934624yqtfd56820"> </div>
                                    </div>
                                    <div
                                      class="yiv5415934624yqt4947442125"
                                      id="yiv5415934624yqtfd10734"> <br
                                        clear="none">
                                      <br clear="none">
                                    </div>
                                  </div>
                                  <div
                                    class="yiv5415934624yqt4947442125"
                                    id="yiv5415934624yqtfd15850"> </div>
                                </div>
                                <div class="yiv5415934624yqt4947442125"
                                  id="yiv5415934624yqtfd66957"> </div>
                              </div>
                              <div class="yiv5415934624yqt4947442125"
                                id="yiv5415934624yqtfd57493"> </div>
                            </div>
                            <div class="yiv5415934624yqt4947442125"
                              id="yiv5415934624yqtfd74708"> </div>
                          </blockquote>
                          <div class="yiv5415934624yqt4947442125"
                            id="yiv5415934624yqtfd32305"> <br
                              clear="none">
                          </div>
                        </div>
                        <div class="yiv5415934624yqt4947442125"
                          id="yiv5415934624yqtfd45434"> </div>
                      </blockquote>
                      <div class="yiv5415934624yqt4947442125"
                        id="yiv5415934624yqtfd47911"> </div>
                    </div>
                    <div class="yiv5415934624yqt4947442125"
                      id="yiv5415934624yqtfd06936"> <br clear="none">
                      <fieldset
                        class="yiv5415934624mimeAttachmentHeader"></fieldset>
                      <br clear="none">
                      <pre>_______________________________________________
Users mailing list
<a moz-do-not-send="true" rel="nofollow" shape="rect" class="yiv5415934624moz-txt-link-abbreviated" ymailto="mailto:Users@lists.opensips.org" target="_blank" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a moz-do-not-send="true" rel="nofollow" shape="rect" class="yiv5415934624moz-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="yiv5415934624yqt4947442125"
                    id="yiv5415934624yqtfd81707"> <br clear="none">
                  </div>
                </div>
              </div>
              <br>
              <div class="yqt4947442125" id="yqtfd71695">_______________________________________________<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>
    </blockquote>
    <br>
  </body>
</html>