I forgot to state that this is only for INCOMING calls. I'm not making outgoing calls, so I really don't care what the outgoing caller id is.
I'm running Asterisk 1.0.5 stable ... it's a production environment, and the users are getting really confused about the caller id strings on their incoming voicemail notifications and voicemail envelopes! Cheers, Maya --- beonice <[EMAIL PROTECTED]> wrote: > Folks, > > I've been trying to handle the problem where > blocked callerids appear as coming from > asterisk <asterisk> > on the email notification, and the message > envelope simply doesn't say anything (does not > actually play the vm-unknown message). > > So, following the tip provided by several > previous posters, I tried putting this in my > extensions.conf (the xx's are my DID, obviously: > > exten => xxxxxxxxxxx,1,SetCallerID(<Unknown ID>); > exten => xxxxxxxxxxx,2,Goto(veeport_context,s,1); > > Okay. This works find for BLOCKED callerids. > But the problem is that now all callerids are > being treated as blocked, not just the really > blocked ones!Help. > > What I want to do is: > For calls that don't have blocked caller id, > I want asterisk to do what it does normally: tell > me the call is from phonenumber xxxxxxxxxx > For calls that have a blocked callerid, I want > asterisk to indicate that the callerid is unknown, > both in the email and in the message envelope on > the actual voicemail. > > Is there any way to achieve both these phenomena? > I tried editing chan_sip.c to change the > default_callerid there, but that causes its own set > of > problems. > > Any help would be much appreciated! > > Thanks, > 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 > __________________________________ Yahoo! Music Unlimited Access over 1 million songs. Try it free. http://music.yahoo.com/unlimited/ _______________________________________________ --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