I used unimrcp1.7.0, and i need to know the detail of SIP info.
unimrcp pass the callback to nua_create, like this:
static nua_t* mrcp_sofia_nua_create(void *obj, su_root_t *root)
{
nua_t *nua;
mrcp_sofia_agent_t *sofia_agent = obj;
mrcp_sofia_server_config_t *sofia_config = sofia_agent->config;
}
the callback funtion is defined as:
static void mrcp_sofia_event_callback(
nua_event_t nua_event,
int status,
char const *phrase,
nua_t *nua,
mrcp_sofia_agent_t *sofia_agent,
nua_handle_t *nh,
mrcp_sofia_session_t *sofia_session,
sip_t const *sip,
tagi_t tags[])
i can get sip info when the sofia-sip get INVITE from client, and call the callback, but when sofia-sip response to the client, it made the sip pointer NULL, so I can not get the SIP info.
--
You received this message because you are subscribed to the Google Groups "UniMRCP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to unimrcp+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/unimrcp/ea153e5d-224f-4231-ade3-9a770aa128a5n%40googlegroups.com.