<html><head></head><body><div class="ydp651cb202yahoo-style-wrap" style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 10px;"><div></div>
        <div dir="ltr" data-setdir="false">Thank you John,</div><div dir="ltr" data-setdir="false">I appreciate the help. I will look into the $ds variable to see if I can manipulate it prior to the sl_send_reply. Currently we're constructing our own Contact header with the redirect information and using an append_to_reply (thus we end up with multiple contacts) but I will see if we can scrap that and manipulate $ds instead.</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">Thanks for the help!</div><div><br></div>
        
        </div><div id="yahoo_quoted_4743934217" class="yahoo_quoted">
            <div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
                
                <div>
                    On Monday, February 22, 2021, 05:36:57 AM PST, John Quick <john.quick@smartvox.co.uk> wrote:
                </div>
                <div><br></div>
                <div><br></div>
                <div><div dir="ltr">Hello mwb,<br></div><div dir="ltr"><br></div><div dir="ltr">I used OpenSIPS as a redirect server many years ago.<br></div><div dir="ltr">Back then, the destination set ($ds) was used to generate Contact addresses<br></div><div dir="ltr">when you use sl_send_reply() to return 302.<br></div><div dir="ltr"><br></div><div dir="ltr">302 is a redirect. The 302 response must tell the UAC where the request is<br></div><div dir="ltr">to be redirected. That is done using the Contact header (see section 8.3 of<br></div><div dir="ltr">RFC3261).<br></div><div dir="ltr">OpenSIPS did this by taking addresses it found in the destination set. I am<br></div><div dir="ltr">not certain if the latest versions of OpenSIPS still do it this way.<br></div><div dir="ltr"><br></div><div dir="ltr">You may have to use append_branch() or $branch now, but it should be clear<br></div><div dir="ltr">if you look at this blog article:<br></div><div dir="ltr"><a href="https://blog.opensips.org/2018/07/05/handling-sip-redirect-requests-in-realt" target="_blank">https://blog.opensips.org/2018/07/05/handling-sip-redirect-requests-in-realt</a><br></div><div dir="ltr">ime/<br></div><div dir="ltr">Look for the section headed "Using OpenSIPS as a redirect server".<br></div><div dir="ltr"><br></div><div dir="ltr">John Quick<br></div><div dir="ltr">Smartvox Limited<br></div><div dir="ltr">Web: www.smartvox.co.uk<br></div><div dir="ltr"><br></div><div dir="ltr"><br></div></div>
            </div>
        </div></body></html>