Thanks.
exten => s,n,Set(foo=${CHANNEL(peerip)}) ; Doesn't return anything
exten => s,n,Set(foo=${CHANNEL(recvip)}) ; Doesn't return anything
exten => s,n,Set(foo=${SIPCHANINFO(peerip)}) ; Returns public IP when
calling from a SIP device
Strange that CHANNEL doesn't return anything.
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users