[asterisk-dev] [Code Review] 2696: chan_pjsip: Improve initial INVITE handling, session reference counting, and CANCEL handling

Joshua Colp reviewboard at asterisk.org
Wed Jul 24 14:21:19 CDT 2013


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

Review request for Asterisk Developers and Mark Michelson.


Repository: Asterisk


Description
-------

The attached change improves initial INVITE handling so it does not crash under certain circumstances.

1. The session reference count is now incremented when a reference is taken by INVITE session, previously it stole it.
2. Most initial INVITE handling now occurs as a serialized task within the session.
3. For cases where the remote side is broken and sends a CANCEL before receiving a provisional response we now detect and reject it.


Diffs
-----

  /trunk/channels/chan_gulp.c 395284 
  /trunk/res/res_sip/sip_distributor.c 395284 
  /trunk/res/res_sip_session.c 395284 

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


Testing
-------

Tested normal scenarios with calls coming in, confirmed happy.
Wrote a sipp scenario file to test CANCEL situation (before and after provisional response), confirmed happy.


Thanks,

Joshua Colp

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20130724/f9ae0336/attachment.htm>


More information about the asterisk-dev mailing list