Olivier
2009-Mar-16 23:28 UTC
[asterisk-users] Bristuff bug or feature ? (Was: Are .call files working with extensions.ael ? bristuff problem)
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
Tzafrir Cohen
2009-Mar-17 08:20 UTC
[asterisk-users] Bristuff bug or feature ? (Was: Are .call files working with extensions.ael ? bristuff problem)
On Tue, Mar 17, 2009 at 12:28:25AM +0100, Olivier wrote:> Hi, > > Is the following behaviour a bug or a feature ?A bug. Those two fields should be optional. -- Tzafrir Cohen icq#16849755 jabber:tzafrir.cohen at xorcom.com +972-50-7952406 mailto:tzafrir.cohen at xorcom.com http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir