06-06-2004 05:55 AM
All
A 3640 t1 gw send aaa to radius server.
Now the cdr is only record the call from fxs to 3640 pstn,
but cannot record the pstn call to fxs gw.
why only record one direction cdr?
how can i do record both direction cdr?
aaa new-model
!
!
aaa authentication login default line
aaa authentication login h323 group radius
aaa authorization exec h323 group radius
aaa accounting connection h323 start-stop group radius
aaa session-id common
radius-server host xxx.xxx.xxx.xxx auth-port 1645 acct-port 1646 non-standard
radius-server key mysecret
radius-server vsa send accounting
radius-server vsa send authentication
gw-accounting h323 vsa
06-10-2004 01:06 PM
Hope these documents are helpful.
RADIUS Attribute 44 (Accounting Session ID) in Access Requests
http://www.cisco.com/en/US/products/sw/iosswrel/ps1830/products_feature_guide09186a0080087b1d.html
RADIUS Interim Update at Call Connect
http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122newft/122t/122t13/ftupdte.htm
06-27-2004 12:26 AM
I got the raw data from CDR,
I find the major problem is I haven't got a user-name under cisco-avpair from my CDR. So the radius program cannot show the detail.
How can I create the username without affecting the current fxs gw operation?
**************************************************
call from cisco T1 to fxs gw without user-name cdr
**************************************************
Sun Jun 27 15:49:53 2004
Acct-Session-Id = "00000313"
Called-Station-Id = "8177"
cisco-h323-setup-time = "h323-setup-time=15:59:51.426 hk Sun Jun 27 2004"
cisco-h323-gw-id = "h323-gw-id=gw."
cisco-h323-conf-id = "h323-conf-id=CD58AB03 C74611D8 B51C00D0 BAECAB20"
cisco-h323-call-origin = "h323-call-origin=answer"
cisco-h323-call-type = "h323-call-type=Telephony"
cisco-avpair = "h323-incoming-conf-id=CD58AB03 C74611D8 B51C00D0 BAECAB20"
cisco-avpair = "subscriber=RegularLine"
cisco-avpair = "gw-rxd-cdn=ton:0,npi:0,#:8177"
cisco-avpair = "calling-party-category=9"
cisco-avpair = "transmission-medium-req=2"
Acct-Status-Type = Start
NAS-Port-Type = Async
Cisco-NAS-Port = "ISDN 3/1:23:4"
NAS-Port = 0
Service-Type = Login-User
NAS-IP-Address = xxx.xxx.xxx.xxx
Acct-Delay-Time = 0
Timestamp = 1088322593
**************************************************
call from fxs gw to cisco t1 gw CDR with user-name
**************************************************
Sun Jun 27 15:49:25 2004
Acct-Session-Id = "000002F9"
Calling-Station-Id = "9622"
Called-Station-Id = "852xxxxxxxx"
cisco-h323-setup-time = "h323-setup-time=15:58:37.072 hk Sun Jun 27 2004"
cisco-h323-gw-id = "h323-gw-id=gw."
cisco-h323-conf-id = "h323-conf-id=02B221F7 A6C01947 36340001 A80024D3"
cisco-h323-call-origin = "h323-call-origin=originate"
cisco-h323-call-type = "h323-call-type=Telephony"
cisco-avpair = "h323-incoming-conf-id=02B221F7 A6C01947 36340001 A80024D3"
cisco-avpair = "subscriber=Unknown"
cisco-avpair = "gw-rxd-cdn=ton:0,npi:1,#:852xxxxxxxx"
cisco-h323-connect-time = "h323-connect-time=15:59:11.312 hk Sun Jun 27 2004"
Acct-Input-Octets = 9029
Acct-Output-Octets = 9400
Acct-Input-Packets = 460
Acct-Output-Packets = 235
Acct-Session-Time = 12
cisco-h323-disconnect-time = "h323-disconnect-time=15:59:23.492 hk Sun Jun 27 2004"
cisco-h323-disconnect-cause = "h323-disconnect-cause=10"
cisco-avpair = "h323-ivr-out=Tariff:Unknown"
cisco-avpair = "release-source=2"
cisco-h323-voice-quality = "h323-voice-quality=0"
cisco-avpair = "alert-timepoint=15:58:42.672 hk Sun Jun 27 2004"
cisco-avpair = "gw-rxd-cgn=ton:2,npi:1,#:9622"
cisco-avpair = "gw-final-xlated-cdn=ton:0,npi:1,#:xxxxxxxx"
cisco-avpair = "gw-final-xlated-cgn=ton:2,npi:1,pi:0,si:0,#:9622"
User-Name = "2FXS-0024d3"
Acct-Status-Type = Stop
NAS-Port-Type = Async
Cisco-NAS-Port = "ISDN 3/0:23:21"
NAS-Port = 0
Service-Type = Login-User
NAS-IP-Address = xxx.xxx.xxx.xxx
Acct-Delay-Time = 0
Timestamp = 1088322565
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide