[sr-dev] git:master:dc6d44b6: core: execute event_route[core:worker-one-init] for sctp or tcp

Juha Heinanen jh at tutpro.com
Fri Mar 12 19:20:12 CET 2021


Daniel-Constantin Mierla writes:

> I was just about to write you on the other thread to test and see if
> works, as I did the development but without having the time to test.

I tested with tcp and tls listeners

Mar 12 20:16:43 sip-proxy[21780]: Listening on
Mar 12 20:16:43 sip-proxy[21780]:              tcp: 192.168.43.160 [192.168.43.160]:5060
Mar 12 20:16:43 sip-proxy[21780]:              tcp: 127.0.0.1 [127.0.0.1]:5070
Mar 12 20:16:43 sip-proxy[21780]:              tcp: 127.0.0.1 [127.0.0.1]:6060
Mar 12 20:16:43 sip-proxy[21780]:              tls: 192.168.43.160 [192.168.43.160]:5061 name ext_tls

and this is config:

event_route[core:worker-one-init] {
    xinfo("********* executed core:worker-one-init\n");
}

At start I got to syslog as expected:

Mar 12 20:16:43 /usr/bin/sip-proxy[21867]: INFO: ********* executed core:worker-one-init

-- Juha




More information about the sr-dev mailing list