Asterisk -v = 1.4.26.3
When I put a call on park, the caller no longer hears the MOH. The caller thinks he has been hung up on.
Is this a verison of Asterisk where the MOH park feature is broken or am I missing something?
I have a default in
I have in /etc/musiconhold.conf
-- [default-Mycom]
mode=files
directory=/var/lib/asterisk/moh/myComp/default
there's files in /var/lib/asterisk/moh/myComp/default
Default is selected under music on hold in the GUI
It plays during the regular hold but when transfered to park, it still stops.
Any other ideas?
Thanks,
--E
did I say a thing about
did I say a thing about default-somevalue? I said 'default' as in.... you guessed it ... 'default' no dashes... no nothing after the word default. the MOH app for valet parking only plays default.
so there is no way to have
so there is no way to have custom moh during park for each tenant?
all tenants will here the same thing?
I also edited my setup in my previous reply
bingo... so pick something
bingo... so pick something really generic.. its only purpose is so people dont think theyve been disconnected. app_valetparking.c is no longer being maintained. It was a 3rd party app written by someone who left the asterisk community. Its sole purpose was to prevent one tenant from unparking another tenants calls. Until 1.6.2.x parking as defined in features.conf was one lot for every registered channel in asterisk.
so create one
so create one called
[default]
mode=files
directory=/var/lib/asterisk/moh/default
stick some music (nothing else but the moh files) in that directory.. best to use the generic ones that come with asterisk.
Thats what i did, still not
Thats what i did, still not working. however, i am checking my mistakes first. typo or something stupid. will let you know in a few
are those CHANGES and LICENSE
are those CHANGES and LICENSE files in that dir? stupid digium named them with .wav and .g729 extensions so asterisk tries to play them. That advice goes for all your MOH directories btw.
nope they arent there. i dont
nope they arent there.
i dont see any of human errors in the setup.
i even chown asterisk:asterisk default/ and the file.
....?
youve verified that
youve verified that ValetParking is running in the CLI? and that its actually working.. correct?
- Goto
- Goto (macro-bgnv-valetpark-multi,s,5)
[Aug 6 10:16:13] -- Executing [s@macro-bgnv-valetpark-multi:5] ValetParkCall("SIP/113-MyComp-b5a66de0", "auto|MyComp|120|113|1|from-inside-MyComp") in new stack
[Aug 6 10:16:13] -- Started music on hold, class 'default-MyComp', on SIP/113-MyComp-b5a66de0
[Aug 6 10:16:13] -- Stopped music on hold on SIP/113-MyComp-b5a66de0
[Aug 6 10:16:14] -- Playing 'vm-extension' (language 'en')
[Aug 6 10:16:14] -- Stopped music on hold on SIP/115-MyComp-b5aaf1b8
[Aug 6 10:16:14] == Spawn extension (macro-bgnv-valetunpark-multi, s, 1) exited non-zero on 'SIP/113-MyComp-b76f98a8' in macro 'bgnv-valetunpark-multi'
[Aug 6 10:16:14] == Spawn extension (from-inside-redir-MyComp, 701, 1) exited non-zero on 'SIP/113-MyComp-b76f98a8'
[Aug 6 10:16:14] -- Executing [h@from-inside-redir-MyComp:1] Hangup("SIP/113-MyComp-b76f98a8", "") in new stack
[Aug 6 10:16:14] == Spawn extension (from-inside-redir-MyComp, h, 1) exited non-zero on 'SIP/113-MyComp-b76f98a8'
[Aug 6 10:16:15] -- Playing 'digits/1' (language 'en')
[Aug 6 10:16:15] == Valet Parked SIP/115-MyComp-b5aaf1b8 on slot 1
[Aug 6 10:16:15] == Spawn extension (from-inside-MyComp, 113, 1) exited non-zero on 'ValetParked/SIP/113-MyComp-b5a66de0' in macro 'bgnv-valetpark-multi'
[Aug 6 10:16:15] == Spawn extension (from-inside-MyComp, 113, 1) exited non-zero on 'ValetParked/SIP/113-MyComp-b5a66de0'
was it 115 that was the
was it 115 that was the parked member?
[Aug 6 10:16:14] -- Stopped music on hold on SIP/115-MyComp-b5aaf1b8
what is your company name?
what is your company name?
btw I forgot to ask if you did a restart of asterisk after adding the new class into musiconhold.conf
restart - no reload - yes i
restart - no
reload - yes
i cant restart asterisk during the day
is that what is causing this not to play?
musiconhold historically has
musiconhold historically has had trouble reloading everythign on a module reload. Sometimes changing music files in a class starts working on a reload... sometimes it does not. This is based on the assumtion that theres nothing wrong with your valetparking. You're running my parking script (bgnv-valetpark-multi) so either someone got it off the forums, or someone had me install it, at which time i would have compiled app_valetparking.c. You're also running my self-declared most stable version of the 1.4 branch (1.4.26.3) which would add to my digital fingerprint.
you most likely compiled it
you most likely compiled it with Larry.
i will have to wait until the next restart of asterisk to see if this works or not, and then continue to troubleshoot from there.
i will also continue to reload every so often to see if it kicks in.
i will let you know when i restart.
thanks,
--eric
the parking context that it needs is 'default'. You need to make sure you have a 'default' defined in /etc/musiconhold.conf and you need to make sure you have some music files in that directory.