r3001 - in asterisk/trunk/debian: . patches
Lionel Elie Mamane
lionel at mamane.lu
Sat Jan 13 15:11:07 CET 2007
On Sat, Jan 13, 2007 at 02:40:42PM +0100, Lionel Elie Mamane wrote:
> On Sat, Jan 13, 2007 at 02:17:01PM +0100, Kilian Krause wrote:
>> On Sat, Jan 13, 2007 at 02:13:39PM +0100, Lionel Elie Mamane wrote:
>>> On Sat, Jan 13, 2007 at 12:05:56PM +0100, Kilian Krause wrote:
>>>> - Revert r2998: We don't ship that dir in the first place to then move it over.
>>>> We just have asterisk look for it in the right place right away.
>>> That would be a very good solution if we actually did that. I tested
>>> asterisk-bristuff version 1.2.14~dfsg-2, exactly the i386 .deb you
>>> uploaded and asterisk still tries to put them in
>>> /usr/share/asterisk/sounds/priv-callerintros/ .
>> I don't see why it should do so from the source.
> For the actual file, it uses a relative name; I presume the
> ast_fileexists and ast_play_and_record stick
> ast_config_AST_DATA_DIR "/sounds/" in front of it automatically if it
> doesn't start with a slash. Lemme check... Yeah, that is it.
> I'm changing that line to
> snprintf(privintro,sizeof(privintro),"%s/sounds/priv-callerintros/%s", ast_config_AST_VAR_DIR, privcid);
> and testing that. Stay tuned.
Yeah, that works. Patch attached. I have to run to an appointment now,
so I'll let you dpatchify it, commit it, etc.
--
Lionel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: priv-callerintros.patch
Type: text/x-diff
Size: 570 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-voip-maintainers/attachments/20070113/c6ba1c3b/priv-callerintros-0001.bin
More information about the Pkg-voip-maintainers
mailing list