@onereach/step-voice 7.0.46-deskphoneintegration.21 → 7.0.46-deskphoneintegration.22
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/dst/Conference Dial.js +6 -1
- package/package.json +1 -1
package/dst/Conference Dial.js
CHANGED
|
@@ -71,7 +71,12 @@ class ConferenceDial extends voice_1.default {
|
|
|
71
71
|
transferTrigger: `in/voice/deskphone/${sipUser}/transfer`,
|
|
72
72
|
accountId: this.helpers.providersAccountId
|
|
73
73
|
});
|
|
74
|
-
this
|
|
74
|
+
// FIX B: the controller emits this event ACCOUNT-ADDRESSED (`source`/`target = accountId`), so
|
|
75
|
+
// the subscription MUST be session-registered (`this.triggers.on`), NOT session-local
|
|
76
|
+
// (`this.triggers.local`, which only matches events already routed to THIS step's own call
|
|
77
|
+
// session and therefore never receives an externally emitted account-addressed event). This
|
|
78
|
+
// mirrors the working `Wait For Desk-Phone Call.ts` subscription to the sibling `/call` event.
|
|
79
|
+
this.triggers.on(`in/voice/deskphone/${sipUser}/transfer`, async (event) => {
|
|
75
80
|
const target = event.params.target;
|
|
76
81
|
const replaces = event.params.replaces;
|
|
77
82
|
this.log.info('deskphone:trace:xfer condial-subscribe event received', {
|