[asterisk-dev] [Code Review] 4460: res_pjsip_refer: Fix occasional unexpected BYE sent after receiving a REFER.

rmudgett reviewboard at asterisk.org
Tue Mar 10 11:04:48 CDT 2015


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/4460/
-----------------------------------------------------------

(Updated March 10, 2015, 11:04 a.m.)


Status
------

This change has been marked as submitted.


Review request for Asterisk Developers.


Changes
-------

Committed in revision 432668


Bugs: ASTERISK-24755
    https://issues.asterisk.org/jira/browse/ASTERISK-24755


Repository: Asterisk


Description
-------

A race condition happened between initiating a transfer and requesting
that a dialog termination be delayed.  Occasionally, the transferrer
channels would exit the bridge and hangup before the dialog termination
was requested.

* Made request dialog termination delay before initiating the transfer
action.  If the transfer fails then cancel the delayed dialog termination
request.


Diffs
-----

  /branches/13/res/res_pjsip_session.exports.in 432595 
  /branches/13/res/res_pjsip_session.c 432595 
  /branches/13/res/res_pjsip_refer.c 432595 
  /branches/13/include/asterisk/res_pjsip_session.h 432595 

Diff: https://reviewboard.asterisk.org/r/4460/diff/


Testing
-------

The testsuite tests/channels/pjsip/ tests still pass with the patch.


Thanks,

rmudgett

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20150310/be2766cb/attachment.html>


More information about the asterisk-dev mailing list