How to disable adding of rows with LOSE_RACE case ?
Hello guys! I use many endpoints in my bridge appl. So in cdr I see one good row (for ext which picks up call) and many rows with "LOSE_RACE" for others ext from bridge string. How can I disable adding of rows with LOSE_RACE ? Please advice.Thanks.
If you use xml_cdr or json_cdr that posts to a database, you can just drop those CDRs. I wonder if you can use a hangup hook of a sort (before reporting!) to set process_cdr to false, or a_only... -Avi On Tue, Sep 18, 2012 at 5:11 PM, Yuriy Nasida <nasida@live.ru> wrote:
Hello guys!
I use many endpoints in my bridge appl. So in cdr I see one good row (for ext which picks up call) and many rows with "LOSE_RACE" for others ext from bridge string. How can I disable adding of rows with LOSE_RACE ?
Please advice. Thanks.
_________________________________________________________________________ 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
Avi, Yes you are correct. Cdrs via xml_cdr. I have done this from httpd side already. I tried to create some method with process_cdr false but without any luck. Thanks. From: avi@avimarcus.net Date: Tue, 18 Sep 2012 20:14:01 +0300 To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] How to disable adding of rows with LOSE_RACE case ? If you use xml_cdr or json_cdr that posts to a database, you can just drop those CDRs. I wonder if you can use a hangup hook of a sort (before reporting!) to set process_cdr to false, or a_only... -Avi On Tue, Sep 18, 2012 at 5:11 PM, Yuriy Nasida <nasida@live.ru> wrote: Hello guys! I use many endpoints in my bridge appl. So in cdr I see one good row (for ext which picks up call) and many rows with "LOSE_RACE" for others ext from bridge string. How can I disable adding of rows with LOSE_RACE ? Please advice.Thanks. _________________________________________________________________________ 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
If you are adventurous you could update to latest GIT HEAD and try exporting, or globally setting, or putting in {} on the originate the variable skip_cdr_causes=LOSE_RACE <action application="bridge" data="{skip_cdr_causes=LOSE_RACE}user/1234,sofia/internal/foo@bar.com"/> On Tue, Sep 18, 2012 at 4:51 PM, Yuriy Nasida <nasida@live.ru> wrote:
Avi,
Yes you are correct. Cdrs via xml_cdr. I have done this from httpd side already. I tried to create some method with process_cdr false but without any luck.
Thanks.
------------------------------ From: avi@avimarcus.net Date: Tue, 18 Sep 2012 20:14:01 +0300 To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] How to disable adding of rows with LOSE_RACE case ?
If you use xml_cdr or json_cdr that posts to a database, you can just drop those CDRs.
I wonder if you can use a hangup hook of a sort (before reporting!) to set process_cdr to false, or a_only...
-Avi
On Tue, Sep 18, 2012 at 5:11 PM, Yuriy Nasida <nasida@live.ru> wrote:
Hello guys!
I use many endpoints in my bridge appl. So in cdr I see one good row (for ext which picks up call) and many rows with "LOSE_RACE" for others ext from bridge string. How can I disable adding of rows with LOSE_RACE ?
Please advice. Thanks.
_________________________________________________________________________ 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
_________________________________________________________________________ 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
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
participants (3)
-
Anthony Minessale
-
Avi Marcus
-
Yuriy Nasida