[Asterisk-Users] Code parsing error?
Jon-o Addleman
jonathan.addleman at mail.mcgill.ca
Fri May 5 16:24:31 MST 2006
On Fri, May 05, 2006 at 03:06:43PM -0600, David L. West spake thusly:
> 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})
^ ^ ^ " "
There's definitely a ) missing in this line! A good text editor with
bracket matching (I'm using vim now) makes it a lot easier to find this
sort of thing.
--
Jon-o Addleman - http://redowl.dyndns.org
More information about the asterisk-users
mailing list