Thanks, looks very easy to implement.

 

Just on more question:

I need to get the IP address of a registered user.

E.g. user/2000 is a SNOM with ip 192.168.20.219

I guess a query against the registrations table ist the fastest way to do this ?

Or is there any core api command ?

 

Thanks

 

 

Von: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] Im Auftrag von Avi Marcus
Gesendet: Mittwoch, 25. Juli 2012 14:26
An: FreeSWITCH Users Help
Betreff: Re: [Freeswitch-users] HTTP Request from within the core

 

You can use the API for curl or just check how the codebase for curl works:

http://wiki.freeswitch.org/wiki/Mod_curl -- src/mod/applications/mod_curl/

Or look at http://wiki.freeswitch.org/wiki/Mod_http_cache -- src/mod/applications/mod_http_cache/

 

-Avi