add custom event

This commit is contained in:
Shaun Chyxion 2021-04-15 01:27:20 +08:00
parent 2b282ae7cc
commit b1c92af0c0

View File

@ -74,6 +74,7 @@ public class ApplicationStartup implements ApplicationListener<ApplicationReadyE
client.setConnectedCallback(() -> {
log.info("Register FreeSWITCH ESL events.");
client.event(StringUtils.join(Arrays.asList(
"CUSTOM",
"sofia::register",
"sofia::unregister",
"CHANNEL_CREATE",