[asterisk-dev] AMR support

chris.2.dobbs at bt.com chris.2.dobbs at bt.com
Tue Mar 28 11:07:17 MST 2006


Hi Kevin,
Thanks for the assistance. I was hoping it would be that straight
forward. I have so far managed to build a new codec_amr.c file and am
busily trying hook in the 3gpp amr functions.

Regards,
-Chris
 

-----Original Message-----
From: asterisk-dev-bounces at lists.digium.com
[mailto:asterisk-dev-bounces at lists.digium.com] On Behalf Of Kevin P.
Fleming
Sent: 27 March 2006 18:28
To: Asterisk Developers Mailing List
Subject: Re: [asterisk-dev] AMR support

chris.2.dobbs at bt.com wrote:

> I have had a quick glance at the code and it seems very well 
> structured and appears that the codec side of things has been designed

> almost template like - I may be wrong but it seems like all the 
> codecs_xxx.c files all expose the same functions like ast_frame()
etc...

Exactly. Just follow an existing codec_<foo>.c file as a starting point;
the only other changes you will need to make will be in header files to
make the rest of Asterisk aware of the new audio format, and in rtp.c to
assign an RTP codec number to it (if there is not one officially
assigned).
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev



More information about the asterisk-dev mailing list