Another idea - do you have at least one auth module configured, so Calling-Station-Id gets configured at all?
----- Original Message ----- From: "david winter" <dwinter@xxxxxxxxxxxxxxxxxx>
Sent: Tuesday, November 16, 2004 5:32 AM
I am using SQLAcct, and tryuing to store the ${calling-station-id), but I always get the IP:port instead. When looking at the call trace in level 4 debug mode, I see the correct calling-station-id in the q931 messages. I thought the ip:port was only to be inserted if the calling-station-id was unavailable?
From gnugk.ini
StopQuery=INSERT INTO cdr (gkname, sessid, callno, username, calling,
called, setup, connect,disconnect,duration, disconnectcause,dest_ip,orig_ip)
VALUES ('%g', '%s', %n, '%u', '%{Calling-Station-Id}',
'%{Called-Station-Id}',
'%{setup-time}','%{connect-time}','%{disconnect-time}',%d,
%c,'%{callee-ip}','%{caller-ip}')
------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
_______________________________________________________
List: Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549 Homepage: http://www.gnugk.org/