It's also possible to store the information in a ODBC database (core-db-dsn) and mod_sofia's odbc-dsn profile param.

You can then query (read-only!) the registration DB tables directory.


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.

-Steve



On 28 January 2013 17:07, Cal Leeming [Simplicity Media Ltd] <cal.leeming@simplicitymedialtd.co.uk> wrote:
Hello,

You want to use mod_event_socket to retrieve the registration status of a user.

See the following;
http://wiki.freeswitch.org/wiki/Event_Socket

Hope this helps.

Cal


On Mon, Jan 28, 2013 at 12:10 PM, mehroz <mehroz.ashraf85@gmail.com> wrote:
Hi,

I have been working with asterisk previously, recently came over Freeswitch
platform.

I dig up for the similar fucntionality of asteriks-realtime and found
MOD_XML_CURL as the nearest match for dynamic directory(extension) creation.
One good thing about asterisk-realtime was, it was compact in a single table
and direct conversation with Asterisk and DB is possible , whereas in
Freeswitch its through Webserver and curl requests. Watever, i accepted
that! but one more thing i am missing is the status of SIP Registration
(registered or not).

Again, in asterisk realtime i can see the RTP port assigned to extension
when it registers, this way i can see the current status reading the DB ,
and port number.

Now the question is , how can i see this with mod_xml_curl ? and also, if
any one can help me with the above mentioned grudges and crushes!



--
View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Direcotry-Status-with-mod-xml-curl-tp7586787.html
Sent from the freeswitch-users mailing list archive at Nabble.com.

_________________________________________________________________________
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


_________________________________________________________________________
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