mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2025-12-21 17:17:58 +00:00
fix failing testcase
This commit is contained in:
@@ -193,12 +193,11 @@ router.post('/', async(req, res) => {
|
||||
direction: CallDirection.Outbound,
|
||||
req: inviteReq,
|
||||
to,
|
||||
tag: app.tag,
|
||||
tag: {...app.tag, ...req.body.metadata},
|
||||
callSid,
|
||||
accountSid: req.body.account_sid,
|
||||
applicationSid: app.application_sid,
|
||||
traceId: rootSpan.traceId,
|
||||
metadata: req.body.metadata
|
||||
traceId: rootSpan.traceId
|
||||
});
|
||||
cs = new RestCallSession({
|
||||
logger: sipLogger,
|
||||
|
||||
@@ -91,7 +91,6 @@ class CallInfo {
|
||||
this.from = from || req.callingNumber;
|
||||
this.to = to;
|
||||
if (tag) this._customerData = tag;
|
||||
if (opts.metadata) this._customerData = {...this._customerData, ...opts.metadata};
|
||||
}
|
||||
|
||||
this.localSipAddress = srf.locals.localSipAddress;
|
||||
|
||||
Reference in New Issue
Block a user