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 ([email protected]) 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  
[email protected]  
http://lists.opensips.org/cgi-bin/mailman/listinfo/users  
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to