Define hold/retrieve functions for MO calls

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

Change-Id: Ifd42ed94053f6a38abfe6d6b18e2fe3582d037bb
This commit is contained in:
Keith Whyte 2019-08-06 17:56:30 +02:00 committed by keith
parent 5f79d5a319
commit a2b7c8e29f
1 changed files with 2 additions and 0 deletions

View File

@ -614,6 +614,8 @@ int sip_create_remote_leg(struct sip_agent *agent, struct call *call)
leg->base.call = call; leg->base.call = call;
leg->base.release_call = sip_release_call; leg->base.release_call = sip_release_call;
leg->base.dtmf = sip_dtmf_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->agent = agent;
leg->nua_handle = nua_handle(agent->nua, leg, TAG_END()); leg->nua_handle = nua_handle(agent->nua, leg, TAG_END());