Author Topic: Unable to get outbound calling work for Asterisk 1.4.28 and Queuemetric 1.5.5  (Read 4887 times)

bigear

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile
Hi Everyone,

I am pretty new to Queuemetric, I am having problem configuring outbound dialing for Queuemetric.  I am able to dial out from Dial Button.  Call will reach its destination, but call will only last for 10 secs and hangs up.  Another problem is it will not ring at my extension.  I don't know where did the call went.

Below is my call log, any suggestion is welcome.   

Thank you.

    -- Executing [28@queuemetrics:1] Answer("Local/28@queuemetrics-04dd,2", "") in new stack
    -- Executing [28@queuemetrics:2] NoOp("Local/28@queuemetrics-04dd,2", " "QM: Agent Custom Dial. Dialing 888089144281 on queue 888 to extension @office made by agent/3010" ") in new stack
    -- Executing [28@queuemetrics:3] Set("Local/28@queuemetrics-04dd,2", "QDIALER_QUEUE=outboundcalling-888") in new stack
    -- Executing [28@queuemetrics:4] Set("Local/28@queuemetrics-04dd,2", "QDIALER_NUMBER=089144281") in new stack
    -- Executing [28@queuemetrics:5] Set("Local/28@queuemetrics-04dd,2", "QDIALER_AGENT=Agent/3010") in new stack
    -- Executing [28@queuemetrics:6] Set("Local/28@queuemetrics-04dd,2", "QDIALER_CHANNEL=DAHDI/g0/089144281") in new stack
    -- Executing [28@queuemetrics:7] Set("Local/28@queuemetrics-04dd,2", "QueueName=outboundcalling-888") in new stack
    -- Executing [28@queuemetrics:8] Set("Local/28@queuemetrics-04dd,2", "MONITOR_FILENAME=/var/spool/asterisk/monitor/callcenter/outboundcalling/OUTBOUND/1402008915.6805") in new stack
    -- Executing [28@queuemetrics:9] Goto("Local/28@queuemetrics-04dd,2", "qm-queuedial|s|1") in new stack
    -- Goto (qm-queuedial,s,1)
    -- Executing [s@qm-queuedial:1] NoOp("Local/28@queuemetrics-04dd,2", "Outbound call -> A:Agent/3010 N:089144281 Q:outboundcalling-888 Ch:DAHDI/g0/089144281") in new stack
    -- Executing [s@qm-queuedial:2] Set("Local/28@queuemetrics-04dd,2", "CDR(accountcode)=OUTGOING-LOCAL") in new stack
    -- Executing [10@queuemetrics:1] Answer("Local/28@queuemetrics-04dd,1", "") in new stack
    -- Executing [10@queuemetrics:2] Wait("Local/28@queuemetrics-04dd,1", "10") in new stack
    -- Executing [s@qm-queuedial:3] Set("Local/28@queuemetrics-04dd,2", "ST=1402008915") in new stack
    -- Executing [s@qm-queuedial:4] Set("Local/28@queuemetrics-04dd,2", "GM=QDV-Agent/3010") in new stack
    -- Executing [s@qm-queuedial:5] Set("Local/28@queuemetrics-04dd,2", "GLOBAL(QDV-Agent/3010)=U") in new stack
  == Setting global variable 'QDV-Agent/3010' to 'U'
    -- Executing [s@qm-queuedial:6] Set("Local/28@queuemetrics-04dd,2", "GLOBAL(QDV-Agent/3010ans)=0") in new stack
  == Setting global variable 'QDV-Agent/3010ans' to '0'
    -- Executing [s@qm-queuedial:7] Macro("Local/28@queuemetrics-04dd,2", "queuelog|1402008915|1402008915.6805|outboundcalling-888|Agent/3010|CALLOUTBOUND|-|089144281") in new stack
    -- Executing [s@macro-queuelog:1] QueueLog("Local/28@queuemetrics-04dd,2", "outboundcalling-888|1402008915.6805|Agent/3010|CALLOUTBOUND|-|089144281|") in new stack
    -- Executing [s@qm-queuedial:8] Dial("Local/28@queuemetrics-04dd,2", "DAHDI/g0/089144281|300|gM(queuedial-answer^1402008915.6805^QDV-Agent/3010^outboundcalling-888^Agent/3010^1402008915)") in new stack
    -- Requested transfer capability: 0x00 - SPEECH
    -- Called g0/089144281
    -- DAHDI/1-1 is proceeding passing it to Local/28@queuemetrics-04dd,2
    -- DAHDI/1-1 is ringing
  == Manager 'queuemaster' logged off from 127.0.0.1
    -- DAHDI/1-1 answered Local/28@queuemetrics-04dd,2
    -- Executing [s@macro-queuedial-answer:1] NoOp("DAHDI/1-1", ""Macro: queuedial-answer UID:1402008915.6805 GR:QDV-Agent/3010 Q:outboundcalling-888 A:Agent/3010 E:1402008915"") in new stack
    -- Executing [s@macro-queuedial-answer:2] Set("DAHDI/1-1", "NOW=1402008918") in new stack
    -- Executing [s@macro-queuedial-answer:3] Set("DAHDI/1-1", "WD=3") in new stack
    -- Executing [s@macro-queuedial-answer:4] Macro("DAHDI/1-1", "queuelog|1402008918|1402008915.6805|outboundcalling-888|Agent/3010|CONNECT|3") in new stack
    -- Executing [s@macro-queuelog:1] QueueLog("DAHDI/1-1", "outboundcalling-888|1402008915.6805|Agent/3010|CONNECT|3||") in new stack
    -- Executing [s@macro-queuedial-answer:5] Set("DAHDI/1-1", "GLOBAL(QDV-Agent/3010)=A") in new stack
  == Setting global variable 'QDV-Agent/3010' to 'A'
    -- Executing [s@macro-queuedial-answer:6] Set("DAHDI/1-1", "GLOBAL(QDV-Agent/3010ans)=1402008918") in new stack
  == Setting global variable 'QDV-Agent/3010ans' to '1402008918'
    -- Executing [s@macro-queuedial-answer:7] NoOp("DAHDI/1-1", ""Macro queuedial-answer terminating" ") in new stack
    -- Executing [10@queuemetrics:3] Hangup("Local/28@queuemetrics-04dd,1", "") in new stack
  == Spawn extension (queuemetrics, 10, 3) exited non-zero on 'Local/28@queuemetrics-04dd,1'
    -- Hungup 'DAHDI/1-1'
  == Spawn extension (qm-queuedial, s, 8) exited non-zero on 'Local/28@queuemetrics-04dd,2'
    -- Executing [h@qm-queuedial:1] NoOp("Local/28@queuemetrics-04dd,2", " "Call exiting: status A answered at: 1402008918 DS: ANSWER"  ") in new stack
    -- Executing [h@qm-queuedial:2] Goto("Local/28@queuemetrics-04dd,2", "case-A") in new stack
    -- Goto (qm-queuedial,h,7)
    -- Executing [h@qm-queuedial:7] Set("Local/28@queuemetrics-04dd,2", "COMPLETE=COMPLETEAGENT") in new stack
    -- Executing [h@qm-queuedial:8] Set("Local/28@queuemetrics-04dd,2", "WT=3") in new stack
    -- Executing [h@qm-queuedial:9] Set("Local/28@queuemetrics-04dd,2", "CT=7") in new stack
    -- Executing [h@qm-queuedial:10] Macro("Local/28@queuemetrics-04dd,2", "queuelog|1402008925|1402008915.6805|outboundcalling-888|Agent/3010|COMPLETEAGENT|3|7") in new stack
    -- Executing [s@macro-queuelog:1] QueueLog("Local/28@queuemetrics-04dd,2", "outboundcalling-888|1402008915.6805|Agent/3010|COMPLETEAGENT|3|7|") in new stack
    -- Executing [h@qm-queuedial:11] Hangup("Local/28@queuemetrics-04dd,2", "") in new stack
  == Spawn extension (qm-queuedial, h, 11) exited non-zero on 'Local/28@queuemetrics-04dd,2'

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
It looks like the call is bridged to 10@queuemetrics that is a "fake" channel taha is used to trigger one-event calls. It should be bridged to the caller's extensions.

bigear

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile
Thank you for pointing me to the right direction.  I've modified configuration.properties and it appears to be working now.

callfile.customdial.enabled=true
#callfile.customdial.channel=Local/28@queuemetrics/n
callfile.customdial.channel=Local/$EM@office/n
#callfile.customdial.extension=10
callfile.customdial.extension=28
callfile.customdial.context=queuemetrics

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
 :)

As you run a very old system, why don't you upgrade it? it's got plenty of new features ;)