accaunting problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Hi all.

I can't solve a problem with accaunting...
I have thes configuration:
   [Gatekeeper::Main]
   Fourtytwo=42
   Name=outsider
   NetworkInterfaces=*********,**********
   EndpointSignalPort=1720

   [RoutedMode]
   GKRouted=1
   CallSignalPort=1720
   AcceptUnregisteredCalls=1

   [Proxy]
   Enable=1
   InternalNetwork=**********

   [GkStatus::Auth]
   rule=allow

   [RasSrv::RewriteE164]
   8432789216=12#770653

   [RasSrv::PermanentEndpoints]
   ***********:1720=Cisco;12#

   [Gatekeeper::Auth]
   RadAliasAuth=required;Setup

   [RadAliasAuth]
   Servers=127.0.0.1:1812
   SharedSecret=testing123

   [Gatekeeper::Acct]
   RadAcct=required;start,stop

   [Accounting]
   AlwaysUseCLID=1

   [RadAcct]
   Servers=127.0.0.1:1813
   LocalInterface=127.0.0.1
   SharedSecret=testing123

Cisco is a gateway and all calls come through it. When the call comes from
it an authentication-accounting module shuld send atributes of call to
RADIUS. Well? it sends...
2004/08/18 14:19:57.007 3           radproto.cxx(1813)  RADIUS  Sending
PDU to RADIUS server 127.0.0.1 (127.0.0.1:1812) from
port:13360[0,252-253], PDU: {
         code = 1 (Access-Request)
         id = 252
         length = 252 octets
         authenticator = 16 octets {
           03 66 06 a1 a8 fc b1 40  78 30 96 38 90 84 af a3
.f.....@xxxxxxxx
         }
         attributes = 13 elements {
           [0]= {
             type = 1 (User-Name)
             length = 13 octets
             value = 11 octets {
               38 33 2e 31 35 31 2e 30  2e 36 37
83.151.0.67
             }
           }
           [1]= {
             type = 2 (User-Password)
             length = 18 octets
             value = 16 octets {
               ab 67 88 ec eb 39 e4 51  b9 ee 26 8a 86 9e f6 23
.g...9.Q..&....#
             }
           }
           [2]= {
             type = 4 (NAS-IP-Address)
             length = 6 octets
             value = 4 octets {
               7f 00 00 01                                        ....
             }
           }
           [3]= {
             type = 32 (NAS-Identifier)
             length = 10 octets
             value = 8 octets {
               6f 75 74 73 69 64 65 72                            outsider
             }
           }
           [4]= {
             type = 61 (NAS-Port-Type)
             length = 6 octets
             value = 4 octets {
               00 00 00 05                                        ....
             }
           }
           [5]= {
             type = 6 (Service-Type)
             length = 6 octets
             value = 4 octets {
               00 00 00 01                                        ....
             }
           }
           [6]= {
             type = 8 (Framed-IP-Address)
             length = 6 octets
             value = 4 octets {
               53 97 00 43                                        S..C
             }
           }
           [7]= {
             type = 31 (Calling-Station-Id)
             length = 13 octets
             value = 11 octets {
               38 33 2e 31 35 31 2e 30  2e 36 37
83.151.0.67
             }
           }
           [8]= {
             type = 30 (Called-Station-Id)
             length = 11 octets
             value = 9 octets {
               31 32 23 37 37 30 36 35  33                        12#770653
             }
           }
           [9]= {
             type = 26 (Vendor-Specific)
             length = 55 octets
             vendorId = 9
             vendorValue = 49 octets {
               18 31 68 33 32 33 2d 63  6f 6e 66 2d 69 64 3d 33
.1h323-conf-id=3
               44 38 43 32 41 36 46 20  46 30 33 37 31 31 44 38   D8C2A6F
F03711D8
               20 39 44 42 38 45 42 33  43 20 34 35 32 34 43 37    9DB8EB3C
4524C7
               41                                                 A
             }
           }
           [10]= {
             type = 26 (Vendor-Specific)
             length = 34 octets
             vendorId = 9
             vendorValue = 28 octets {
               1a 1c 68 33 32 33 2d 63  61 6c 6c 2d 6f 72 69 67
..h323-call-orig
               69 6e 3d 6f 72 69 67 69  6e 61 74 65
in=originate
             }
           }
           [11]= {
             type = 26 (Vendor-Specific)
             length = 27 octets
             vendorId = 9
             vendorValue = 21 octets {
               1b 15 68 33 32 33 2d 63  61 6c 6c 2d 74 79 70 65
..h323-call-type
               3d 56 6f 49 50                                     =VoIP
             }
           }
           [12]= {
             type = 26 (Vendor-Specific)
             length = 27 octets
             vendorId = 9
             vendorValue = 21 octets {
               21 15 68 33 32 33 2d 67  77 2d 69 64 3d 6f 75 74
!.h323-gw-id=out
               73 69 64 65 72                                     sider
             }
           }
         }
      }

How can I force it(GnuGK) to send the right information
(Calling-Station-Id should be number, but not IP) on RADIUS?
--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/


------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285

_______________________________________________________

List: Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549
Homepage: http://www.gnugk.org/

[Index of Archives]     [SIP]     [Open H.323]     [Gnu Gatekeeper]     [Asterisk PBX]     [ISDN Cause Codes]     [Yosemite News]

  Powered by Linux