sip: Tell sofia-sip that we will ack certain things ourselves

This has not tested re-transmission and if a call is connected
multiple times or not.
This commit is contained in:
Holger Hans Peter Freyther 2016-03-26 06:19:42 +01:00
parent 71fbe870d8
commit 2e36090fea
1 changed files with 3 additions and 0 deletions

View File

@ -61,6 +61,9 @@ int sip_agent_start(struct sip_agent *agent)
agent->nua = nua_create(agent->root,
nua_callback, agent,
NUTAG_URL(sip_uri),
NUTAG_AUTOACK(0),
NUTAG_AUTOALERT(0),
NUTAG_AUTOANSWER(0),
TAG_END());
talloc_free(sip_uri);
return agent->nua ? 0 : -1;