[SR-Users] Dispatcher Probing

2018-12-27 Thread Duarte Rocha
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 ___

[SR-Users] Dispatcher probing

2018-12-28 Thread Duarte Rocha
Hey. I have another question regarding the Dispatcher Probing. In my SBC, a Gateway is defined by it's IP, Port and SAP (Kamailio's IP used for signaling). Those 3 parameters are defined in the Gateway table. In this case ( using Options for probing), i only have access to the destination IP ($d

[SR-Users] Dispatcher Probing

2019-01-17 Thread Duarte Rocha
Greetings, I have a question about Dispatcher's probing. I have it configured with ds_probing_mode = 3 and ds_ping_interval = 60. Currently i have 35 Gateways with state = 8, meaning they will be probed. However, when i do a SIP capture i get a different scenario. Altough Kamailio sends OPTIONS

Re: [SR-Users] Dispatcher Probing

2018-12-27 Thread Henning Westerholt
Am Donnerstag, 27. Dezember 2018, 17:02:15 CET schrieb Duarte Rocha: > 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 ord

Re: [SR-Users] Dispatcher Probing

2018-12-27 Thread Daniel-Constantin Mierla
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 re

Re: [SR-Users] Dispatcher Probing

2018-12-27 Thread Duarte Rocha
Thanks for your answers, it seems to be just what i needed. Best regards, Duarte Rocha Na(o) quinta, 27/12/2018, 16:02, Duarte Rocha escreveu: > 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 ge

Re: [SR-Users] Dispatcher Probing

2018-12-27 Thread Duarte Rocha
Hey. I have another question regarding this. In my SBC, a Gateway is defined by it's IP, Port and SAP (Kamailio's IP used for signaling). Those 3 parameters are defined in the Gateway table. In this case, i only have access to the IP ($dd) and Port ($dp). I need to know the SAP associated to the

Re: [SR-Users] Dispatcher probing

2018-12-28 Thread Fred Posner
On 12/28/18 7:49 AM, Duarte Rocha wrote: In this case ( using Options for probing), i only have access to the destination IP ($dd) and Port ($dp). I need to know the SAP associated to the gateway that is currently being probed, in order to force the correct socket in the OPTIONS request. Is th

Re: [SR-Users] Dispatcher probing

2019-01-07 Thread Daniel-Constantin Mierla
In the older versions of kamailio, the socket can be set inside the attributes string:   - https://www.kamailio.org/docs/modules/stable/modules/dispatcher.html#dispatcher.ex.attributes With 5.2.0, as Fred pointed, you can have socket as a dedicated column and instruct dispatcher module via modpar