Well, both options stated are very helpful, but keep in mind agents constantly send sip REGISTER messages to renew their sessions. So the real tricky part is actually getting the first time register events. I guess we can achieve this with some info parsing... anyway, contact me for a perl script that catches register events
We use xml_curl to get the registration xml. Works like a charm
From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Colin Mason
Sent: Monday, April 22, 2013 2:50 PM
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] How to tigger an external command when registering
Yes you can use ESL for python or any other language to listen for register events and then run whatever command you want when your ESL socket receives that event.
Colin
From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Luis Daniel Lucio Quiroz
Sent: Monday, April 22, 2013 2:47 PM
To: FreeSWITCH Users Help
Subject: [Freeswitch-users] How to tigger an external command when registering
For a reason, I need to tigger an external command when user register. Is that possible?
LD
_________________________________________________________________________
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