QueueMetrics > General Asterisk configuration

Live Monitor - No Audio For Monitoring Party

(1/1)

smileyphase:
I didn't see anyone encounter this, but I have this on two systems running the current PBX in a Flash release:
* Running Asterisk Version : Asterisk 1.4.21.2
* Asterisk Source Version  : 1.4.21.2
* Zaptel Source Version    : 1.4.12.1
* Libpri Source Version    : 1.4.7
* Addons Source Version    : 1.4.7
With the latest Queuemetrics release: Loway QueueMetrics - 1.5.4 (this is a full commercially licensed version, 50 seats, single server)

Here's the scenario:
Ext. 344 calls ext. 1001 (the queue)
Ext. 329 answers the queue
Ext. 346 requests a monitor of the call.
Ext. 346 rings and is connected - but hears no audio.
The call is recorded, and I hear audio in the recording.

I tried both ChanSpy and ExtenSpy, with the same results.

My configuration.properties file contains:
callfile.monitoring.enabled=true
callfile.monitoring.channel=Local/$EM@from-internal/n
callfile.monitoring.extension=11
callfile.monitoring.context=queuemetrics


Here's the ChanSpy:
    -- Executing [11@queuemetrics:1] Answer("Local/346@from-internal-e9ef,1", "") in new stack
    -- Executing [11@queuemetrics:2] NoOp("Local/346@from-internal-e9ef,1", " "QM_AGENT_CODE: agent/329" ") in new stack
    -- Executing [11@queuemetrics:3] NoOp("Local/346@from-internal-e9ef,1", " "QM_EXT_MONITOR: 346" ") in new stack
    -- Executing [11@queuemetrics:4] NoOp("Local/346@from-internal-e9ef,1", " "QM_AGENT_EXT: -" ") in new stack
    -- Executing [11@queuemetrics:5] NoOp("Local/346@from-internal-e9ef,1", " "QM_LOGIN: proverbal" ") in new stack
    -- Executing [11@queuemetrics:6] ChanSpy("Local/346@from-internal-e9ef,1", "Local/329@from-internal") in new stack
    -- <Local/346@from-internal-e9ef,1> Playing 'beep' (language 'en')
  == Manager 'admin' logged off from 127.0.0.1
    -- Started music on hold, class 'default', on SIP/344-b7713330
    -- Stopped music on hold on SIP/344-b7713330
  == Spawn extension (macro-dial, s, 7) exited non-zero on 'Local/346@from-internal-e9ef,2' in macro 'dial'
  == Spawn extension (macro-dial, s, 7) exited non-zero on 'Local/346@from-internal-e9ef,2'
    -- Executing [h@macro-dial:1] Macro("Local/346@from-internal-e9ef,2", "hangupcall") in new stack
    -- Executing [s@macro-hangupcall:1] GotoIf("Local/346@from-internal-e9ef,2", "1?skiprg") in new stack
    -- Goto (macro-hangupcall,s,4)
    -- Executing [s@macro-hangupcall:4] GotoIf("Local/346@from-internal-e9ef,2", "0?skipblkvm") in new stack
    -- Executing [s@macro-hangupcall:5] NoOp("Local/346@from-internal-e9ef,2", "Cleaning Up Block VM Flag: BLKVM/346/Local/346@from-internal-e9ef,2") in new stack
    -- Executing [s@macro-hangupcall:6] DBdel("Local/346@from-internal-e9ef,2", "BLKVM/346/Local/346@from-internal-e9ef,2") in new stack
    -- DBdel: family=BLKVM, key=346/Local/346@from-internal-e9ef,2
    -- DBdel: Error deleting key from database.
    -- Executing [s@macro-hangupcall:7] GotoIf("Local/346@from-internal-e9ef,2", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,9)
    -- Executing [s@macro-hangupcall:9] Hangup("Local/346@from-internal-e9ef,2", "") in new stack
  == Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'Local/346@from-internal-e9ef,2' in macro 'hangupcall'
  == Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'Local/346@from-internal-e9ef,2'
  == Spawn extension (queuemetrics, 11, 6) exited non-zero on 'Local/346@from-internal-e9ef,1'


Here's the ExtenSpy
    -- Executing [11@queuemetrics:1] Answer("Local/346@from-internal-7ede,1", "") in new stack
    -- Executing [11@queuemetrics:2] NoOp("Local/346@from-internal-7ede,1", " "QM_AGENT_CODE: agent/329" ") in new stack
    -- Executing [11@queuemetrics:3] NoOp("Local/346@from-internal-7ede,1", " "QM_EXT_MONITOR: 346" ") in new stack
    -- Executing [11@queuemetrics:4] NoOp("Local/346@from-internal-7ede,1", " "QM_AGENT_EXT: -" ") in new stack
    -- Executing [11@queuemetrics:5] NoOp("Local/346@from-internal-7ede,1", " "QM_LOGIN: proverbal" ") in new stack
    -- Executing [11@queuemetrics:6] ExtenSpy("Local/346@from-internal-7ede,1", "Local/329@from-internal") in new stack
    -- <Local/346@from-internal-7ede,1> Playing 'beep' (language 'en')
  == Manager 'admin' logged off from 127.0.0.1
  == Spawn extension (macro-dial, s, 7) exited non-zero on 'Local/346@from-internal-7ede,2' in macro 'dial'
  == Spawn extension (macro-dial, s, 7) exited non-zero on 'Local/346@from-internal-7ede,2'
    -- Executing [h@macro-dial:1] Macro("Local/346@from-internal-7ede,2", "hangupcall") in new stack
    -- Executing [s@macro-hangupcall:1] GotoIf("Local/346@from-internal-7ede,2", "1?skiprg") in new stack
    -- Goto (macro-hangupcall,s,4)
    -- Executing [s@macro-hangupcall:4] GotoIf("Local/346@from-internal-7ede,2", "0?skipblkvm") in new stack
    -- Executing [s@macro-hangupcall:5] NoOp("Local/346@from-internal-7ede,2", "Cleaning Up Block VM Flag: BLKVM/346/Local/346@from-internal-7ede,2") in new stack
    -- Executing [s@macro-hangupcall:6] DBdel("Local/346@from-internal-7ede,2", "BLKVM/346/Local/346@from-internal-7ede,2") in new stack
    -- DBdel: family=BLKVM, key=346/Local/346@from-internal-7ede,2
    -- DBdel: Error deleting key from database.
    -- Executing [s@macro-hangupcall:7] GotoIf("Local/346@from-internal-7ede,2", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,9)
    -- Executing [s@macro-hangupcall:9] Hangup("Local/346@from-internal-7ede,2", "") in new stack
  == Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'Local/346@from-internal-7ede,2' in macro 'hangupcall'
  == Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'Local/346@from-internal-7ede,2'
  == Spawn extension (queuemetrics, 11, 6) exited non-zero on 'Local/346@from-internal-7ede,1'

And the /var/log/asterisk/queue_log
1256655377|1256655377.134|1001|NONE|ENTERQUEUE||344
1256655380|1256655377.134|1001|Local/346@from-internal|CONNECT|3|1256655377.135
1256655383|1256655377.134|1001|Local/346@from-internal|COMPLETEAGENT|3|3|1
1256655390|1256655390.138|1001|NONE|ENTERQUEUE||344
1256655404|1256655390.138|1001|Local/329@from-internal|CONNECT|14|1256655403.139
1256655450|1256655390.138|1001|Local/329@from-internal|COMPLETECALLER|14|46|1

I would appreciate any assistance to investigate and resolve this matter.

Thanks in advance!

QueueMetrics:
In some versions of Asterisk, ChanSpy and recording are mutually exclusive. Try and turn off recording for a test and see if you can hear audio or not.


PS. excellent problem report!  ;D

Navigation

[0] Message Index

Go to full version