I am trying to create a %100 g729 (with no transcoding) system (using a Soekris, of course). I am running AstLinux with the native sounds, g729 is the only codec allowed, %100 SIP (g729 only allow=) - I think I am covering all of my bases. I have only "format=g729" in voicemail.conf. On an incoming call to a mailbox, everything goes well until recording the message. When the message is supposed to be recorded, the voicemail app bombs and this is displayed on the console: -- Recording the message -- x=0, open writing: /var/spool/asterisk/voicemail/default/105/INBOX/msg0001 format: g729, 0x8140f88 Jun 1 10:08:45 WARNING[15148]: channel.c:2326 set_format: Unable to find a codec translation path from g729 to slin Jun 1 10:08:45 WARNING[15148]: app.c:621 ast_play_and_record: Unable to set to linear mode, giving up Obviously I don't have codec_g729 installed. The real question is, why does it need to convert to slinear? Thanks! -- Kristian Kielhofner
Kristian Kielhofner wrote:> I am trying to create a %100 g729 (with no transcoding) system > (using a Soekris, of course). I am running AstLinux with the native > sounds, g729 is the only codec allowed, %100 SIP (g729 only allow=) - > I think I am covering all of my bases. > > I have only "format=g729" in voicemail.conf. On an incoming call > to a mailbox, everything goes well until recording the message. When > the message is supposed to be recorded, the voicemail app bombs and > this is displayed on the console: > > -- Recording the message > -- x=0, open writing: > /var/spool/asterisk/voicemail/default/105/INBOX/msg0001 format: g729, > 0x8140f88 > Jun 1 10:08:45 WARNING[15148]: channel.c:2326 set_format: Unable to > find a codec translation path from g729 to slin > Jun 1 10:08:45 WARNING[15148]: app.c:621 ast_play_and_record: Unable > to set to linear mode, giving up > > Obviously I don't have codec_g729 installed. The real question > is, why does it need to convert to slinear? > > Thanks!From what I understand, that is the format that Asterisk uses internally. Steve
The codec is not just for transcoding audio. It is required to read and write it as well. -- -- Steven glimasoutheast.org "Kristian Kielhofner" <kris@krisk.org> wrote in message news:447EF7A0.1080505@krisk.org...> I am trying to create a %100 g729 (with no transcoding) system (using a Soekris, of course). I am running AstLinux with the > native sounds, g729 is the only codec allowed, %100 SIP (g729 only allow=) - I think I am covering all of my bases. > > I have only "format=g729" in voicemail.conf. On an incoming call to a mailbox, everything goes well until recording the message. > When the message is supposed to be recorded, the voicemail app bombs and this is displayed on the console: > > -- Recording the message > -- x=0, open writing: /var/spool/asterisk/voicemail/default/105/INBOX/msg0001 format: g729, 0x8140f88 > Jun 1 10:08:45 WARNING[15148]: channel.c:2326 set_format: Unable to find a codec translation path from g729 to slin > Jun 1 10:08:45 WARNING[15148]: app.c:621 ast_play_and_record: Unable to set to linear mode, giving up > > Obviously I don't have codec_g729 installed. The real question is, why does it need to convert to slinear? > > Thanks! > > -- > Kristian Kielhofner > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: > lists.digium.com/mailman/listinfo/asterisk-users >
Kristian Kielhofner wrote:> -- Recording the message > -- x=0, open writing: > /var/spool/asterisk/voicemail/default/105/INBOX/msg0001 format: g729, > 0x8140f88 > Jun 1 10:08:45 WARNING[15148]: channel.c:2326 set_format: Unable to > find a codec translation path from g729 to slin > Jun 1 10:08:45 WARNING[15148]: app.c:621 ast_play_and_record: Unable to > set to linear mode, giving up > > Obviously I don't have codec_g729 installed. The real question is, > why does it need to convert to slinear?Heh... you'll like this one. Recording voicemail messages involves listening for silence to know when the message recording should stop. That means converting to SLINEAR :-)
Philippe Lindheimer
2006-Jun-01 09:04 UTC
[Asterisk-Users] Re: G729, voicemail, no codec_g729
Sorry for the repost - forgot to put the proper subject last time. Kevin, since voicemail doesn't support saving in g729 format (as far as I have seen last time I looked into the code), it would need to transcode the g729 to wav or something else at this point to save the voicemail. Isn't that why it is failing when it hits the voicemail system? (sure sounds like what the error is complaining about). philippe alex.robar@gmail.com From: "Kevin P. Fleming" <kpfleming@digium.com> To: Asterisk Users Mailing List - Non-Commercial Discussion <asterisk-users@lists.digium.com> Date: Thu, 01 Jun 2006 10:30:32 -0500 Subject: Re: [Asterisk-Users] Re: G729, voicemail, no codec_g729 Steven wrote:> The codec is not just for transcoding audio. > It is required to read and write it as well.Not true. It's possible to do playback of compressed files without having that codec installed. It should also be possible to record them. _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: lists.digium.com/mailman/listinfo/asterisk-users --------------------------------- Ring'em or ping'em. Make PC-to-phone calls as low as 1?/min with Yahoo! Messenger with Voice. -------------- next part -------------- An HTML attachment was scrubbed... URL: lists.digium.com/pipermail/asterisk-users/attachments/20060601/3e4bc0bf/attachment.htm