[Asterisk-Users] Code parsing error?
David L. West
nntp at deskoptional.com
Fri May 5 14:06:43 MST 2006
This code executes just fine, and leaves the SIP peer's mailbox setting from sip.conf in variable target.
exten => 1,1,Set(target=${CHANNEL:4}-)
exten => 1,n,Set(target=${SIPPEER(${CUT(target,,1)}:mailbox})
exten => 1,n,VoiceMailMain(${target})
However, every time it runs I get an error in the CLI as follows
WARNING[5629]: pbx.c:1366 ast_func_read: Can't find trailing parenthesis?
This happens right after it executes the first line of code, then execution continues normally. I've looked at this until my eyes crossed at don't see any unbalanced parens or brackets. Perhaps I shouldn't worry since it seems to work, but what's going on here?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060505/9b4e5323/attachment.htm
More information about the asterisk-users
mailing list