2 CS_DESTROY events without trying the second one in the bridge
I have a simple Dialplan with two gateways to try, <condition field='destination_number' expression='$'> <action application='set' data='hangup_after_bridge=true'/> <action application="set" data="continue_on_fail=true"/> <action application="set" data="disable_hold=true"/> <action application="set" data="map_type=pbx"/> <action application="set" data="map_id=10"/> <action application="set" data="state=NC"/> <action application="set" data="npa=910"/> <action application="set" data="export_vars=map_type,map_id,state,npa,dispatcher_ip"/> <action application="set" data="import=dispatcher_ip"/> <action application="set" data="process_cdr=b_only"/> <action application="set" data="bypass_media=true"/> <action application="limit_execute" data="hash default 5.9.50.206:5060 3 bridge [dispatcher_ip=5.9.50.206]sofia/external/92301@5.9.50.206:5060 |[dispatcher_ip=10.211.55.26]sofia/external/92301@10.211.55.26:15080"/> </condition> and I have tried to bridge the same with 2 lines of execute with hangup_after_bridge set to true. <action application="limit_execute" data="hiredis default 5.9.50.206:5060 3 bridge [dispatcher_ip=5.9.50.206]sofia/external/ 92301@5.9.50.206:5060"/> <action application="limit_execute" data="hiredis default 10.211.55.26:15080 1 bridge [dispatcher_ip=10.211.55.26]sofia/external/92301@10.211.55.26:15080”/> For testing, the first IP in the bridge is not reachable, so I cancel the call after a few seconds. 2016-11-26 12:56:37.368968 [NOTICE] sofia.c:8234 Hangup sofia/external/ 91000@10.211.55.12 [CS_EXECUTE] [ORIGINATOR_CANCEL] which is fine, but the CS_DESTROY event is generated twice. Pastebin @ https://pastebin.freeswitch.org/view/707d6998 This is causing mod_cdr_pg_csv to generate 2 CS_DESTROY events instead of 1 but the second one without actually trying the call. Here is the PB for the while call itself. https://pastebin.freeswitch.org/view/0fd51948 Not able to figure out what’s going on. Already filed a Jira FS-9774 just in case. -- Sent with Airmail
participants (1)
-
Muhammad Naseer Bhatti