[OpenSIPS-Users] Opensip as transaprent inbound proxy for asterisk
Brett Nemeroff
brett at nemeroff.com
Mon Oct 14 20:48:14 CEST 2013
I believe the suggestion is to:
1. Allow all calls from OpenSIPs to hit your dial plan (insecure=invite)
2. In the dial plan, check for the existence of a custom header, this customer header should be inserted by opensips to indicate the original IP (append_hf("X-Original-IP: $si");)
3. "do something" based on the original IP received.
-Brett
--
Brett Nemeroff
Sent with Airmail
On October 14, 2013 at 1:02:09 PM, bluerain (frank21118 at yahoo.com) wrote:
thx for the suggestion, I don't think asterisk reads the IP from any of the
header or in any part of SIP message. I think asterisk read the IP from the
IP at the network layer. anyhow, if you like you can read my reply to Mike.
Thx again. Have you ever encounter the usr_loc module that stop updating
the DB location table after few hours from initial boot?
--
View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/Opensip-as-transaprent-inbound-proxy-for-asterisk-tp7588047p7588083.html
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
Users at lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20131014/fa4c3143/attachment.htm>
More information about the Users
mailing list