mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2025-12-20 08:40:38 +00:00
fixes
This commit is contained in:
@@ -130,12 +130,6 @@ class TaskDial extends Task {
|
||||
callingNumber: this.callerId || req.callingNumber
|
||||
};
|
||||
|
||||
// construct bare-bones callInfo for the new outbound call attempt
|
||||
const callInfo = Object.assign({}, cs.callInfo);
|
||||
callInfo.parentCallSid = cs.callSid;
|
||||
callInfo.direction = CallDirection.Outbound;
|
||||
['callSid', 'callID', 'from', 'to', 'callerId', 'sipStatus', 'callStatus'].forEach((k) => delete callInfo[k]);
|
||||
|
||||
const ms = await cs.getMS();
|
||||
const timerRing = setTimeout(() => {
|
||||
this.logger.info(`Dial:_attemptCall: ring no answer timer ${this.timeout}s exceeded`);
|
||||
@@ -154,7 +148,7 @@ class TaskDial extends Task {
|
||||
sbcAddress,
|
||||
target: t,
|
||||
opts,
|
||||
callInfo
|
||||
callInfo: cs.callInfo
|
||||
});
|
||||
this.dials.set(sd.callSid, sd);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user