<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    Hi Vedran,<br>
    <br>
    yeah, the send function does not look into whatever changes were
    done over the received messages - it simply sends the received
    message to a new destination. Additional you can add some extra SIP
    hdrs to it (in 1.8)<br>
    <br>
    Regards,<br>
    Bogdan<br>
    <br>
    On 03/16/2012 09:15 AM, Vedran Zeljeznak wrote:
    <blockquote
cite="mid:CALsBW=p1=WJf05wC4xgzAkAGLYssGv95ac4CxDvVJio3eM1_Kg@mail.gmail.com"
      type="cite">jep, i have tried the following sniplet:
      <div>$ru = "sip:<a moz-do-not-send="true"
          href="http://somedomain.org">somedomain.org</a>";<br>
      </div>
      <div>
        <div>send("udp:<a moz-do-not-send="true"
            href="http://192.168.0.1:5060">192.168.0.1:5060</a>");<br>
        </div>
        <div><br>
        </div>
        <div>Request URI isn't changed on the outgoing SIP Request.<br>
        </div>
        <div><br clear="all">
          ---<br>
          Vedran Zeljeznak<br>
          <br>
          <br>
          <div class="gmail_quote">On Thu, Mar 15, 2012 at 3:34 PM,
            Bogdan-Andrei Iancu <span dir="ltr">&lt;<a
                moz-do-not-send="true" href="mailto:bogdan@opensips.org"
                target="_blank">bogdan@opensips.org</a>&gt;</span>
            wrote:<br>
            <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
              0.8ex; border-left: 1px solid rgb(204, 204, 204);
              padding-left: 1ex;">
              <div bgcolor="#ffffff" text="#000000"> Hello Vedran,<br>
                <br>
                Yes, you can do it via the "send()" command (stateless
                behavior) - see <br>
                &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <a moz-do-not-send="true"
                  href="http://www.opensips.org/Resources/DocsCoreFcn17#toc134"
                  target="_blank">http://www.opensips.org/Resources/DocsCoreFcn17#toc134</a><br>
                <br>
                Regards,<br>
                Bogdan
                <div>
                  <div><br>
                    <br>
                    On 03/15/2012 04:06 PM, Vedran Zeljeznak wrote: </div>
                </div>
                <blockquote type="cite">
                  <div>
                    <div>
                      <div>hello,</div>
                      <div><br>
                      </div>
                      <div>i was wondering if one could change and
                        forward SIP requests without adding Via header
                        to the SIP request?</div>
                      <br clear="all">
                      ---<br>
                      Vedran Zeljeznak<br>
                    </div>
                  </div>
                  <pre><fieldset></fieldset>
_______________________________________________
Users mailing list
<a moz-do-not-send="true" href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a moz-do-not-send="true" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><span><font color="#888888">
</font></span></pre>
                  <span><font color="#888888"> </font></span></blockquote>
                <span><font color="#888888"> <br>
                    <br>
                    <pre cols="72">-- 
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
                  </font></span></div>
            </blockquote>
          </div>
          <br>
        </div>
      </div>
    </blockquote>
    <br>
    <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>
  </body>
</html>