<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML dir=ltr><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3660" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=855035406-05032010><FONT face=Arial
color=#0000ff size=2>Hi All,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=855035406-05032010><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=855035406-05032010><SPAN lang=EN>
<P>Finally I am able to get the number displayed at the SIP side using </P>
<P>exten => _988.,1,Set(CALLERID(num)=8001234000)</P>
<P>exten => _988.,n,Dial(DAHDI/g1/${EXTEN},20)</P>
<P>However this number is fixed and I want to display the number of the
individual lines whoever is calling. I tried with </P>
<P>exten => _988.,1,Set(CALLERID(num)=${exten}) and exten =>
_988.,1,Set(CALLERID(num)=${EXTEN})</P>
<P>Both the above lines didn’t help.</P>
<P>I have 8 lines configured as below and need the callerID of the individual
lines to be displayed at the SIP side</P>
<P>exten => 8001234001,n,Dial(DAHDI/32,,rt) </P>
<P>exten => 8001234002,n,Dial(DAHDI/33,,rt) </P>
<P>exten => 8001234003,n,Dial(DAHDI/34,,rt) </P>
<P>exten => 8001234004,n,Dial(DAHDI/35,,rt) </P>
<P>exten => 8001234005,n,Dial(DAHDI/36,,rt) </P>
<P>exten => 8001234006,n,Dial(DAHDI/37,,rt) </P>
<P>exten => 8001234007,n,Dial(DAHDI/38,,rt) </P>
<P>exten => 8001234008,n,Dial(DAHDI/39,,rt)</P>
<P>Warm Regards</P></SPAN></SPAN></DIV>
<DIV> </DIV><!-- Converted from text/rtf format -->
<P><SPAN lang=en-us><FONT face=Calibri color=#0000ff>Warm Regards</FONT></SPAN>
<BR><SPAN lang=en-us><FONT face=Calibri color=#0000ff>Venugopal G</FONT></SPAN>
<BR><SPAN lang=en-us><FONT face=Calibri color=#0000ff>HNM-SO WiMAX CPE VoIP IOT
Team</FONT></SPAN> <BR><SPAN lang=en-us><FONT face=Calibri color=#0000ff>Cell :
+91-99723-99437</FONT></SPAN> <BR><SPAN lang=en-us><FONT face="Comic Sans MS"
color=#0000ff>*************************************************************************************************************************************************************************************************</FONT></SPAN></P>
<P><SPAN lang=en-us><FONT face="Comic Sans MS" color=#0000ff></FONT></SPAN> </P>
<DIV> </DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Gopalakrishnaiyer Venugopal-Q16770
<BR><B>Sent:</B> Thursday, March 04, 2010 6:36 PM<BR><B>To:</B> Asterisk Users
Mailing List - Non-Commercial Discussion; Asterisk Users Mailing List -
Non-Commercial Discussion<BR><B>Subject:</B> RE: [asterisk-users] Caller ID in
Asterisk<BR></FONT><BR></DIV>
<DIV></DIV>
<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> </DIV>
<DIV dir=ltr><FONT face=Arial size=2> Appreciate your help.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </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> </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> </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> </DIV>
<DIV
dir=ltr>[globals]<BR>CONSOLE=Console/dsp
; Console interface for
demo<BR>;CONSOLE=DAHDI/1<BR>;CONSOLE=Phone/phone0<BR>IAXINFO=guest
; IAXtel
username/password<BR>;IAXINFO=myuser:mypass<BR>TRUNK=DAHDI/G1<BR>TRUNKMSD=1</DIV>
<DIV dir=ltr><BR> <BR>[Internal]<BR>include =>
Incoming</DIV>
<DIV dir=ltr><BR>exten => 8001234001,1,Dial(DAHDI/32,,rt)</DIV>
<DIV dir=ltr>exten => 8001234002,1,Dial(DAHDI/33,,rt)</DIV>
<DIV dir=ltr>exten => 8001234003,1,Dial(DAHDI/34,,rt)</DIV>
<DIV dir=ltr> </DIV>
<DIV dir=ltr>exten => 8001234004,1,Set(CALLERID(num)=8001234004)<BR>exten
=> 8001234004,n,Set(CALLERID(name)="Line 4")<BR>exten =>
8001234004,3,Dial(DAHDI/35,,rt)</DIV>
<DIV dir=ltr> </DIV>
<DIV dir=ltr>exten => 8001234005,1,Dial(DAHDI/36,,rt)</DIV>
<DIV dir=ltr> </DIV>
<DIV dir=ltr>[Incoming]<BR>exten => s,1,Answer<BR>exten =>
s,2,Dial(DAHDI/g1,20,rt)</DIV>
<DIV dir=ltr>exten => _988.,1,Dial(DAHDI/g1/${EXTEN},20) </DIV>
<DIV dir=ltr> </DIV>
<DIV dir=ltr> </DIV>
<DIV dir=ltr>I also tried changing the dial plan to exten =>
_988.,3,Dial(DAHDI/g1/${EXTEN},20) and in that case the call itself was not
going through</DIV>
<DIV dir=ltr> </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> </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> </DIV>
<DIV dir=ltr><FONT size=2>exten => <FONT
size=3>8001234003</FONT>,1,Set(CALLERID(num)=<FONT
size=3>8001234003</FONT>)<BR>exten => <FONT
size=3>8001234003</FONT>,n,Set(CALLERID(name)="Line 5")</FONT></DIV>
<DIV dir=ltr>exten => 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> </DIV>
<DIV dir=ltr><FONT face=Arial size=2> Below is the ones i
tried</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr>
<DIV dir=ltr>exten => 8001234003,1,Dial(DAHDI/34,,rt)</DIV>
<DIV dir=ltr><FONT size=2>exten => <FONT
size=3>8001234003</FONT>,1,Set(CALLERID(num)=${<FONT
size=3>8001234003</FONT>})<BR>exten => <FONT
size=3>8001234003</FONT>,1,Set(CALLERID(name)=${Line 5})</FONT></DIV>
<DIV dir=ltr><FONT size=2></FONT> </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> </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> </DIV>
<DIV dir=ltr><FONT face=Arial size=2> 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> </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> </DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </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> </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 & 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>