It's also possible to store the information in a ODBC database (core-db-dsn) and mod_sofia's odbc-dsn profile param.<div><br></div><div>You can then query (read-only!) the registration DB tables directory.</div><div>
<br></div><div><br></div><div>If you want to interact in realtime (ie no polling) collecting events and running async api commands via ESL is the way to go. It's similar to Asterisk's AMI and the events are very powerful.</div>
<div><br></div><div>-Steve</div><div><br></div><div><br></div><div><div><br><div class="gmail_quote">On 28 January 2013 17:07, Cal Leeming [Simplicity Media Ltd] <span dir="ltr"><<a href="mailto:cal.leeming@simplicitymedialtd.co.uk" target="_blank">cal.leeming@simplicitymedialtd.co.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<div><br></div><div>You want to use mod_event_socket to retrieve the registration status of a user.</div><div><br>
</div><div>See the following;</div><div><a href="http://wiki.freeswitch.org/wiki/Event_Socket" target="_blank">http://wiki.freeswitch.org/wiki/Event_Socket</a></div>
<div><br></div><div>Hope this helps.</div><span class="HOEnZb"><font color="#888888"><div><br></div></font></span><div><span class="HOEnZb"><font color="#888888">Cal</font></span><div><div class="h5"><br><br><div class="gmail_quote">
On Mon, Jan 28, 2013 at 12:10 PM, mehroz <span dir="ltr"><<a href="mailto:mehroz.ashraf85@gmail.com" target="_blank">mehroz.ashraf85@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I have been working with asterisk previously, recently came over Freeswitch<br>
platform.<br>
<br>
I dig up for the similar fucntionality of asteriks-realtime and found<br>
MOD_XML_CURL as the nearest match for dynamic directory(extension) creation.<br>
One good thing about asterisk-realtime was, it was compact in a single table<br>
and direct conversation with Asterisk and DB is possible , whereas in<br>
Freeswitch its through Webserver and curl requests. Watever, i accepted<br>
that! but one more thing i am missing is the status of SIP Registration<br>
(registered or not).<br>
<br>
Again, in asterisk realtime i can see the RTP port assigned to extension<br>
when it registers, this way i can see the current status reading the DB ,<br>
and port number.<br>
<br>
Now the question is , how can i see this with mod_xml_curl ? and also, if<br>
any one can help me with the above mentioned grudges and crushes!<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://freeswitch-users.2379917.n2.nabble.com/Direcotry-Status-with-mod-xml-curl-tp7586787.html" target="_blank">http://freeswitch-users.2379917.n2.nabble.com/Direcotry-Status-with-mod-xml-curl-tp7586787.html</a><br>
Sent from the freeswitch-users mailing list archive at Nabble.com.<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">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" target="_blank">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>
</blockquote></div><br></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></div><div><br></div><div><br></div></div>