hi there! this is my first post.
Im trying right now to change the sounds made when a person enters or leaves a conference room in Asterisk.
I was somehow disappointed to see that this sounds are HARDCODED into the app_meetme.c file
From the developer documentation I found out that enter and leave functions
call these files:
enter.h
and
leave.h
basically enter.h says this at the very beginning:
00001 /* 00002 * U-law 8-bit audio data 00003 * 00004 * Source: enter.raw 00005 * 00006 * Copyright (C) 1999, Mark Spencer and Linux Support Services 00007 * 00008 * Distributed under the terms of the GNU General Public License 00009 * 00010 */ 00011
00012 static unsigned char enter[] = {
00013 0xba, 0xba, 0xb0, 0xa6, 0xa9, 0xb8, 0xfe, 0x46, 0x42, 0x46,
So now I must find a way to change a wav or gsm file into this type of C array...
Im starting to fiddle around with sox, and i think i can get a raw output there...
now the challenge will be to find a utility that changes this binary output into a valid C array!!
Hope i have some good news in Part 2!!
No comments:
Post a Comment