[Kamailio-Users] branch_route and onreply_route for CANCEL and ACK

Daniel-Constantin Mierla miconda at gmail.com
Fri Sep 12 16:28:21 CEST 2008


Hello Alex,

On 09/12/08 17:23, Alex Hermann wrote:
> Hello,
>
>
> I use t_onbranch and t_on_reply for all request passing the proxy.
>
> Why doesn't the branch_route get called for CANCEL's and ACK's (loose routed 
> as well as statefull)? The loose routed BYE does pass through the 
> branch_route.
>
> And why isn't the reply on a CANCEL passed through the transactional 
> onreply_route? It is passed through the default onreply_route.
>
> The documentation doesn't mention any selectivity on request method.
>   
ACK is forwarded stateless, CANCEL is a local generated request (hop by 
hop), so both are special cases and therefore these behaviors.

Because of building it locally, one cannot actually set the on reply 
handler, it can set for incoming CANCEL which is dropped.

Cheers,
Daniel

-- 
Daniel-Constantin Mierla
http://www.asipto.com





More information about the Users mailing list