<div>Hi Beonice,</div>
<div>&nbsp;</div>
<div>Just told i was dealing with the same problem.</div>
<div>&nbsp;</div>
<div>[incoming]<br>exten =&gt; _!,1,GotoIf($[&quot;${CALLERID}&quot; = &quot;unknown&quot;]?2:5)<br>exten =&gt; _!,2,Set(CALLERID(name)=Withheld Number)<br>exten =&gt; _!,3,Set(CALLERID(number)=000000)<br>exten =&gt; _!,4,Goto(8)
<br>exten =&gt; _!,5,GotoIf($[&quot;${CALLERID}&quot; = &quot;asterisk&quot;]?2)<br>exten =&gt; _!,6,Set(CALLERID(name)=${CALLERID})<br>exten =&gt; _!,7,Set(CALLERID(number)=${CALLERID})<br>exten =&gt; _!,8,Dial(SIP/${EXTEN})
<br>&nbsp;</div>
<div>Maybe you can use that to solve your problem.</div>
<div>With regards to voicemail etc, i cant help you with that.</div>
<div>&nbsp;</div>
<div>Take care</div>
<div>Dan<br><a href="http://www.sippal.com">www.sippal.com</a></div>
<div><br>&nbsp;</div>
<div><span class="gmail_quote">On 10/10/05, <b class="gmail_sendername">beonice</b> &lt;<a href="mailto:beonice@yahoo.com">beonice@yahoo.com</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Folks,<br><br>I've been trying to handle the problem where<br>blocked callerids appear as coming from<br>&nbsp;&nbsp; asterisk &lt;asterisk&gt;
<br>on the email notification, and the message<br>envelope simply doesn't say anything (does not<br>actually play the vm-unknown message).<br><br>So, following the tip provided by several<br>previous posters, I tried putting this in my
<br>extensions.conf (the xx's are my DID, obviously:<br><br>exten =&gt; xxxxxxxxxxx,1,SetCallerID(&lt;Unknown ID&gt;);<br>exten =&gt; xxxxxxxxxxx,2,Goto(veeport_context,s,1);<br><br>Okay. This works find for BLOCKED callerids.
<br>But the problem is that now all callerids are<br>being treated as blocked, not just the really<br>blocked ones!Help.<br><br>What I want to do is:<br>For calls that don't have blocked caller id,<br>I want asterisk to do what it does normally: tell
<br>me the call is from phonenumber xxxxxxxxxx<br>For calls that have a blocked callerid, I want<br>asterisk to indicate that the callerid is unknown,<br>both in the email and in the message envelope on<br>the actual voicemail.
<br><br>Is there any way to achieve both these phenomena?<br>I tried editing chan_sip.c to change the<br>default_callerid there, but that causes its own set of<br>problems.<br><br>Any help would be much appreciated!<br><br>
Thanks,<br>Maya<br><br><br><br><br><br><br><br>__________________________________<br>Yahoo! Mail - PC Magazine Editors' Choice 2005<br><a href="http://mail.yahoo.com">http://mail.yahoo.com</a><br>_______________________________________________
<br>--Bandwidth and Colocation sponsored by <a href="http://Easynews.com">Easynews.com</a> --<br><br>Asterisk-Users mailing list<br><a href="mailto:Asterisk-Users@lists.digium.com">Asterisk-Users@lists.digium.com</a><br><a href="http://lists.digium.com/mailman/listinfo/asterisk-users">
http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>To UNSUBSCRIBE or update options visit:<br>&nbsp;&nbsp;<a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users
</a><br></blockquote></div><br>