I'm using Linphone. I tested with Asterisk and Speex only, I created a channel with echo and it worked. It seems to have problem when using app_conference. Jonathan 2006/1/31, Steve Kann <stevek@stevek.com>:> > jonathan blais wrote: > > > Hi, > > > > Does anyone ever used Speex with app_conference in Asterisk ? I'm > > having a hard time to figure why I always get this error "warning: > > Invalid mode encountered: corrupted stream?". > > Yes, we do this all the time. Where are your speex frames coming from? > There's some SIP phones out there which seem to use an incompatible > speex encoding, I seem to recall. > > > -SteveK > > > >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/speex-dev/attachments/20060131/768cbac3/attachment.htm
jonathan blais wrote:> I'm using Linphone. I tested with Asterisk and Speex only, I created a > channel with echo and it worked. It seems to have problem when using > app_conference.If you just use app_echo, then asterisk won't be trying to decode your frames; it will just be sending them back to you. Therefore, if your client is using an incompatible packing of the frames, it won't matter, as long as your client can also understand it. In order to determine if your client is using a compatible packing, you'll need to have asterisk do something which requires asterisk to decode the frames: Like bridge the call to a channel using another codec, or record the call to a non-speex format (i.e. write to a PCM WAV file), etc. -SteveK> > Jonathan > > 2006/1/31, Steve Kann <stevek@stevek.com <mailto:stevek@stevek.com>>: > > jonathan blais wrote: > > > Hi, > > > > Does anyone ever used Speex with app_conference in Asterisk ? I'm > > having a hard time to figure why I always get this error "warning: > > Invalid mode encountered: corrupted stream?". > > Yes, we do this all the time. Where are your speex frames coming > from? > There's some SIP phones out there which seem to use an incompatible > speex encoding, I seem to recall. > > > -SteveK > > > >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/speex-dev/attachments/20060131/f1c9c1c4/attachment.html
Just curious, how does Asterisk pack Speex frames in a packet. AFAIK, Linphone just sends raw packets, as specified in the RTP draft. Jean-Marc Le mardi 31 janvier 2006 ? 10:43 -0500, Steve Kann a ?crit :> jonathan blais wrote: > > I'm using Linphone. I tested with Asterisk and Speex only, I created > > a channel with echo and it worked. It seems to have problem when > > using app_conference. > > If you just use app_echo, then asterisk won't be trying to decode your > frames; it will just be sending them back to you. Therefore, if your > client is using an incompatible packing of the frames, it won't > matter, as long as your client can also understand it. > > In order to determine if your client is using a compatible packing, > you'll need to have asterisk do something which requires asterisk to > decode the frames: Like bridge the call to a channel using another > codec, or record the call to a non-speex format (i.e. write to a PCM > WAV file), etc. > > -SteveK > > > > > Jonathan > > > > 2006/1/31, Steve Kann <stevek@stevek.com>: > > jonathan blais wrote: > > > > > Hi, > > > > > > Does anyone ever used Speex with app_conference in > > Asterisk ? I'm > > > having a hard time to figure why I always get this error > > "warning: > > > Invalid mode encountered: corrupted stream?". > > > > Yes, we do this all the time. Where are your speex frames > > coming from? > > There's some SIP phones out there which seem to use an > > incompatible > > speex encoding, I seem to recall. > > > > > > -SteveK > > > > > > > > > > _______________________________________________ > Speex-dev mailing list > Speex-dev@xiph.org > http://lists.xiph.org/mailman/listinfo/speex-dev-------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?Url : http://lists.xiph.org/pipermail/speex-dev/attachments/20060201/71932cd1/attachment.pgp