[OpenSIPS-Users] Sip proxy source ip question
Jarrod Baumann
jarrod at unixc.org
Wed Nov 18 17:01:17 CET 2015
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.
> On Nov 18, 2015, at 9:52 AM, Travis Manson-Drake <travism at simplybits.com> wrote:
>
> Hello all,
>
> 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?
>
> 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”
>
> 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.
>
> Thank you guys for your time!
>
> Travis Manson-Drake
> Voice Systems Analyst L1
> Simply Bits, LLC
> Now You’re Thinkin’ Smart!
> 5225 N. Sabino Canyon Road
> Tucson, AZ 85750
> Phone: 520-545-0311
> Fax: 520-545-7252
> Support Hotline: 5205450333
> www.simplybits.com <http://www.simplybits.com/>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org <mailto:Users at lists.opensips.org>
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users <http://lists.opensips.org/cgi-bin/mailman/listinfo/users>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20151118/ff428c0b/attachment.htm>
More information about the Users
mailing list