Menu

#176 Extend version information for MI

ver devel
closed-accepted
core (30)
5
2008-08-11
2008-08-07
No

Hi,

i've noticed, the core-MI-command delivers information based on the SERVER_HEADER-String.
If you use the openserctl script, you'll just see the following:

"openserctl fifo version"
Server:: OpenSER (1.4.0dev15-notls (i386/linux))

The attached patch enhances this information; additionally the following information is delivered:
- the date, when the proxy was compiled
- the compile flags
- the SVN revision

"openserctl fifo version"
Server:: OpenSER (1.4.0dev15-notls (i386/linux))
Build:: mi/mi_core.c compiled on 17:22:48 Aug 7 2008 with gcc 4.2.3
Flags:: STATS: Off, USE_IPV6, USE_TCP, DISABLE_NAGLE, USE_MCAST, SHM_MEM, SHM_MMAP, PKG_MALLOC, F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT
SVN:: 2:4560M

We once had the issue, that an update was installed but still the old proxy was running... (due to missing restart).

Carsten

Discussion

  • Carsten Bock

    Carsten Bock - 2008-08-07

    Enhance Version information for MI-Server

     
  • Henning Westerholt

    Logged In: YES
    user_id=337916
    Originator: NO

    Hi Carsten,

    thank you for the patch. I've commited it to trunk with some minor changes because of the rename.

    Henning

     
  • Henning Westerholt

    • assigned_to: nobody --> henningw
    • status: open --> open-accepted
     
  • Henning Westerholt

    • status: open-accepted --> closed-accepted
     

Log in to post a comment.