iphone - How to Implement an Attended Transfer with pjsip 2.3 in ios -


in voip application need implement call transfer functionality. it's working pjsua_call_xfer(*call_id, &pj_uri, null) , blind transfer.

but according requirement need implement attended transfer pjsua_call_xfer_replaces(call, dst_call, pjsua_xfer_no_require_replaces, null).

attended call transfer:

  1. during call, press “transfer” button (the active call placed on hold).
  2. after speaking second party, press “transfer” button again complete transfer. transfer may canceled during establishment pressing cancel soft key. original call resumed.
  3. place call number want transfer call.

for i'm doing below,

during call i'm holding current call , dialing new party, after successful connecting new party i'm refering below.

pjsua_call_xfer_replaces(<first call id>, <second call id>, pjsua_xfer_no_require_replaces, null)

is correct way!!! or missing thing???

what procedure achieve attended transfer in pjsip 2.3 in ios. can 1 help!!! in advance.


Comments

Popular posts from this blog

amazon web services - S3 Pre-signed POST validate file type? -

c# - Check Keyboard Input Winforms -