Actions before CDR writing (b leg only)
Hello Guys I am using following scenario with series of attempts on gateways on failover <action application="set" data="hangup_after_bridge=true"/> <action application="bridge" data="sofia/local_profile/1111@example1.company.com" /> <action application="bridge" data="sofia/local_profile/1111@example2.company.com" /> I want to do some actions like setting some variables before CDR (leg B) is written like <action application="set" data="hangup_after_bridge=true"/> <action application="bridge" data="sofia/local_profile/1111@example1.company.com" /> <!-- do some actions--> <!-- write CDR--> <action application="bridge" data="sofia/local_profile/1111@example2.company.com" /><!-- do some actions--> <!-- write CDR--> . . . . Can anybody help me here. Waisee----
arent those two same? since you set hangup_after_bridge=true, at the end you will have only one bridge. so what difference does it make in the CDR? On Mon, Jun 18, 2012 at 9:15 PM, awais nazir <awais-nazeer@hotmail.com>wrote:
Hello Guys
I am using following scenario with series of attempts on gateways on failover
<action application="set" data="hangup_after_bridge=true"/> <action application="bridge" data="sofia/local_profile/1111** @example1.company.com <1111@example1.company.com>" /> <action application="bridge" data="sofia/local_profile/1111** @example2.company.com <1111@example2.company.com>" />
I want to do some actions like setting some variables before CDR (leg B) is written like
<action application="set" data="hangup_after_bridge= **true"/> <action application="bridge" data="sofia/local_profile/1111** @example1.company.com <1111@example1.company.com>" /> <!-- do some actions--> <!-- write CDR--> <action application="bridge" data="sofia/local_profile/1111** @example2.company.com <1111@example2.company.com>" /> <!-- do some actions--> <!-- write CDR--> . . . .
Can anybody help me here.
Waisee----
_________________________________________________________________________ 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
Join Us At ClueCon - Aug 7-9, 2012
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
i forgot to mention that i think you only need to configure log-b-leg=true in xml_cdr.conf On Tue, Jun 19, 2012 at 11:10 AM, huseyin kalyoncu <hkalyoncu@gmail.com>wrote:
arent those two same?
since you set hangup_after_bridge=true, at the end you will have only one bridge. so what difference does it make in the CDR?
On Mon, Jun 18, 2012 at 9:15 PM, awais nazir <awais-nazeer@hotmail.com>wrote:
Hello Guys
I am using following scenario with series of attempts on gateways on failover
<action application="set" data="hangup_after_bridge=true"/> <action application="bridge" data="sofia/local_profile/1111** @example1.company.com <1111@example1.company.com>" /> <action application="bridge" data="sofia/local_profile/1111** @example2.company.com <1111@example2.company.com>" />
I want to do some actions like setting some variables before CDR (leg B) is written like
<action application="set" data="hangup_after_bridge= **true"/> <action application="bridge" data="sofia/local_profile/1111** @example1.company.com <1111@example1.company.com>" /> <!-- do some actions--> <!-- write CDR--> <action application="bridge" data="sofia/local_profile/1111** @example2.company.com <1111@example2.company.com>" /> <!-- do some actions--> <!-- write CDR--> . . . .
Can anybody help me here.
Waisee----
_________________________________________________________________________ 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
Join Us At ClueCon - Aug 7-9, 2012
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 (2)
-
awais nazir
-
huseyin kalyoncu