Skip to content

Commit

Permalink
support create call with target.proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
xquanluu committed Feb 11, 2025
1 parent 55b408e commit 23c3144
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/http-routes/api/create-call.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ router.post('/',
...(req.body?.application_sid && {'X-Application-Sid': req.body.application_sid}),
...(restDial.fromHost && {'X-Preferred-From-Host': restDial.fromHost}),
...(record_all_calls && {'X-Record-All-Calls': recordOutputFormat}),
...(target.proxy && {'X-SIP-Proxy': target.proxy}),
...target.headers
};

Expand Down

0 comments on commit 23c3144

Please sign in to comment.