[asterisk-users] Bristuff bug or feature ? (Was: Are .call files working with extensions.ael ? bristuff problem)

Olivier oza-4h07 at myamail.com
Mon Mar 16 18:28:25 CDT 2009


Hi,

Is the following behaviour a bug or a feature ?

Using bristuff-0.4.0-RC3d.tar.gz, the call file thereafter produces :

[Mar 16 15:39:36] WARNING[25547]: pbx_spool.c:267 apply_outgoing: At least
one of app or extension (or keyword message/pdu) must be specified, along
with tech and dest in file /var/spool/asterisk/outgoing/astup.call

[Mar 16 15:39:36] WARNING[25547]: pbx_spool.c:457 scan_service: Invalid file
contents in /var/spool/asterisk/outgoing/astup.call, deleting

[Mar 16 15:39:36] WARNING[25547]: pbx_spool.c:505 scan_thread: Failed to
scan service '/var/spool/asterisk/outgoing/astup.call'

Reverting Bristuff's patch on lines 266 in asterisk/pbx/pbx_spool.c such as
correct this and call file can be played :
/* Original code

        if (ast_strlen_zero(o->tech) || ast_strlen_zero(o->dest) ||
(ast_strlen_zero(o->app) && ast_strlen_zero(o->exten)) ||
(ast_strlen_zero(o->message) && ast_strlen_zero(o->pdu))) {
*/
        if (ast_strlen_zero(o->tech) || ast_strlen_zero(o->dest) ||
(ast_strlen_zero(o->app) && ast_strlen_zero(o->exten))) {

Is this a feature or a bug (ie do you have to either add a pdu or a message
(or both) in call files when using Bristuff) ?

Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090317/a0ebe58f/attachment.htm 


More information about the asterisk-users mailing list