Sir ,<br><br>this is not working <br><br><br><div class="gmail_quote">On Mon, May 9, 2011 at 1:52 PM, A J Stiles <span dir="ltr">&lt;<a href="mailto:asterisk_list@earthshod.co.uk">asterisk_list@earthshod.co.uk</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im">On Monday 09 May 2011, mahesh katta wrote:<br>
&gt; Hi,<br>
&gt; THIS IS IN DUBAI.<br>
&gt;<br>
&gt; I am having PRI line with 100 DID&#39;s (00-99) and when we call to any<br>
&gt; landline or mobile number then it shows us our board number or pilot number<br>
&gt; (i.e 4663000 means 00)..<br>
<br>
</div>In the context through which outgoing calls are placed, you need a step which<br>
sets the caller ID number.  For instance, part of our dialplan maps external<br>
phone numbers with the local part 707060 to 707072 to internal extensions 301<br>
to 312 respectively.  Our E1 provider also requires us to include the STD<br>
code, minus the leading zero, for the town we are in -- and will silently<br>
anonymise the call if we try to send a caller ID that does not belong to us.<br>
<br>
So for outgoing calls, we have something like<br>
<br>
[ts-outgoing]<br>
exten =&gt; _0., 1, Set(localno=7070$[${CALLERID(num)}-240])<br>
exten =&gt; _0., 2, Set(CALLERID(num)=${STD}${localno})<br>
<br>
<br>
--<br>
AJS<br>
<br>
Answers come *after* questions.<br>
<br>
--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
               <a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</blockquote></div><br><br clear="all"><br>-- <br><font face="Verdana, sans-serif"><font size="2"><font color="#000000">Best
Regards, <br><br>Mahesh Katta</font><br><font color="#ff9900"><b>BUZZ</b></font><font color="#000000"><b>WORKS</b></font><font color="#000000">
Business Services Private Limited<br></font><font color="#999999">BANGALORE
</font><font color="#000000">| </font><font color="#999999">CHENNAI </font><font color="#808080">|
</font><font color="#999999">HYDERABAD </font><font color="#000000">|
</font><font color="#ff9900">MUMBAI| </font><font color="#999999">DELHI<br></font><font color="#000000">201, Crystal Tower, 75 Gundavali Cross Lane, Andheri Kurla Road, Andheri (E) Mumbai 400069</font><font color="#666666"><br>
</font><font color="#ff9900">GSM</font><font color="#000000">
+91.97029.70779 | </font><font color="#ff9900">Phone </font><font color="#000000">+91.22.4229.2634
| </font><font color="#ff9900">Fax </font><font color="#000000">+91.22.4229.2634<br></font><font color="#ff9900">Web</font><font color="#000000">
<a href="http://www.buzzworks.com/" target="_blank">http://www.buzzworks.com<br></a></font></font></font><br>