Hello,

the request sent out by Kamailio's dispatcher module should be visible
inside kamailio.cfg via:

event_route[tm:local-request] {

...

}

Note that this route block is executed for the requests generated by
kamailio (apart of nat keepalives), so if there are other modules
sending out new requests (like msilo, presence, ...), be sure you do
proper conditions there, like:

if(is_method("OPTIONS"))

You can also do checking on From header address, there is a parameter
for dispatcher to set that address, so you know what to match.

Cheers,
Daniel

On 27.12.18 17:02, Duarte Rocha wrote:
> Greetings, 
>
> I have Kamailio with the Dispatcher module and it's probing mechanics
> set up. 
>
> I want to be able to access the OPTIONS request generated by Kamailio
> in the request_route or somewhere else in the configuration file in
> order to modify it. Is that possible?
>
> Best Regards,
>
> Duarte Rocha
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio World Conference - May 6-8, 2019 -- www.kamailioworld.com
Kamailio Advanced Training - Mar 4-6, 2019 in Berlin; Mar 25-27, 2019, in 
Washington, DC, USA -- www.asipto.com

_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to