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

 
On 10/10/05, 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
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

_______________________________________________
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to