<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">You may want to look into using 3xx redirect responses to the UAC from OpenSIPS if the PBX requires the actual source IP address to be the UAC.</div><br class=""><div><blockquote type="cite" class=""><div class="">On Nov 18, 2015, at 9:52 AM, Travis Manson-Drake <<a href="mailto:travism@simplybits.com" class="">travism@simplybits.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="WordSection1" style="page: WordSection1; font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">Hello all,<o:p class=""></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">Is there any way I can have Opensips use the source IP of a UAC rather than the source IP of itself when sending request’s to the applicable end points?<o:p class=""></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">I currently have something set up to where the there is a phone outside of my network, it sends its request to the opensips proxy, which then sends the request’s to the correct PBX. However, when opensips sends the request to the PBX or to the phone it changes the source IP to the ip of itself. How would I have opensips send the original source ip of the PBX or the phone rather than sending its own source IP? I’ve tried using $avp variables that are assigned a value of the source ip of the UAC or PBX, and then injecting them in my routing logic. But I can’t seem to find a way to just tell opensips “this is the $si you need to use when sending out these request’s”<o:p class=""></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">Als,o after various xlog statement’s it looks like it maintains its source ip throughout the logic, just when it goes to send the request out it then changes the $si to its own ip address.<o:p class=""></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">Thank you guys for your time!<o:p class=""></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; line-height: 16.866666793823242px;" class=""><b class=""><span style="font-size: 10pt; line-height: 15.333332061767578px; font-family: Arial, sans-serif; color: navy;" class="">Travis Manson-Drake<o:p class=""></o:p></span></b></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; line-height: 16.866666793823242px;" class=""><b class=""><span style="font-size: 10pt; line-height: 15.333332061767578px; font-family: Arial, sans-serif; color: navy;" class="">Voice Systems Analyst L1<o:p class=""></o:p></span></b></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><b class=""><span style="font-size: 10pt; font-family: Arial, sans-serif; color: navy;" class="">Simply Bits, LLC</span></b><span style="font-size: 12pt; font-family: Arial, sans-serif; color: navy;" class=""><o:p class=""></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><b class=""><i class=""><span style="font-size: 8pt; font-family: Arial, sans-serif; color: rgb(255, 192, 0);" class="">Now You’re Thinkin’ Smart!</span></i></b><span style="font-family: Arial, sans-serif; color: navy;" class=""><o:p class=""></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; line-height: 16.866666793823242px;" class=""><span style="font-size: 8pt; line-height: 12.266667366027832px; font-family: Arial, sans-serif; color: navy;" class="">5225 N. Sabino Canyon Road<span class="Apple-converted-space"> </span><br class="">Tucson, AZ 85750<o:p class=""></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; line-height: 16.866666793823242px;" class=""><b class=""><span style="font-size: 8pt; line-height: 12.266667366027832px; font-family: Arial, sans-serif; color: navy;" class="">Phone:</span></b><span style="font-size: 8pt; line-height: 12.266667366027832px; font-family: Arial, sans-serif; color: navy;" class=""> </span><span style="font-size: 8pt; line-height: 12.266667366027832px; font-family: Arial, sans-serif; color: rgb(0, 32, 96);" class="">520-545-0311</span><span style="font-size: 8pt; line-height: 12.266667366027832px; font-family: Arial, sans-serif; color: navy;" class=""><o:p class=""></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; line-height: 16.866666793823242px;" class=""><b class=""><span style="font-size: 8pt; line-height: 12.266667366027832px; font-family: Arial, sans-serif; color: navy;" class="">Fax:</span></b><span style="font-size: 8pt; line-height: 12.266667366027832px; font-family: Arial, sans-serif; color: navy;" class=""> </span><span style="font-size: 8pt; line-height: 12.266667366027832px; font-family: Arial, sans-serif; color: rgb(0, 32, 96);" class="">520-545-7252<o:p class=""></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; line-height: 16.866666793823242px;" class=""><b class=""><span style="font-size: 8pt; line-height: 12.266667366027832px; font-family: Arial, sans-serif; color: navy;" class="">Support Hotline</span></b><span style="font-size: 8pt; line-height: 12.266667366027832px; font-family: Arial, sans-serif; color: navy;" class="">:<span class="Apple-converted-space"> </span></span><span style="font-size: 8pt; line-height: 12.266667366027832px; font-family: Arial, sans-serif; color: rgb(0, 32, 96);" class="">5205450333</span><span style="font-size: 8pt; line-height: 12.266667366027832px; font-family: Arial, sans-serif; color: navy;" class=""><o:p class=""></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-family: Arial, sans-serif; color: rgb(31, 73, 125);" class=""><a href="http://www.simplybits.com/" title="http://www.simplybits.com/" style="color: rgb(149, 79, 114); text-decoration: underline;" class=""><span style="font-size: 8pt; font-family: 'Times New Roman', serif; color: rgb(5, 99, 193);" class="">www.simplybits.com</span></a><o:p class=""></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div></div><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">_______________________________________________</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">Users mailing list</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="mailto:Users@lists.opensips.org" style="color: rgb(149, 79, 114); text-decoration: underline; font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">Users@lists.opensips.org</a><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" style="color: rgb(149, 79, 114); text-decoration: underline; font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a></div></blockquote></div><br class=""></body></html>