[Home]

Summary:ASTERISK-04304: Directory displays wrong language.. but play correct soundfiles
Reporter:Daniel Nylander (yeager)Labels:
Date Opened:2005-05-30 16:37:56Date Closed:2011-06-07 14:10:47
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Applications/app_directory
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:Directory displays "en" but plays "se" sounds.

Small one but easy to fix :-)

****** ADDITIONAL INFORMATION ******

   -- Executing AGI("SIP/2001-a423", "directory|general|ext-local|l") in new stack
   -- Launched AGI Script /var/lib/asterisk/agi-bin/directory
   -- Playing 'dir-intro' (language 'se')
 ==  directory|general|ext-local|l: Found /var/spool/asterisk/voicemail/default/2000/greet.wav
 directory|general|ext-local|l: -- Playing 'dir-instr' (language 'en') <--
 directory|general|ext-local|l: stream_multiple: dir-instr returned 0
Comments:By: Clod Patry (junky) 2005-05-30 17:55:06

I suspect ASTERISK-4293 to be related.

By: Daniel Nylander (yeager) 2005-05-30 18:32:34

Not sure if the patch from 0004399 is in the CVS yet but the problem occurs on my newly compiled CVS installation


Connected to Asterisk CVS-HEAD-05/30/05-23:24:22 currently running on slyna (pid = 4974)

   -- Got SIP response 405 "Method Not Allowed" back from 192.168.1.11
   -- Executing Answer("SIP/2001-a527", "") in new stack
   -- Executing Wait("SIP/2001-a527", "1") in new stack
   -- Executing AGI("SIP/2001-a527", "directory|general|ext-local|l") in new stack
   -- Launched AGI Script /var/lib/asterisk/agi-bin/directory
   -- Playing 'dir-intro' (language 'se')
 ==  directory|general|ext-local|l: Found /var/spool/asterisk/voicemail/default/2000/greet.wav
 directory|general|ext-local|l: -- Playing 'dir-instr' (language 'en')

By: Clod Patry (junky) 2005-05-30 18:36:40

Like ASTERISK-4293 was fixed on 05-30-05 09:13.
Could you get a fresh copy of HEAD and report if your problem is now fixed?

By: Daniel Nylander (yeager) 2005-05-31 01:11:20

Not fixed.

By: Kevin P. Fleming (kpfleming) 2005-06-02 22:04:06

I don't know where you are getting these messages from, but 'stream_multiple' does not appear in the CVS HEAD sources anywhere. Are these messages coming from your AGI script, as opposed to Asterisk itself?

By: Tilghman Lesher (tilghman) 2005-06-26 14:01:46

This is not related to app_directory.  This is your own AGI script called "directory", which is not distributed in any of the Asterisk tarballs, and is therefore not something we can help you with.  You might consider approaching someone on IRC to help you diagnose your own programming error.

It might be that you have simply overwritten the English version sounds with your own Swedish sounds, in which case, though it looks a little weird, it is performing as expected.