@babblevoice/babble-drachtio-callmanager 1.3.0 → 1.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/call.js +2 -2
- package/package.json +1 -1
package/lib/call.js
CHANGED
|
@@ -420,8 +420,8 @@ class call {
|
|
|
420
420
|
parsed = this._req.getParsedHeader( "from" )
|
|
421
421
|
}
|
|
422
422
|
|
|
423
|
-
let parseduri = parseuri( parsed.uri )
|
|
424
423
|
if( !parsed ) parsed = {}
|
|
424
|
+
let parseduri = parseuri( parsed.uri )
|
|
425
425
|
if( !parsed.params ) parsed.params = {}
|
|
426
426
|
|
|
427
427
|
return {
|
|
@@ -2465,7 +2465,7 @@ class call {
|
|
|
2465
2465
|
@private
|
|
2466
2466
|
*/
|
|
2467
2467
|
c._req = req
|
|
2468
|
-
c._req.on( "cancel", () =>
|
|
2468
|
+
c._req.on( "cancel", () => c._oncanceled.bind( c ) )
|
|
2469
2469
|
/**
|
|
2470
2470
|
@member
|
|
2471
2471
|
@private
|