path: root/include
diff options
authorAlfred E. Heggestad <>2015-10-11 11:24:37 +0200
committerAlfred E. Heggestad <>2015-10-11 11:24:37 +0200
commit25225de72f2ba6c89abe862e2e027906c9ef8a76 (patch)
treeb1cf229229b7e29249d57fd0e41eee3ebbd9d147 /include
parentbf9a477a0fc1ab83690a2083a02708e85224b3c1 (diff)
ua: add support for hold+answer
- added ua_hold_answer() which will first put on-hold the active call (if exist) and then answer the new incoming call fixes #50
Diffstat (limited to 'include')
1 files changed, 1 insertions, 0 deletions
diff --git a/include/baresip.h b/include/baresip.h
index 3ac753e..9c87e95 100644
--- a/include/baresip.h
+++ b/include/baresip.h
@@ -511,6 +511,7 @@ int ua_connect(struct ua *ua, struct call **callp,
void ua_hangup(struct ua *ua, struct call *call,
uint16_t scode, const char *reason);
int ua_answer(struct ua *ua, struct call *call);
+int ua_hold_answer(struct ua *ua, struct call *call);
int ua_options_send(struct ua *ua, const char *uri,
options_resp_h *resph, void *arg);
int ua_sipfd(const struct ua *ua);