<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-2" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
Use
<meta name="Generator" content="Kate, the KDE Advanced Text Editor">
<pre><b>${CHANNEL} </b>to get the number
</pre>
then
<pre><b>SetCIDNum() </b>to set the new number w/ zero.
</pre>
<br>
<br>
Tomasz Chmielewski wrote:
<blockquote cite="mid433169DC.9060601@wpkg.org" type="cite">I have an
asterisk box and SIP / IAX2 phones.
  <br>
  <br>
To call out, users have to add 0 (zero) before a real telephone number.
  <br>
  <br>
That means, that if they want to call someone that has a number 123456,
  <br>
they have to call 0-123456.
  <br>
  <br>
Simple, right?
  <br>
  <br>
This has a serious drawback though - when someone calls us from the
  <br>
number 123456, we see the callerID 123456, and we're unable to use the
  <br>
callback/redial feature in the telephone (because the phone doesn't
know
  <br>
that it should add 0 before the number).
  <br>
  <br>
  <br>
So the idea is to manipulate the incoming callerID number, and to add a
  <br>
0 before it.
  <br>
  <br>
This way the telephone user will be able to callback/redial.
  <br>
  <br>
How can I manipulate the incoming callerID number (and add 0 before
it)?
  <br>
  <br>
  <br>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">-- 
____________________________________________________________________

 BRUNO DE LUCA
 Tel. +39 02 9350 4780 (102)
 
 FG&amp;A Software
 20017 Rho - Via Puccini, 8

 E-Mail :
<a class="moz-txt-link-abbreviated" href="mailto:bdeluca@fgasoftware.com">bdeluca@fgasoftware.com</a>
 Internet:
<a class="moz-txt-link-freetext" href="http://www.fgasoftware.com">http://www.fgasoftware.com</a></pre>
</body>
</html>