Hi all, Maybe I'm being thick here, but I've had a look through the mailing list and the Wiki, and I can't seem to see details of anybody else with this problem....
With the following line: exten => s,1,HasNewVoicemail(201) I am getting the following error: -- Executing HasNewVoicemail("SIP/201-2f1e", "201") in new stack Sep 2 12:41:09 NOTICE[819221]: app_hasnewvoicemail.c:104 hasvoicemail_exec: Voice mailbox 201 at /var/spool/asterisk/voicemail/default/201/(null) does not exist Sep 2 12:41:09 WARNING[819221]: ast_expr.y:474 ast_yyerror: ast_yyerror(): syntax error: parse error; Input: 0 + ^ ^ And if I add the optional variable name to put the new count into: exten => s,1,HasNewVoicemail(201,NEWMSGCOUNT) The error message is an even more puzzling: -- Executing HasNewVoicemail("SIP/201-3277", "[EMAIL PROTECTED]|NEWMSGCOUNT") in new stack Sep 2 12:45:33 NOTICE[851989]: app_hasnewvoicemail.c:104 hasvoicemail_exec: Voice mailbox 201 at /var/spool/asterisk/voicemail/default|NEWMSGCOUNT/201/(null) does not exist Sep 2 12:45:33 WARNING[851989]: ast_expr.y:474 ast_yyerror: ast_yyerror(): syntax error: parse error; Input: 0 + ^ ^ Which seems to be taking the variable name as part of the mailbox path. I have tried various combinations of ',' and '|', changing the mailbox to '[EMAIL PROTECTED]' and also surrounding parts with '"', but the errors are all the same. The path '/var/spool/asterisk/voicemail/default/201/' definitely exists. The Asterisk version is - CVS-HEAD-08/13/04-12:00:00-BRI-stuffed-0.1.0-RC4a Has anybody else seen this error or knows what stupid mistake/assumption I've made? Nick Barnes Senior IT Consultant. _______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users