bugfix: tracing-related exception on rest createCall

This commit is contained in:
Dave Horton
2022-04-03 18:29:37 -04:00
parent 70f7775893
commit 4f5ab7d146
3 changed files with 95 additions and 10 deletions

View File

@@ -150,7 +150,7 @@ router.post('/', async(req, res) => {
/* ok our outbound INVITE is in flight */
const tasks = [restDial];
const rootSpan = new RootSpan('rest-call', req);
const rootSpan = new RootSpan('rest-call', inviteReq);
const callInfo = new CallInfo({
direction: CallDirection.Outbound,
req: inviteReq,