Skip to content

Commit 4e9051c

Browse files
onnetjamesaimonetti
authored andcommitted
let trunkstore live a bit longer (2600hz#3889)
A patch as a result of the next conversation: https://groups.google.com/forum/#!topic/2600hz-users/1BmpiqBiMks closes 2600hz#3889
1 parent 1d34a3d commit 4e9051c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

applications/trunkstore/src/ts.hrl

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
,acctdb = <<>> :: binary()
4545
,route_req_jobj = kz_json:new() :: kz_json:object()
4646
,ep_data = kz_json:new() :: kz_json:object() %% data for the endpoint, either an actual endpoint or an offnet request
47-
,amqp_worker :: pid()
47+
,amqp_worker :: api_pid()
4848
,callctl_q :: api_ne_binary()
4949
,call_cost = 0.0 :: float()
5050
,failover :: kz_json:object()

applications/trunkstore/src/ts_callflow.erl

+1-1
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ process_event_for_bridge(_State, _JObj, {<<"call_event">>, <<"CHANNEL_EXECUTE_CO
219219
'ignore';
220220
process_event_for_bridge(#ts_callflow_state{aleg_callid=ALeg}=State
221221
,JObj
222-
,{<<"call_event">>, <<"CHANNEL_BRIDGE">>, _}
222+
,{<<"call_event">>, <<"CHANNEL_ANSWER">>, _}
223223
) ->
224224
BLeg = kz_call_event:other_leg_call_id(JObj),
225225
lager:debug("channel ~s bridged to ~s", [ALeg, BLeg]),

0 commit comments

Comments
 (0)