I set a specific music on hold category for an inbound route. This route goes to a queue. The MOH in the queue is also set to that category.
During the time the caller is waiting on the queue, the correct MOH is played. Once an agent picks up, if he places the call on hold, the caller now gets the “Default” MoH Category.
Am I misunderstanding something?
here is the cli of the call, all the way till he is manually placed on hold by the agent.
Can somebody please confirm if this is my fault or an actual bug, so i can create a bug report?
thanks,
-gk
My system is:
PBX in a Flash Version = 1.7.5.5
FreePBX Version = 2.8.0.4
Running Asterisk Version = Asterisk 1.8.2.1
Asterisk Source Version = 1.8.2.1
Dahdi Source Version = 2.4.0+2.4.0
Libpri Source Version = 1.4.11.5
IP Address = 192.168.3.99 on eth0
Operating System = CentOS release 5.5 (Final)
Kernel Version = 2.6.18-194.32.1.el5 - 32 Bit
pbxCLI>
– Accepting call from ‘6652995712’ to ‘5045’ on channel 0/1, span 2
– Executing [5045@from-pstn:1] Set(“DAHDI/i2/6652995712-13”, “__FROM_DID=5045”) in new stack
– Executing [5045@from-pstn:2] Gosub(“DAHDI/i2/6652995712-13”, “app-blacklist-check,s,1”) in new stack
– Executing [s@app-blacklist-check:1] GotoIf(“DAHDI/i2/6652995712-13”, “0?blacklisted”) in new stack
– Executing [s@app-blacklist-check:2] Set(“DAHDI/i2/6652995712-13”, “CALLED_BLACKLIST=1”) in new stack
– Executing [s@app-blacklist-check:3] Return(“DAHDI/i2/6652995712-13”, “”) in new stack
– Executing [5045@from-pstn:3] ExecIf(“DAHDI/i2/6652995712-13”, “1 ?Set(CALLERID(name)=6652995712)”) in new stack
– Executing [5045@from-pstn:4] SetMusicOnHold(“DAHDI/i2/6652995712-13”, “companiatj-pana-moh”) in new stack
– Executing [5045@from-pstn:5] Set(“DAHDI/i2/6652995712-13”, “__MOHCLASS=companiatj-pana-moh”) in new stack
– Executing [5045@from-pstn:6] Set(“DAHDI/i2/6652995712-13”, “__CALLINGPRES_SV=allowed_not_screened”) in new stack
– Executing [5045@from-pstn:7] Set(“DAHDI/i2/6652995712-13”, “CALLERPRES()=allowed_not_screened”) in new stack
– Executing [5045@from-pstn:8] Goto(“DAHDI/i2/6652995712-13”, “timeconditions,1,1”) in new stack
– Goto (timeconditions,1,1)
– Executing [1@timeconditions:1] GotoIfTime(“DAHDI/i2/6652995712-13”, "06:00-16:00,mon-fri,,*?app-languages,1,1") in new stack
– Goto (app-languages,1,1)
– Executing [1@app-languages:1] NoOp(“DAHDI/i2/6652995712-13”, “Changing Channel to language: es (compania-tj-StandardOptionsIVR-Espanol)”) in new stack
– Executing [1@app-languages:2] Set(“DAHDI/i2/6652995712-13”, “CHANNEL(language)=es”) in new stack
– Executing [1@app-languages:3] Goto(“DAHDI/i2/6652995712-13”, “ivr-4,s,1”) in new stack
– Goto (ivr-4,s,1)
– Executing [s@ivr-4:1] Set(“DAHDI/i2/6652995712-13”, “MSG=custom/compania-pana-BienvenidaProf”) in new stack
– Executing [s@ivr-4:2] Set(“DAHDI/i2/6652995712-13”, “LOOPCOUNT=0”) in new stack
– Executing [s@ivr-4:3] Set(“DAHDI/i2/6652995712-13”, “__DIR-CONTEXT=”) in new stack
– Executing [s@ivr-4:4] Set(“DAHDI/i2/6652995712-13”, “_IVR_CONTEXT_ivr-4=”) in new stack
– Executing [s@ivr-4:5] Set(“DAHDI/i2/6652995712-13”, “_IVR_CONTEXT=ivr-4”) in new stack
– Executing [s@ivr-4:6] GotoIf(“DAHDI/i2/6652995712-13”, “0?begin”) in new stack
– Executing [s@ivr-4:7] Answer(“DAHDI/i2/6652995712-13”, “”) in new stack
– Executing [s@ivr-4:8] Wait(“DAHDI/i2/6652995712-13”, “1”) in new stack
– Executing [s@ivr-4:9] Set(“DAHDI/i2/6652995712-13”, “TIMEOUT(digit)=3”) in new stack
– Digit timeout set to 3.000
– Executing [s@ivr-4:10] Set(“DAHDI/i2/6652995712-13”, “TIMEOUT(response)=2”) in new stack
– Response timeout set to 2.000
– Executing [s@ivr-4:11] Set(“DAHDI/i2/6652995712-13”, “__IVR_RETVM=”) in new stack
– Executing [s@ivr-4:12] ExecIf(“DAHDI/i2/6652995712-13”, “1?Background(custom/compania-pana-BienvenidaProf)”) in new stack
– <DAHDI/i2/6652995712-13> Playing ‘custom/compania-pana-BienvenidaProf.slin’ (language ‘es’)
– Executing [0@ivr-4:1] NoOp(“DAHDI/i2/6652995712-13”, "Deleting: ") in new stack
– Executing [0@ivr-4:2] Set(“DAHDI/i2/6652995712-13”, “__NODEST=”) in new stack
– Executing [0@ivr-4:3] Goto(“DAHDI/i2/6652995712-13”, “ext-queues,650,1”) in new stack
– Goto (ext-queues,650,1)
– Executing [650@ext-queues:1] Macro(“DAHDI/i2/6652995712-13”, “user-callerid,”) in new stack
– Executing [s@macro-user-callerid:1] Set(“DAHDI/i2/6652995712-13”, “AMPUSER=6652995712”) in new stack
– Executing [s@macro-user-callerid:2] GotoIf(“DAHDI/i2/6652995712-13”, “0?report”) in new stack
– Executing [s@macro-user-callerid:3] ExecIf(“DAHDI/i2/6652995712-13”, “1?Set(REALCALLERIDNUM=6652995712)”) in new stack
– Executing [s@macro-user-callerid:4] Set(“DAHDI/i2/6652995712-13”, “AMPUSER=”) in new stack
– Executing [s@macro-user-callerid:5] Set(“DAHDI/i2/6652995712-13”, “AMPUSERCIDNAME=”) in new stack
– Executing [s@macro-user-callerid:6] GotoIf(“DAHDI/i2/6652995712-13”, “1?report”) in new stack
– Goto (macro-user-callerid,s,10)
– Executing [s@macro-user-callerid:10] GotoIf(“DAHDI/i2/6652995712-13”, “0?continue”) in new stack
– Executing [s@macro-user-callerid:11] Set(“DAHDI/i2/6652995712-13”, “__TTL=64”) in new stack
– Executing [s@macro-user-callerid:12] GotoIf(“DAHDI/i2/6652995712-13”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,19)
– Executing [s@macro-user-callerid:19] Set(“DAHDI/i2/6652995712-13”, “CALLERID(number)=6652995712”) in new stack
– Executing [s@macro-user-callerid:20] Set(“DAHDI/i2/6652995712-13”, “CALLERID(name)=6652995712”) in new stack
– Executing [s@macro-user-callerid:21] NoOp(“DAHDI/i2/6652995712-13”, “Using CallerID “6652995712” <6652995712>”) in new stack
– Executing [650@ext-queues:2] Answer(“DAHDI/i2/6652995712-13”, “”) in new stack
– Executing [650@ext-queues:3] ExecIf(“DAHDI/i2/6652995712-13”, “1?Set(__QUEUEWAIT=1296079683)”) in new stack
– Executing [650@ext-queues:4] Set(“DAHDI/i2/6652995712-13”, “__BLKVM_OVERRIDE=BLKVM/650/DAHDI/i2/6652995712-13”) in new stack
– Executing [650@ext-queues:5] Set(“DAHDI/i2/6652995712-13”, “__BLKVM_BASE=650”) in new stack
– Executing [650@ext-queues:6] Set(“DAHDI/i2/6652995712-13”, “DB(BLKVM/650/DAHDI/i2/6652995712-13)=TRUE”) in new stack
– Executing [650@ext-queues:7] ExecIf(“DAHDI/i2/6652995712-13”, “1?Set(_DIAL_OPTIONS=trM(auto-blkvm))”) in new stack
– Executing [650@ext-queues:8] Set(“DAHDI/i2/6652995712-13”, “__NODEST=650”) in new stack
– Executing [650@ext-queues:9] GotoIf(“DAHDI/i2/6652995712-13”, “1?REPCID”) in new stack
– Goto (ext-queues,650,14)
– Executing [650@ext-queues:14] NoOp(“DAHDI/i2/6652995712-13”, “CALLERID(name) is 6652995712”) in new stack
– Executing [650@ext-queues:15] Set(“DAHDI/i2/6652995712-13”, “_RGPREFIX=GenSup”) in new stack
– Executing [650@ext-queues:16] Set(“DAHDI/i2/6652995712-13”, “CALLERID(name)=GenSup6652995712”) in new stack
– Executing [650@ext-queues:17] Set(“DAHDI/i2/6652995712-13”, “__MONITOR_FILENAME=/var/spool/asterisk/monitor/q650-20110126-140803-1296079670.124”) in new stack
– Executing [650@ext-queues:18] Set(“DAHDI/i2/6652995712-13”, “__MONITOR_EXEC=/usr/local/parselog/update_mix_mixmonitor.pl ^{UNIQUEID} q650-20110126-140803-1296079670.124.wav”) in new stack
– Executing [650@ext-queues:19] Playback(“DAHDI/i2/6652995712-13”, “custom/compania-pana-QAMonitorProf”) in new stack
– <DAHDI/i2/6652995712-13> Playing ‘custom/compania-pana-QAMonitorProf.slin’ (language ‘es’)
– Executing [650@ext-queues:20] Set(“DAHDI/i2/6652995712-13”, “__MOHCLASS=companiatj-pana-moh”) in new stack
– Executing [650@ext-queues:21] Set(“DAHDI/i2/6652995712-13”, “__CWIGNORE=TRUE”) in new stack
– Executing [650@ext-queues:22] Set(“DAHDI/i2/6652995712-13”, “__CFIGNORE=TRUE”) in new stack
– Executing [650@ext-queues:23] Set(“DAHDI/i2/6652995712-13”, “__FORWARD_CONTEXT=block-cf”) in new stack
– Executing [650@ext-queues:24] Queue(“DAHDI/i2/6652995712-13”, “650,t,”) in new stack
– Started music on hold, class ‘companiatj-pana-moh’, on DAHDI/i2/6652995712-13
– Called Local/7687@from-queue/n
– Executing [7687@from-queue:1] Set(“Local/7687@from-queue-6485;2”, “QAGENT=7687”) in new stack
– Executing [7687@from-queue:2] Goto(“Local/7687@from-queue-6485;2”, “650,1”) in new stack
– Goto (from-queue,650,1)
– Executing [650@from-queue:1] Goto(“Local/7687@from-queue-6485;2”, “from-queue-exten-internal,7687,1”) in new stack
– Goto (from-queue-exten-internal,7687,1)
– Executing [7687@from-queue-exten-internal:1] Set(“Local/7687@from-queue-6485;2”, “RingGroupMethod=none”) in new stack
– Executing [7687@from-queue-exten-internal:2] Macro(“Local/7687@from-queue-6485;2”, “record-enable,7687,IN”) in new stack
– Executing [s@macro-record-enable:1] GotoIf(“Local/7687@from-queue-6485;2”, “1?check”) in new stack
– Goto (macro-record-enable,s,4)
– Executing [s@macro-record-enable:4] ExecIf(“Local/7687@from-queue-6485;2”, “0?MacroExit()”) in new stack
– Executing [s@macro-record-enable:5] GotoIf(“Local/7687@from-queue-6485;2”, “0?Group:OUT”) in new stack
– Goto (macro-record-enable,s,15)
– Executing [s@macro-record-enable:15] GotoIf(“Local/7687@from-queue-6485;2”, “1?IN”) in new stack
– Goto (macro-record-enable,s,20)
– Executing [s@macro-record-enable:20] ExecIf(“Local/7687@from-queue-6485;2”, “1?MacroExit()”) in new stack
– Executing [7687@from-queue-exten-internal:3] Macro(“Local/7687@from-queue-6485;2”, “dial-one,trM(auto-blkvm),7687”) in new stack
– Executing [s@macro-dial-one:1] Set(“Local/7687@from-queue-6485;2”, “DEXTEN=7687”) in new stack
– Executing [s@macro-dial-one:2] Set(“Local/7687@from-queue-6485;2”, “DIALSTATUS_CW=”) in new stack
– Executing [s@macro-dial-one:3] GosubIf(“Local/7687@from-queue-6485;2”, “0?screen,1”) in new stack
– Executing [s@macro-dial-one:4] GosubIf(“Local/7687@from-queue-6485;2”, “0?cf,1”) in new stack
– Executing [s@macro-dial-one:5] GotoIf(“Local/7687@from-queue-6485;2”, “1?skip1”) in new stack
– Goto (macro-dial-one,s,8)
– Executing [s@macro-dial-one:8] GotoIf(“Local/7687@from-queue-6485;2”, “0?nodial”) in new stack
– Executing [s@macro-dial-one:9] GotoIf(“Local/7687@from-queue-6485;2”, “0?continue”) in new stack
– Executing [s@macro-dial-one:10] Set(“Local/7687@from-queue-6485;2”, “EXTHASCW=”) in new stack
– Executing [s@macro-dial-one:11] GotoIf(“Local/7687@from-queue-6485;2”, “1?next1:cwinusebusy”) in new stack
– Goto (macro-dial-one,s,12)
– Executing [s@macro-dial-one:12] GotoIf(“Local/7687@from-queue-6485;2”, “0?docfu:skip3”) in new stack
– Goto (macro-dial-one,s,16)
– Executing [s@macro-dial-one:16] GotoIf(“Local/7687@from-queue-6485;2”, “1?next2:continue”) in new stack
– Goto (macro-dial-one,s,17)
– Executing [s@macro-dial-one:17] GotoIf(“Local/7687@from-queue-6485;2”, “1?continue”) in new stack
– Goto (macro-dial-one,s,25)
– Executing [s@macro-dial-one:25] GotoIf(“Local/7687@from-queue-6485;2”, “0?nodial”) in new stack
– Executing [s@macro-dial-one:26] GosubIf(“Local/7687@from-queue-6485;2”, “1?dstring,1:dlocal,1”) in new stack
– Executing [dstring@macro-dial-one:1] Set(“Local/7687@from-queue-6485;2”, “DSTRING=”) in new stack
– Executing [dstring@macro-dial-one:2] Set(“Local/7687@from-queue-6485;2”, “DEVICES=7687”) in new stack
– Executing [dstring@macro-dial-one:3] ExecIf(“Local/7687@from-queue-6485;2”, “0?Return()”) in new stack
– Executing [dstring@macro-dial-one:4] ExecIf(“Local/7687@from-queue-6485;2”, “0?Set(DEVICES=687)”) in new stack
– Executing [dstring@macro-dial-one:5] Set(“Local/7687@from-queue-6485;2”, “LOOPCNT=1”) in new stack
– Executing [dstring@macro-dial-one:6] Set(“Local/7687@from-queue-6485;2”, “ITER=1”) in new stack
– Executing [dstring@macro-dial-one:7] Set(“Local/7687@from-queue-6485;2”, “THISDIAL=SIP/7687”) in new stack
– Executing [dstring@macro-dial-one:8] GosubIf(“Local/7687@from-queue-6485;2”, “1?zap2dahdi,1”) in new stack
– Executing [zap2dahdi@macro-dial-one:1] ExecIf(“Local/7687@from-queue-6485;2”, “0?Return()”) in new stack
– Executing [zap2dahdi@macro-dial-one:2] Set(“Local/7687@from-queue-6485;2”, “NEWDIAL=”) in new stack
– Executing [zap2dahdi@macro-dial-one:3] Set(“Local/7687@from-queue-6485;2”, “LOOPCNT2=1”) in new stack
– Executing [zap2dahdi@macro-dial-one:4] Set(“Local/7687@from-queue-6485;2”, “ITER2=1”) in new stack
– Executing [zap2dahdi@macro-dial-one:5] Set(“Local/7687@from-queue-6485;2”, “THISPART2=SIP/7687”) in new stack
– Executing [zap2dahdi@macro-dial-one:6] ExecIf(“Local/7687@from-queue-6485;2”, “0?Set(THISPART2=DAHDI/7687)”) in new stack
– Executing [zap2dahdi@macro-dial-one:7] Set(“Local/7687@from-queue-6485;2”, “NEWDIAL=SIP/7687&”) in new stack
– Executing [zap2dahdi@macro-dial-one:8] Set(“Local/7687@from-queue-6485;2”, “ITER2=2”) in new stack
– Executing [zap2dahdi@macro-dial-one:9] GotoIf(“Local/7687@from-queue-6485;2”, “0?begin2”) in new stack
– Executing [zap2dahdi@macro-dial-one:10] Set(“Local/7687@from-queue-6485;2”, “THISDIAL=SIP/7687”) in new stack
– Executing [zap2dahdi@macro-dial-one:11] Return(“Local/7687@from-queue-6485;2”, “”) in new stack
– Executing [dstring@macro-dial-one:9] Set(“Local/7687@from-queue-6485;2”, “DSTRING=SIP/7687&”) in new stack
– Executing [dstring@macro-dial-one:10] Set(“Local/7687@from-queue-6485;2”, “ITER=2”) in new stack
– Executing [dstring@macro-dial-one:11] GotoIf(“Local/7687@from-queue-6485;2”, “0?begin”) in new stack
– Executing [dstring@macro-dial-one:12] Set(“Local/7687@from-queue-6485;2”, “DSTRING=SIP/7687”) in new stack
– Executing [dstring@macro-dial-one:13] Return(“Local/7687@from-queue-6485;2”, “”) in new stack
– Executing [s@macro-dial-one:27] GotoIf(“Local/7687@from-queue-6485;2”, “0?nodial”) in new stack
– Executing [s@macro-dial-one:28] GotoIf(“Local/7687@from-queue-6485;2”, “1?skiptrace”) in new stack
– Goto (macro-dial-one,s,30)
– Executing [s@macro-dial-one:30] Set(“Local/7687@from-queue-6485;2”, “D_OPTIONS=trM(auto-blkvm)”) in new stack
– Executing [s@macro-dial-one:31] ExecIf(“Local/7687@from-queue-6485;2”, “0?SIPAddHeader(Alert-Info: )”) in new stack
– Executing [s@macro-dial-one:32] ExecIf(“Local/7687@from-queue-6485;2”, “0?SIPAddHeader()”) in new stack
– Executing [s@macro-dial-one:33] ExecIf(“Local/7687@from-queue-6485;2”, “1?Set(CHANNEL(musicclass)=)”) in new stack
– Executing [s@macro-dial-one:34] GosubIf(“Local/7687@from-queue-6485;2”, “1?qwait,1”) in new stack
– Executing [qwait@macro-dial-one:1] ExecIf(“Local/7687@from-queue-6485;2”, “1?Set(__SAVEDCIDNAME=GenSup6652995712)”) in new stack
– Executing [qwait@macro-dial-one:2] Set(“Local/7687@from-queue-6485;2”, “ELAPSED=0”) in new stack
– Executing [qwait@macro-dial-one:3] Set(“Local/7687@from-queue-6485;2”, “CALLERID(name)=M0:GenSup6652995712”) in new stack
– Executing [qwait@macro-dial-one:4] Return(“Local/7687@from-queue-6485;2”, “”) in new stack
– Executing [s@macro-dial-one:35] Set(“Local/7687@from-queue-6485;2”, “__CWIGNORE=TRUE”) in new stack
– Executing [s@macro-dial-one:36] Set(“Local/7687@from-queue-6485;2”, “__KEEPCID=TRUE”) in new stack
– Executing [s@macro-dial-one:37] Dial(“Local/7687@from-queue-6485;2”, “SIP/7687,trM(auto-blkvm)”) in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
– Called 7687
– Local/7687@from-queue-6485;1 is ringing
– SIP/7687-00000029 is ringing
– Local/7687@from-queue-6485;1 is ringing
– SIP/7687-00000029 is ringing
– SIP/7687-00000029 answered Local/7687@from-queue-6485;2
– Executing [s@macro-auto-blkvm:1] Set(“SIP/7687-00000029”, “__MACRO_RESULT=”) in new stack
– Executing [s@macro-auto-blkvm:2] NoOp(“SIP/7687-00000029”, “Deleting: BLKVM/650/DAHDI/i2/6652995712-13 TRUE”) in new stack
– Local/7687@from-queue-6485;1 answered DAHDI/i2/6652995712-13
– <Local/7687@from-queue-6485;1> Playing ‘queue-reporthold.gsm’ (language ‘en’)
– <Local/7687@from-queue-6485;1> Playing ‘digits/11.gsm’ (language ‘en’)
– <Local/7687@from-queue-6485;1> Playing ‘queue-seconds.gsm’ (language ‘en’)
– Stopped music on hold on DAHDI/i2/6652995712-13
== Begin MixMonitor Recording DAHDI/i2/6652995712-13
– Started music on hold, class ‘default’, on Local/7687@from-queue-6485;2