<div dir="ltr">Answer to my own question found in mailing list archive, maybe someone finds this helpful:<div><br></div><div><a href="http://marc.info/?l=freeswitch-users&amp;m=129680941630897">http://marc.info/?l=freeswitch-users&amp;m=129680941630897</a><br></div><div><br></div><div>Testet works OK</div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-07-12 13:03 GMT+02:00 Dominique Jeannerod <span dir="ltr">&lt;<a href="mailto:dominique.jeannerod@interact-iv.com" target="_blank">dominique.jeannerod@interact-iv.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">There is an API call : sofia_gateway_data<div>You can use it inside a dialplan to get the value of a gateway variable.</div><div>Should give you the status.</div><div><br></div><div>I tried it, but it is not working on my platform, using CentOS6 packages from the okay repo.</div><div>Certainly a compilation question (I didn&#39;t take time to fix this at the moment).</div><div><br></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" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" 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" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div>