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
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to