Is there a way to change the music on hold class from default when there is a dahdi card involved?
More specific I have a system that uses a sangoma a104 card that is use for connection to isdn ivr.
I have enabled all my incoming routes to the correct music on hold entry for example “mohdemo1” but when I put from my extension hold the file that is played is the default one. At asterisk log files there is mentioned that at the dahdi channel is invoked the default music on hold class.
In addition to the above the log file that corresponds to the call that I wish to change is :
res_musiconhold.c: Started music on hold, class ‘default’, on channel ‘DAHDI/i5/7777777777-2’
I need to change the default music on hold in dahdi channels or in dahdi general.
I tried the parameters :
mohinterpret=mohdemo1
mohsuggest=mohdemo1
at the global setting of dahdi and after reload the asterisk and dadhi I can see the parameters at the chan_dahdi.conf file but the default moh is beeing used.