[Asterisk-Users] SER-->Asterisk-->GNUGK Accounting Problem
Rafael J. Risco G.V.
rafael.risco at gmail.com
Wed Nov 3 20:54:12 MST 2004
Hello gnugk, ser and asterisk users!
I am using asterisk as a SIP-to-H323 translator in order to call my
itsp provider that only support H.323 so this is my scenario:
--|xlite|-->|SER-SIP_Proxy|-->|Asterisk_oh323|-->|GNUGK_Proxy|-->|h323GW_MyProvider|-->PSTN
x-lite its a sip client registered in SER, SER forward all the 00+
calls to an Asterisk box which is registered as a gateway in
GNUGK(proxy mode) connected with my ITSP. everything its ok buy I have
a problem with GNUGK radius-accounting:
In ACF and CDR packets (shown below in status port 7000) I can see the
correct caller ID (the xlite number as a h323_ID) but this caller-id
is not shown in radius accounting packet, instead of that I see other
number used by asterisk to register to gnugk (Alias=1001 in
oh323.conf).
I need the correct "Calling-Station-Id" to take advantage of the gnugk
radius-acc and its prepaid support... any idea??
thanks
Rafael
GNUGK Version:
- PTLib version is 1.5.2
- OpenH323 version is 1.12.2
- Gatekeeper(GNU) Version(2.0.8)
Asterisk Version:
- Asterisk CVS version (Nov 3, 2004)
- asterisk-oh323-0.7.0.tar.gz (last version), compiled with
pwlib-v1_6_6-src.tar.gz, openh323-v1_13_5-src.tar.gz
Status Port:
------------
ACF|200.110.w.x:1720|1269_endp|14962|1411#13054224049:dialedDigits|RafoXlite:h323_ID=6606060:dialedDigits|false;
CDR|106|4e 0b 06 3d 57 2c d9 11 94 bb 00 04 76 2f 16 9a|4|Wed, 03 Nov
2004 17:42:00 -0500|Wed, 03 Nov 2004 17:42:04
-0500|200.110.w.x:1720|1269_endp|65.211.y.z:1720|1267_endp|1411#13054224049:dialedDigits|RafoXlite:h323_ID=6606060:dialedDigits|GKProxy01;
DCF|200.110.w.x|1269_endp|14962|normalDrop;
Radius ACC for the same call:
---------------------------
Wed Nov 3 17:41:57 2004
Acct-Status-Type = Start
NAS-IP-Address = 200.110.w.x
NAS-Identifier = "GKProxy01"
NAS-Port-Type = Virtual
Service-Type = Login-User
Acct-Session-Id = "03030069"
User-Name = "IP-PBX"
Framed-IP-Address = 200.110.w.x
Calling-Station-Id = "1001" <<<<------------WHY??
Called-Station-Id = "1411#13054224049"
h323-gw-id = "h323-gw-id=GKProxy01"
h323-conf-id = "h323-conf-id=760B063D 572CD911 94BB0004 762F169A"
h323-call-origin = "h323-call-origin=proxy"
h323-call-type = "h323-call-type=VoIP"
h323-setup-time = "h323-setup-time=17:41:57.000 PET Wed Nov 03 2004"
h323-remote-address = "h323-remote-address=65.211.y.z"
Acct-Delay-Time = 0
Client-IP-Address = 200.110.w.x
Acct-Unique-Session-Id = "c1746abd83fdf370"
Timestamp = 1099521717
Wed Nov 3 17:42:04 2004
Acct-Status-Type = Stop
NAS-IP-Address = 200.110.w.x
NAS-Identifier = "GKProxy01"
NAS-Port-Type = Virtual
Service-Type = Login-User
Acct-Session-Id = "03030069"
User-Name = "IP-PBX"
Framed-IP-Address = 200.110.w.x
Acct-Session-Time = 4
Calling-Station-Id = "1001"
Called-Station-Id = "1411#13054224049"
h323-gw-id = "h323-gw-id=GKProxy01"
h323-conf-id = "h323-conf-id=760B063D 572CD911 94BB0004 762F169A"
h323-call-origin = "h323-call-origin=proxy"
h323-call-type = "h323-call-type=VoIP"
h323-setup-time = "h323-setup-time=17:41:57.000 PET Wed Nov 03 2004"
h323-connect-time = "h323-connect-time=17:42:00.000 PET Wed Nov 03 2004"
h323-disconnect-time = "h323-disconnect-time=17:42:04.000 PET
Wed Nov 03 2004"
h323-disconnect-cause = "h323-disconnect-cause=10"
h323-remote-address = "h323-remote-address=65.211.y.z"
Acct-Delay-Time = 0
Client-IP-Address = 200.110.w.x
Acct-Unique-Session-Id = "c1746abd83fdf370"
Timestamp = 1099521724
--
rrgv
More information about the asterisk-users
mailing list