The answer is wrong. In Asterisk 1.6.1, the CHANNEL function gives you recvip, etc. In 1.6.0, it does not.<br>Federico<br><br><div class="gmail_quote">On Tue, Mar 2, 2010 at 12:32 PM, Mark Michelson <span dir="ltr"><<a href="mailto:mmichelson@digium.com">mmichelson@digium.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div></div><div class="h5">CDR wrote:<br>
> I am stuck again. In SVN-branch-1.6.1-r249674, the function<br>
> ${CHANNEL(recvip)} was eliminated and returns a null. The command "core<br>
> show function CHANNEL confirms that this option, recvip, is gone, so how<br>
> do I read the signaling source IP? Also, "peerip" is gone.<br>
><br>
> Mar 1 21:57:54] DEBUG[34273] pbx.c: return because scoreboard has a<br>
> match with '/'--- _X.<br>
> [Mar 1 21:57:54] DEBUG[34273] pbx.c: returning an exact match-- _X.<br>
> [Mar 1 21:57:54] WARNING[34273] func_channel.c: Unknown or unavailable<br>
> item requested: 'recvip'<br>
> [Mar 1 21:57:54] DEBUG[34273] pbx.c: Function result is '(null)'<br>
> [Mar 1 21:57:54] DEBUG[34273] pbx.c: Expression result is '1'<br>
> [Mar 1 21:57:54] DEBUG[34273] pbx.c: Launching 'GotoIf'<br>
><br>
<br>
</div></div>There has never been a "recvip" or "peerip" option in Asterisk's CHANNEL()<br>
function. Those are options for the SIPCHANINFO function.<br>
<font color="#888888"><br>
Mark Michelson<br>
</font><div><div></div><div class="h5"><br>
--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
<br>
asterisk-dev mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-dev" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-dev</a><br>
</div></div></blockquote></div><br>