[asterisk-users] IAX2 Channel Information

John Novack jnovack at stromberg-carlson.org
Wed Jun 3 13:06:36 CDT 2009


What Lee is trying to do is DETERMINE the IP of a specific caller, then 
take an action on that.

Perhaps you misunderstood his use of the word "isolate"

John Novack


Geraint Lee wrote:
> I don't quite understand what you're trying to achieve, but if it's a 
> firewall wouldn't using something like iptables make more sense and be 
> far more secure?
>
> Cheers
>
> 2009/6/3 Lee Spenadel <spenadel at gmail.com <mailto:spenadel at gmail.com>>
>
>     I'm trying to isolate the IP address of inbound calls to my switch
>     over IAX2. Is the proper way to get that information as follows:
>
>     ${IAXPEER(IP)}
>
>     If the caller was inbound via SIP, this works:
>
>     ${SIPCHANINFO(PEERIP)}
>
>     So I'm looking to return the IP address of the caller via IAX2.
>
>     Thanks
>
>     Lee
>
>
>     _______________________________________________
>     -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
>     asterisk-users mailing list
>     To UNSUBSCRIBE or update options visit:
>     http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users

-- 
Dog is my co-pilot




More information about the asterisk-users mailing list