Possible bug in MOH inheritance?

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 [[email protected]:1] Set(“DAHDI/i2/6652995712-13”, “__FROM_DID=5045”) in new stack
– Executing [[email protected]:2] Gosub(“DAHDI/i2/6652995712-13”, “app-blacklist-check,s,1”) in new stack
– Executing [[email protected]:1] GotoIf(“DAHDI/i2/6652995712-13”, “0?blacklisted”) in new stack
– Executing [[email protected]:2] Set(“DAHDI/i2/6652995712-13”, “CALLED_BLACKLIST=1”) in new stack
– Executing [[email protected]:3] Return(“DAHDI/i2/6652995712-13”, “”) in new stack
– Executing [[email protected]:3] ExecIf(“DAHDI/i2/6652995712-13”, “1 ?Set(CALLERID(name)=6652995712)”) in new stack
– Executing [[email protected]:4] SetMusicOnHold(“DAHDI/i2/6652995712-13”, “companiatj-pana-moh”) in new stack
– Executing [[email protected]:5] Set(“DAHDI/i2/6652995712-13”, “__MOHCLASS=companiatj-pana-moh”) in new stack
– Executing [[email protected]:6] Set(“DAHDI/i2/6652995712-13”, “__CALLINGPRES_SV=allowed_not_screened”) in new stack
– Executing [[email protected]:7] Set(“DAHDI/i2/6652995712-13”, “CALLERPRES()=allowed_not_screened”) in new stack
– Executing [[email protected]:8] Goto(“DAHDI/i2/6652995712-13”, “timeconditions,1,1”) in new stack
– Goto (timeconditions,1,1)
– Executing [[email protected]: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 [[email protected]:1] NoOp(“DAHDI/i2/6652995712-13”, “Changing Channel to language: es (compania-tj-StandardOptionsIVR-Espanol)”) in new stack
– Executing [[email protected]:2] Set(“DAHDI/i2/6652995712-13”, “CHANNEL(language)=es”) in new stack
– Executing [[email protected]:3] Goto(“DAHDI/i2/6652995712-13”, “ivr-4,s,1”) in new stack
– Goto (ivr-4,s,1)
– Executing [[email protected]:1] Set(“DAHDI/i2/6652995712-13”, “MSG=custom/compania-pana-BienvenidaProf”) in new stack
– Executing [[email protected]:2] Set(“DAHDI/i2/6652995712-13”, “LOOPCOUNT=0”) in new stack
– Executing [[email protected]:3] Set(“DAHDI/i2/6652995712-13”, “__DIR-CONTEXT=”) in new stack
– Executing [[email protected]:4] Set(“DAHDI/i2/6652995712-13”, “_IVR_CONTEXT_ivr-4=”) in new stack
– Executing [[email protected]:5] Set(“DAHDI/i2/6652995712-13”, “_IVR_CONTEXT=ivr-4”) in new stack
– Executing [[email protected]:6] GotoIf(“DAHDI/i2/6652995712-13”, “0?begin”) in new stack
– Executing [[email protected]:7] Answer(“DAHDI/i2/6652995712-13”, “”) in new stack
– Executing [[email protected]:8] Wait(“DAHDI/i2/6652995712-13”, “1”) in new stack
– Executing [[email protected]:9] Set(“DAHDI/i2/6652995712-13”, “TIMEOUT(digit)=3”) in new stack
– Digit timeout set to 3.000
– Executing [[email protected]:10] Set(“DAHDI/i2/6652995712-13”, “TIMEOUT(response)=2”) in new stack
– Response timeout set to 2.000
– Executing [[email protected]:11] Set(“DAHDI/i2/6652995712-13”, “__IVR_RETVM=”) in new stack
– Executing [[email protected]: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 [[email protected]:1] NoOp(“DAHDI/i2/6652995712-13”, "Deleting: ") in new stack
– Executing [[email protected]:2] Set(“DAHDI/i2/6652995712-13”, “__NODEST=”) in new stack
– Executing [[email protected]:3] Goto(“DAHDI/i2/6652995712-13”, “ext-queues,650,1”) in new stack
– Goto (ext-queues,650,1)
– Executing [[email protected]:1] Macro(“DAHDI/i2/6652995712-13”, “user-callerid,”) in new stack
– Executing [[email protected]:1] Set(“DAHDI/i2/6652995712-13”, “AMPUSER=6652995712”) in new stack
– Executing [[email protected]:2] GotoIf(“DAHDI/i2/6652995712-13”, “0?report”) in new stack
– Executing [[email protected]:3] ExecIf(“DAHDI/i2/6652995712-13”, “1?Set(REALCALLERIDNUM=6652995712)”) in new stack
– Executing [[email protected]:4] Set(“DAHDI/i2/6652995712-13”, “AMPUSER=”) in new stack
– Executing [[email protected]:5] Set(“DAHDI/i2/6652995712-13”, “AMPUSERCIDNAME=”) in new stack
– Executing [[email protected]:6] GotoIf(“DAHDI/i2/6652995712-13”, “1?report”) in new stack
– Goto (macro-user-callerid,s,10)
– Executing [[email protected]:10] GotoIf(“DAHDI/i2/6652995712-13”, “0?continue”) in new stack
– Executing [[email protected]:11] Set(“DAHDI/i2/6652995712-13”, “__TTL=64”) in new stack
– Executing [[email protected]:12] GotoIf(“DAHDI/i2/6652995712-13”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,19)
– Executing [[email protected]:19] Set(“DAHDI/i2/6652995712-13”, “CALLERID(number)=6652995712”) in new stack
– Executing [[email protected]:20] Set(“DAHDI/i2/6652995712-13”, “CALLERID(name)=6652995712”) in new stack
– Executing [[email protected]:21] NoOp(“DAHDI/i2/6652995712-13”, “Using CallerID “6652995712” <6652995712>”) in new stack
– Executing [[email protected]:2] Answer(“DAHDI/i2/6652995712-13”, “”) in new stack
– Executing [[email protected]:3] ExecIf(“DAHDI/i2/6652995712-13”, “1?Set(__QUEUEWAIT=1296079683)”) in new stack
– Executing [[email protected]:4] Set(“DAHDI/i2/6652995712-13”, “__BLKVM_OVERRIDE=BLKVM/650/DAHDI/i2/6652995712-13”) in new stack
– Executing [[email protected]:5] Set(“DAHDI/i2/6652995712-13”, “__BLKVM_BASE=650”) in new stack
– Executing [[email protected]:6] Set(“DAHDI/i2/6652995712-13”, “DB(BLKVM/650/DAHDI/i2/6652995712-13)=TRUE”) in new stack
– Executing [[email protected]:7] ExecIf(“DAHDI/i2/6652995712-13”, “1?Set(_DIAL_OPTIONS=trM(auto-blkvm))”) in new stack
– Executing [[email protected]:8] Set(“DAHDI/i2/6652995712-13”, “__NODEST=650”) in new stack
– Executing [[email protected]:9] GotoIf(“DAHDI/i2/6652995712-13”, “1?REPCID”) in new stack
– Goto (ext-queues,650,14)
– Executing [[email protected]:14] NoOp(“DAHDI/i2/6652995712-13”, “CALLERID(name) is 6652995712”) in new stack
– Executing [[email protected]:15] Set(“DAHDI/i2/6652995712-13”, “_RGPREFIX=GenSup”) in new stack
– Executing [[email protected]:16] Set(“DAHDI/i2/6652995712-13”, “CALLERID(name)=GenSup6652995712”) in new stack
– Executing [[email protected]:17] Set(“DAHDI/i2/6652995712-13”, “__MONITOR_FILENAME=/var/spool/asterisk/monitor/q650-20110126-140803-1296079670.124”) in new stack
– Executing [[email protected]: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 [[email protected]: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 [[email protected]:20] Set(“DAHDI/i2/6652995712-13”, “__MOHCLASS=companiatj-pana-moh”) in new stack
– Executing [[email protected]:21] Set(“DAHDI/i2/6652995712-13”, “__CWIGNORE=TRUE”) in new stack
– Executing [[email protected]:22] Set(“DAHDI/i2/6652995712-13”, “__CFIGNORE=TRUE”) in new stack
– Executing [[email protected]:23] Set(“DAHDI/i2/6652995712-13”, “__FORWARD_CONTEXT=block-cf”) in new stack
– Executing [[email protected]: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/[email protected]om-queue/n
– Executing [[email protected]:1] Set(“Local/[email protected];2”, “QAGENT=7687”) in new stack
– Executing [[email protected]:2] Goto(“Local/[email protected];2”, “650,1”) in new stack
– Goto (from-queue,650,1)
– Executing [[email protected]:1] Goto(“Local/[email protected];2”, “from-queue-exten-internal,7687,1”) in new stack
– Goto (from-queue-exten-internal,7687,1)
– Executing [[email protected]:1] Set(“Local/[email protected];2”, “RingGroupMethod=none”) in new stack
– Executing [[email protected]:2] Macro(“Local/[email protected];2”, “record-enable,7687,IN”) in new stack
– Executing [[email protected]:1] GotoIf(“Local/[email protected];2”, “1?check”) in new stack
– Goto (macro-record-enable,s,4)
– Executing [[email protected]:4] ExecIf(“Local/[email protected];2”, “0?MacroExit()”) in new stack
– Executing [[email protected]:5] GotoIf(“Local/[email protected];2”, “0?Group:OUT”) in new stack
– Goto (macro-record-enable,s,15)
– Executing [[email protected]:15] GotoIf(“Local/[email protected];2”, “1?IN”) in new stack
– Goto (macro-record-enable,s,20)
– Executing [[email protected]:20] ExecIf(“Local/[email protected];2”, “1?MacroExit()”) in new stack
– Executing [[email protected]:3] Macro(“Local/[email protected];2”, “dial-one,trM(auto-blkvm),7687”) in new stack
– Executing [[email protected]:1] Set(“Local/[email protected];2”, “DEXTEN=7687”) in new stack
– Executing [[email protected]:2] Set(“Local/[email protected];2”, “DIALSTATUS_CW=”) in new stack
– Executing [[email protected]:3] GosubIf(“Local/[email protected];2”, “0?screen,1”) in new stack
– Executing [[email protected]:4] GosubIf(“Local/[email protected];2”, “0?cf,1”) in new stack
– Executing [[email protected]:5] GotoIf(“Local/[email protected];2”, “1?skip1”) in new stack
– Goto (macro-dial-one,s,8)
– Executing [[email protected]:8] GotoIf(“Local/[email protected];2”, “0?nodial”) in new stack
– Executing [[email protected]:9] GotoIf(“Local/[email protected];2”, “0?continue”) in new stack
– Executing [[email protected]:10] Set(“Local/[email protected];2”, “EXTHASCW=”) in new stack
– Executing [[email protected]:11] GotoIf(“Local/[email protected];2”, “1?next1:cwinusebusy”) in new stack
– Goto (macro-dial-one,s,12)
– Executing [[email protected]:12] GotoIf(“Local/[email protected];2”, “0?docfu:skip3”) in new stack
– Goto (macro-dial-one,s,16)
– Executing [[email protected]:16] GotoIf(“Local/[email protected];2”, “1?next2:continue”) in new stack
– Goto (macro-dial-one,s,17)
– Executing [[email protected]:17] GotoIf(“Local/[email protected];2”, “1?continue”) in new stack
– Goto (macro-dial-one,s,25)
– Executing [[email protected]:25] GotoIf(“Local/[email protected];2”, “0?nodial”) in new stack
– Executing [[email protected]:26] GosubIf(“Local/[email protected];2”, “1?dstring,1:dlocal,1”) in new stack
– Executing [[email protected]:1] Set(“Local/[email protected];2”, “DSTRING=”) in new stack
– Executing [[email protected]:2] Set(“Local/[email protected];2”, “DEVICES=7687”) in new stack
– Executing [[email protected]:3] ExecIf(“Local/[email protected];2”, “0?Return()”) in new stack
– Executing [[email protected]:4] ExecIf(“Local/[email protected];2”, “0?Set(DEVICES=687)”) in new stack
– Executing [[email protected]:5] Set(“Local/[email protected];2”, “LOOPCNT=1”) in new stack
– Executing [[email protected]:6] Set(“Local/[email protected];2”, “ITER=1”) in new stack
– Executing [[email protected]:7] Set(“Local/[email protected];2”, “THISDIAL=SIP/7687”) in new stack
– Executing [[email protected]:8] GosubIf(“Local/[email protected];2”, “1?zap2dahdi,1”) in new stack
– Executing [[email protected]:1] ExecIf(“Local/[email protected];2”, “0?Return()”) in new stack
– Executing [[email protected]:2] Set(“Local/[email protected];2”, “NEWDIAL=”) in new stack
– Executing [[email protected]:3] Set(“Local/[email protected];2”, “LOOPCNT2=1”) in new stack
– Executing [[email protected]:4] Set(“Local/[email protected];2”, “ITER2=1”) in new stack
– Executing [[email protected]:5] Set(“Local/[email protected];2”, “THISPART2=SIP/7687”) in new stack
– Executing [[email protected]:6] ExecIf(“Local/[email protected];2”, “0?Set(THISPART2=DAHDI/7687)”) in new stack
– Executing [[email protected]:7] Set(“Local/[email protected];2”, “NEWDIAL=SIP/7687&”) in new stack
– Executing [[email protected]:8] Set(“Local/[email protected];2”, “ITER2=2”) in new stack
– Executing [[email protected]:9] GotoIf(“Local/[email protected];2”, “0?begin2”) in new stack
– Executing [[email protected]:10] Set(“Local/[email protected];2”, “THISDIAL=SIP/7687”) in new stack
– Executing [[email protected]:11] Return(“Local/[email protected];2”, “”) in new stack
– Executing [[email protected]:9] Set(“Local/[email protected];2”, “DSTRING=SIP/7687&”) in new stack
– Executing [[email protected]:10] Set(“Local/[email protected];2”, “ITER=2”) in new stack
– Executing [[email protected]:11] GotoIf(“Local/[email protected];2”, “0?begin”) in new stack
– Executing [[email protected]:12] Set(“Local/[email protected];2”, “DSTRING=SIP/7687”) in new stack
– Executing [[email protected]:13] Return(“Local/[email protected];2”, “”) in new stack
– Executing [[email protected]:27] GotoIf(“Local/[email protected];2”, “0?nodial”) in new stack
– Executing [[email protected]:28] GotoIf(“Local/[email protected];2”, “1?skiptrace”) in new stack
– Goto (macro-dial-one,s,30)
– Executing [[email protected]:30] Set(“Local/[email protected];2”, “D_OPTIONS=trM(auto-blkvm)”) in new stack
– Executing [[email protected]:31] ExecIf(“Local/[email protected];2”, “0?SIPAddHeader(Alert-Info: )”) in new stack
– Executing [[email protected]:32] ExecIf(“Local/[email protected];2”, “0?SIPAddHeader()”) in new stack
– Executing [[email protected]:33] ExecIf(“Local/[email protected];2”, “1?Set(CHANNEL(musicclass)=)”) in new stack
– Executing [[email protected]:34] GosubIf(“Local/[email protected];2”, “1?qwait,1”) in new stack
– Executing [[email protected]:1] ExecIf(“Local/[email protected];2”, “1?Set(__SAVEDCIDNAME=GenSup6652995712)”) in new stack
– Executing [[email protected]:2] Set(“Local/[email protected];2”, “ELAPSED=0”) in new stack
– Executing [[email protected]:3] Set(“Local/[email protected];2”, “CALLERID(name)=M0:GenSup6652995712”) in new stack
– Executing [[email protected]:4] Return(“Local/[email protected];2”, “”) in new stack
– Executing [[email protected]:35] Set(“Local/[email protected];2”, “__CWIGNORE=TRUE”) in new stack
– Executing [[email protected]:36] Set(“Local/[email protected];2”, “__KEEPCID=TRUE”) in new stack
– Executing [[email protected]:37] Dial(“Local/[email protected];2”, “SIP/7687,trM(auto-blkvm)”) in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
– Called 7687
– Local/[email protected];1 is ringing
– SIP/7687-00000029 is ringing
– Local/[email protected];1 is ringing
– SIP/7687-00000029 is ringing
– SIP/7687-00000029 answered Local/[email protected];2
– Executing [[email protected]:1] Set(“SIP/7687-00000029”, “__MACRO_RESULT=”) in new stack
– Executing [[email protected]:2] NoOp(“SIP/7687-00000029”, “Deleting: BLKVM/650/DAHDI/i2/6652995712-13 TRUE”) in new stack
– Local/[email protected];1 answered DAHDI/i2/6652995712-13
– <Local/[email protected];1> Playing ‘queue-reporthold.gsm’ (language ‘en’)
– <Local/[email protected];1> Playing ‘digits/11.gsm’ (language ‘en’)
– <Local/[email protected];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/[email protected];2

can somebody please test this so i can report it?
thanks,
-gk

Same issue here… Default MOH is played even if we delete default category in MOH settings and replace with our own.

That is the correct behavior. The Queue MoH will only be played while the caller is in the queue waiting to be answered.