[OpenSIPS-Users] Sip proxy source ip question
Travis Manson-Drake
travism at simplybits.com
Wed Nov 18 16:52:31 CET 2015
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/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20151118/cc7e38c7/attachment-0001.htm>
More information about the Users
mailing list