Skip to content

Commit

Permalink
v1.48: patch callflow to attach auth-type to call-forwarded stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
James Aimonetti committed Feb 8, 2012
1 parent a0cb191 commit 3a7ba22
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion whistle_apps/apps/callflow/src/cf_endpoint.erl
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,9 @@ generate_ccvs(Endpoint, #cf_call{account_id=AccountId}, CallFwd) ->
case CallFwd of
undefined -> J;
_ ->
wh_json:set_value(<<"Call-Forward">>, <<"true">>, J)
wh_json:set_value([{<<"Call-Forward">>, <<"true">>}
,{<<"Authorizing-Type">>, <<"device">>}
], J)
end
end
,fun(J) ->
Expand Down

0 comments on commit 3a7ba22

Please sign in to comment.