[sr-dev] git:andrei/cancel_reason: tm: Reason header generation for local CANCELs

Iñaki Baz Castillo ibc at aliax.net
Tue Mar 2 14:52:15 CET 2010


El Lunes, 1 de Marzo de 2010, Andrei Pelinescu-Onciul escribió:
> Module: sip-router
> Branch: andrei/cancel_reason
> Commit: 70d5b1b4c1bf4deb1dfed13679e9a76f15e9b923
> URL:   
>  http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=70d5b1
> b4c1bf4deb1dfed13679e9a76f15e9b923
> 
> Author: Andrei Pelinescu-Onciul <andrei at iptel.org>
> Committer: Andrei Pelinescu-Onciul <andrei at iptel.org>
> Date:   Mon Mar  1 18:40:19 2010 +0100
> 
> tm: Reason header generation for local CANCELs
> 
> When cancel-ing branches due to final reply, 2xx or 6xx, add a
> Reason header (according to RFC3326).
> 
> E.g.: Reason: SIP;cause=200
> 
> Internal implementation notes: the branch_bm_t/cancel_bitmap
> parameter of many of the reply and cancel functions was replaced
> with a bigger structure that contains all the information
> associated with the cancel: the cancel branch bitmap, the reason
> and reason text (optional) or the  received cancel message (if
> any).
> Note that the current commit does not implement copying Reason
> headers from a received CANCEL, it deals only with CANCEL
> generated locally because of a final reply, 2xx or 6xx.

Great!


-- 
Iñaki Baz Castillo <ibc at aliax.net>



More information about the sr-dev mailing list