At CallSetup message and at Accounting message GnuGK sending different UserName !!!

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

 



Hi,

I am trying to run CVS branch 2.2.2 with Radius Integrated (with
RadAlias,RRQ,Setup) . Registered Endpoint can call successfully . Now
trying to GK-GK call but failed .

OriginatingGW-->GK1(192.168.10.20) --LRQ--> GK2(192.168.10.30) --> TermGW

At Setup message it shows UserName=CallingPartyNumber but at
accounting message it shows UserName=Framed-IP-Address . Here is log
below ...



2005/02/01 01:58:40.824	4	      RasSrv.cxx(199)	RAS	Receiving on
192.168.10.30:1719(U)
2005/02/01 01:58:40.825	2	      RasSrv.cxx(168)	RAS	Read from 192.168.10.20:1719
2005/02/01 01:58:40.825	3	      RasSrv.cxx(207)	RAS
locationRequest {
    requestSeqNum = 37779
    destinationInfo = 1 entries {
      [0]=dialedDigits "09988027290793"
    }
    replyAddress = ipAddress {
      ip =  4 octets {
        xx xx xx xx                                        ....
      }
      port = 1719
    }
    sourceInfo = 1 entries {
      [0]=h323_ID  8 characters {
        006e 006a 006f 0073 0070 0067 006b 0031   Test1
      }
    }
    canMapAlias = TRUE
  }
2005/02/01 01:58:40.826	5	         job.cxx(360)	JOB	Worker threads: 7
total - 6 busy, 1 idle
2005/02/01 01:58:40.826	5	         job.cxx(188)	JOB	Starting Job LRQ
at Worker thread 2244616
2005/02/01 01:58:40.826	1	      RasSrv.cxx(328)	RAS	LRQ Received
2005/02/01 01:58:40.826	3	        gkauth.h(845)	GKAUTH	default LRQ check ok
2005/02/01 01:58:40.826	5	       Routing.h(125)	ROUTING	Checking
policy Explicit for the request LRQ 37779
2005/02/01 01:58:40.826	5	       Routing.h(125)	ROUTING	Checking
policy Internal for the request LRQ 37779
2005/02/01 01:58:40.826	2	      RasTbl.cxx(664)	RASTBL	Gateway
6086_endp matched by prefix 099880
2005/02/01 01:58:40.826	4	      RasTbl.cxx(1068)	Prefix match for GW
69.88.13.154:1720
2005/02/01 01:58:40.826	5	       Routing.h(131)	ROUTING	Policy
Internal applied to the request LRQ 37779
2005/02/01 01:58:40.827	2	     
RasSrv.cxx(373)	LCF|192.168.10.20|6086_endp|09988027290793:dialedDigits|192.168.10.20;
2005/02/01 01:58:40.827	3	      RasSrv.cxx(219)	RAS	Send to 192.168.10.20:1719
locationConfirm {
    requestSeqNum = 37779
    callSignalAddress = ipAddress {
      ip =  4 octets {
        xxx xxx xxx xxx                                        EX..
      }
      port = 1721
    }
    rasAddress = ipAddress {
      ip =  4 octets {
        xxx xxx xxx xxx                                        EX..
      }
      port = 1719
    }
  }
2005/02/01 01:58:40.828	5	      RasSrv.cxx(233)	RAS	Sent Successful
2005/02/01 01:58:40.828	5	         job.cxx(423)	JOB	Job LRQ deleted
2005/02/01 01:58:40.828	5	         job.cxx(412)	JOB	Worker threads: 7
total - 5 busy, 2 idle
2005/02/01 01:58:42.145	5	    yasocket.cxx(699)	TCPServer 1 sockets
selected from 4, total 4/0
2005/02/01 01:58:42.145	4	    yasocket.cxx(805)	TCP	Accept request on
192.168.10.30:1721
2005/02/01 01:58:42.145	5	         job.cxx(360)	JOB	Worker threads: 7
total - 6 busy, 1 idle
2005/02/01 01:58:42.145	5	         job.cxx(188)	JOB	Starting Job
Acceptor at Worker thread 2244616
2005/02/01 01:58:42.147	5	ProxyChannel.cxx(489)	Q931s	Reading from
192.168.10.20:32875
2005/02/01 01:58:42.147	3	ProxyChannel.cxx(723)	Q931s	Received: Setup
CRV=29219 from 192.168.10.20:32875
2005/02/01 01:58:42.151	4	ProxyChannel.cxx(671)	Q931	Received: {
  q931pdu = {
    protocolDiscriminator = 8
    callReference = 29219
    from = originator
    messageType = Setup
    IE: Bearer-Capability = {
      80 90 a3                                           ...
    }
    IE: Calling-Party-Number = {
      01 80 34 34 37 30 32 39  36 36 30 30 31 37         ..447029660017
    }
    IE: Called-Party-Number = {
      81 30 39 39 38 38 30 32  37 32 39 30 37 39 33      .09988027290793
    }
    IE: User-User = {
      20 80 06 00 08 91 4a 00  02 08 80 01 3c 05 01 00    .....J.....<...
      00 59 83 96 68 72 f9 11  d9 a7 b4 e6 fd 71 c1 54   .Y..hr.......q.T
      80 00 5d 1d 80 07 00 d1  e3 a5 ea 06 b8 11 00 59   ..]............Y
      83 96 68 72 f9 11 d9 a7  b5 e6 fd 71 c1 54 80 80   ..hr.......q.T..
      df 08 1d 00 00 00 0c 10  b5 00 00 12 07 47 37 32   .............G72
      33 31 61 72 80 0a 04 00  01 00 3e 48 37 44 48 81   31ar......>H7DH.
      28 40 00 00 06 04 01 00  4c 10 b5 00 00 12 07 47   (@......L......G
      37 32 33 31 61 72 80 11  14 00 01 00 3e 48 37 44   7231ar......>H7D
      48 80 00 3e 48 37 44 48  81 13 00 00 01 0d 00 00   H..>H7DH........
      40 00 0a 04 00 01 00 3e  48 37 44 48 81 1e 40 00   @......>H7DH..@.
      01 06 04 01 00 4d 00 00  40 00 11 14 00 01 00 3e   .....M..@......>
      48 37 44 48 80 00 3e 48  37 44 48 81 12 00 00 02   H7DH..>H7DH.....
      0d 40 01 80 0a 04 00 01  00 3e 48 37 44 48 81 1d   .@.......>H7DH..
      40 00 02 06 04 01 00 4d  40 01 80 11 14 00 01 00   @......M@.......
      3e 48 37 44 48 80 00 3e  48 37 44 48 81 13 00 00   >H7DH..>H7DH....
      03 0e 00 01 01 80 0a 04  00 01 00 3e 48 37 44 48   ...........>H7DH
      81 1e 40 00 03 06 04 01  00 4e 00 01 01 80 11 14   ..@......N......
      00 01 00 3e 48 37 44 48  80 00 3e 48 37 44 48 81   ...>H7DH..>H7DH.
      01 00 01 00 01 00 01 00  02 80 01 80               ............
    }
  }

2005/02/01 01:58:42.151	4	ProxyChannel.cxx(1323)		GWRewrite source:
neighbor or explicit IP
2005/02/01 01:58:42.151	3	    radproto.cxx(2098)	RADIUS	Sending PDU to
RADIUS server 127.0.0.1 (127.0.0.1:1812) from port:5473[active
requests: 0, ID space: 41-42], PDU: {
        code = 1 (Access-Request)
        id = 41
        length = 264 octets
        authenticator = 16 octets {
          14 14 ad d9 21 90 00 9a  53 ad b9 d7 b8 30 20 f1   ....!...S....0 .
        }
        attributes = 13 elements {
          [0]= {
            type = 1 (User-Name)
            length = 14 octets
            value = 12 octets {
              34 34 37 30 32 39 36 36  30 30 31 37               447029660017
            }
          }
          [1]= {
            type = 4 (NAS-IP-Address)
            length = 6 octets
            value = 4 octets {
              xxx xxx xxx xxx                                        EX..
            }
          }
          [2]= {
            type = 32 (NAS-Identifier)
            length = 12 octets
            value = 10 octets {
              44 68 61 6b 61 74 65 6c  47 6b                     TestGk
            }
          }
          [3]= {
            type = 61 (NAS-Port-Type)
            length = 6 octets
            value = 4 octets {
              00 00 00 05                                        ....
            }
          }
          [4]= {
            type = 6 (Service-Type)
            length = 6 octets
            value = 4 octets {
              00 00 00 01                                        ....
            }
          }
          [5]= {
            type = 8 (Framed-IP-Address)
            length = 6 octets
            value = 4 octets {
              xx xx xx xx                                        ....
            }
          }
          [6]= {
            type = 31 (Calling-Station-Id)
            length = 14 octets
            value = 12 octets {
              34 34 37 30 32 39 36 36  30 30 31 37               447029660017
            }
          }
          [7]= {
            type = 30 (Called-Station-Id)
            length = 16 octets
            value = 14 octets {
              30 39 39 38 38 30 32 37  32 39 30 37 39 33         09988027290793
            }
          }
          [8]= {
            type = 26 (Vendor-Specific)
            length = 56 octets
            vendorId = 9
            vendorType = 24
            vendorLength = 50
            vendorValue = 48 octets {
              68 33 32 33 2d 63 6f 6e  66 2d 69 64 3d 35 39 38  
h323-conf-id=598
              33 39 36 36 38 20 37 32  46 39 31 31 44 39 20 41   39668
72F911D9 A
              37 42 34 45 36 46 44 20  37 31 43 31 35 34 38 30  
7B4E6FD 71C15480
            }
          }
          [9]= {
            type = 26 (Vendor-Specific)
            length = 34 octets
            vendorId = 9
            vendorType = 26
            vendorLength = 28
            vendorValue = 26 octets {
              68 33 32 33 2d 63 61 6c  6c 2d 6f 72 69 67 69 6e  
h323-call-origin
              3d 6f 72 69 67 69 6e 61  74 65                     =originate
            }
          }
          [10]= {
            type = 26 (Vendor-Specific)
            length = 27 octets
            vendorId = 9
            vendorType = 27
            vendorLength = 21
            vendorValue = 19 octets {
              68 33 32 33 2d 63 61 6c  6c 2d 74 79 70 65 3d 56  
h323-call-type=V
              6f 49 50                                           oIP
            }
          }
          [11]= {
            type = 26 (Vendor-Specific)
            length = 29 octets
            vendorId = 9
            vendorType = 33
            vendorLength = 23
            vendorValue = 21 octets {
              68 33 32 33 2d 67 77 2d  69 64 3d 44 68 61 6b 61   h323-gw-id=Test
              74 65 6c 47 6b                                     Gk
            }
          }
          [12]= {
            type = 2 (User-Password)
            length = 18 octets
            value = 16 octets {
              68 8c 77 2b e4 7a c1 1a  09 ee c4 7d 0d 09 d8 b8  
h.w+.z.....}....
            }
          }
        }
     }

2005/02/01 01:58:42.155	3	    radproto.cxx(2137)	RADIUS	Received PDU
from RADIUS server 127.0.0.1 (127.0.0.1:1812) by socket
port:5473[active requests: 0, ID space: 41-42], PDU: {
        code = 3 (Access-Reject)
        id = 41
        length = 20 octets
        authenticator = 16 octets {
          6a 4f b1 9f d4 33 89 16  ad fd 76 2d e8 be 56 ca   jO...3....v-..V.
        }
        attributes = <<null>>
     }

2005/02/01 01:58:42.155	3	      gkauth.cxx(1070)	GKAUTH	RadAliasAuth
Setup check failed
2005/02/01 01:58:42.155	4	ProxyChannel.cxx(1446)	Q931	Dropping call
from 192.168.10.20:32875 due to Setup authentication failure
2005/02/01 01:58:42.156	2	     
RasTbl.cxx(1969)	CallTable::Insert(CALL) Call No. 32430, total
sessions : 6
2005/02/01 01:58:42.156	2	      gkacct.cxx(958)	GKACCT	Successfully
logged event 1 for call no. 32430
2005/02/01 01:58:42.156	2	      RasTbl.cxx(2140)	CDR	ignore not connected call
2005/02/01 01:58:42.157	5	      gkacct.cxx(736)	GKACCT	FileAcct - CDR
string for event 2, call no. 32430:
Call-32430|IP=192.168.10.20|Pin=192.168.10.20|UserTel=447029660017|DialedNo=09988027290793|RewrittenNo=09988027290793|Start=|Stop=2005-02-01
01:58:42|ConfID=59 83 96 68 72 f9 11 d9 a7 b4 e6 fd 71 c1 54
80|SessID=41fb58c700007eae| Duration=0 |DisCause=21|GW=0.0.0.0
2005/02/01 01:58:42.157	3	      gkacct.cxx(918)	GKACCT	FileAcct logged
event 2 for call no. 32430
2005/02/01 01:58:42.157	3	    radproto.cxx(2098)	RADIUS	Sending PDU to
RADIUS server 127.0.0.1 (127.0.0.1:1813) from port:63529[active
requests: 0, ID space: 204-205], PDU: {
        code = 4 (Accounting-Request)
        id = 204
        length = 534 octets
        authenticator = 16 octets {
          ff 1a 26 ab 3a a2 4b 5b  95 92 0c ce 8d 8a db f6   ..&.:.K[........
        }
        attributes = 21 elements {
          [0]= {
            type = 40 (Acct-Status-Type)
            length = 6 octets
            value = 4 octets {
              00 00 00 02                                        ....
            }
          }
          [1]= {
            type = 4 (NAS-IP-Address)
            length = 6 octets
            value = 4 octets {
              xxx xxx xxx xxx                                        EX..
            }
          }
          [2]= {
            type = 32 (NAS-Identifier)
            length = 12 octets
            value = 10 octets {
              44 68 61 6b 61 74 65 6c  47 6b                     TestGk
            }
          }
          [3]= {
            type = 61 (NAS-Port-Type)
            length = 6 octets
            value = 4 octets {
              00 00 00 05                                        ....
            }
          }
          [4]= {
            type = 6 (Service-Type)
            length = 6 octets
            value = 4 octets {
              00 00 00 01                                        ....
            }
          }
          [5]= {
            type = 44 (Acct-Session-Id)
            length = 18 octets
            value = 16 octets {
              34 31 66 62 35 38 63 37  30 30 30 30 37 65 61 65  
41fb58c700007eae
            }
          }
          [6]= {
            type = 1 (User-Name)
            length = 17 octets
            value = 15 octets {
              32 30 39 2e 32 32 37 2e  31 36 35 2e 32 33 34      192.168.10.20
            }
          }
          [7]= {
            type = 8 (Framed-IP-Address)
            length = 6 octets
            value = 4 octets {
              xx xx xx xx                                        ....
            }
          }
          [8]= {
            type = 46 (Acct-Session-Time)
            length = 6 octets
            value = 4 octets {
              00 00 00 00                                        ....
            }
          }
          [9]= {
            type = 31 (Calling-Station-Id)
            length = 14 octets
            value = 12 octets {
              34 34 37 30 32 39 36 36  30 30 31 37               447029660017
            }
          }
          [10]= {
            type = 30 (Called-Station-Id)
            length = 16 octets
            value = 14 octets {
              30 39 39 38 38 30 32 37  32 39 30 37 39 33         09988027290793
            }
          }
          [11]= {
            type = 26 (Vendor-Specific)
            length = 56 octets
            vendorId = 9
            vendorType = 24
            vendorLength = 50
            vendorValue = 48 octets {
              68 33 32 33 2d 63 6f 6e  66 2d 69 64 3d 35 39 38  
h323-conf-id=598
              33 39 36 36 38 20 37 32  46 39 31 31 44 39 20 41   39668
72F911D9 A
              37 42 34 45 36 46 44 20  37 31 43 31 35 34 38 30  
7B4E6FD 71C15480
            }
          }
          [12]= {
            type = 26 (Vendor-Specific)
            length = 29 octets
            vendorId = 9
            vendorType = 33
            vendorLength = 23
            vendorValue = 21 octets {
              68 33 32 33 2d 67 77 2d  69 64 3d 44 68 61 6b 61   h323-gw-id=Test
              74 65 6c 47 6b                                     Gk
            }
          }
          [13]= {
            type = 26 (Vendor-Specific)
            length = 30 octets
            vendorId = 9
            vendorType = 26
            vendorLength = 24
            vendorValue = 22 octets {
              68 33 32 33 2d 63 61 6c  6c 2d 6f 72 69 67 69 6e  
h323-call-origin
              3d 70 72 6f 78 79                                  =proxy
            }
          }
          [14]= {
            type = 26 (Vendor-Specific)
            length = 27 octets
            vendorId = 9
            vendorType = 27
            vendorLength = 21
            vendorValue = 19 octets {
              68 33 32 33 2d 63 61 6c  6c 2d 74 79 70 65 3d 56  
h323-call-type=V
              6f 49 50                                           oIP
            }
          }
          [15]= {
            type = 26 (Vendor-Specific)
            length = 56 octets
            vendorId = 9
            vendorType = 25
            vendorLength = 50
            vendorValue = 48 octets {
              68 33 32 33 2d 73 65 74  75 70 2d 74 69 6d 65 3d  
h323-setup-time=
              30 31 3a 35 38 3a 34 32  2e 30 30 30 20 42 44 54  
01:58:42.000 BDT
              20 54 75 65 20 46 65 62  20 30 31 20 32 30 30 35    Tue
Feb 01 2005
            }
          }
          [16]= {
            type = 26 (Vendor-Specific)
            length = 61 octets
            vendorId = 9
            vendorType = 29
            vendorLength = 55
            vendorValue = 53 octets {
              68 33 32 33 2d 64 69 73  63 6f 6e 6e 65 63 74 2d  
h323-disconnect-
              74 69 6d 65 3d 30 31 3a  35 38 3a 34 32 2e 30 30  
time=01:58:42.00
              30 20 42 44 54 20 54 75  65 20 46 65 62 20 30 31   0 BDT
Tue Feb 01
              20 32 30 30 35                                      2005
            }
          }
          [17]= {
            type = 26 (Vendor-Specific)
            length = 32 octets
            vendorId = 9
            vendorType = 30
            vendorLength = 26
            vendorValue = 24 octets {
              68 33 32 33 2d 64 69 73  63 6f 6e 6e 65 63 74 2d  
h323-disconnect-
              63 61 75 73 65 3d 31 35                            cause=15
            }
          }
          [18]= {
            type = 26 (Vendor-Specific)
            length = 35 octets
            vendorId = 9
            vendorType = 23
            vendorLength = 29
            vendorValue = 27 octets {
              68 33 32 33 2d 72 65 6d  6f 74 65 2d 61 64 64 72  
h323-remote-addr
              65 73 73 3d 30 2e 30 2e  30 2e 30                  ess=0.0.0.0
            }
          }
          [19]= {
            type = 26 (Vendor-Specific)
            length = 69 octets
            vendorId = 9
            vendorType = 1
            vendorLength = 63
            vendorValue = 61 octets {
              68 33 32 33 2d 69 76 72  2d 6f 75 74 3d 68 33 32  
h323-ivr-out=h32
              33 2d 63 61 6c 6c 2d 69  64 3a 35 39 38 33 39 36  
3-call-id:598396
              36 38 20 37 32 46 39 31  31 44 39 20 41 37 42 35   68
72F911D9 A7B5
              45 36 46 44 20 37 31 43  31 35 34 38 30            E6FD 71C15480
            }
          }
          [20]= {
            type = 41 (Acct-Delay-Time)
            length = 6 octets
            value = 4 octets {
              00 00 00 00                                        ....
            }
          }
        }
     }

2005/02/01 01:58:42.162	3	    radproto.cxx(2137)	RADIUS	Received PDU
from RADIUS server 127.0.0.1 (127.0.0.1:1813) by socket
port:63529[active requests: 0, ID space: 204-205], PDU: {
        code = 5 (Accounting-Response)
        id = 204
        length = 20 octets
        authenticator = 16 octets {
          c7 4c 8a 5c e2 98 83 c9  1a a5 d3 35 46 ba 34 af   .L.\.......5F.4.
        }
        attributes = <<null>>
     }

Here I am not getting Framed-IP-Address as username during Call
Setup,so that I cannot configure radius for IP Auth and billing.

 Pls help me to solve this problem .

Regards..

...Tusar...


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl

_______________________________________________________

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