[asterisk-users] indications.c: Can't generate that much data!

Luki lugosoft at gmail.com
Sat Aug 11 21:30:25 CDT 2007


> I don't see what difference removing the "r" option has made from an
> Asterisk perspective - in both cases Asterisk tries to emulate a
> ringtone but fails for some reason when "r" is present. According to the
> the "show application dial" help having no "r" present for Dial should
> NOT generate a ringing tone yet here it does.

Simple. When using "r", asterisk needs to generate the ringing tones.
For some reason your indicactions.conf describe a tone which is longer
in duration than what can be generated by asterisk, so the error is
shown and no tone is generated. Probably the max buffer length is
somewhere preset in the code. If you do NOT use the "r" flag, asterisk
simply passes call progress indications from the source, without the
need to generate any. Hence no error, and you hear ringing.

Yes, it's a bug, but there no magic in the symptoms you observe.

Luki



More information about the asterisk-users mailing list