For a reason, I need to tigger an external command when user register. Is that possible? LD
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
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> [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
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 On Apr 22, 2013 10:26 PM, "Tim Meade" <Tim.Meade@millicorp.com> wrote:
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<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
Thank you all 2013/4/22 Colin Mason <cmason@frontiernetworks.ca>
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
participants (4)
-
Colin Mason
-
Daniel Ivanov
-
Luis Daniel Lucio Quiroz
-
Tim Meade