[Freeswitch-users] How to retreive FreeSWITCH-IPv4 value ?

Michael Collins msc at freeswitch.org
Fri May 3 23:01:40 MSD 2013


Julien,

"FreeSWITCH-IPv4" is not a channel variable. Rather, it is an event header.
Even so, I'm not sure that an individual event is necessarily the best
place from which to be extracting this value. What problem are you trying
to solve? Also, how many IP addresses do you have on your system?

-MC


On Fri, May 3, 2013 at 3:49 AM, julien terrasson <julien.terrasson at gmail.com
> wrote:

> Hello,
>
> I'm trying to dump the Freeswitch-IPv4 value in one of the session.
> But for some reason the getvar primitive returns an "_undef_" value
> Should i use a different primitive to retreive that value ?
>
> Example :
>
> freeswitch at debian> uuid_dump *2df05810-b3dc-11e2-b9af-f9b7dfbfcfcb*
>
> Event-Name: CHANNEL_DATA
> Core-UUID: 73c3dc70-b3d4-11e2-b885-f9b7dfbfcfcb
> FreeSWITCH-Hostname: debian
> FreeSWITCH-Switchname: debian
> *FreeSWITCH-IPv4: 192.168.1.2*
> FreeSWITCH-IPv6: %3A%3A1
> Event-Date-Local: 2013-05-03%2012%3A28%3A45
> ....
>
> freeswitch at debian> uuid_getvar *2df05810-b3dc-11e2-b9af-f9b7dfbfcfcb* *
> FreeSWITCH-IPv4*
>
> *_undef_*
>
> Regards,
>
> Julien
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>


-- 
Michael S Collins
Twitter: @mercutioviz
http://www.FreeSWITCH.org
http://www.ClueCon.com
http://www.OSTAG.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130503/b1a9f737/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list