[Home]

Summary:ASTERISK-16767: [patch] change Language channel but still english voice prompts playback
Reporter:Heinz (hkoton)Labels:
Date Opened:2010-10-05 02:00:01Date Closed:2011-06-07 14:04:54
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Applications/app_voicemail
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) file-debug.patch
( 1) more-debug.patch
Description:
asterisk.conf:
languageprefix = yes

sound structure:
/var/lib/asterisk/sounds/de
/var/lib/asterisk/sounds/en
/var/lib/asterisk/sounds/es
/var/lib/asterisk/sounds/fr

extensions:
exten => 12345678,1,Set(CALLERID(num)=00${CALLERID(num)})
exten => 12345678,2,Set(CHANNEL(language)=de)
exten => 12345678,3,Voicemail(5678@vm1234,b)

output:
   -- Executing [12345678@tc5_default:1] Set("SIP/7721-00000004", "CALLERID(num)=007721") in new stack
   -- Executing [12345678@tc5_default:2] Set("SIP/7721-00000004", "CHANNEL(language)=de") in new stack
   -- Executing [12345678@tc5_default:3] VoiceMail("SIP/7721-00000004", "5678@vm1234,b") in new stack
   -- <SIP/7721-00000004> Playing 'vm-theperson.gsm' (language 'de')
   -- <SIP/7721-00000004> Playing 'digits/8.gsm' (language 'de')
   -- <SIP/7721-00000004> Playing 'digits/0.gsm' (language 'de')
   -- <SIP/7721-00000004> Playing 'digits/5.gsm' (language 'de')
   -- <SIP/7721-00000004> Playing 'digits/9.gsm' (language 'de')
   -- <SIP/7721-00000004> Playing 'vm-isonphone.gsm' (language 'de')
   -- <SIP/7721-00000004> Playing 'vm-intro.gsm' (language 'de')
   -- <SIP/7721-00000004> Playing 'beep.gsm' (language 'de')
   -- Recording the message



Comments:By: Jeff Peeler (jpeeler) 2010-10-28 23:55:34

I can't reproduce this. May be a silly question, but what is shown by ls /var/lib/asterisk/sounds/de? If any of the sounds are missing, the english file is played.

By: Heinz (hkoton) 2010-11-02 05:43:11

here is the list, permission are set to 644 like in ./en directory

# ls /var/lib/asterisk/sounds/de
agent-alreadyon.gsm     demo-congrats.gsm           queue-youarenext.gsm      vm-intro.gsm            vm-review.gsm
agent.gsm               demo-echodone.gsm           seconds.gsm               vm-isonphone.gsm        vm-saved.gsm
agent-incorrect.gsm     demo-echotest.gsm           sip.gsm                   vm-isunavail.gsm        vm-savedto.gsm
agent-loggedoff.gsm     demo-enterkeywords.gsm      skinny.gsm                vm-last.gsm             vm-savefolder.gsm
agent-loginok.gsm       demo-instruct.gsm           ss-noservice.gsm          vm-leavemsg.gsm         vm-savemessage.gsm
agent-newlocation.gsm   demo-moreinfo.gsm           Star.gsm                  vm-login.gsm            vm-saveoper.gsm
agent-pass.gsm          demo-nogo.gsm               transfer.gsm              vm-mailboxfull.gsm      vm-sorry.gsm
agent-user.gsm          demo-nomatch.gsm            tt-allbusy.gsm            vm-mailbox.gsm          vm-star-cancel.gsm
auth-incorrect.gsm      demo-thanks.gsm             tt-monkeysintro.gsm       vm-message.gsm          vm-starmain.gsm
auth-thankyou.gsm       dictate                     tt-somethingwrong.gsm     vm-messages.gsm         vm-tempgreeting2.gsm
beeperr.gsm             digits                      tt-weasels.gsm            vm-minutes.gsm          vm-tempgreeting-altern2.gsm
beep.gsm                dir-instr.gsm               vm-advopts.gsm            vm-mismatch.gsm         vm-tempgreeting-altern.gsm
conf-adminmenu.gsm      dir-intro.gsm               vm-and.gsm                vm-msginstruct.gsm      vm-tempgreeting.gsm
conf-enteringno.gsm     dir-nomatch.gsm             vm-calldiffnum.gsm        vm-msgsaved.gsm         vm-tempremoved-altern.gsm
conf-errormenu.gsm      dir-nomore.gsm              vm-changeto.gsm           vm-newpassword.gsm      vm-tempremoved.gsm
conf-getchannel.gsm     h323.gsm                    vm-Cust1.gsm              vm-newuser.gsm          vm-then-pound.gsm
conf-getconfno.gsm      hours.gsm                   vm-Cust2.gsm              vm-next.gsm             vm-theperson.gsm
conf-getpin.gsm         iax2.gsm                    vm-Cust3.gsm              vm-nobodyavail.gsm      vm-tocallback.gsm
conf-hasjoin.gsm        iax.gsm                     vm-Cust4.gsm              vm-nobox.gsm            vm-tocallnum.gsm
conf-hasleft.gsm        invalid.gsm                 vm-Cust5.gsm              vm-no.gsm               vm-tocancel.gsm
conf-invalid.gsm        letters                     vm-deleted.gsm            vm-nomore.gsm           vm-tocancelmsg.gsm
conf-invalidpin.gsm     mgcp.gsm                    vm-delete.gsm             vm-nonumber.gsm         vm-toenternumber.gsm
conf-kicked.gsm         minutes.gsm                 vm-dialout.gsm            vm-num-i-have.gsm       vm-toforward.gsm
conf-leaderhasleft.gsm  pbx-invalid.gsm             vm-enter-num-to-call.gsm  vm-Old.gsm              vm-tohearenv-altern.gsm
conf-locked.gsm         pbx-invalidpark.gsm         vm-extension.gsm          vm-onefor.gsm           vm-tohearenv.gsm
conf-lockednow.gsm      pbx-transfer.gsm            vm-Family.gsm             vm-options.gsm          vm-tomakecall.gsm
conf-muted.gsm          phonetic                    vm-first.gsm              vm-opts.gsm             vm-tooshort.gsm
conf-noempty.gsm        privacy-incorrect.gsm       vm-for.gsm                vm-passchanged.gsm      vm-toreply.gsm
conf-onlyone.gsm        privacy-prompt.gsm          vm-forward.gsm            vm-password.gsm         vm-torerecord.gsm
conf-onlyperson.gsm     privacy-thankyou.gsm        vm-forwardoptions.gsm     vm-press.gsm            vm-undeleted.gsm
conf-otherinparty.gsm   privacy_unident_altern.gsm  vm-Friends.gsm            vm-prev.gsm             vm-undelete.gsm
conf-placeintoconf.gsm  privacy-unident.gsm         vm-from-extension.gsm     vm-reachoper.gsm        vm-unknown-caller.gsm
conf-thereare.gsm       queue-callswaiting.gsm      vm-from.gsm               vm-rec-busy.gsm         vm-whichbox.gsm
conf-unlockednow.gsm    queue-callwaiting.gsm       vm-from-phonenumber.gsm   vm-received.gsm         vm-Work.gsm
conf-unmuted.gsm        queue-holdtime.gsm          vm-goodbye.gsm            vm-rec-name.gsm         vm-youhave.gsm
conf-usermenu.gsm       queue-less-than.gsm         vm-helpexit.gsm           vm-rec-temp-altern.gsm  zap.gsm
conf-userswilljoin.gsm  queue-reporthold.gsm        vm-INBOX.gsm              vm-rec-temp.gsm
conf-userwilljoin.gsm   queue-seconds.gsm           vm-incorrect.gsm          vm-rec-unv.gsm
conf-waitforleader.gsm  queue-thankyou.gsm          vm-incorrect-mailbox.gsm  vm-reenterpassword.gsm
demo-abouttotry.gsm     queue-thereare.gsm          vm-instructions.gsm       vm-repeat.gsm

By: Jeff Peeler (jpeeler) 2010-11-12 16:53:25.000-0600

Can you tell me which part(s) is/are played in English? What is the directory contents of /var/spool/asterisk/voicemail/vm1234/5678? Also, go ahead and attach your voicemail.conf and asterisk.conf as I do not have a lot to go on here.

By: Heinz (hkoton) 2010-11-12 17:23:16.000-0600

all parts starting from   -- <SIP/7721-00000004> Playing 'vm-theperson.gsm' (language 'de') (more see description) are played in english.

in vm folder is:
-rw-r--r-- 1 root     root      2871 2007-01-09 17:26 greet.gsm
-rw-r--r-- 1 root     root     27884 2007-01-09 17:26 greet.wav
-rw-r--r-- 1 root     root      2856 2007-01-09 17:26 greet.WAV
drwxr-xr-x 2 asterisk asterisk  4096 2010-11-12 12:30 INBOX
drwxr-xr-x 2 asterisk asterisk  4096 2010-11-12 12:30 tmp

asterisk.conf:
[directories](!) ; remove the (!) to enable this
astetcdir => /etc/asterisk
astmoddir => /usr/lib/asterisk/modules
astvarlibdir => /var/lib/asterisk
astdbdir => /var/lib/asterisk
astkeydir => /var/lib/asterisk
astdatadir => /var/lib/asterisk
astagidir => /var/lib/asterisk/agi-bin
astspooldir => /var/spool/asterisk
astrundir => /var/run
astlogdir => /var/log/asterisk
[options]
verbose = 100
debug = 100
languageprefix = yes ; Use the new sound prefix path syntax

voicemail.conf:
[vm1234]
5678 => 5672,Name,email@mail.com,,attach=yes|delete=1

all other values are default asterisk example settings

By: Jeff Peeler (jpeeler) 2010-11-16 16:28:37.000-0600

I'm trying to reproduce against 1.6.2.8, is that still the version in use? I attached a one line patch to output the file in use during playback. Please run that and attach the output here. However, this is going to be a very slow process I'm afraid. Is there any way I could get remote access?

By: Heinz (hkoton) 2010-11-17 02:01:09.000-0600

dear j peeler please send me your contact information to my registered e-mail, to arrange a netviewer session timeslot.

By: Jeff Peeler (jpeeler) 2010-12-07 17:08:11.000-0600

I sent you an email just short of a week ago. Perhaps it got lost?

By: Heinz (hkoton) 2010-12-08 02:48:50.000-0600

seem's so did you sent it to office or to heinz.koton?

By: Jeff Peeler (jpeeler) 2010-12-08 10:21:41.000-0600

I sent it there @ikotec, which is the email address registered in Mantis. Perhaps you should just contact me at my username @digium.com.

By: Jeff Peeler (jpeeler) 2010-12-09 15:31:44.000-0600

After remote debugging and being unable to reproduce this issue, I'm closing as discussed with the reporter. If the issue is able to be reproduced, reopen and make sure to include the console output with information obtained from the more-debug.patch.