[Home]

Summary:ASTERISK-01442: [patch] Change location of digits from relative to absolute paths
Reporter:Tilghman Lesher (tilghman)Labels:
Date Opened:2004-04-20 15:37:02Date Closed:2004-09-25 02:49:38
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) 20040420__say.c__fixpaths.diff.txt
Description:On Monday 19 April 2004 09:04, Mark Elkins wrote:
>     -- Executing DateTime("SIP/phone1-07ff", "") in new stack
>     -- Playing '/var/lib/asterisk/sounds/digits/day-1' (language
> 'en') -- Playing '/var/lib/asterisk/sounds/digits/mon-3' (language
> 'en') -- Playing '/var/lib/asterisk/sounds/digits/h-19' (language
> 'en')
>
> This works - the pathname is complete - Joy.
>
>         ------------------------------------------------
>
> -- Executing SayDigits("SIP/phone1-0e7d", "203") in new stack
>     -- Playing 'digits/2' (language 'en')
>     -- Playing 'digits/0' (language 'en')
>     -- Playing 'digits/3' (language 'en')
>
> This doesn't (silence). Path looks incomplete.
>
> Where in the source do I fix this????
Comments:By: Mark Spencer (markster) 2004-04-20 17:42:13

Why should these be absolute?  Something else is wrong, clearly.

By: Mark Spencer (markster) 2004-04-26 00:31:44

Definitely not a bug obviously.

By: Tilghman Lesher (tilghman) 2004-04-26 00:49:58

Well, if relative paths are the way to go, then we should probably remove the
absolute paths from the ast_say_date_with_format() routine in say.c.

By: Mark Spencer (markster) 2004-04-26 01:05:26

Okay then add me a patch :)

By: flavour (flavour) 2004-04-26 06:55:23

Relative paths are best for Internationalisation.
The absolute paths in ast_say_date_with_format() have just bitten me when attempting to hear the sounds in French!

By: Mark Spencer (markster) 2004-04-26 08:12:24

Yes, i meant a patch that fixes the say_date_with_format

By: Mark Spencer (markster) 2004-04-28 16:31:29

Okay I went ahead and made it non-absolute