Juha Heinanen writes: > The function that is run at the close has ws_connection_t argument: > > static void wsconn_run_route(ws_connection_t *wsc) > > ws_connection_t record has these two fields: > > int id; /* id and id_hash are identical to the values */ > unsigned id_hash; /* for the corresponding TCP/TLS connection */ > > Is id the same thing as what is stored in connection_id field of > location table?
I added a syslog message to wsconn_run_route(ws_connection_t *wsc) function and indeed wsc->id contains the connection_id. I'll assign it to a pv after master is again available for new stuff. -- Juha _______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users