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})
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?
_______________________________________________ --Bandwidth and Colocation provided by Easynews.com --
Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
