<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-874">
<META content="MSHTML 6.00.2800.1400" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT face=Arial size=2>Dear Aaron,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </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> </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> Number
States
Events<BR> [0]
CSM_IC6_WAIT_FOR_CONNECT
CSM_EVENT_DSX0_CONNECTED<BR> [1]
CSM_IC7_CONNECTED
CSM_EVENT_DSX0_DISCONNECTED<BR> [2]
CSM_OC8_DISCONNECTING
CSM_EVENT_NONE<BR> [3]
CSM_IC3_WAIT_FOR_RES_RESP
CSM_EVENT_RESOURCE_OK<BR> [4]
CSM_IC6_WAIT_FOR_CONNECT
CSM_EVENT_DSX0_CONNECTED<BR> [5]
CSM_OC6_CONNECTED
CSM_EVENT_NONE<BR> [6]
CSM_IC3_WAIT_FOR_RES_RESP
CSM_EVENT_RESOURCE_OK<BR> [7]
CSM_IC6_WAIT_FOR_CONNECT
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 =
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 calling
party phone number, but the called party phone number is '125' our access phone
number for the NAS. </FONT></DIV>
<DIV dir=ltr> </DIV>
<DIV dir=ltr> </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> </DIV>
<DIV dir=ltr><FONT face=Courier color=#0000ff size=2><FONT
color=#000000></FONT> </DIV></FONT>
<DIV><FONT face=Arial size=2>----- Original Message ----- </FONT></DIV>
<DIV><FONT face=Arial size=2>From: "Aaron Leonard" <</FONT><A
href="mailto:Aaron@cisco.com"><FONT face=Arial
size=2>Aaron@cisco.com</FONT></A><FONT face=Arial size=2>></FONT></DIV>
<DIV><FONT face=Arial size=2>To: "Souphonh" <</FONT><A
href="mailto:souphonh@laopdr.com"><FONT face=Arial
size=2>souphonh@laopdr.com</FONT></A><FONT face=Arial size=2>></FONT></DIV>
<DIV><FONT face=Arial size=2>Cc: <</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>></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>> Sorry, there is no way to collect this information from<BR>> the
NM-AM (or any other analog modems) in a Cisco router.<BR>> To collect ANI and
DNIS (calling / called number), you must<BR>> use a digital modem (for
example, in the 3640, you would<BR>> use NM-DM MICA modems) and a signaling
method that supports<BR>> both ANI and DNIS (for example, ISDN or
R2.)<BR>> <BR>> Aaron<BR>> <BR>> ---<BR>> <BR>> > 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>> <BR>> > ras3#sh modem csm 1/7<BR>>
> Modem 1/7, line 40 (analog)<BR>> > CSM
status: CALL_ACTIVE<BR>> > CSM current state(0x00000006):
CONNECTED_STATE<BR>> > CSM last event: MODEM_CONNECTED, cause:
0x0000<BR>> > current call thru CAS line; call_id 0, bchan_num
-1<BR>> > The calling party phone number:<BR>>
> The called party phone number:<BR>> > wdt
timer is not activated<BR>> > invalid_events 0, wdt_timeouts
0<BR>> > ic_failure 43, ic_complete 363, oc_failure 0,
oc_complete 0<BR>> > oc_busy 0, remote_link_disc 0, busyout 0,
modem_reset 0<BR>> > call started 2w3d, call ended 00:00:00,
total modem active time 3d03h<BR>> > tty_hwidb 0x6290B674,
modem_tty 0x62909DCC, modem_pool 0x625C1BB0<BR>> > total pri
d-channels 0, last used pri d-channel 0<BR>> >
total_free_rbs_timeslot 0, total_busy_rbs_timeslot 0, min_free_modem_threshold
6<BR>> <BR>> > As above log, there is no value for called and calling
party phone number.<BR>> <BR>> > Regards,<BR>> > Souphonh<BR>>
</FONT></BODY></HTML>