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#dispatc...
As well as ds_db_extra_attrs:
https://www.kamailio.org/docs/modules/stable/modules/dispatcher.html#dispatc...
Both of these allow you to set the socket.
I've used the db extras in the past without issue.
--fred