[asterisk-dev] CHANNEL(recvip) is gone from 1.6.0 ?????
Mark Michelson
mmichelson at digium.com
Tue Mar 2 10:32:41 CST 2010
CDR wrote:
> I am stuck again. In SVN-branch-1.6.1-r249674, the function
> ${CHANNEL(recvip)} was eliminated and returns a null. The command "core
> show function CHANNEL confirms that this option, recvip, is gone, so how
> do I read the signaling source IP? Also, "peerip" is gone.
>
> Mar 1 21:57:54] DEBUG[34273] pbx.c: return because scoreboard has a
> match with '/'--- _X.
> [Mar 1 21:57:54] DEBUG[34273] pbx.c: returning an exact match-- _X.
> [Mar 1 21:57:54] WARNING[34273] func_channel.c: Unknown or unavailable
> item requested: 'recvip'
> [Mar 1 21:57:54] DEBUG[34273] pbx.c: Function result is '(null)'
> [Mar 1 21:57:54] DEBUG[34273] pbx.c: Expression result is '1'
> [Mar 1 21:57:54] DEBUG[34273] pbx.c: Launching 'GotoIf'
>
There has never been a "recvip" or "peerip" option in Asterisk's CHANNEL()
function. Those are options for the SIPCHANINFO function.
Mark Michelson
More information about the asterisk-dev
mailing list