[SR-Users] Dispatcher probing
Daniel-Constantin Mierla
miconda at gmail.com
Mon Jan 7 09:58:20 CET 2019
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 modparams to load it. The old way of
setting inside the attributes string is still available.
Cheers,
Daniel
On 28.12.18 14:33, Fred Posner wrote:
> 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 there
>> any way
>> to get more info about the db line that is being read by dispatcher
>> for the
>> probing?
>>
>
> Take a look at xavp_dst_mode:
>
> https://www.kamailio.org/docs/modules/stable/modules/dispatcher.html#dispatcher.p.xavp_dst_mode
>
>
> As well as ds_db_extra_attrs:
>
> https://www.kamailio.org/docs/modules/stable/modules/dispatcher.html#dispatcher.p.ds_db_extra_attrs
>
>
> Both of these allow you to set the socket.
>
> I've used the db extras in the past without issue.
>
> --fred
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at 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
More information about the sr-users
mailing list