mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2026-10-11 05:54:21 +00:00
bugfix: regression from recent change to pass resources to tasks as an object
This commit is contained in:
1 parent
1a4f8563f2
commit
f580bc60f5
1 file changed
+1
-2
+1
-2
@@ -376,9 +376,8 @@ class TaskDial extends Task {
|
||||
}
|
||||
|
||||
async _initializeInbound(cs) {
|
||||
const ep = await cs._evalEndpointPrecondition(this);
|
||||
const {ep} = await cs._evalEndpointPrecondition(this);
|
||||
this.epOther = ep;
|
||||
debug(`Dial:__initializeInbound allocated ep for incoming call: ${ep.uuid}`);
|
||||
|
||||
/* send outbound legs back to the same SBC (to support static IP feature) */
|
||||
if (!this.proxy) this.proxy = `${cs.req.source_address}:${cs.req.source_port}`;
|
||||
|
||||
Reference in new issue
Block a user