Re: Accounting Oddity

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

 



Unregistered endpoints do not have to report bandwidth usage.
Try to check contents of Setup message to see if bandwidth
is reported by the unregistered endpoint. If no bandwidth report
is received, the default 1280 value is being used.

----- Original Message ----- 
From: "Mike Ockenga" <Mike.Ockenga@xxxxxxxxx>
Sent: Friday, July 20, 2007 10:38 PM


>> For calls /from/ endpoints registered to a neighbor Cisco MCM 
>> GK to endpoints registered to my GnuGK 2.2.6 test box, a 
>> single accounting parameter is recording different values via 
>> [SQLAuth] and [FileAuth], and I can't figure out why.  
>> 
>> No matter what the actual call bandwidth is, the SQLAuth 
>> start query is executed with "1280" (ergo a 64Kbps call) as 
>> the requested bandwidth.
>> However, the correct value is written to the flat file for 
>> every call. 
> 
> After poking around the code a bit, I discovered that the errant
> requested bandwidth value of 1280 is coming from RasTbl.cxx line 1434.  
> 
> It's in the "CallRec::CallRec():" initializer for m_bandwidth(1280).  
> 
> Working with a fairly novice understanding of C++ code, and a very
> beginner understanding of GnuGK, it will take me a long, long time to
> figure out why it's inserting this value in the SQLAcct record, but not
> in the FileAcct record for the same call.
> 
> Does anyone more familiar with the code have an idea why this
> happens--but only in cases where a call is inbound to a registered
> endpoint from an "unregistered endpoint".  For all other test call cases
> I've tested, the correct value gets recorded in both records.
> 
> Thanks!
> 
> --
> Mike


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________________

Posting: mailto:Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Archive: http://sourceforge.net/mailarchive/forum.php?forum_name=openh323gk-users
Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users
Homepage: http://www.gnugk.org/

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

  Powered by Linux