<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    Almost,<br>
    <br>
    If you use Asterisk version 1.6 or higher use<br>
    <br>
    Exten =&gt; ExecIf($[&#8220;${CALLERID(number)}&#8221; =
    &#8220;400&#8221;]?Set(CALLERID(num)="")<br>
    <br>
    Or <br>
    <br>
    Exten =&gt; ExecIf($[&#8220;${CALLERID(number)}&#8221; =
    &#8220;400&#8221;]?Set(CALLERID(all)="")<br>
    <br>
    <div class="moz-signature">
      <meta http-equiv="CONTENT-TYPE" content="text/html;
        charset=ISO-8859-1">
      <title></title>
      <meta name="GENERATOR" content="OpenOffice.org 3.2 (Unix)">
      <meta name="CREATED" content="0;0">
      <meta name="CHANGEDBY" content="Michel Verbraak">
      <meta name="CHANGED" content="20110224;13593500">
      <style type="text/css">
        <!--
                P { color: #000000 }
        -->
        </style>
      <p><font color="#17365d"><font face="Arial, sans-serif"><font
              size="2">Michel
              Verbraak</font></font></font><font face="Arial,
          sans-serif"><font size="2"><br>
          </font></font><font color="#32604d"><font face="Arial,
            sans-serif"><font size="2"><b></b></font></font></font><font
          color="#333333"><font face="Arial, sans-serif"><font
              style="font-size: 8pt;" size="1"><a
                href="http://www.intercommit.nl/"><br>
              </a></font></font></font></p>
    </div>
    <br>
    On 08-04-11 15:56, Louis Carreiro wrote:
    <blockquote cite="mid:007b01cbf5f4$c33755c0$49a60140$@gmail.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <meta name="Generator" content="Microsoft Word 14 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal">Hey all!<o:p></o:p></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal">I&#8217;m trying to figure out a way to
          manipulate a call&#8217;s caller ID based off of the caller&#8217;s caller
          ID. Basically, I&#8217;ve got a situation where anything that goes
          through an Nortel Opt11&#8217;s IVR comes out with the caller ID 400
          (the Opt11&#8217;s IVR&#8217;s ext). &nbsp;When the call goes out the trunk
          that the call is destined for, I&#8217;d like to grab the 400 caller
          ID and delete it so it comes through as &#8220;Unknown&#8221;. The
          &#8220;Unknown&#8221; part doesn&#8217;t have to be the literal string, just a
          blank CallerID would be fine.<o:p></o:p></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal">Would it be something like:<o:p></o:p></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal">Exten =&gt; ExecIf($[&#8220;${CALLERID(number)}&#8221;
          = &#8220;400&#8221;]?SetCallerID())<o:p></o:p></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal">Thanks all!<o:p></o:p></p>
      </div>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by <a class="moz-txt-link-freetext" href="http://www.api-digital.com">http://www.api-digital.com</a> --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               <a class="moz-txt-link-freetext" href="http://www.asterisk.org/hello">http://www.asterisk.org/hello</a>

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   <a class="moz-txt-link-freetext" href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a></pre>
    </blockquote>
  </body>
</html>