<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1515" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>exten =&gt; xx,2,SetCIDName(*-SALES-* 
${CALLERIDNAME})</FONT></DIV>
<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=JamesSteven@redlinesoftware.co.uk 
  href="mailto:JamesSteven@redlinesoftware.co.uk">James Steven</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A 
  title=asterisk-users@lists.digium.com 
  href="mailto:asterisk-users@lists.digium.com">asterisk-users@lists.digium.com</A> 
  </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, October 19, 2005 9:33 
  AM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> [Asterisk-Users] DNIS/DNID</DIV>
  <DIV><BR></DIV>
  <DIV dir=ltr align=left><FONT face=Arial size=2><SPAN 
  class=205103813-18102005>Hi</SPAN></FONT></DIV>
  <DIV><FONT face=Arial size=2><SPAN class=205103813-18102005>Is it possible 
  with Asterisk to tell&nbsp;the called party which number was dialled by the 
  caller?&nbsp; Or in place of the number dialled have a description such as 
  'Sales' or 'Accounts'?&nbsp; <FONT face=Arial size=2><SPAN 
  class=205103813-18102005>Ideally, I would like to show a description 
  corresponding to the number dialled followed by CIDName.&nbsp; 
  </SPAN></FONT></SPAN></FONT><FONT face=Arial size=2><SPAN 
  class=205103813-18102005>How might this be set up?&nbsp; </SPAN></FONT></DIV>
  <DIV><FONT face=Arial size=2><SPAN 
  class=205103813-18102005></SPAN></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2><SPAN class=205103813-18102005>Currently my 
  extensions.conf is:</SPAN></FONT></DIV>
  <DIV><FONT face=Arial size=2><SPAN 
  class=205103813-18102005></SPAN></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2><SPAN class=205103813-18102005>exten =&gt; 
  xx,1,LookupCIDName<BR>exten =&gt; xx,2,Dial(SIP/xx<WBR>,50)<BR>exten =&gt; 
  xx,3,Voicemail(xx)<BR>exten =&gt; xx,4,Hangup</SPAN></FONT></DIV>
  <DIV><FONT face=Arial size=2><SPAN 
  class=205103813-18102005></SPAN></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2><SPAN class=205103813-18102005>Thanks for your 
  help.</SPAN></FONT></DIV>
  <DIV><FONT face=Arial size=2><SPAN 
  class=205103813-18102005></SPAN></FONT>&nbsp;</DIV>
  <P>
  <HR>

  <P></P>_______________________________________________<BR>--Bandwidth and 
  Colocation sponsored by Easynews.com --<BR><BR>Asterisk-Users mailing 
  list<BR>Asterisk-Users@lists.digium.com<BR>http://lists.digium.com/mailman/listinfo/asterisk-users<BR>To 
  UNSUBSCRIBE or update options visit:<BR>&nbsp;&nbsp; 
  http://lists.digium.com/mailman/listinfo/asterisk-users
  <P>
  <HR>

  <P></P>No virus found in this incoming message.<BR>Checked by AVG 
  Anti-Virus.<BR>Version: 7.0.344 / Virus Database: 267.12.4/143 - Release Date: 
  10/19/05<BR></BLOCKQUOTE></BODY></HTML>