call hangup delayed if network is slow

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

 



Hi
In pjsua, if there is an incoming call and user hangs up the call ( it
sends '603 decline' code in reply of INVITE ), disconnect event
(on_call_state callback) comes immediately after sending 603.

But if there is an outgoing call and user hangup the call ( it sends
CANCEL message in reply), disconnect event comes after getting reply
of CANCEL message. It will wait for reply of CANCEL message. If there
is a delay in network, user is not able to disconnect the call until
get reply from other end.

What I want is , if hangup is called, it will immediately disconnect
the call without waiting for reply from other end.

How can I make PJSUA to do that?

please help

Regards
Rohit yadav
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20151230/96037235/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