<div dir="ltr"><div><div>Julien,<br><br></div>&quot;FreeSWITCH-IPv4&quot; is not a channel variable. Rather, it is an event header. Even so, I&#39;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?<br>
<br></div>-MC<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, May 3, 2013 at 3:49 AM, julien terrasson <span dir="ltr">&lt;<a href="mailto:julien.terrasson@gmail.com" target="_blank">julien.terrasson@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div>Hello,<br><br></div>I&#39;m trying to dump the Freeswitch-IPv4 value in one of the session.<br>
</div>But for some reason the getvar primitive returns an &quot;_undef_&quot; value<br></div>
Should i use a different primitive to retreive that value ?<br><br></div>Example : <br><div><div><div><div><div><br>freeswitch@debian&gt; uuid_dump <b>2df05810-b3dc-11e2-b9af-f9b7dfbfcfcb</b><br><br>Event-Name: CHANNEL_DATA<br>

Core-UUID: 73c3dc70-b3d4-11e2-b885-f9b7dfbfcfcb<br>FreeSWITCH-Hostname: debian<br>FreeSWITCH-Switchname: debian<br><b>FreeSWITCH-IPv4: 192.168.1.2</b><br>FreeSWITCH-IPv6: %3A%3A1<br>Event-Date-Local: 2013-05-03%2012%3A28%3A45<br>

....<br><br>freeswitch@debian&gt; uuid_getvar <b>2df05810-b3dc-11e2-b9af-f9b7dfbfcfcb</b> <b>FreeSWITCH-IPv4</b><br><br><b><span style="color:rgb(255,0,0)">_undef_</span></b><br><br></div><div>Regards,<br><br></div><div>
Julien<br>
</div></div></div></div></div></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Michael S Collins<br>Twitter: @mercutioviz<br><a href="http://www.FreeSWITCH.org" target="_blank">http://www.FreeSWITCH.org</a><br><a href="http://www.ClueCon.com" target="_blank">http://www.ClueCon.com</a><br>
<a href="http://www.OSTAG.org" target="_blank">http://www.OSTAG.org</a><br><br>
</div>