Call transfer - call replaced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Benny!
I'm testing some scenarios for a call transfer feature. In one case my
application didn't respond correctly (BYE releases the "replaced" call). I
looked into the code and found out that when the REFER is received an
on_call_transfer_request callback is called but I'd need a on_call_replaced
since it contains old and new call ids.

For a test I put a call to
pjsua_var.ua_cfg.cb.on_call_replaced(existing_call->index, new_call) into
the end of on_call_transfered (pjsua_call.c). And this was enough for my
application to change the call ids and handle subsequent SIP requests
appropriately.

What do you think? Is there any other way (in pjsua_app.c level) to let the
application know about the call is being replaced?

Thanks & Kind regards,
Sasa
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20081125/314333c9/attachment.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux