in a call forking, after one branch answer the call (200 OK reply), a CANCEL SIP message has been sending to other/another branch(es) and I need to process this/these cancellations in configuration file. After reading some documentations, I discovered there is event_route[tm:local-request] block, which is executed when tm generates internally and sends a SIP request, Such cases are:
SIP messages sent by msilo module
SIP messages sent by presence server
SIP messages sent by dialog module
SIP messages sent via MI or CTL interfaces
I didn't understand very well this cases, so I insert event_route block in my kamailio.cfg but neither CANCEL SIP message or other requests generated by tm module was handled by event_route. I must be using wrong concept to handle this CANCEL SIP message, it's possible handle this messages in configuration file?
Best Regards