[asterisk-dev] CHANNEL(recvip) is gone from 1.6.0 ?????

CDR venefax at gmail.com
Mon Mar 15 20:39:00 CDT 2010


The answer is wrong. In Asterisk 1.6.1, the CHANNEL function gives you
recvip, etc. In 1.6.0, it does not.
Federico

On Tue, Mar 2, 2010 at 12:32 PM, Mark Michelson <mmichelson at digium.com>wrote:

> 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
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20100315/2b0170b1/attachment.htm 


More information about the asterisk-dev mailing list