[asterisk-users] Are .call files working with extensions.ael ? bristuff problem

Olivier oza-4h07 at myamail.com
Mon Mar 16 09:55:49 CDT 2009


Hi,

As soon as I removed back line 266 as suggested by Peer Oliver, it worked.


Lines changed in /usr/src/bristuff-0.4.0-RC4-xr6/asterisk/pbx/pbx_spool.c :
/* Olivier
        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))) {


Procedure used to update:
cd /usr/src/bristuff-0.4.0-RC4-xr6/asterisk/
make all
make install

File astup.call :
Channel: Sip/700
Context: mylocal
Extension: 00123457530
Priority: 1



Now, looking at removed line, it would say "if both message and pdu are
empty, then print error message".
Question is now, is this a feature (ie you must either add a pdu or a
message (or both) in call files) or a bug ?

Regards

PS: I'll post the answer to Bristuff mailinglist as this must of interest
there ...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090316/1e348e8b/attachment.htm 


More information about the asterisk-users mailing list