Perfect, I&#39;ll try this soon.  Do you expect <span></span>this to work as far back as 1.8?<div><br><br>On Thursday, February 20, 2014, Bogdan-Andrei Iancu &lt;<a href="mailto:bogdan@opensips.org">bogdan@opensips.org</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    <div><tt>Hi Jeff,<br>
        <br>
        Try :<br>
        <br>
            # first contact<br>
            $ru = <a href="javascript:_e(%7B%7D,&#39;cvml&#39;,&#39;sip:firstcontact@foo.com&#39;);" target="_blank">&quot;sip:firstcontact@foo.com&quot;</a>;<br>
            $ru_q = 500; # q for the first contact<br>
            # second contact<br>
            append_branch(<a href="javascript:_e(%7B%7D,&#39;cvml&#39;,&#39;sip:secondcontact@foo.com&#39;);" target="_blank">&quot;sip:secondcontact@foo.com&quot;</a>,1000);<br>
            ....<br>
            t_reply(&quot;302&quot;,&quot;Redirected&quot;);<br>
        <br>
        Let me know if it works - revisiting the links, I see the docs
        must be improved.<br>
        <br>
        Regards,<br>
      </tt>
      <pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
      On 20.02.2014 15:20, Jeff Pyle wrote:<br>
    </div>
    <blockquote type="cite">
      <div dir="ltr">
        <div>
          <div>
            <div dir="ltr">
              <div>Hi Bogdan,</div>
              <div><br>
              </div>
              <div>I&#39;m not looking to process a received 302, but rather
                generate one of my own.  I want to set the q values so
                that the other side will serially fork.  Ovidiu&#39;s
                example [1] from earlier in the thread doesn&#39;t address
                this.  Looking at the docs for append_branch() [2] or
                rewriteuri() [3] I don&#39;t see any mention either.</div>
              <div><br>
              </div>
              <div>  [1] <a href="https://github.com/OpenSIPS/opensips/blob/master/examples/redirect.cfg" target="_blank">https://github.com/OpenSIPS/opensips/blob/master/examples/redirect.cfg</a></div>
              <div>  [2] <a href="http://www.opensips.org/Documentation/Script-CoreFunctions#toc2" target="_blank">http://www.opensips.org/Documentation/Script-CoreFunctions#toc2</a></div>
              <div>  [3] <a href="http://www.opensips.org/Documentation/Script-CoreFunctions#toc40" target="_blank">http://www.opensips.org/Documentation/Script-CoreFunctions#toc40</a><br>
                <br>
              </div>
            </div>
          </div>
          <div><br>
          </div>
          - Jeff</div>
        <div><br>
          <br>
          <div>On Wed, Feb 19, 2014 at 1:05 PM,
            Bogdan-Andrei Iancu <span dir="ltr">&lt;<a>bogdan@opensips.org</a>&gt;</span>
            wrote:<br>
            <blockquote style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
              <div text="#000000" bgcolor="#FFFFFF">
                <div><tt>Jeff,<br>
                    <br>
                    In OpenSIPS, the get_redirects() (<a href="http://www.opensips.org/html/docs/modules/1.10.x/uac_redirect.html#id250266" target="_blank">http://www.opensips.org/html/docs/modules/1.10.x/uac_redirect.html#id250266</a>)
                    and the serialize_branches() (<a href="http://www.opensips.org/Documentation/Script-CoreFunctions-1-10#toc44" target="_blank">http://www.opensips.org/Documentation/Script-CoreFunctions-1-10#toc44</a>)
                    do follow the q values in the handled contacts.<br>
                    <br>
                    Regards,<br>
                  </tt>
                  <pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
                  <div>
                    <div> On 19.02.2014 18:08, Jeff Pyle
                      wrote:<br>
                    </div>
                  </div>
                </div>
                <div>
                  <div>
                    <blockquote type="cite">
                      <div dir="ltr">
                        <div>
                          <div>
                            <div dir="ltr">
                              <div>How does one manage q values for the
                                various branches?  I&#39;d like the endpoint
                                receiving the 302 to serially fork
                                through the various URIs (branches) I
                                include.</div>
                              <div><br>
                              </div>
                              <div><br>
                              </div>
                              <div>- Jeff</div>
                              <div><br>
                              </div>
                            </div>
                          </div>
                          <br>
                          <br>
                          <div>On Thu, Sep 19, 2013
                            at 11:26 AM, Ovidiu Sas <span dir="ltr">&lt;<a>osas@voipembedded.com</a>&gt;</span>
                            wrote:<br>
                            <blockquote style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
                              Take a look at the redirect example in the
                              source tree:<br>
                              <a href="https://github.com/OpenSIPS/opensips/blob/master/examples/redirect.cfg" target="_blank">https://github.com/OpenSIPS/opensips/blob/master/examples/redirect.cfg</a><br>
                              <br>
                              Regards,<br>
                              Ovidiu Sas<br>
                              <div>
                             </div></blockquote></div></div></div></blockquote></div></div></div></blockquote></div></div></div></blockquote></div>

</blockquote></div><br><br>-- <br><br>