[Asterisk-Users] chan_iax2.c problem?

Chamberland-Larose, Guillaume guillaume at ea.com
Fri Jan 28 14:09:14 MST 2005


 

> -----Original Message-----
> From: Steve Kann [mailto:stevek at stevek.com] 
> Sent: Friday, January 28, 2005 12:08 PM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Cc: Adam Hart
> Subject: Re: [Asterisk-Users] chan_iax2.c problem?
> Looks like two bugs:
> 
> 1) Apparently, asterisk's MOH is trying to send a zero-length 
> voice frame out, (or maybe, it put data in the frame, but set 
> samples to zero?).  It could also be a different bug in MOH.
> 

I'll take a better look at this tonight and file a bug for MOH if I can
find out what the issue is.

> 2) The line of code upon which chan_iax2 crashed, I think is 
> one I wrote :).  We should check for the zero case before 
> trying to do this division.
> 
> Can you file a bug on this, at the bugtracker?  (2) should 
> obviously be easy to fix as you saw.  (1) I'm not sure about.

I'll enter bug (2) in bugtracker right now.

> Also, I'm CC'ing Adam Hart so he knows about the issue in Firefly; he 
> may want to make it more robust to this..   (it probably receives a 
> voice frame with no data in this case, which isn't 
> meaningful, but shouldn't crash things..).

I should add, when asterisk crashes the way it did, Firefly thinks the
call is still in progress, it will only hang up when I tell it to.

Guills



More information about the asterisk-users mailing list