<br>How do you want to map callerid with your extensions? Do you have any DB table for such a mapping?<br><br>[SATISH]<br><br><div class="gmail_quote">On Tue, Jun 7, 2011 at 2:29 PM, mahesh katta <span dir="ltr">&lt;<a href="mailto:maheshkatta@flexydial.com">maheshkatta@flexydial.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi,<br><br>I have small confusion in my configuration which is I had some DID&#39;s like 044578900-04457999. I was configured dial plan below mention.<br clear="all">
<br>exten =&gt; _0XXXXXXXXX,1,NoOp(Int exten:${CALLERID(num)})<br>
exten =&gt; _0XXXXXXXXX,2,Set(outgoing_ident=0445789${CALLERID(num):-2})<br>exten =&gt; _0XXXXXXXXX,3,NoOp(Ext ident:${outgoing_ident})<br>exten =&gt; _0XXXXXXXXX,4,Set(CALLERID(name)=${outgoing_ident})<br>exten =&gt; _0XXXXXXXXX,5,AGI(agi://<a href="http://127.0.0.1:4577/call_log" target="_blank">127.0.0.1:4577/call_log</a>)<br>

exten =&gt; _0XXXXXXXXX,6,Set(CALLERID(num)=${outgoing_ident})<br>exten =&gt; _0XXXXXXXXX,7,MixMonitor(/var/spool/asterisk/astrec/${TIMESTAMP}-${CALLERIDNUM}-${EXTEN}-${UNIQUEID}.gsm|av(0)V(0))<br>exten =&gt; _0XXXXXXXXX,8,Dial(${TRUNK}/${EXTEN},,tTo)<br>

exten =&gt; _0XXXXXXXXX,9,Hangup<br><br><br>this dial plan for outbound .But I have some extensions that is like 100-110,200-210,300-310, etc. with this dialplan when I dial from  100 extension callerid will show 044578900 right, and i have 200 extension also when i dial from this callerid will show 044578900 right. but i need to difine every extension should be show different callerid . and same as INbound also. <br>

Please anybody give me short dialplan for this .<br><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>
<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>