<HTML dir=ltr><HEAD>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<META content="MSHTML 6.00.2900.3660" name=GENERATOR></HEAD>
<BODY>
<DIV id=idOWAReplyText44790 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>Hi Jimmy,</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>&nbsp;Appreciate your help.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>I tried the one below and cudnt get the caller ID.I am getting "Private Call" and "Out of Area" in the sip phone display when i call from asterisk.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>My current extensions.conf looks like below</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr>[general]<BR>static=yes<BR>writeprotect=no<BR>autofallthrough=no<BR>extenpatternmatchnew=no<BR>clearglobalvars=no<BR>priorityjumping=yes<BR>userscontext=default</DIV>
<DIV dir=ltr>&nbsp;</DIV>
<DIV dir=ltr>[globals]<BR>CONSOLE=Console/dsp&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; Console interface for demo<BR>;CONSOLE=DAHDI/1<BR>;CONSOLE=Phone/phone0<BR>IAXINFO=guest&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; IAXtel username/password<BR>;IAXINFO=myuser:mypass<BR>TRUNK=DAHDI/G1<BR>TRUNKMSD=1</DIV>
<DIV dir=ltr><BR>&nbsp;&nbsp;&nbsp; <BR>[Internal]<BR>include =&gt; Incoming</DIV>
<DIV dir=ltr><BR>exten =&gt; 8001234001,1,Dial(DAHDI/32,,rt)</DIV>
<DIV dir=ltr>exten =&gt; 8001234002,1,Dial(DAHDI/33,,rt)</DIV>
<DIV dir=ltr>exten =&gt; 8001234003,1,Dial(DAHDI/34,,rt)</DIV>
<DIV dir=ltr>&nbsp;</DIV>
<DIV dir=ltr>exten =&gt; 8001234004,1,Set(CALLERID(num)=8001234004)<BR>exten =&gt; 8001234004,n,Set(CALLERID(name)="Line 4")<BR>exten =&gt; 8001234004,3,Dial(DAHDI/35,,rt)</DIV>
<DIV dir=ltr>&nbsp;</DIV>
<DIV dir=ltr>exten =&gt; 8001234005,1,Dial(DAHDI/36,,rt)</DIV>
<DIV dir=ltr>&nbsp;</DIV>
<DIV dir=ltr>[Incoming]<BR>exten =&gt; s,1,Answer<BR>exten =&gt; s,2,Dial(DAHDI/g1,20,rt)</DIV>
<DIV dir=ltr>exten =&gt; _988.,1,Dial(DAHDI/g1/${EXTEN},20)&nbsp; </DIV>
<DIV dir=ltr>&nbsp;</DIV>
<DIV dir=ltr>&nbsp;</DIV>
<DIV dir=ltr>I also tried changing the dial plan to exten =&gt; _988.,3,Dial(DAHDI/g1/${EXTEN},20) and in that case the call itself was not going through</DIV>
<DIV dir=ltr>&nbsp;</DIV>
<DIV dir=ltr>Venugopal </DIV></DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> asterisk-users-bounces@lists.digium.com on behalf of Jimmy Godbout<BR><B>Sent:</B> Thu 3/4/2010 5:53 PM<BR><B>To:</B> Asterisk Users Mailing List - Non-Commercial Discussion<BR><B>Subject:</B> Re: [asterisk-users] Caller ID in Asterisk<BR></FONT><BR></DIV>
<DIV>
<DIV>Hi,</DIV>
<DIV>&nbsp;</DIV>
<DIV>You need to set the callerid before making the call, not after. Also, I guess it's a typo that the priority in this dialplan is all 1; it should be </DIV>
<DIV dir=ltr>&nbsp;</DIV>
<DIV dir=ltr><FONT size=2>exten =&gt; <FONT size=3>8001234003</FONT>,1,Set(CALLERID(num)=<FONT size=3>8001234003</FONT>)<BR>exten =&gt; <FONT size=3>8001234003</FONT>,n,Set(CALLERID(name)="Line 5")</FONT></DIV>
<DIV dir=ltr>exten =&gt; 8001234003,n,Dial(DAHDI/34,,rt)</DIV>
<P>Unless your using variable for the name and the number, you should not put them in ${}.<BR></P>
<P>Jimmy<BR></P>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=msgHeaders>-----Original Message-----<BR><B>From:</B> venuiyer@motorola.com<BR><B>Sent:</B> Thu, 4 Mar 2010 19:50:03 +0800<BR><B>To:</B> asterisk-users@lists.digium.com, asterisk-users@lists.digium.com, asterisk-users@lists.digium.com<BR><B>Subject:</B> Re: [asterisk-users] Caller ID in Asterisk<BR><BR></DIV>
<DIV class=oldBody>
<DIV>
<DIV dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>HI All,</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>&nbsp;Below is the ones i tried</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr>
<DIV dir=ltr>exten =&gt; 8001234003,1,Dial(DAHDI/34,,rt)</DIV>
<DIV dir=ltr><FONT size=2>exten =&gt; <FONT size=3>8001234003</FONT>,1,Set(CALLERID(num)=${<FONT size=3>8001234003</FONT>})<BR>exten =&gt; <FONT size=3>8001234003</FONT>,1,Set(CALLERID(name)=${Line 5})</FONT></DIV>
<DIV dir=ltr><FONT size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT size=2>However i got an error message sayinfg Function CallerID not registered.</FONT></DIV>
<DIV dir=ltr><FONT size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT size=2>Kindly help me...</FONT></DIV></DIV></DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> asterisk-users-bounces@lists.digium.com on behalf of Gopalakrishnaiyer Venugopal-Q16770<BR><B>Sent:</B> Thu 3/4/2010 3:59 PM<BR><B>To:</B> Asterisk Users Mailing List - Non-Commercial Discussion; asterisk-users@lists.digium.com<BR><B>Subject:</B> [asterisk-users] Caller ID in Asterisk<BR></FONT><BR></DIV>
<DIV dir=ltr>
<DIV dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>Hi All,</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>&nbsp;I have an asterik machine which is connected via a PRI to the SIP server.When i call from the Asterisk machine to the SIP server i am not getting the caller id of the lines at the sip side.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>Please help me to identify how this can be set.The extensions.conf file is attached.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>Cheers</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2>venu</FONT></DIV></DIV>
<DIV dir=ltr><BR>&nbsp;</DIV></DIV></DIV></DIV></BLOCKQUOTE>
<HR style="CLEAR: both; MARGIN-TOP: 10px; HEIGHT: 1px" noShade SIZE=1>

<DIV style="PADDING-RIGHT: 3px; PADDING-LEFT: 3px; BACKGROUND: white; PADDING-BOTTOM: 3px; FONT: 12px/1.3em Verdana,sans-serif; COLOR: black; PADDING-TOP: 3px"><A href="http://www.inbox.com/notifier"><IMG style="MARGIN-RIGHT: 15px" alt="Email Notifier Preview" src="" width=159 align=left border=0></A> <BR><STRONG><FONT color=#2086c3>Receive Notifications of Incoming Messages</FONT></STRONG><BR>Easily monitor multiple email accounts &amp; access them with a click. Visit <A href="http://www.inbox.com/notifier">www.inbox.com/notifier</A> and check it out!</DIV></DIV></BODY></HTML>