aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeith <keith@rhizomatica.org>2019-08-06 17:56:30 +0200
committerkeith <keith@rhizomatica.org>2019-08-06 17:48:37 +0000
commita2b7c8e29faab4032852a2c2e4f5deff6e2270e1 (patch)
tree16ad3afa27132c6c08b5eb2f39f69486155fe0b4
parent5f79d5a3195e152c233685eb75f5a9e50f7d3006 (diff)
Define hold/retrieve functions for MO calls
My original patch that introduced this functionality, bd2d14bd4af592c2694217d84aaf81d759d2ca1 only did so for MT calls. Change-Id: Ifd42ed94053f6a38abfe6d6b18e2fe3582d037bb
-rw-r--r--src/sip.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sip.c b/src/sip.c
index 4eb7689..350eb0b 100644
--- a/src/sip.c
+++ b/src/sip.c
@@ -614,6 +614,8 @@ int sip_create_remote_leg(struct sip_agent *agent, struct call *call)
leg->base.call = call;
leg->base.release_call = sip_release_call;
leg->base.dtmf = sip_dtmf_call;
+ leg->base.hold_call = sip_hold_call;
+ leg->base.retrieve_call = sip_retrieve_call;
leg->agent = agent;
leg->nua_handle = nua_handle(agent->nua, leg, TAG_END());