<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">I believe the suggestion is to:</div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">1. Allow all calls from OpenSIPs to hit your dial plan (insecure=invite)</div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">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");)</div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">3. "do something" based on the original IP received.&nbsp;</div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;"><br></div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">-Brett</div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;"><br></div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;"><br></div> <div class="" id="bloop_sign_1381776372788224000"><span style="font-family:helvetica,arial;font-size:13px"></span>--&nbsp;<br>Brett Nemeroff<br><span>Sent with <a href="http://airmailapp.info/tracking">Airmail</a></span></div> <br><p style="color:#A0A0A8;">On October 14, 2013 at 1:02:09 PM, bluerain (<a href="mailto://frank21118@yahoo.com">frank21118@yahoo.com</a>) wrote:</p> <blockquote type="cite" style="border-left:1px #004080 solid !important;margin-left:0px;padding-left:5px;"><span><div><div>thx for the suggestion, I don't think asterisk reads the IP from any of the
<br>header or in any part of SIP message.  I think asterisk read the IP from the
<br>IP at the network layer.  anyhow, if you like you can read my reply to Mike.
<br>
<br>Thx again.  Have you ever encounter the usr_loc module that stop updating
<br>the DB location table after few hours from initial boot?
<br>
<br>
<br>
<br>--
<br>View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/Opensip-as-transaprent-inbound-proxy-for-asterisk-tp7588047p7588083.html
<br>Sent from the OpenSIPS - Users mailing list archive at Nabble.com.
<br>
<br>_______________________________________________
<br>Users mailing list
<br>Users@lists.opensips.org
<br>http://lists.opensips.org/cgi-bin/mailman/listinfo/users
<br></div></div></span></blockquote></body></html>