mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2025-12-21 00:58:34 +00:00
better logging of ws commands
This commit is contained in:
@@ -1192,7 +1192,7 @@ class CallSession extends Emitter {
|
|||||||
}
|
}
|
||||||
|
|
||||||
_onCommand({msgid, command, call_sid, queueCommand, data}) {
|
_onCommand({msgid, command, call_sid, queueCommand, data}) {
|
||||||
this.logger.info({msgid, command, queueCommand}, 'CallSession:_onCommand - received command');
|
this.logger.info({msgid, command, queueCommand, data}, 'CallSession:_onCommand - received command');
|
||||||
const resolution = {reason: 'received command', queue: queueCommand, command};
|
const resolution = {reason: 'received command', queue: queueCommand, command};
|
||||||
switch (command) {
|
switch (command) {
|
||||||
case 'redirect':
|
case 'redirect':
|
||||||
|
|||||||
Reference in New Issue
Block a user