[OpenSIPS-Users] Opensip as transaprent inbound proxy for asterisk

Mike Tesliuk mike at ultra.net.br
Mon Oct 14 21:23:40 CEST 2013


check this resource

http://www.opensips.org/Documentation/Script-CoreFunctions#toc43




2013/10/14 Brett Nemeroff <brett at nemeroff.com>

> 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 <http://airmailapp.info/tracking>
>
> On October 14, 2013 at 1:02:09 PM, bluerain (frank21118 at yahoo.com<//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
>
>
> _______________________________________________
> 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/3ab0b6f4/attachment-0001.htm>


More information about the Users mailing list