#pragma once #include #include #include #include #include #include struct app_config; struct call; struct sip_agent { struct app_config *app; su_home_t home; su_root_t *root; nua_t *nua; }; void sip_agent_init(struct sip_agent *agent, struct app_config *app); int sip_agent_start(struct sip_agent *agent); int sip_create_remote_leg(struct sip_agent *agent, struct call *call);