Hi,
I have tested GNUGK for call termination and deployed GNUGK in live for call termination. Some of the issues, I am not able to sortout is listed below. Kindly advise me how to proceed?
My setup is receiving call from neighbor and third party gateways and call termination to telian and allwin low port density gateways.
My issues:
1. calls from neighbors get terminated OK. however, if GK is idle for long time without any call followed by call from neighbor failed with code 41. However, after stopping and starting GNUGK service everything fine. Any keepalive I have to enable or neighbor registration timedout if idle.
2. call terminated to telian and allwin gateways, duration of the call starts while ringing itself and hence every call will have approximately +20sec duration and calls not connected or ring for 30sec shows the duration as 30sec. Any settings in GK or telian/ allwin needed. Suggestion from users of teliann and allwin welcome.
3. for CDR, I am using fileacct and sqlacct(mysql) in ini file as given in gnugk manual. cdr.log stores correct cdr info. Mysql has connect-time as 00:00:00 for all the calls but disconnect-time and call duration matches with
cdr.log. Checked for syntax errors but there is no errors.
[Gatekeeper::Acct] SQLAcct=optional;start,stop,update FileAcct=sufficient;stop [FileAcct] DetailFile=Add your desire path here something like /var/log/cdr.log StandardCDRFormat=0 CDRString=%g|%n|%d|%c|%s|%u|%{gkip}|%{CallId}|%{ConfId}|%{setup-time}|%{connect-time}|%{disconnect-time}|%{caller-ip}|%{caller-port}|%{callee-ip}|%{callee-port}|%{src-info}|%{dest-info}|%{Calling-Station-Id}|%{Called-Station-Id}|%{Dialed-Number} Rotate=daily RotateTime=23:59 [SQLAcct] Driver=MySQL Database=GNUGK Username=YourDesiredUsername Password=APassword StartQuery= insert into CDR (gatekeeper_name, call_number, call_duration, disconnect_cause, acct_session_id, h323_id, gkip, CallId, ConfId, setup_time, connect_time, disconnect_time, caller_ip, caller_port, callee_ip, callee_port, src_info, dest_info, Calling_Station_Id, Called_Station_Id, Dialed_Number) values ('%g', '%n', %d, %c, '%s', '%u', '%{gkip}', '%{CallId}', '%{ConfId}', '%{setup-time}', '%{connect-time}', '%{disconnect-time}', '%{caller-ip}', '%{caller-port}', '%{callee-ip}', '%{callee-port}', '%{src-info}', '%{dest-info}', '%{Calling-Station-Id}', '%{Called-Station-Id}', '%{Dialed-Number}') StartQueryAlt= insert into CDR (gatekeeper_name, call_number, call_duration, disconnect_cause, acct_session_id, h323_id, gkip, CallId, ConfID, setup_time, connect_time, disconnect_time, caller_ip, caller_port, callee_ip, callee_port, src_info, dest_info, Calling_Station_Id, Called_Station_Id, Dialed_Number) values ('%g', '%n', %d, %c, '%s', '%u', '%{gkip}', '%{CallId}', '%{ConfID}', '%{setup-time}', '%{connect-time}', '%{disconnect-time}', '%{caller-ip}', '%{caller-port}', '%{callee-ip}', '%{callee-port}', '%{src-info}', '%{dest-info}', '%{Calling-Station-Id}', '%{Called-Station-Id}', '%{Dialed-Number}') UpdateQuery= update CDR set call_duration=%d where gatekeeper_name='%g' and acct_session_id='%s' StopQuery= update CDR set call_duration=%d, disconnect_cause=%c, disconnect_time='%{disconnect-time}' where gatekeeper_name='%g' and acct_session_id='%s' StopQueryAlt= insert into CDR (gatekeeper_name, call_number, call_duration, disconnect_cause, acct_session_id, h323_id, gkip, CallId, ConfID, setup_time, connect_time, disconnect_time, caller_ip, caller_port, callee_ip, callee_port, src_info, dest_info, Calling_Station_Id, Called_Station_Id, Dialed_Number) values ('%g STOP Alt', '%n', %d, %c, '%s', '%u', '%{gkip}', '%{CallId}', '%{ConfID}', '%{setup-time}', '%{connect-time}', '%{disconnect-time}', '%{caller-ip}', '%{caller-port}', '%{callee-ip}', '%{callee-port}', '%{src-info}', '%{dest-info}', '%{Calling-Station-Id}', '%{Called-Station-Id}', '%{Dialed-Number}') TimestampFormat=MySQL
Currently running with CVS compiled version in linux environment with Mysql 5.x. There is no radius server. If I want to have prepaid calling card type bill generation using mysql, any way to implement. Step by step suggestion requested.
Thanks for your time. Problems experienced are compiled in single mail and sorry for the lengthy mail.
Thanks
SathisuR
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________________ Posting: mailto:Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549 Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users Homepage: http://www.gnugk.org/