Define hold/retrieve functions for MO calls

My original patch that introduced this functionality,
bd2d14bd4a
only did so for MT calls.

Change-Id: Ifd42ed94053f6a38abfe6d6b18e2fe3582d037bb
changes/69/15069/2
Keith Whyte 3 years ago committed by keith
parent 5f79d5a319
commit a2b7c8e29f
  1. 2
      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());

Loading…
Cancel
Save