<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div>Not me. TAC told me no can do.<br></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font size="2" face="Tahoma"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> Anthony Kouloglou <akoul@dataways.gr><br><b><span style="font-weight: bold;">To:</span></b> "Mooney, Nicholas" <Nicholas.Mooney@astrazeneca.com><br><b><span style="font-weight: bold;">Cc:</span></b> cisco-voip@puck.nether.net<br><b><span style="font-weight: bold;">Sent:</span></b> Friday, May 15, 2009 12:43:30 PM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [cisco-voip] Adding names for outside callers<br></font><br>
<font size="-1"><font face="Trebuchet MS">Hi all,<br>
that was great idea! I have been using it on my 2811 running 12.4.22.T1
and CUCME 7.0(1) with no problem.<span class="moz-smiley-s1"><span> :-)
</span></span><br>
It works fine: incoming calls to DID phones, shows the callerid info
that is pulled from a web server that looks up a local database.<br>
But, when the original called person transfers the call to another
ipphone in the same CUCME, this info is lost.<br>
Has anyone accomplished to preserve this info during the trasnfer?<br>
<br>
Thanks<br>
Anthony<br>
</font></font><br>
Mooney, Nicholas wrote:
<blockquote type="cite">
<style>
<!--
_filtered {font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;}
_filtered {font-family:Tahoma;panose-1:2 11 6 4 3 5 4 4 2 4;}
_filtered {font-family:Verdana;panose-1:2 11 6 4 3 5 4 4 2 4;}
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;margin-bottom:.0001pt;font-size:12.0pt;font-family:"Times New Roman", "serif";}
a:link, span.MsoHyperlink
        {color:blue;text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;text-decoration:underline;}
p
        {margin-right:0cm;margin-left:0cm;font-size:12.0pt;font-family:"Times New Roman", "serif";}
span.EmailStyle18
        {font-family:"Calibri", "sans-serif";color:#1F497D;}
.MsoChpDefault
        {}
_filtered {margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
        {}
-->
</style>
<div class="Section1">
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">Hi</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">No
worries guys. </span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">I
have been using it on 2821's with this image:
c2800nm-ipvoice_ivs-mz.124-15.T4.bin</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">I
suspect most 124t images would be fine…</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">Nick</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"><br>
<br>
</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<div style="border-style: none none none solid; border-color: blue; border-width: medium medium medium 1.5pt; padding: 0cm 0cm 0cm 4pt;">
<div>
<div style="border-style: solid none none; border-color: rgb(181, 196, 223); border-width: 1pt medium medium; padding: 3pt 0cm 0cm;">
<p class="MsoNormal"><b><span style="font-size: 10pt;" lang="EN-US">From:</span></b><span style="font-size: 10pt;" lang="EN-US"> Justin Steinberg
[<a rel="nofollow" class="moz-txt-link-freetext" ymailto="mailto:jsteinberg@gmail.com" target="_blank" href="mailto:jsteinberg@gmail.com">mailto:jsteinberg@gmail.com</a>] <br>
<b>Sent:</b> Friday, 8 May 2009 9:12 PM<br>
<b>To:</b> Lelio Fulgenzi<br>
<b>Cc:</b> Mooney, Nicholas; <a rel="nofollow" class="moz-txt-link-abbreviated" ymailto="mailto:cisco-voip@puck.nether.net" target="_blank" href="mailto:cisco-voip@puck.nether.net">cisco-voip@puck.nether.net</a><br>
<b>Subject:</b> Re: [cisco-voip] Adding names for outside callers</span></p>
</div>
</div>
<p class="MsoNormal"> </p>
<p class="MsoNormal" style="margin-bottom: 12pt;">I echo Lelio's
comments -
thanks for sharing, this is excellent.<br>
<br>
Nick can you tell us what versions of IOS you've had success running
with this
TCL script?</p>
<div>
<p class="MsoNormal">On Thu, May 7, 2009 at 7:14 PM, Lelio Fulgenzi
<<a rel="nofollow" ymailto="mailto:lelio@uoguelph.ca" target="_blank" href="mailto:lelio@uoguelph.ca">lelio@uoguelph.ca</a>>
wrote:</p>
<div>
<div>
<p class="MsoNormal"><span style="font-size: 10pt; color: black;">This
is fantastic Nick. Thanks for sharing. I'm sure many of us
will find this useful. Even if only to begin playing with this stuff
and using
the code you provided as a basis.<br>
<br>
---<br>
Lelio Fulgenzi, B.A.<br>
Senior Analyst (CCS) * University of Guelph * Guelph, Ontario N1G 2W1<br>
(519) 824-4120 x56354 (519) 767-1060 FAX (JNHN)<br>
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^<br>
"Bad grammar makes me [sic]" - Tshirt</span></p>
<div>
<div>
<p class="MsoNormal" style="margin-bottom: 12pt;"><span style="font-size: 10pt; color: black;"><br>
<br>
<br>
----- Original Message -----<br>
From: "Nicholas Mooney" <<a rel="nofollow" ymailto="mailto:Nicholas.Mooney@astrazeneca.com" target="_blank" href="mailto:Nicholas.Mooney@astrazeneca..com">Nicholas.Mooney@astrazeneca.com</a>><br>
To: <a rel="nofollow" ymailto="mailto:cisco-voip@puck.nether.net" target="_blank" href="mailto:cisco-voip@puck.nether.net">cisco-voip@puck.nether.net</a><br>
Sent: Thursday, May 7, 2009 3:10:37 AM GMT -05:00 US/Canada Eastern<br>
Subject: Re: [cisco-voip] Adding names for outside callers</span></p>
<div>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">Hi,</span><span style="font-size: 10pt; color: black;"></span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span><span style="font-size: 10pt; color: black;"></span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">Found
the solution to my problem in the end - with some help from Cisco. </span><span style="font-size: 10pt; color: black;"></span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span><span style="font-size: 10pt; color: black;"></span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">The
solution attached allows you to have a script that runs on your PSTN
gateway
that polls a www server for the name of any incoming caller's ANI. You
need to
build your own www site, script and database to return to the results -
however
you probably already have most of this in the form of an internal
company phonelist.
We are using CUCM 6 & 7 and a 2821 for the voice infrastructure,
and IIS
and SQL which is feed from Active Directory for the database
infrastrucutre. It
all works perfectly with about 3000 numbers in the database.</span><span style="font-size: 10pt; color: black;"></span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span><span style="font-size: 10pt; color: black;"></span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">The
functionality is enabled by a TCL script that goes on the PSTN gateway
router.
The script came from Cisco initially and works like this:</span><span style="font-size: 10pt; color: black;"></span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span><span style="font-size: 10pt; color: black;"></span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">Router
gets an incoming PSTN call that matches the DID dial peer.</span><span style="font-size: 10pt; color: black;"></span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">Router
executes the attached script (caller_name.tcl)</span><span style="font-size: 10pt; color: black;"></span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">caller_name.tcl
sends a www POST request with the parameter "ani" which is the
caller's number / ani to your www server</span><span style="font-size: 10pt; color: black;"></span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">you
build a website at <a rel="nofollow" target="_blank" href="http://x.x.x.x/IPTelephony/Default.asp">http://x..x.x.x/IPTelephony/Default.asp</a>
that takes the ani
as a POST and looks it up in your corporate directory</span><span style="font-size: 10pt; color: black;"></span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">your
script at <a rel="nofollow" target="_blank" href="http://x.x.x.x/IPTelephony/Default.asp">http://x.x.x.x/IPTelephony/Default.asp</a>
must return either the plain text-only name like "Joe Bloggs" or
another string like "Unknown Caller" -- no html or anything else,
just characters</span><span style="font-size: 10pt; color: black;"></span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">the
characters/string returned from the script is displayed on the screen
of the IP
Phones</span><span style="font-size: 10pt; color: black;"></span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span><span style="font-size: 10pt; color: black;"></span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">You
need to get the caller_name.tcl script and do this:</span><span style="font-size: 10pt; color: black;"></span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">
change x.x.x.x to the IP of your webserver</span><span style="font-size: 10pt; color: black;"></span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">
change y.y.y.y to the IP of your publisher</span><span style="font-size: 10pt; color: black;"></span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">
load the script into the TFTP root on your publisher</span><span style="font-size: 10pt; color: black;"></span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">
setup your x.x.x.x website and scripts and database (the hard bit)</span><span style="font-size: 10pt; color: black;"></span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">
add these commands to your gateway:</span><span style="font-size: 10pt; color: black;"></span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span><span style="font-size: 10pt; color: black;"></span></p>
<p style="margin-left: 36pt;"><span style="font-size: 11pt; color: rgb(31, 73, 125);">application</span><span style="font-size: 10pt; color: black;"></span></p>
<p style="margin-left: 36pt;"><span style="font-size: 11pt; color: rgb(31, 73, 125);">service
caller tftp://y.y.y.y/caller_name.tcl</span><span style="font-size: 10pt; color: black;"></span></p>
<p style="margin-left: 36pt;"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span><span style="font-size: 10pt; color: black;"></span></p>
<p style="margin-left: 36pt;"><span style="font-size: 11pt; color: rgb(31, 73, 125);">dial-peer
voice 4000 pots</span><span style="font-size: 10pt; color: black;"></span></p>
<p style="margin-left: 36pt;"><span style="font-size: 11pt; color: rgb(31, 73, 125);">
description Incoming PSTN Calls</span><span style="font-size: 10pt; color: black;"></span></p>
<p style="margin-left: 36pt;"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> service
caller</span><span style="font-size: 10pt; color: black;"></span></p>
<p style="margin-left: 36pt;"><span style="font-size: 11pt; color: rgb(31, 73, 125);">
incoming called-number 99999999..$</span><span style="font-size: 10pt; color: black;"></span></p>
<p style="margin-left: 36pt;"><span style="font-size: 11pt; color: rgb(31, 73, 125);">
direct-inward-dial</span><span style="font-size: 10pt; color: black;"></span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span><span style="font-size: 10pt; color: black;"></span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">and
your done…</span><span style="font-size: 10pt; color: black;"></span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span><span style="font-size: 10pt; color: black;"></span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">Also
- if you use remote destinations / mobility / snr then the CUCM will
overwrite
whatever ANI response the tcl script gets. So if altering name is set
for a
remote destination (mobile phone) then it will overwrite whatever the
gateway
puts there.</span><span style="font-size: 10pt; color: black;"></span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span><span style="font-size: 10pt; color: black;"></span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">Hope
this helps someone --- it really should be a standard feature from
Cisco but
its not. It seems whenever I replace a PABX with a Cisco solution this
is one
of the first things users ask for - as most PABX's could have global
name /
outside number combinations in a directory or abbreviated numbering.</span><span style="font-size: 10pt; color: black;"></span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span><span style="font-size: 10pt; color: black;"></span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">Nick.</span><span style="font-size: 10pt; color: black;"></span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span><span style="font-size: 10pt; color: black;"></span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span><span style="font-size: 10pt; color: black;"></span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span><span style="font-size: 10pt; color: black;"></span></p>
<div style="border-style: none none none solid; border-color: blue; border-width: medium medium medium 1.5pt; padding: 0cm 0cm 0cm 4pt;">
<div>
<div style="border-style: solid none none; border-width: 1pt medium medium; padding: 3pt 0cm 0cm;">
<p><b><span style="font-size: 10pt; color: black;" lang="EN-US">From:</span></b><span style="font-size: 10pt; color: black;" lang="EN-US"> Jason Burns [mailto:<a rel="nofollow" ymailto="mailto:burns.jason@gmail.com" target="_blank" href="mailto:burns.jason@gmail.com">burns.jason@gmail.com</a>]
<br>
<b>Sent:</b> Friday, 28 November 2008 2:59 PM<br>
<b>To:</b> Mooney, Nicholas<br>
<b>Cc:</b> <a rel="nofollow" ymailto="mailto:cisco-voip@puck.nether.net" target="_blank" href="mailto:cisco-voip@puck.nether.net">cisco-voip@puck.nether.net</a><br>
<b>Subject:</b> Re: [cisco-voip] Adding names for outside callers</span><span style="font-size: 10pt; color: black;"></span></p>
</div>
</div>
<p><span style="font-size: 10pt; color: black;"> </span></p>
<p style="margin-bottom: 12pt;"><span style="font-size: 10pt; color: black;">The
Mobility feature in CallManager 6.X might do what you're
looking for.<br>
<br>
When the remote device associated with a particular user calls in,
CallManager
does know which user is making the inbound call. I don't know what the
display
info would be on these calls though.</span></p>
<div>
<p><span style="font-size: 10pt; color: black;">On
Thu, Nov 27, 2008 at 9:40 PM, Mooney, Nicholas <<a rel="nofollow" ymailto="mailto:Nicholas.Mooney@astrazeneca.com" target="_blank" href="mailto:Nicholas.Mooney@astrazeneca.com">Nicholas.Mooney@astrazeneca.com</a>>
wrote:</span></p>
<p><span style="font-size: 10pt; color: black;">Hi<br>
<br>
We have a requirement for our staff with mobile/cell phones calling to
CallManager to have their name displayed when the phone is ringing,
along with
their number.<br>
<br>
I know it can be achieved on ARC Enterprise if you add the external
numbers to
phone book, but we need it display on all general SCCP handsets (such
7942).<br>
<br>
Any ideas? Can the names be added on the gateway (h.323) or through a
translation pattern or a TCL script?<br>
<br>
Up to 500 names/numbers would be needed.<br>
<br>
Regards,<br>
<br>
Nick<br>
<br>
_______________________________________________<br>
cisco-voip mailing list<br>
<a rel="nofollow" ymailto="mailto:cisco-voip@puck.nether.net" target="_blank" href="mailto:cisco-voip@puck.nether.net">cisco-voip@puck.nether.net</a><br>
<a rel="nofollow" target="_blank" href="https://puck.nether.net/mailman/listinfo/cisco-voip">https://puck.nether.net/mailman/listinfo/cisco-voip</a></span></p>
</div>
<p><span style="font-size: 10pt; color: black;"> </span></p>
</div>
</div>
<p class="MsoNormal"><span style="font-size: 10pt; color: black;"> </span></p>
</div>
</div>
<p class="MsoNormal"><span style="font-size: 10pt; color: black;">_______________________________________________
cisco-voip mailing
list <a rel="nofollow" ymailto="mailto:cisco-voip@puck.nether.net" target="_blank" href="mailto:cisco-voip@puck.nether.net">cisco-voip@puck.nether.net</a>
<a rel="nofollow" target="_blank" href="https://puck.nether..net/mailman/listinfo/cisco-voip">https://puck.nether.net/mailman/listinfo/cisco-voip</a>
</span></p>
</div>
</div>
<p class="MsoNormal" style="margin-bottom: 12pt;"><br>
_______________________________________________<br>
cisco-voip mailing list<br>
<a rel="nofollow" ymailto="mailto:cisco-voip@puck.nether.net" target="_blank" href="mailto:cisco-voip@puck.nether.net">cisco-voip@puck.nether.net</a><br>
<a rel="nofollow" target="_blank" href="https://puck.nether.net/mailman/listinfo/cisco-voip">https://puck.nether.net/mailman/listinfo/cisco-voip</a></p>
</div>
<p class="MsoNormal"> </p>
</div>
</div>
<pre><hr size="4" width="90%">
_______________________________________________
cisco-voip mailing list
<a rel="nofollow" class="moz-txt-link-abbreviated" ymailto="mailto:cisco-voip@puck.nether.net" target="_blank" href="mailto:cisco-voip@puck.nether.net">cisco-voip@puck.nether.net</a>
<a rel="nofollow" class="moz-txt-link-freetext" target="_blank" href="https://puck.nether.net/mailman/listinfo/cisco-voip">https://puck.nether.net/mailman/listinfo/cisco-voip</a>
</pre>
</blockquote>
</div></div></div><br>
</body></html>