Pre-Submission Checklist

Type Of Change

Checklist:

Description

I was looking for a solution to set a dedicated From URI in OPTIONS
requests to a specific dispatcher target.

ds_ping_from (
https://www.kamailio.org/docs/modules/devel/modules/dispatcher.html#dispatcher.p.ds_ping_from)
applies globally, while I needed the granularity of a single target.

I can just add an attribute to the others, e.g. instead of

1 sip:127.0.0.1:7070 <http://127.0.0.1:7070> 0 1

something like:

1 sip:127.0.0.1:7070 <http://127.0.0.1:7070> 0 1 ping_from=sip.custom.com

When the ping_from attribute is not specified, the general ds_ping_from
applies and is used.

This would save me from a solution like intercepting the outgoing OPTIONS
and manipulating the From header.


You can view, comment on, or merge this pull request online at:

  https://github.com/kamailio/kamailio/pull/1636

Commit Summary

File Changes

Patch Links:


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.