--- Dan Journo <[EMAIL PROTECTED]> wrote:
> Hi Beonice, > Just told i was dealing with the same problem. > [incoming] > exten => _!,1,GotoIf($["${CALLERID}" = > "unknown"]?2:5) > exten => _!,2,Set(CALLERID(name)=Withheld Number) > exten => _!,3,Set(CALLERID(number)=000000) > exten => _!,4,Goto(8) > exten => _!,5,GotoIf($["${CALLERID}" = > "asterisk"]?2) > exten => _!,6,Set(CALLERID(name)=${CALLERID}) > exten => _!,7,Set(CALLERID(number)=${CALLERID}) > exten => _!,8,Dial(SIP/${EXTEN}) > Maybe you can use that to solve your problem. > With regards to voicemail etc, i cant help you with > that. > Take care > Dan > www.sippal.com <http://www.sippal.com> Thanks, Dan. I figured out that I needed to use the GotoIf variety just as soon as I finished posting. It does work great now. I guess it works the same on all incoming calls, whether or not it gets sent off to voicemail after that is irrelevant. Thanks again! Maya __________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com _______________________________________________ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users