[asterisk-users] IAX2 Channel Information

Geraint Lee geraint at gmail.com
Wed Jun 3 10:41:54 CDT 2009


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>

>  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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090603/d0971a91/attachment.htm 


More information about the asterisk-users mailing list