Author Topic: Trying to create Oubound demo  (Read 3177 times)

CedricKing

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
    • View Profile
    • Email
Trying to create Oubound demo
« on: April 12, 2013, 04:28:16 »
Hello,

I am trying to create a demo system to review with a client. I have two FreePBX virtual machines. One is a dummy VoIP provider and the other run Queuemetrics. I can put a SIP phone on the Queuemetrics VM and dial seven digit extensions on the VoIP provider that plays recordings. However I cannot seem to get it to dial out from Queuemetrics. I believe that I have followed the instructions from

http://queuemetrics.com/manuals/QM_Trixbox-chunked/ar01s03.html

as best as I could determine, but calls don't go through.

Can someone point me to a different set of instructions?

I have Asterisk output of good calls directly through FreePBX and failed calls though QM. They exceed the character limit when included with this post, so I will add them after.

Any suggestions would be greatly appreciated.

Thanks,

Cedric

CedricKing

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
    • View Profile
    • Email
Re: Trying to create Oubound demo
« Reply #1 on: April 12, 2013, 04:29:52 »
Here is the output from a working call made directly from FreePBX

Code: [Select]
  == Using SIP RTP TOS bits 184
  == Using SIP RTP CoS mark 5
    -- Executing [3210987@from-internal:1] Macro("SIP/315-00000004", "user-callerid,LIMIT,") in new stack
    -- Executing [s@macro-user-callerid:1] Set("SIP/315-00000004", "AMPUSER=315") in new stack
    -- Executing [s@macro-user-callerid:2] GotoIf("SIP/315-00000004", "0?report") in new stack
    -- Executing [s@macro-user-callerid:3] ExecIf("SIP/315-00000004", "1?Set(REALCALLERIDNUM=315)") in new stack
    -- Executing [s@macro-user-callerid:4] Set("SIP/315-00000004", "AMPUSER=315") in new stack
    -- Executing [s@macro-user-callerid:5] Set("SIP/315-00000004", "AMPUSERCIDNAME=Desk 315") in new stack
    -- Executing [s@macro-user-callerid:6] GotoIf("SIP/315-00000004", "0?report") in new stack
    -- Executing [s@macro-user-callerid:7] Set("SIP/315-00000004", "AMPUSERCID=315") in new stack
    -- Executing [s@macro-user-callerid:8] Set("SIP/315-00000004", "CALLERID(all)="Desk 315" <315>") in new stack
    -- Executing [s@macro-user-callerid:9] GotoIf("SIP/315-00000004", "0?limit") in new stack
    -- Executing [s@macro-user-callerid:10] ExecIf("SIP/315-00000004", "1?Set(GROUP(concurrency_limit)=315)") in new stack
    -- Executing [s@macro-user-callerid:11] GosubIf("SIP/315-00000004", "7?sub-ccss,s,1(from-internal,3210987)") in new stack
    -- Executing [s@sub-ccss:1] ExecIf("SIP/315-00000004", "0?Return()") in new stack
    -- Executing [s@sub-ccss:2] Set("SIP/315-00000004", "CCSS_SETUP=TRUE") in new stack
    -- Executing [s@sub-ccss:3] GosubIf("SIP/315-00000004", "0?monitor_config,1(from-internal,3210987):monitor_default,1(from-internal,3210987)") in new stack
    -- Executing [monitor_default@sub-ccss:1] GotoIf("SIP/315-00000004", "0?is_exten") in new stack
    -- Executing [monitor_default@sub-ccss:2] StackPop("SIP/315-00000004", "") in new stack
    -- Executing [monitor_default@sub-ccss:3] Return("SIP/315-00000004", "FALSE") in new stack
    -- Executing [s@macro-user-callerid:12] ExecIf("SIP/315-00000004", "0?Set(CHANNEL(language)=)") in new stack
    -- Executing [s@macro-user-callerid:13] GotoIf("SIP/315-00000004", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,26)
    -- Executing [s@macro-user-callerid:26] Set("SIP/315-00000004", "CALLERID(number)=315") in new stack
    -- Executing [s@macro-user-callerid:27] Set("SIP/315-00000004", "CALLERID(name)=Desk 315") in new stack
    -- Executing [s@macro-user-callerid:28] Set("SIP/315-00000004", "CHANNEL(language)=en") in new stack
    -- Executing [3210987@from-internal:2] Set("SIP/315-00000004", "INTRACOMPANYROUTE=YES") in new stack
    -- Executing [3210987@from-internal:3] Set("SIP/315-00000004", "MOHCLASS=default") in new stack
    -- Executing [3210987@from-internal:4] Set("SIP/315-00000004", "_NODEST=") in new stack
    -- Executing [3210987@from-internal:5] Gosub("SIP/315-00000004", "sub-record-check,s,1(out,3210987,)") in new stack
    -- Executing [s@sub-record-check:1] GotoIf("SIP/315-00000004", "1?check") in new stack
    -- Goto (sub-record-check,s,6)
    -- Executing [s@sub-record-check:6] Set("SIP/315-00000004", "__MON_FMT=wav") in new stack
    -- Executing [s@sub-record-check:7] GotoIf("SIP/315-00000004", "1?next") in new stack
    -- Goto (sub-record-check,s,10)
    -- Executing [s@sub-record-check:10] ExecIf("SIP/315-00000004", "0?Return()") in new stack
    -- Executing [s@sub-record-check:11] GotoIf("SIP/315-00000004", "0?out,1") in new stack
    -- Executing [s@sub-record-check:12] Set("SIP/315-00000004", "__REC_STATUS=INITIALIZED") in new stack
    -- Executing [s@sub-record-check:13] ExecIf("SIP/315-00000004", "0?Set(__REC_POLICY_MODE=)") in new stack
    -- Executing [s@sub-record-check:14] Set("SIP/315-00000004", "NOW=1365735269") in new stack
    -- Executing [s@sub-record-check:15] Set("SIP/315-00000004", "__DAY=11") in new stack
    -- Executing [s@sub-record-check:16] Set("SIP/315-00000004", "__MONTH=04") in new stack
    -- Executing [s@sub-record-check:17] Set("SIP/315-00000004", "__YEAR=2013") in new stack
    -- Executing [s@sub-record-check:18] Set("SIP/315-00000004", "__TIMESTR=20130411-225429") in new stack
    -- Executing [s@sub-record-check:19] Set("SIP/315-00000004", "__FROMEXTEN=315") in new stack
    -- Executing [s@sub-record-check:20] Set("SIP/315-00000004", "__CALLFILENAME=out-3210987-315-20130411-225429-1365735269.16") in new stack
    -- Executing [s@sub-record-check:21] Goto("SIP/315-00000004", "out,1") in new stack
    -- Goto (sub-record-check,out,1)
    -- Executing [out@sub-record-check:1] ExecIf("SIP/315-00000004", "1?Set(__REC_POLICY_MODE=dontcare)") in new stack
    -- Executing [out@sub-record-check:2] GosubIf("SIP/315-00000004", "0?record,1(exten,3210987,315)") in new stack
    -- Executing [out@sub-record-check:3] Return("SIP/315-00000004", "") in new stack
    -- Executing [3210987@from-internal:6] Macro("SIP/315-00000004", "dialout-trunk,3,3210987,") in new stack
    -- Executing [s@macro-dialout-trunk:1] Set("SIP/315-00000004", "DIAL_TRUNK=3") in new stack
    -- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/315-00000004", "0?sub-pincheck,s,1()") in new stack
    -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/315-00000004", "0?disabletrunk,1") in new stack
    -- Executing [s@macro-dialout-trunk:4] Set("SIP/315-00000004", "DIAL_NUMBER=3210987") in new stack
    -- Executing [s@macro-dialout-trunk:5] Set("SIP/315-00000004", "DIAL_TRUNK_OPTIONS=tr") in new stack
    -- Executing [s@macro-dialout-trunk:6] Set("SIP/315-00000004", "OUTBOUND_GROUP=OUT_3") in new stack
    -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/315-00000004", "1?nomax") in new stack
    -- Goto (macro-dialout-trunk,s,9)
    -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/315-00000004", "1?skipoutcid") in new stack
    -- Goto (macro-dialout-trunk,s,12)
    -- Executing [s@macro-dialout-trunk:12] GosubIf("SIP/315-00000004", "0?sub-flp-3,s,1()") in new stack
    -- Executing [s@macro-dialout-trunk:13] Set("SIP/315-00000004", "OUTNUM=3210987") in new stack
    -- Executing [s@macro-dialout-trunk:14] Set("SIP/315-00000004", "custom=SIP/SIPprovider") in new stack
    -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/315-00000004", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)tr)") in new stack
    -- Executing [s@macro-dialout-trunk:16] ExecIf("SIP/315-00000004", "0?Set(DIAL_TRUNK_OPTIONS=trM(confirm))") in new stack
    -- Executing [s@macro-dialout-trunk:17] Macro("SIP/315-00000004", "dialout-trunk-predial-hook,") in new stack
    -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/315-00000004", "") in new stack
    -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/315-00000004", "0?bypass,1") in new stack
    -- Executing [s@macro-dialout-trunk:19] ExecIf("SIP/315-00000004", "1?Set(CONNECTEDLINE(num,i)=3210987)") in new stack
    -- Executing [s@macro-dialout-trunk:20] ExecIf("SIP/315-00000004", "1?Set(CONNECTEDLINE(name,i)=CID:315)") in new stack
    -- Executing [s@macro-dialout-trunk:21] GotoIf("SIP/315-00000004", "0?customtrunk") in new stack
    -- Executing [s@macro-dialout-trunk:22] Dial("SIP/315-00000004", "SIP/SIPprovider/3210987,300,tr") in new stack
  == Using SIP RTP TOS bits 184
  == Using SIP RTP CoS mark 5
    -- Called SIP/SIPprovider/3210987
    -- SIP/SIPprovider-00000005 answered SIP/315-00000004
    -- Executing [h@macro-dialout-trunk:1] Macro("SIP/315-00000004", "hangupcall,") in new stack
    -- Executing [s@macro-hangupcall:1] GotoIf("SIP/315-00000004", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,3)
    -- Executing [s@macro-hangupcall:3] ExecIf("SIP/315-00000004", "0?Set(CDR(recordingfile)=)") in new stack
    -- Executing [s@macro-hangupcall:4] Hangup("SIP/315-00000004", "") in new stack
  == Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'SIP/315-00000004' in macro 'hangupcall'
  == Spawn extension (macro-dialout-trunk, h, 1) exited non-zero on 'SIP/315-00000004'
  == Spawn extension (macro-dialout-trunk, s, 22) exited non-zero on 'SIP/315-00000004' in macro 'dialout-trunk'
  == Spawn extension (from-internal, 3210987, 6) exited non-zero on 'SIP/315-00000004'
callcenter*CLI>

CedricKing

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
    • View Profile
    • Email
Re: Trying to create Oubound demo
« Reply #2 on: April 12, 2013, 04:33:05 »
Here is the output from the failed QM call.

Code: [Select]
[2013-04-11 23:00:20] NOTICE[4918]: manager.c:2479 authenticate: Seems to have passed...
    -- Executing [35@queuemetrics:1] Answer("Local/35@queuemetrics-0000000a;2", "") in new stack
       > Channel Local/35@queuemetrics-0000000a;1 was answered.
    -- Executing [10@queuemetrics:1] Answer("Local/35@queuemetrics-0000000a;1", "") in new stack
    -- Executing [10@queuemetrics:2] Wait("Local/35@queuemetrics-0000000a;1", "10") in new stack
    -- Executing [35@queuemetrics:2] NoOp("Local/35@queuemetrics-0000000a;2", " "QM: AddQueueMember (asterisk v1.4+) Agent/200 at extension SIP/315 on queue 350 made by 'Agent/200' with prioritylabel 'M' and prioritynum '0'" ") in new stack
    -- Executing [35@queuemetrics:3] Macro("Local/35@queuemetrics-0000000a;2", "queuelog,1365735620,1365735620.29,NONE,Agent/200,HOTDESK,SIP/315") in new stack
    -- Executing [s@macro-queuelog:1] QueueLog("Local/35@queuemetrics-0000000a;2", "NONE,1365735620.29,Agent/200,HOTDESK,SIP/315||") in new stack
    -- Executing [35@queuemetrics:4] AddQueueMember("Local/35@queuemetrics-0000000a;2", "350,SIP/315") in new stack
[2013-04-11 23:00:20] NOTICE[4919]: app_queue.c:6118 aqm_exec: Added interface 'SIP/315' to queue '350'
    -- Executing [35@queuemetrics:5] Hangup("Local/35@queuemetrics-0000000a;2", "") in new stack
  == Spawn extension (queuemetrics, 35, 5) exited non-zero on 'Local/35@queuemetrics-0000000a;2'
  == Spawn extension (queuemetrics, 10, 2) exited non-zero on 'Local/35@queuemetrics-0000000a;1'
[2013-04-11 23:00:29] NOTICE[4940]: manager.c:2479 authenticate: Seems to have passed...
    -- Executing [315@from-internal:1] Set("Local/315@from-internal-0000000b;2", "__RINGTIMER=15") in new stack
    -- Executing [315@from-internal:2] Macro("Local/315@from-internal-0000000b;2", "exten-vm,novm,315,0,0,0") in new stack
    -- Executing [s@macro-exten-vm:1] Macro("Local/315@from-internal-0000000b;2", "user-callerid,") in new stack
    -- Executing [s@macro-user-callerid:1] Set("Local/315@from-internal-0000000b;2", "AMPUSER=") in new stack
    -- Executing [s@macro-user-callerid:2] GotoIf("Local/315@from-internal-0000000b;2", "0?report") in new stack
    -- Executing [s@macro-user-callerid:3] ExecIf("Local/315@from-internal-0000000b;2", "1?Set(REALCALLERIDNUM=)") in new stack
    -- Executing [s@macro-user-callerid:4] Set("Local/315@from-internal-0000000b;2", "AMPUSER=") in new stack
    -- Executing [s@macro-user-callerid:5] Set("Local/315@from-internal-0000000b;2", "AMPUSERCIDNAME=") in new stack
    -- Executing [s@macro-user-callerid:6] GotoIf("Local/315@from-internal-0000000b;2", "1?report") in new stack
    -- Goto (macro-user-callerid,s,13)
    -- Executing [s@macro-user-callerid:13] GotoIf("Local/315@from-internal-0000000b;2", "0?continue") in new stack
    -- Executing [s@macro-user-callerid:14] Set("Local/315@from-internal-0000000b;2", "__TTL=64") in new stack
    -- Executing [s@macro-user-callerid:15] GotoIf("Local/315@from-internal-0000000b;2", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,26)
    -- Executing [s@macro-user-callerid:26] Set("Local/315@from-internal-0000000b;2", "CALLERID(number)=") in new stack
    -- Executing [s@macro-user-callerid:27] Set("Local/315@from-internal-0000000b;2", "CALLERID(name)=") in new stack
    -- Executing [s@macro-user-callerid:28] Set("Local/315@from-internal-0000000b;2", "CHANNEL(language)=en") in new stack
    -- Executing [s@macro-exten-vm:2] Set("Local/315@from-internal-0000000b;2", "RingGroupMethod=none") in new stack
    -- Executing [s@macro-exten-vm:3] Set("Local/315@from-internal-0000000b;2", "__EXTTOCALL=315") in new stack
    -- Executing [s@macro-exten-vm:4] Set("Local/315@from-internal-0000000b;2", "__PICKUPMARK=315") in new stack
    -- Executing [s@macro-exten-vm:5] Set("Local/315@from-internal-0000000b;2", "RT=") in new stack
    -- Executing [s@macro-exten-vm:6] Gosub("Local/315@from-internal-0000000b;2", "sub-record-check,s,1(exten,315,)") in new stack
    -- Executing [s@sub-record-check:1] GotoIf("Local/315@from-internal-0000000b;2", "1?check") in new stack
    -- Goto (sub-record-check,s,6)
    -- Executing [s@sub-record-check:6] Set("Local/315@from-internal-0000000b;2", "__MON_FMT=wav") in new stack
    -- Executing [s@sub-record-check:7] GotoIf("Local/315@from-internal-0000000b;2", "1?next") in new stack
    -- Goto (sub-record-check,s,10)
    -- Executing [s@sub-record-check:10] ExecIf("Local/315@from-internal-0000000b;2", "0?Return()") in new stack
    -- Executing [s@sub-record-check:11] GotoIf("Local/315@from-internal-0000000b;2", "0?exten,1") in new stack
    -- Executing [s@sub-record-check:12] Set("Local/315@from-internal-0000000b;2", "__REC_STATUS=INITIALIZED") in new stack
    -- Executing [s@sub-record-check:13] ExecIf("Local/315@from-internal-0000000b;2", "0?Set(__REC_POLICY_MODE=)") in new stack
    -- Executing [s@sub-record-check:14] Set("Local/315@from-internal-0000000b;2", "NOW=1365735629") in new stack
    -- Executing [s@sub-record-check:15] Set("Local/315@from-internal-0000000b;2", "__DAY=11") in new stack
    -- Executing [s@sub-record-check:16] Set("Local/315@from-internal-0000000b;2", "__MONTH=04") in new stack
    -- Executing [s@sub-record-check:17] Set("Local/315@from-internal-0000000b;2", "__YEAR=2013") in new stack
    -- Executing [s@sub-record-check:18] Set("Local/315@from-internal-0000000b;2", "__TIMESTR=20130411-230029") in new stack
    -- Executing [s@sub-record-check:19] Set("Local/315@from-internal-0000000b;2", "__FROMEXTEN=unknown") in new stack
    -- Executing [s@sub-record-check:20] Set("Local/315@from-internal-0000000b;2", "__CALLFILENAME=exten-315-unknown-20130411-230029-1365735629.31") in new stack
    -- Executing [s@sub-record-check:21] Goto("Local/315@from-internal-0000000b;2", "exten,1") in new stack
    -- Goto (sub-record-check,exten,1)
    -- Executing [exten@sub-record-check:1] GotoIf("Local/315@from-internal-0000000b;2", "0?callee") in new stack
    -- Executing [exten@sub-record-check:2] Set("Local/315@from-internal-0000000b;2", "__REC_POLICY_MODE=dontcare") in new stack
    -- Executing [exten@sub-record-check:3] GotoIf("Local/315@from-internal-0000000b;2", "1?caller") in new stack
    -- Goto (sub-record-check,exten,10)
    -- Executing [exten@sub-record-check:10] Set("Local/315@from-internal-0000000b;2", "__REC_POLICY_MODE=") in new stack
    -- Executing [exten@sub-record-check:11] GosubIf("Local/315@from-internal-0000000b;2", "0?record,1(exten,315,unknown)") in new stack
    -- Executing [exten@sub-record-check:12] Return("Local/315@from-internal-0000000b;2", "") in new stack
    -- Executing [s@macro-exten-vm:7] GotoIf("Local/315@from-internal-0000000b;2", "1?macrodial") in new stack
    -- Goto (macro-exten-vm,s,13)
    -- Executing [s@macro-exten-vm:13] GosubIf("Local/315@from-internal-0000000b;2", "0?clrheader,1()") in new stack
    -- Executing [s@macro-exten-vm:14] Macro("Local/315@from-internal-0000000b;2", "dial-one,,tr,315") in new stack
    -- Executing [s@macro-dial-one:1] Set("Local/315@from-internal-0000000b;2", "DEXTEN=315") in new stack
    -- Executing [s@macro-dial-one:2] Set("Local/315@from-internal-0000000b;2", "DIALSTATUS_CW=") in new stack
    -- Executing [s@macro-dial-one:3] GosubIf("Local/315@from-internal-0000000b;2", "0?screen,1()") in new stack
    -- Executing [s@macro-dial-one:4] GosubIf("Local/315@from-internal-0000000b;2", "0?cf,1()") in new stack
    -- Executing [s@macro-dial-one:5] GotoIf("Local/315@from-internal-0000000b;2", "1?skip1") in new stack
    -- Goto (macro-dial-one,s,8)
    -- Executing [s@macro-dial-one:8] GotoIf("Local/315@from-internal-0000000b;2", "0?nodial") in new stack
    -- Executing [s@macro-dial-one:9] GotoIf("Local/315@from-internal-0000000b;2", "0?continue") in new stack
    -- Executing [s@macro-dial-one:10] Set("Local/315@from-internal-0000000b;2", "EXTHASCW=ENABLED") in new stack
    -- Executing [s@macro-dial-one:11] GotoIf("Local/315@from-internal-0000000b;2", "0?next1:cwinusebusy") in new stack
    -- Goto (macro-dial-one,s,23)
    -- Executing [s@macro-dial-one:23] GotoIf("Local/315@from-internal-0000000b;2", "1?next3:continue") in new stack
    -- Goto (macro-dial-one,s,24)
    -- Executing [s@macro-dial-one:24] ExecIf("Local/315@from-internal-0000000b;2", "0?Set(DIALSTATUS_CW=BUSY)") in new stack
    -- Executing [s@macro-dial-one:25] GotoIf("Local/315@from-internal-0000000b;2", "0?nodial") in new stack
    -- Executing [s@macro-dial-one:26] GosubIf("Local/315@from-internal-0000000b;2", "1?dstring,1():dlocal,1()") in new stack
    -- Executing [dstring@macro-dial-one:1] Set("Local/315@from-internal-0000000b;2", "DSTRING=") in new stack
    -- Executing [dstring@macro-dial-one:2] Set("Local/315@from-internal-0000000b;2", "DEVICES=315") in new stack
    -- Executing [dstring@macro-dial-one:3] ExecIf("Local/315@from-internal-0000000b;2", "0?Return()") in new stack
    -- Executing [dstring@macro-dial-one:4] ExecIf("Local/315@from-internal-0000000b;2", "0?Set(DEVICES=15)") in new stack
    -- Executing [dstring@macro-dial-one:5] Set("Local/315@from-internal-0000000b;2", "LOOPCNT=1") in new stack
    -- Executing [dstring@macro-dial-one:6] Set("Local/315@from-internal-0000000b;2", "ITER=1") in new stack
    -- Executing [dstring@macro-dial-one:7] Set("Local/315@from-internal-0000000b;2", "THISDIAL=SIP/315") in new stack
    -- Executing [dstring@macro-dial-one:8] GosubIf("Local/315@from-internal-0000000b;2", "1?zap2dahdi,1()") in new stack
    -- Executing [zap2dahdi@macro-dial-one:1] ExecIf("Local/315@from-internal-0000000b;2", "0?Return()") in new stack
    -- Executing [zap2dahdi@macro-dial-one:2] Set("Local/315@from-internal-0000000b;2", "NEWDIAL=") in new stack
    -- Executing [zap2dahdi@macro-dial-one:3] Set("Local/315@from-internal-0000000b;2", "LOOPCNT2=1") in new stack
    -- Executing [zap2dahdi@macro-dial-one:4] Set("Local/315@from-internal-0000000b;2", "ITER2=1") in new stack
    -- Executing [zap2dahdi@macro-dial-one:5] Set("Local/315@from-internal-0000000b;2", "THISPART2=SIP/315") in new stack
    -- Executing [zap2dahdi@macro-dial-one:6] ExecIf("Local/315@from-internal-0000000b;2", "0?Set(THISPART2=DAHDI/315)") in new stack
    -- Executing [zap2dahdi@macro-dial-one:7] Set("Local/315@from-internal-0000000b;2", "NEWDIAL=SIP/315&") in new stack
    -- Executing [zap2dahdi@macro-dial-one:8] Set("Local/315@from-internal-0000000b;2", "ITER2=2") in new stack
    -- Executing [zap2dahdi@macro-dial-one:9] GotoIf("Local/315@from-internal-0000000b;2", "0?begin2") in new stack
    -- Executing [zap2dahdi@macro-dial-one:10] Set("Local/315@from-internal-0000000b;2", "THISDIAL=SIP/315") in new stack
    -- Executing [zap2dahdi@macro-dial-one:11] Return("Local/315@from-internal-0000000b;2", "") in new stack
    -- Executing [dstring@macro-dial-one:9] Set("Local/315@from-internal-0000000b;2", "DSTRING=SIP/315&") in new stack
    -- Executing [dstring@macro-dial-one:10] Set("Local/315@from-internal-0000000b;2", "ITER=2") in new stack
    -- Executing [dstring@macro-dial-one:11] GotoIf("Local/315@from-internal-0000000b;2", "0?begin") in new stack
    -- Executing [dstring@macro-dial-one:12] Set("Local/315@from-internal-0000000b;2", "DSTRING=SIP/315") in new stack
    -- Executing [dstring@macro-dial-one:13] Return("Local/315@from-internal-0000000b;2", "") in new stack
    -- Executing [s@macro-dial-one:27] GotoIf("Local/315@from-internal-0000000b;2", "0?nodial") in new stack
    -- Executing [s@macro-dial-one:28] GotoIf("Local/315@from-internal-0000000b;2", "0?skiptrace") in new stack
    -- Executing [s@macro-dial-one:29] GosubIf("Local/315@from-internal-0000000b;2", "0?ctset,1():ctclear,1()") in new stack
    -- Executing [ctclear@macro-dial-one:1] NoOp("Local/315@from-internal-0000000b;2", "Deleting: CALLTRACE/315 ") in new stack
    -- Executing [ctclear@macro-dial-one:2] Return("Local/315@from-internal-0000000b;2", "") in new stack
    -- Executing [s@macro-dial-one:30] Set("Local/315@from-internal-0000000b;2", "D_OPTIONS=tr") in new stack
    -- Executing [s@macro-dial-one:31] ExecIf("Local/315@from-internal-0000000b;2", "0?SIPAddHeader(Alert-Info: )") in new stack
    -- Executing [s@macro-dial-one:32] ExecIf("Local/315@from-internal-0000000b;2", "0?SIPAddHeader()") in new stack
    -- Executing [s@macro-dial-one:33] ExecIf("Local/315@from-internal-0000000b;2", "0?Set(CHANNEL(musicclass)=)") in new stack
    -- Executing [s@macro-dial-one:34] GosubIf("Local/315@from-internal-0000000b;2", "0?qwait,1()") in new stack
    -- Executing [s@macro-dial-one:35] Set("Local/315@from-internal-0000000b;2", "__CWIGNORE=") in new stack
    -- Executing [s@macro-dial-one:36] Set("Local/315@from-internal-0000000b;2", "__KEEPCID=TRUE") in new stack
    -- Executing [s@macro-dial-one:37] GotoIf("Local/315@from-internal-0000000b;2", "0?usegoto,1") in new stack
    -- Executing [s@macro-dial-one:38] GotoIf("Local/315@from-internal-0000000b;2", "1?godial") in new stack
    -- Goto (macro-dial-one,s,42)
    -- Executing [s@macro-dial-one:42] Dial("Local/315@from-internal-0000000b;2", "SIP/315,,tr") in new stack
  == Using SIP RTP TOS bits 184
  == Using SIP RTP CoS mark 5
    -- Called SIP/315
    -- SIP/315-00000008 is ringing
    -- SIP/315-00000008 answered Local/315@from-internal-0000000b;2
       > Channel Local/315@from-internal-0000000b;1 was answered.
[2013-04-11 23:00:35] ERROR[4940]: utils.c:1222 ast_careful_fwrite: fwrite() returned error: Broken pipe
[2013-04-11 23:00:35] ERROR[4940]: utils.c:1222 ast_careful_fwrite: fwrite() returned error: Broken pipe
    -- Executing [28@queuemetrics:1] Answer("Local/315@from-internal-0000000b;1", "") in new stack
    -- Executing [28@queuemetrics:2] NoOp("Local/315@from-internal-0000000b;1", " "QM: Agent Custom Dial. Dialing 83210987 on queue 350  made by 'Agent/200'" ") in new stack
    -- Executing [28@queuemetrics:3] Set("Local/315@from-internal-0000000b;1", "QDIALER_QUEUE=350") in new stack
    -- Executing [28@queuemetrics:4] Set("Local/315@from-internal-0000000b;1", "QDIALER_NUMBER=83210987") in new stack
    -- Executing [28@queuemetrics:5] Set("Local/315@from-internal-0000000b;1", "QDIALER_AGENT=Agent/200") in new stack
    -- Executing [28@queuemetrics:6] Set("Local/315@from-internal-0000000b;1", "QDIALER_CHANNEL=SIP/83210987") in new stack
    -- Executing [28@queuemetrics:7] Set("Local/315@from-internal-0000000b;1", "QueueName=350") in new stack
    -- Executing [28@queuemetrics:8] MixMonitor("Local/315@from-internal-0000000b;1", "Q-350-1365735629.30.WAV,b,") in new stack
    -- Executing [28@queuemetrics:9] Goto("Local/315@from-internal-0000000b;1", "qm-queuedial,s,1") in new stack
    -- Goto (qm-queuedial,s,1)
    -- Executing [s@qm-queuedial:1] NoOp("Local/315@from-internal-0000000b;1", " "Outbound call - A:Agent/200 N:83210987 Q:350 Ch:SIP/83210987" ") in new stack
    -- Executing [s@qm-queuedial:2] Set("Local/315@from-internal-0000000b;1", "CDR(accountcode)=QDIALAGI") in new stack
    -- Executing [s@qm-queuedial:3] Set("Local/315@from-internal-0000000b;1", "ST=1365735635") in new stack
    -- Executing [s@qm-queuedial:4] Set("Local/315@from-internal-0000000b;1", "GM=QDV-Agent/200") in new stack
    -- Executing [s@qm-queuedial:5] Set("Local/315@from-internal-0000000b;1", "GLOBAL(QDV-Agent/200)=U") in new stack
  == Setting global variable 'QDV-Agent/200' to 'U'
    -- Executing [s@qm-queuedial:6] Set("Local/315@from-internal-0000000b;1", "GLOBAL(QDV-Agent/200ans)=0") in new stack
  == Setting global variable 'QDV-Agent/200ans' to '0'
    -- Executing [s@qm-queuedial:7] Macro("Local/315@from-internal-0000000b;1", "queuelog,1365735635,1365735629.30,350,Agent/200,CALLOUTBOUND,,83210987") in new stack
    -- Executing [s@macro-queuelog:1] QueueLog("Local/315@from-internal-0000000b;1", "350,1365735629.30,Agent/200,CALLOUTBOUND,|83210987|") in new stack
    -- Executing [s@qm-queuedial:8] Dial("Local/315@from-internal-0000000b;1", "SIP/83210987,300,gM(queuedial-answer^1365735629.30^QDV-Agent/200^350^Agent/200^1365735635)") in new stack
  == Begin MixMonitor Recording Local/315@from-internal-0000000b;1

This post exceeded the limit so will be continued on the next reply.

CedricKing

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
    • View Profile
    • Email
Re: Trying to create Oubound demo
« Reply #3 on: April 12, 2013, 04:34:41 »
Continued from failed QM call

Code: [Select]
[2013-04-11 23:00:35] WARNING[4943]: chan_sip.c:5873 create_addr: Purely numeric hostname (83210987), and not a peer--rejecting!
[2013-04-11 23:00:35] WARNING[4943]: app_dial.c:2345 dial_exec_full: Unable to create channel of type 'SIP' (cause 20 - Subscriber absent)
  == Everyone is busy/congested at this time (1:0/0/1)
    -- Executing [s@qm-queuedial:9] Set("Local/315@from-internal-0000000b;1", "CAUSECOMPLETE=") in new stack
    -- Auto fallthrough, channel 'Local/315@from-internal-0000000b;1' status is 'CHANUNAVAIL'
    -- Executing [h@macro-dial-one:1] Macro("Local/315@from-internal-0000000b;2", "hangupcall,") in new stack
    -- Executing [s@macro-hangupcall:1] GotoIf("Local/315@from-internal-0000000b;2", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,3)
    -- Executing [s@macro-hangupcall:3] ExecIf("Local/315@from-internal-0000000b;2", "0?Set(CDR(recordingfile)=)") in new stack
    -- Executing [s@macro-hangupcall:4] Hangup("Local/315@from-internal-0000000b;2", "") in new stack
  == Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'Local/315@from-internal-0000000b;2' in macro 'hangupcall'
  == Spawn extension (macro-dial-one, h, 1) exited non-zero on 'Local/315@from-internal-0000000b;2'
  == Spawn extension (macro-dial-one, s, 42) exited non-zero on 'Local/315@from-internal-0000000b;2' in macro 'dial-one'
  == Spawn extension (macro-exten-vm, s, 14) exited non-zero on 'Local/315@from-internal-0000000b;2' in macro 'exten-vm'
  == Spawn extension (from-internal, 315, 2) exited non-zero on 'Local/315@from-internal-0000000b;2'
    -- Executing [h@qm-queuedial:1] NoOp("Local/315@from-internal-0000000b;1", " "Call exiting: status U answered at: 0 DS: CHANUNAVAIL"  ") in new stack
    -- Executing [h@qm-queuedial:2] Goto("Local/315@from-internal-0000000b;1", "case-U") in new stack
    -- Goto (qm-queuedial,h,4)
    -- Executing [h@qm-queuedial:4] Set("Local/315@from-internal-0000000b;1", "WT=0") in new stack
    -- Executing [h@qm-queuedial:5] Macro("Local/315@from-internal-0000000b;1", "queuelog,1365735635,1365735629.30,350,Agent/200,ABANDON,1,1,0") in new stack
    -- Executing [s@macro-queuelog:1] QueueLog("Local/315@from-internal-0000000b;1", "350,1365735629.30,Agent/200,ABANDON,1|1|0") in new stack
    -- Executing [h@qm-queuedial:6] Hangup("Local/315@from-internal-0000000b;1", "") in new stack
  == Spawn extension (qm-queuedial, h, 6) exited non-zero on 'Local/315@from-internal-0000000b;1'
  == MixMonitor close filestream (mixed)
  == End MixMonitor Recording Local/315@from-internal-0000000b;1
[2013-04-11 23:00:46] NOTICE[4950]: manager.c:2479 authenticate: Seems to have passed...
    -- Executing [37@queuemetrics:1] Answer("Local/37@queuemetrics-0000000c;2", "") in new stack
       > Channel Local/37@queuemetrics-0000000c;1 was answered.
    -- Executing [10@queuemetrics:1] Answer("Local/37@queuemetrics-0000000c;1", "") in new stack
    -- Executing [10@queuemetrics:2] Wait("Local/37@queuemetrics-0000000c;1", "10") in new stack
    -- Executing [37@queuemetrics:2] NoOp("Local/37@queuemetrics-0000000c;2", " "QM: RemoveQueueMember (asterisk v1.4+) Agent/200 at extension SIP/315 on queue 350 made by 'Agent/200'" ") in new stack
    -- Executing [37@queuemetrics:3] RemoveQueueMember("Local/37@queuemetrics-0000000c;2", "350,SIP/315") in new stack
[2013-04-11 23:00:46] NOTICE[4951]: app_queue.c:6053 rqm_exec: Removed interface 'SIP/315' from queue '350'
    -- Executing [37@queuemetrics:4] Hangup("Local/37@queuemetrics-0000000c;2", "") in new stack
  == Spawn extension (queuemetrics, 37, 4) exited non-zero on 'Local/37@queuemetrics-0000000c;2'
  == Spawn extension (queuemetrics, 10, 2) exited non-zero on 'Local/37@queuemetrics-0000000c;1'
callcenter*CLI>

CedricKing

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
    • View Profile
    • Email
Re: Trying to create Oubound demo
« Reply #4 on: April 13, 2013, 06:01:19 »
I have been able to get my demo working. My problem was I had to edit /etc/asterisk/extension_queuemetrics.conf to properly identify the SIP trunk.

So I'm a little closer to being able to demo Wombat/QueueMetrics/FreePBX from my laptop at a moment's notice with a little PoE switch and a box full of phones.

If anyone is interested in the setup, reply and I'll make a point of describing it in detail in this post.

Cedric

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2993
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: Trying to create Oubound demo
« Reply #5 on: April 15, 2013, 07:45:56 »
So it's fixed now?