Called/Calling IPs in logs?

  • I can't seem to find a way to log called and calling IP addresses in the windowsmanual or linuxmanual (We're running our CQ on Ubuntu) and was hoping this might be something I'm overlooking both in the manual and here on the forums. Anyone aware of a way to add this information to the logs?

  • I don't know of a way to capture the IP address, but you can get the following - station name is probably unique, or could be modified on the modality to be unique.


    %u=CallingAE
    %s=stationname


    To get to the log file, you could use the append command as an import converter - the example in the manual is written as:
    append "date: %d" to file.txt


    I suspect that you could use (untested)
    ImportConverter0 = append "CallingAE: %u Station Name: %s" to serverstatus.log

  • Hi,


    lua has an Association object that lists AE and IP:


    Association.Calling, Association.Called, Association.Thread, Association.ConnectedIP


    so


    [lua]
    Association = print('New connection: ', Association.Calling, Association.Called, Association.Thread, Association.ConnectedIP)


    would log the available info


    Marcel

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!