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@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@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@debian> uuid_getvar *2df05810-b3dc-11e2-b9af-f9b7dfbfcfcb* * FreeSWITCH-IPv4*
*_undef_*
Regards,
Julien
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@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