QueueMetrics > Outbound and QueueMetrics

Queuemetrics not recognising Caller (A Party) hangup on outbound call.

<< < (2/3) > >>

QueueMetrics:
I mean, the h extension in the dialplan.

msharpe:
Hi thanks for your help. I am really sorry as I am not a expert on this, but I must say I have no idea what you mean. Could you be kind enough to give me an example.  We are a company and have paid for licences so would really like to fix this. I have tried re-install on 3 test machines and still same issue. Regards

QueueMetrics:
Try doing this:
* add the following lines to context [queuedial], after the rest


--- Code: ---exten => h,1,NoOp( "Trapped -> lowercase h" )
exten => H,1,NoOp( "Trapped -> uppercase H" )

--- End code ---

reload Asterisk and run a trace again lik ethe other one you posted. I want to see if the event of the call closure gets traced or not.


msharpe:
Hi Many thanks for code. Please find trace.
Regards
Mal

A party Hangs up first

voip1*CLI>
  == Spawn extension (macro-dialout-trunk, s, 27) exited non-zero on 'SIP/6811-08da0f38' in

macro 'dialout-trunk'
  == Spawn extension (macro-dialout-trunk, s, 27) exited non-zero on 'SIP/6811-08da0f38'
    -- Executing Macro("SIP/6811-08da0f38", "hangupcall|") in new stack
    -- Executing ResetCDR("SIP/6811-08da0f38", "w") in new stack
    -- Hungup 'Zap/1-1'
    -- Executing NoCDR("SIP/6811-08da0f38", "") in new stack
    -- Executing GotoIf("SIP/6811-08da0f38", "1?skiprg") in new stack
    -- Goto (macro-hangupcall,s,6)
    -- Executing GotoIf("SIP/6811-08da0f38", "1?skipblkvm") in new stack
    -- Goto (macro-hangupcall,s,9)
    -- Executing GotoIf("SIP/6811-08da0f38", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,11)
    -- Executing Hangup("SIP/6811-08da0f38", "") in new stack
  == Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/6811-08da0f38' in

macro 'hangupcall'
  == Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/6811-08da0f38'
  == End MixMonitor Recording SIP/6811-08da0f38
    -- AGI Script queueDial.agi completed, returning 0
    -- Executing NoOp("Local/7770405001763@isdndial-c1c8,2", " "Trapped -> lowercase h" ")

in new stack
  == End MixMonitor Recording Local/7770405001763@isdndial-c1c8,2
  == Spawn extension (macro-dialout-trunk, s, 27) exited non-zero on 'SIP/6811-08da0f38' in

macro 'dialout-trunk'
  == Spawn extension (macro-dialout-trunk, s, 27) exited non-zero on 'SIP/6811-08da0f38'
    -- Executing Macro("SIP/6811-08da0f38", "hangupcall|") in new stack
    -- Executing ResetCDR("SIP/6811-08da0f38", "w") in new stack
    -- Hungup 'Zap/1-1'
    -- Executing NoCDR("SIP/6811-08da0f38", "") in new stack
    -- Executing GotoIf("SIP/6811-08da0f38", "1?skiprg") in new stack
    -- Goto (macro-hangupcall,s,6)
    -- Executing GotoIf("SIP/6811-08da0f38", "1?skipblkvm") in new stack
    -- Goto (macro-hangupcall,s,9)
    -- Executing GotoIf("SIP/6811-08da0f38", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,11)
    -- Executing Hangup("SIP/6811-08da0f38", "") in new stack
  == Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/6811-08da0f38' in

macro 'hangupcall'
  == Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/6811-08da0f38'
  == End MixMonitor Recording SIP/6811-08da0f38
    -- AGI Script queueDial.agi completed, returning 0
    -- Executing NoOp("Local/7770405001763@isdndial-c1c8,2", " "Trapped -> lowercase h" ")

in new stack
  == End MixMonitor Recording Local/7770405001763@isdndial-c1c8,2
    -- Channel 0/1, span 1 received AOC-E charging 0 units
    -- Channel 0/1, span 1 received AOC-E charging 0 units
voip1*CLI>



***************************************************************************

B Party Hangs up first

voip1*CLI>
    -- Saved useragent "IP SIP Phone/2.2.22" for peer 6805
    -- Saved useragent "IP SIP Phone/2.2.22" for peer 6805
    -- Channel 0/1, span 1 got hangup request, cause 16
    -- Channel 0/1, span 1 received AOC-E charging 0 units
    -- Channel 0/1, span 1 got hangup request, cause 16
    -- Channel 0/1, span 1 received AOC-E charging 0 units
    -- Hungup 'Zap/1-1'
    -- Hungup 'Zap/1-1'
    -- AGI Script queueDial.agi completed, returning 0
    -- Executing Congestion("Local/7770405001763@isdndial-7dc5,2", "") in new stack
  == Spawn extension (macro-dialout-trunk, s, 27) exited non-zero on 'SIP/6811-08da0f38' in

macro 'dialout-trunk'
  == Spawn extension (macro-dialout-trunk, s, 27) exited non-zero on 'SIP/6811-08da0f38'
    -- Executing Macro("SIP/6811-08da0f38", "hangupcall|") in new stack
    -- Executing ResetCDR("SIP/6811-08da0f38", "w") in new stack
  == Spawn extension (isdndial, 7770405001763, 7) exited non-zero on

'Local/7770405001763@isdndial-7dc5,2'
    -- Executing NoOp("Local/7770405001763@isdndial-7dc5,2", " "Trapped -> lowercase h" ")

in new stack
  == End MixMonitor Recording Local/7770405001763@isdndial-7dc5,2
    -- AGI Script queueDial.agi completed, returning 0
    -- Executing Congestion("Local/7770405001763@isdndial-7dc5,2", "") in new stack
  == Spawn extension (macro-dialout-trunk, s, 27) exited non-zero on 'SIP/6811-08da0f38' in

macro 'dialout-trunk'
  == Spawn extension (macro-dialout-trunk, s, 27) exited non-zero on 'SIP/6811-08da0f38'
    -- Executing Macro("SIP/6811-08da0f38", "hangupcall|") in new stack
    -- Executing ResetCDR("SIP/6811-08da0f38", "w") in new stack
  == Spawn extension (isdndial, 7770405001763, 7) exited non-zero on

'Local/7770405001763@isdndial-7dc5,2'
    -- Executing NoOp("Local/7770405001763@isdndial-7dc5,2", " "Trapped -> lowercase h" ")

in new stack
  == End MixMonitor Recording Local/7770405001763@isdndial-7dc5,2
    -- Executing NoCDR("SIP/6811-08da0f38", "") in new stack
    -- Executing GotoIf("SIP/6811-08da0f38", "1?skiprg") in new stack
    -- Goto (macro-hangupcall,s,6)
    -- Executing GotoIf("SIP/6811-08da0f38", "1?skipblkvm") in new stack
    -- Goto (macro-hangupcall,s,9)
    -- Executing GotoIf("SIP/6811-08da0f38", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,11)
    -- Executing Hangup("SIP/6811-08da0f38", "") in new stack
  == Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/6811-08da0f38' in

macro 'hangupcall'
  == Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/6811-08da0f38'
  == End MixMonitor Recording SIP/6811-08da0f38
    -- Executing NoCDR("SIP/6811-08da0f38", "") in new stack
    -- Executing GotoIf("SIP/6811-08da0f38", "1?skiprg") in new stack
    -- Goto (macro-hangupcall,s,6)
    -- Executing GotoIf("SIP/6811-08da0f38", "1?skipblkvm") in new stack
    -- Goto (macro-hangupcall,s,9)
    -- Executing GotoIf("SIP/6811-08da0f38", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,11)
    -- Executing Hangup("SIP/6811-08da0f38", "") in new stack
  == Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/6811-08da0f38' in

macro 'hangupcall'
  == Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/6811-08da0f38'
  == End MixMonitor Recording SIP/6811-08da0f38
voip1*CLI>

*****************************************

QueueMetrics:
OK now change the lowercase h line to:


--- Code: ---exten => h,1,System( echo "${EPOCH}|${UNIQUEID}|${QUEUENAME}|${AGENT}|COMPLETECALLER|0|${ANSWEREDTIME}" >> /var/log/asterisk/queue_log )
--- End code ---

This should hang up the call :)


Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version