opensips can add an header with the real IP and asterisk can use that header to know the real IP
Il 09/10/2013 17.02, bluerain ha scritto:
I've try to search on internet but not much info. I currently have Asterisk server setup to have sip trunk with customers on a "peer" type. This way, no registration need and that asterisk server will identify the inbound call base on "IP address" matching. But now I would like to put OPENSIPS in front of asterisk server (so I can load balance). But once I do that, asterisk loses the capability of getting the "original" source IP. All the call from different customer now only have OPENSIPS server IP address. $si is not ediable. It seems asterisk server read source IP at a higher layer ( I am no network guru so pardon my stupid language). Is this something I have to tackle at the OS level and not at OpenSIP leve? Opensips only manipulate sip message where as asterisk is reading the source IP at the network layer? Or is there something Opensips can do? Or can someone point me to a software (prefer open source) that would make Debian a "transparent proxy"? I've search for that but mostly come up with 'SQUID' which is a transparent HTTP server, I don't think that is for sip protocol. Thank you! -- View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/Opensip-as-transaprent-inbound-proxy-for-asterisk-tp7588047.html Sent from the OpenSIPS - Users mailing list archive at Nabble.com. _______________________________________________ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users