[asterisk-users] Block outbound calls based on IP address

CB kjcsb at xnet.co.nz
Tue Aug 7 04:40:54 CDT 2012


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.




More information about the asterisk-users mailing list