|
>It looks like you didn¹t end the parenthesis for SIPPEER(). Maybe? Yup, edited to look like this and it works w/o generating an error: ; Send to the user's vmail box by looking up the "mailbox" setting in sip.conf exten => 1,1,Set(target=${CHANNEL:4}-) exten => 1,n,Set(target=${CUT(target,,1)}:mailbox}) exten => 1,n,VoiceMailMain(${target}) I'm doing some tricky things in the dialplan and sip.conf so that I can have sip devices "dave" and "dave-laptop" point to the same voicemail box. Also rigging the "local" dialplan context to force calls to "dave" or "dave-laptop" to go to "dave", so that if dave-laptop calls somebody who then returns the call after dave-laptop has signed off it actually gets routed back to "dave". The idea is to abstract devices and users as separate layers rather than rely on the assumption that one user = one device.
|
_______________________________________________ --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
