summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2016-03-26 06:19:42 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2016-03-26 06:22:06 +0100
commit2e36090feadb524430eee70cf0b0e16f1c10f839 (patch)
tree16e8c6f1faeb21c5d8e3b4d6fa703d7770f014d0
parent71fbe870d896bfc2f6032b932254aac01b841fd1 (diff)
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.
-rw-r--r--src/sip.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sip.c b/src/sip.c
index 4e4d569..8b02b00 100644
--- a/src/sip.c
+++ b/src/sip.c
@@ -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;