Summary:ASTERISK-05921: H dial no longer working when calling a local extension invoking music on hold
Reporter:r. m. alarcon (rmalarc)Labels:
Date Opened:2005-12-28 18:35:57.000-0600Date Closed:2006-02-02 01:26:30.000-0600
Versions:Frequency of

this used to work in the previous stable release.

I have a bunch of MOH internet radio streams defined as radio1-5. When the user calls 1000, it plays one of those streams. user can change "station" by pressing star. The dbget/dbput are so it goes back to the previously listened station the next time the user calls.

While listening to music If I press *, it hangs up and changes stations only after 2 minutes, thats if it does.

This used to work like a charm in 1.0



exten => 1,1,musiconhold(radio1)
exten => 2,1,musiconhold(radio2)
exten => 3,1,musiconhold(radio3)
exten => 4,1,musiconhold(radio4)
exten => 5,1,musiconhold(radio5)

exten => 1000,1,answer
exten => 1000,2,dbget(TRACK=MOH/${CALLERID})
exten => 1000,3,goto(10${TRACK})

exten => 1000,10,goto(1003)
exten => 1000,1003,dbput(MOH/${CALLERID}=04)
exten => 1000,1004,dial(local/1@backgroundmusic||gH)
exten => 1000,1005,dbput(MOH/${CALLERID}=06)
exten => 1000,1006,dial(local/2@backgroundmusic||gH)
exten => 1000,1007,dbput(MOH/${CALLERID}=08)
exten => 1000,1008,dial(local/3@backgroundmusic||gH)
exten => 1000,1009,dbput(MOH/${CALLERID}=10)
exten => 1000,1010,dial(local/4@backgroundmusic||gH)
exten => 1000,1011,dbput(MOH/${CALLERID}=12)
exten => 1000,1012,dial(local/5@backgroundmusic||gH)
exten => 1000,1013,goto(1003)
Comments:By: Clod Patry (junky) 2005-12-29 09:05:52.000-0600

i suspect ASTERISK-5688 here.

By: BJ Weschke (bweschke) 2005-12-29 11:31:49.000-0600

could be. rmalarc: can you upgrade to the latest version of /branches/1.2 on SVN and see if this fixes your problem?

By: r. m. alarcon (rmalarc) 2005-12-29 17:15:40.000-0600

I have this feature running in a production environment, so it may take a while. In the mean time, could you test it in one of your boxes?, just paste the avobe code into your extensions.conf, include public-features in your context and dial 1000.

you need the following in musiconhold.conf

radio1 => quietmp3:
radio2 => quietmp3:/var/lib/asterisk/mohmp3,-z
radio3 => quietmp3:
radio4 => quietmp3:
radio5 => quietmp3:

If not, I'll get back to you as soon as I get a window to install it.


By: Matt O'Gorman (mogorman) 2006-01-10 22:58:20.000-0600

did upgrading solve your problem? or is this still an issue?


By: Olle Johansson (oej) 2006-02-02 01:26:29.000-0600

No reply from reporter. Re-open if this is still an issue.