Author Topic: Live Call Monitor Problem.  (Read 4847 times)

ledainam

  • Newbie
  • *
  • Posts: 9
  • Karma: 0
    • View Profile
    • Email
Live Call Monitor Problem.
« on: April 16, 2010, 10:06:07 »
Hi support team.
We use live call monitor feature but have problem. We can't listen anything when we press "monitor now".
We capture some log to you :
-- Executing [1001@from-internal:1]
Macro("Local/1001@from-internal-f702,2", "exten-vm|novm|1001") in new stack
    -- Executing [s@macro-exten-vm:1]
Macro("Local/1001@from-internal-f702,2", "user-callerid") in new stack
    -- Executing [s@macro-user-callerid:1] NoOp("Local/1001@from-internal-f702,2", "user-callerid:  ") in new stack
    -- Executing [s@macro-user-callerid:2] Set("Local/1001@from-internal-f702,2", "AMPUSER=") in new stack
    -- Executing [s@macro-user-callerid:3] GotoIf("Local/1001@from-internal-f702,2", "1?report") in new stack
    -- Goto (macro-user-callerid,s,13)
    -- Executing [s@macro-user-callerid:13] NoOp("Local/1001@from-internal-f702,2", "TTL:  ARG1: novm") in new stack
    -- Executing [s@macro-user-callerid:14] GotoIf("Local/1001@from-internal-f702,2", "0?continue") in new stack
    -- Executing [s@macro-user-callerid:15] Set("Local/1001@from-internal-f702,2", "__TTL=64") in new stack
    -- Executing [s@macro-user-callerid:16] GotoIf("Local/1001@from-internal-f702,2", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,23)
    -- Executing [s@macro-user-callerid:23] NoOp("Local/1001@from-internal-f702,2", "Using CallerID "" <>") in new stack
    -- Executing [s@macro-exten-vm:2] Set("Local/1001@from-internal-f702,2",
"FROMCONTEXT=exten-vm") in new stack
    -- Executing [s@macro-exten-vm:3] Set("Local/1001@from-internal-f702,2",
"VMBOX=novm") in new stack
    -- Executing [s@macro-exten-vm:4] Set("Local/1001@from-internal-f702,2",
"EXTTOCALL=1001") in new stack
    -- Executing [s@macro-exten-vm:5] Set("Local/1001@from-internal-f702,2",
"CFUEXT=") in new stack
    -- Executing [s@macro-exten-vm:6] Set("Local/1001@from-internal-f702,2",
"CFBEXT=") in new stack
    -- Executing [s@macro-exten-vm:7] Set("Local/1001@from-internal-f702,2",
"RT=""") in new stack
    -- Executing [s@macro-exten-vm:8]
Macro("Local/1001@from-internal-f702,2", "record-enable|1001|IN") in new stack
    -- Executing [s@macro-record-enable:1] GotoIf("Local/1001@from-internal-f702,2", "0?2:4") in new stack
    -- Goto (macro-record-enable,s,4)
    -- Executing [s@macro-record-enable:4] AGI("Local/1001@from-internal-f702,2",
"recordingcheck|20100416-145220|1271404340.151") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
  recordingcheck|20100416-145220|1271404340.151: Inbound recording enabled.
  recordingcheck|20100416-145220|1271404340.151:
CALLFILENAME=IN-1001-1271404340.151
    -- AGI Script recordingcheck completed, returning 0
    -- Executing [s@macro-record-enable:999] MixMonitor("Local/1001@from-internal-f702,2", "IN-1001-1271404340.151.wav") in new stack
    -- Executing [s@macro-exten-vm:9]
Macro("Local/1001@from-internal-f702,2", "dial||tr|1001") in new stack
  == Begin MixMonitor Recording Local/1001@from-internal-f702,2
    -- Executing [s@macro-dial:1] GotoIf("Local/1001@from-internal-f702,2",
"1?dial") in new stack
    -- Goto (macro-dial,s,3)
    -- Executing [s@macro-dial:3] AGI("Local/1001@from-internal-f702,2",
"dialparties.agi") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
  dialparties.agi: Starting New Dialparties.agi
  == Parsing '/etc/asterisk/manager.conf': Found
  == Parsing '/etc/asterisk/manager_custom.conf': Found
  == Manager 'admin' logged on from 127.0.0.1
  dialparties.agi: Caller ID name is 'unknown' number is 'unknown'
  dialparties.agi: USE_CONFIRMATION:  'FALSE'
  dialparties.agi: RINGGROUP_INDEX:   ''
  dialparties.agi: Methodology of ring is  'none'
    --  dialparties.agi: Added extension 1001 to extension map
    --  dialparties.agi: Extension 1001 cf is disabled
    --  dialparties.agi: Extension 1001 do not disturb is disabled
       >  dialparties.agi: extnum 1001 has:  cw: 0; hascfb: 0 [] hascfu: 0 []
       >  dialparties.agi: ExtensionState: 4
  dialparties.agi: Extension 1001 has ExtensionState: 4
    --  dialparties.agi: Checking CW and CFB status for extension 1001
    --  dialparties.agi: DbDel CALLTRACE/1001 - Caller ID is not defined
  == Manager 'admin' logged off from 127.0.0.1
    -- AGI Script dialparties.agi completed, returning 0
    -- Executing [s@macro-dial:10] Dial("Local/1001@from-internal-f702,2",
"SIP/1001||tr") in new stack
  == Everyone is busy/congested at this time (1:0/0/1)
    -- Executing [s@macro-dial:11] Set("Local/1001@from-internal-f702,2",
"DIALSTATUS=CHANUNAVAIL") in new stack
    -- Executing [s@macro-exten-vm:10]
Set("Local/1001@from-internal-f702,2", "SV_DIALSTATUS=CHANUNAVAIL") in new stack
    -- Executing [s@macro-exten-vm:11]
GosubIf("Local/1001@from-internal-f702,2", "0?docfu|1") in new stack
    -- Executing [s@macro-exten-vm:12]
GosubIf("Local/1001@from-internal-f702,2", "0?docfb|1") in new stack
    -- Executing [s@macro-exten-vm:13]
Set("Local/1001@from-internal-f702,2", "DIALSTATUS=CHANUNAVAIL") in new stack
    -- Executing [s@macro-exten-vm:14]
NoOp("Local/1001@from-internal-f702,2", "Voicemail is novm") in new stack
    -- Executing [s@macro-exten-vm:15]
GotoIf("Local/1001@from-internal-f702,2", "1?s-CHANUNAVAIL|1") in new stack
    -- Goto (macro-exten-vm,s-CHANUNAVAIL,1)
    -- Executing [s-CHANUNAVAIL@macro-exten-vm:1] PlayTones("Local/1001@from-internal-f702,2", "congestion") in new stack
    -- Executing [s-CHANUNAVAIL@macro-exten-vm:2] Congestion("Local/1001@from-internal-f702,2", "10") in new stack
       > Channel Local/1001@from-internal-f702,1 was never answered.
  == Spawn extension (macro-exten-vm, s-CHANUNAVAIL, 2) exited non-zero on 'Local/1001@from-internal-f702,2' in macro 'exten-vm'
  == Spawn extension (macro-exten-vm, s-CHANUNAVAIL, 2) exited non-zero on 'Local/1001@from-internal-f702,2'
  == End MixMonitor Recording Local/1001@from-internal-f702,2
  == Manager 'queuemetrics' logged off from 192.168.2.144

////////////////////////////////////////////////////////
Agent 1003 pickup the call. Admin use live call monitor  to listen this call. Admin use extension 1001.
We use Elastix 1.4 with Queuemetrics 1.6.1
Thanks.

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: Live Call Monitor Problem.
« Reply #1 on: April 16, 2010, 10:40:44 »
Try changing the dialplan so that SIP/1001 is called instead of Local/1001@from-internal

ledainam

  • Newbie
  • *
  • Posts: 9
  • Karma: 0
    • View Profile
    • Email
Re: Live Call Monitor Problem.
« Reply #2 on: April 16, 2010, 12:34:46 »
When we  changed the dialplan , 1001 always show busy when we use live mornitor call.

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: Live Call Monitor Problem.
« Reply #3 on: April 16, 2010, 12:39:25 »
What do you mean?

ledainam

  • Newbie
  • *
  • Posts: 9
  • Karma: 0
    • View Profile
    • Email
Re: Live Call Monitor Problem.
« Reply #4 on: April 16, 2010, 12:46:45 »
After we change SIP/1001 to Local/1001@from-internal in dialplan, when we make a call and 1003 pickup this call. We use extension 1001 to listen live call. But we can't listen anything. Extension 1001 is available to pickup . But in log , we alway see extension 1001 have "busy" status.
Thankss

ledainam

  • Newbie
  • *
  • Posts: 9
  • Karma: 0
    • View Profile
    • Email
Re: Live Call Monitor Problem.
« Reply #5 on: April 19, 2010, 05:41:39 »
Hi QueueMetrics
I update new log when i use live call monitor now

 == Parsing '/etc/asterisk/manager.conf': Found
  == Parsing '/etc/asterisk/manager_custom.conf': Found
  == Manager 'queuemetrics' logged on from 192.168.2.144
    -- Executing [1001@from-internal:1] Macro("Local/1001@from-internal-a5a9,2", "exten-vm|novm|1001") in new stack
    -- Executing [s@macro-exten-vm:1]
Macro("Local/1001@from-internal-a5a9,2", "user-callerid") in new stack
    -- Executing [s@macro-user-callerid:1] NoOp("Local/1001@from-internal-a5a9,2", "user-callerid:  ") in new stack
    -- Executing [s@macro-user-callerid:2] Set("Local/1001@from-internal-a5a9,2", "AMPUSER=") in new stack
    -- Executing [s@macro-user-callerid:3] GotoIf("Local/1001@from-internal-a5a9,2", "1?report") in new stack
    -- Goto (macro-user-callerid,s,13)
    -- Executing [s@macro-user-callerid:13] NoOp("Local/1001@from-internal-a5a9,2", "TTL:  ARG1: novm") in new stack
    -- Executing [s@macro-user-callerid:14] GotoIf("Local/1001@from-internal-a5a9,2", "0?continue") in new stack
    -- Executing [s@macro-user-callerid:15] Set("Local/1001@from-internal-a5a9,2", "__TTL=64") in new stack
    -- Executing [s@macro-user-callerid:16] GotoIf("Local/1001@from-internal-a5a9,2", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,23)
    -- Executing [s@macro-user-callerid:23] NoOp("Local/1001@from-internal-a5a9,2", "Using CallerID "" <>") in new stack
    -- Executing [s@macro-exten-vm:2] Set("Local/1001@from-internal-a5a9,2",
"FROMCONTEXT=exten-vm") in new stack
    -- Executing [s@macro-exten-vm:3] Set("Local/1001@from-internal-a5a9,2",
"VMBOX=novm") in new stack
    -- Executing [s@macro-exten-vm:4] Set("Local/1001@from-internal-a5a9,2",
"EXTTOCALL=1001") in new stack
    -- Executing [s@macro-exten-vm:5] Set("Local/1001@from-internal-a5a9,2",
"CFUEXT=") in new stack
    -- Executing [s@macro-exten-vm:6] Set("Local/1001@from-internal-a5a9,2",
"CFBEXT=") in new stack
    -- Executing [s@macro-exten-vm:7] Set("Local/1001@from-internal-a5a9,2",
"RT=""") in new stack
    -- Executing [s@macro-exten-vm:8]
Macro("Local/1001@from-internal-a5a9,2", "record-enable|1001|IN") in new stack
    -- Executing [s@macro-record-enable:1] GotoIf("Local/1001@from-internal-a5a9,2", "0?2:4") in new stack
    -- Goto (macro-record-enable,s,4)
    -- Executing [s@macro-record-enable:4] AGI("Local/1001@from-internal-a5a9,2",
"recordingcheck|20100419-103351|1271648031.1187") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
  recordingcheck|20100419-103351|1271648031.1187: Inbound recording enabled.
  recordingcheck|20100419-103351|1271648031.1187:
CALLFILENAME=IN-1001-1271648031.1187
    -- AGI Script recordingcheck completed, returning 0
    -- Executing [s@macro-record-enable:999] MixMonitor("Local/1001@from-internal-a5a9,2", "IN-1001-1271648031.1187.wav") in new stack
    -- Executing [s@macro-exten-vm:9]
Macro("Local/1001@from-internal-a5a9,2", "dial||tr|1001") in new stack
  == Begin MixMonitor Recording Local/1001@from-internal-a5a9,2
    -- Executing [s@macro-dial:1] GotoIf("Local/1001@from-internal-a5a9,2",
"1?dial") in new stack
    -- Goto (macro-dial,s,3)
    -- Executing [s@macro-dial:3] AGI("Local/1001@from-internal-a5a9,2",
"dialparties.agi") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
  dialparties.agi: Starting New Dialparties.agi
  == Parsing '/etc/asterisk/manager.conf': Found
  == Parsing '/etc/asterisk/manager_custom.conf': Found
  == Manager 'admin' logged on from 127.0.0.1
  dialparties.agi: Caller ID name is 'unknown' number is 'unknown'
  dialparties.agi: USE_CONFIRMATION:  'FALSE'
  dialparties.agi: RINGGROUP_INDEX:   ''
  dialparties.agi: Methodology of ring is  'none'
    --  dialparties.agi: Added extension 1001 to extension map
    --  dialparties.agi: Extension 1001 cf is disabled
    --  dialparties.agi: Extension 1001 do not disturb is disabled
       >  dialparties.agi: extnum 1001 has:  cw: 0; hascfb: 0 [] hascfu: 0 []
       >  dialparties.agi: ExtensionState: 1
  dialparties.agi: Extension 1001 has ExtensionState: 1
    --  dialparties.agi: Checking CW and CFB status for extension 1001
  dialparties.agi: Extension 1001 is not available to be called
  dialparties.agi: Extension 1001 has call waiting disabled
  == Manager 'admin' logged off from 127.0.0.1
    -- AGI Script dialparties.agi completed, returning 0
    -- Executing [s@macro-dial:4] NoOp("Local/1001@from-internal-a5a9,2",
"Returned from dialparties with no extensions to call and DIALSTATUS: BUSY") in new stack
    -- Executing [s@macro-exten-vm:10]
Set("Local/1001@from-internal-a5a9,2", "SV_DIALSTATUS=BUSY") in new stack
    -- Executing [s@macro-exten-vm:11]
GosubIf("Local/1001@from-internal-a5a9,2", "0?docfu|1") in new stack
    -- Executing [s@macro-exten-vm:12]
GosubIf("Local/1001@from-internal-a5a9,2", "0?docfb|1") in new stack
    -- Executing [s@macro-exten-vm:13]
Set("Local/1001@from-internal-a5a9,2", "DIALSTATUS=BUSY") in new stack
    -- Executing [s@macro-exten-vm:14]
NoOp("Local/1001@from-internal-a5a9,2", "Voicemail is novm") in new stack
    -- Executing [s@macro-exten-vm:15]
GotoIf("Local/1001@from-internal-a5a9,2", "1?s-BUSY|1") in new stack
    -- Goto (macro-exten-vm,s-BUSY,1)
    -- Executing [s-BUSY@macro-exten-vm:1] NoOp("Local/1001@from-internal-a5a9,2", "Extension is reporting BUSY and not passing to Voicemail") in new stack
    -- Executing [s-BUSY@macro-exten-vm:2] PlayTones("Local/1001@from-internal-a5a9,2", "busy") in new stack
    -- Executing [s-BUSY@macro-exten-vm:3] Busy("Local/1001@from-internal-a5a9,2", "20") in new stack
       > Channel Local/1001@from-internal-a5a9,1 was never answered.
  == Spawn extension (macro-exten-vm, s-BUSY, 3) exited non-zero on 'Local/1001@from-internal-a5a9,2' in macro 'exten-vm'
  == Spawn extension (macro-exten-vm, s-BUSY, 3) exited non-zero on 'Local/1001@from-internal-a5a9,2'
  == End MixMonitor Recording Local/1001@from-internal-a5a9,2
  == Manager 'queuemetrics' logged off from 192.168.2.144 elastix*CLI>

------------------------------------------------------------------------------------------
I use extension 1001 for live call monitor feature.
Thanks.

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: Live Call Monitor Problem.
« Reply #6 on: April 19, 2010, 09:49:03 »
After we change SIP/1001 to Local/1001@from-internal in dialplan, when we make a call and 1003 pickup this call. We use extension 1001 to listen live call. But we can't listen anything. Extension 1001 is available to pickup . But in log , we alway see extension 1001 have "busy" status.
Thankss


I would have done the opposite - from Local/10001 to SIP/1001, just to avoid the dialplan.

ledainam

  • Newbie
  • *
  • Posts: 9
  • Karma: 0
    • View Profile
    • Email
Re: Live Call Monitor Problem.
« Reply #7 on: April 20, 2010, 16:12:47 »
Thanks. When i change back to Sip/1001 , i can listen live call :D
Can i join the conversation ? For example , when customer call the agent , can supervisor join or coach it?
Thanks u very much. 

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: Live Call Monitor Problem.
« Reply #8 on: April 21, 2010, 12:15:33 »
I am not sure Asterisk supports this. Recent versions should support "whispers".