<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Message</TITLE>

<META content="MSHTML 6.00.2800.1400" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><SPAN class=597581611-06042004><FONT face=Arial 
size=2>Hi,</FONT></SPAN></DIV>
<DIV><SPAN class=597581611-06042004><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=597581611-06042004><FONT face=Arial size=2>I'm not an R2 
expert, but as far as I know there is nothing to configure if it comes to 
CLID/DNIS. As long as you'll receive the info from the ISDN switch, IOS will 
report it. It is quite common to not receive a calling id for analog 
calls.</FONT></SPAN></DIV>
<DIV><SPAN class=597581611-06042004><FONT face=Arial size=2>Please check this 
with your E1 provider.</FONT></SPAN></DIV>
<DIV><SPAN class=597581611-06042004><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=597581611-06042004>&nbsp;&nbsp;&nbsp; <FONT face=Arial 
size=2>oli</FONT></SPAN></DIV>
<DIV><SPAN class=597581611-06042004><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT face=Tahoma 
size=2>-----Original Message-----<BR><B>From:</B> 
cisco-nas-bounces@puck.nether.net [mailto:cisco-nas-bounces@puck.nether.net] 
<B>On Behalf Of </B>Souphonh<BR><B>Sent:</B> Dienstag, 6. April 2004 
12:05<BR><B>To:</B> Aaron Leonard (aaron)<BR><B>Cc:</B> 
cisco-nas@puck.nether.net<BR><B>Subject:</B> Re: [cisco-nas] Cisco 3640 does not 
collect Calling ID and Called ID<BR><BR></FONT></DIV>
<DIV><FONT face=Arial size=2>Dear Aaron,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Thanks for your reply. With our digital modem NAS 
(AS5300) that uses R2 connected to PSTN also cannot collect the Calling ID, we 
can collect only the Called ID. Could you please suggest the configuration to 
collect both Calling and Called ID. The following is the log of my digital modem 
csm:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV><FONT face=Courier color=#0000ff size=2>ras2#sh modem cs<BR>ras2#sh modem 
  csm 1/9<BR>MODEM_INFO: slot 1, port 9, unit 0, tone r2-compelled, 
  modem_mask=0x0000, modem_port_offset=0<BR>tty_hwidb=0x620749E0, 
  modem_tty=0x61A48C84, oobp_info=0x00000000, modem_pool=0x6180204C<BR>tty 
  statbits=0x20090440, statbits2=0x00000001<BR>tty capabilities=0x00018C01, 
  capabilities2=0x00008000<BR>modem_status(0x2802): 
  VDEV_STATUS_ACTIVE_CALL.VDEV_STATUS_ALLOCATED.VDEV_STATUS_NEGOTIATED.<BR>device 
  capabilities=0x0000AFDE<BR>csm_state(0x0209)=CSM_IC7_CONNECTED, 
  csm_event_proc=0x6017D828, current call thru CAS 
  line<BR>invalid_event_count=0, wdt_timeout_count=0<BR>wdt_timestamp_started is 
  not activated<BR>wait_for_dialing:False, 
  wait_for_bchan:False<BR>pri_chnl=TDM_PRI_STREAM(s0, u1, c7), 
  modem_chnl=TDM_MODEM_STREAM(s1, c9)<BR>physical tdm port = 9, Backplane TDM 
  Stream = 1, Channel = 1<BR>dchan_idb_start_index=0, dchan_idb_index=0, 
  call_id=0x0F86, bchan_num=6<BR>csm_event=CSM_EVENT_DSX0_CONNECTED, 
  cause=0x000E<BR>Last 8 CSM states and events:<BR>&nbsp;&nbsp; Number 
  States&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;&n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;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  CSM_EVENT_RESOURCE_OK<BR>&nbsp;&nbsp; [7]&nbsp;&nbsp;&nbsp; 
  CSM_IC6_WAIT_FOR_CONNECT&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  CSM_EVENT_DSX0_CONNECTED<BR>ring_no_answer=7, ic_failure=12, 
  ic_complete=274<BR>dial_failure=0, oc_failure=0, oc_complete=0<BR>oc_busy=0, 
  oc_no_dial_tone=0, oc_dial_timeout=0<BR>remote_link_disc=65, stat_busyout=0, 
  stat_modem_reset=0<BR>oobp_failure=0<BR>call_duration_started=4w0d, 
  call_duration_ended=00:00:00, total_call_duration=3d12h<BR>The calling party 
  phone number =<BR>The called party phone number&nbsp; = 
  125<BR>total_free_rbs_timeslot = 36, total_busy_rbs_timeslot = 0, 
  total_dynamic_busy_rbs_timeslot = 0, total_static_busy_rbs_timeslot = 
  0,<BR>total_sw56_rbs_timeslot = 0, total_sw56_rbs_static_bo_ts = 
  0,<BR>total_free_isdn_channels = 0, total_auto_busy_isdn_channels = 
  0,<BR>min_free_modem_threshold = 0<BR></FONT></DIV></BLOCKQUOTE>
<DIV dir=ltr><FONT face=Courier size=2>As above log, there is no&nbsp;calling 
party phone number, but the called party phone number is '125' our access phone 
number for the NAS. </FONT></DIV>
<DIV dir=ltr>&nbsp;</DIV>
<DIV dir=ltr>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Courier size=2>Regards,</FONT></DIV>
<DIV dir=ltr><FONT face=Courier color=#0000ff size=2><FONT 
color=#000000>Souphonh</FONT></FONT></DIV>
<DIV dir=ltr><FONT face=Courier color=#0000ff size=2><FONT 
color=#000000></FONT></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Courier color=#0000ff size=2><FONT 
color=#000000></FONT>&nbsp;</DIV></FONT>
<DIV><FONT face=Arial size=2>----- Original Message ----- </FONT></DIV>
<DIV><FONT face=Arial size=2>From: "Aaron Leonard" &lt;</FONT><A 
href="mailto:Aaron@cisco.com"><FONT face=Arial 
size=2>Aaron@cisco.com</FONT></A><FONT face=Arial size=2>&gt;</FONT></DIV>
<DIV><FONT face=Arial size=2>To: "Souphonh" &lt;</FONT><A 
href="mailto:souphonh@laopdr.com"><FONT face=Arial 
size=2>souphonh@laopdr.com</FONT></A><FONT face=Arial size=2>&gt;</FONT></DIV>
<DIV><FONT face=Arial size=2>Cc: &lt;</FONT><A 
href="mailto:cisco-nas@puck.nether.net"><FONT face=Arial 
size=2>cisco-nas@puck.nether.net</FONT></A><FONT face=Arial 
size=2>&gt;</FONT></DIV>
<DIV><FONT face=Arial size=2>Sent: Tuesday, April 06, 2004 11:03 AM</FONT></DIV>
<DIV><FONT face=Arial size=2>Subject: Re: [cisco-nas] Cisco 3640 does not 
collect Calling ID and Called ID</FONT></DIV>
<DIV><FONT face=Arial><BR><FONT size=2></FONT></FONT></DIV><FONT face=Arial 
size=2>&gt; Sorry, there is no way to collect this information from<BR>&gt; the 
NM-AM (or any other analog modems) in a Cisco router.<BR>&gt; To collect ANI and 
DNIS (calling / called number), you must<BR>&gt; use a digital modem (for 
example, in the 3640, you would<BR>&gt; use NM-DM MICA modems) and a signaling 
method that supports<BR>&gt; both ANI and DNIS (for example, ISDN or 
R2.)<BR>&gt; <BR>&gt; Aaron<BR>&gt; <BR>&gt; ---<BR>&gt; <BR>&gt; &gt; I am 
using cisco 3640 and analog module for dial up server. I have problem to get 
3640 collecting Calling and Called ID from PSTN. Could you please suggest how 
can I configure our NAS to collect such information. The following is my modem 
csm log:<BR>&gt; <BR>&gt; &gt;&nbsp;&nbsp; ras3#sh modem csm 1/7<BR>&gt; 
&gt;&nbsp;&nbsp; Modem 1/7, line 40 (analog)<BR>&gt; &gt;&nbsp;&nbsp; CSM 
status: CALL_ACTIVE<BR>&gt; &gt;&nbsp;&nbsp; CSM current state(0x00000006): 
CONNECTED_STATE<BR>&gt; &gt;&nbsp;&nbsp; CSM last event: MODEM_CONNECTED, cause: 
0x0000<BR>&gt; &gt;&nbsp;&nbsp; current call thru CAS line; call_id 0, bchan_num 
-1<BR>&gt; &gt;&nbsp;&nbsp; The calling party phone number:<BR>&gt; 
&gt;&nbsp;&nbsp; The called party phone number:<BR>&gt; &gt;&nbsp;&nbsp; wdt 
timer is not activated<BR>&gt; &gt;&nbsp;&nbsp; invalid_events 0, wdt_timeouts 
0<BR>&gt; &gt;&nbsp;&nbsp; ic_failure 43, ic_complete 363, oc_failure 0, 
oc_complete 0<BR>&gt; &gt;&nbsp;&nbsp; oc_busy 0, remote_link_disc 0, busyout 0, 
modem_reset 0<BR>&gt; &gt;&nbsp;&nbsp; call started 2w3d, call ended 00:00:00, 
total modem active time 3d03h<BR>&gt; &gt;&nbsp;&nbsp; tty_hwidb 0x6290B674, 
modem_tty 0x62909DCC, modem_pool 0x625C1BB0<BR>&gt; &gt;&nbsp;&nbsp; total pri 
d-channels 0, last used pri d-channel 0<BR>&gt; &gt;&nbsp;&nbsp; 
total_free_rbs_timeslot 0, total_busy_rbs_timeslot 0, min_free_modem_threshold 
6<BR>&gt; <BR>&gt; &gt; As above log, there is no value for called and calling 
party phone number.<BR>&gt; <BR>&gt; &gt; Regards,<BR>&gt; &gt; Souphonh<BR>&gt; 
</FONT></BODY></HTML>