[sr-dev] Additional headers on a dispatcher options ping

Tim Chubb tim.chubb at voicesimplified.com
Wed May 22 00:06:09 CEST 2019


Hi

Is there any mechanism to add a contact and rr headers to the option messages generated by dispatcher?

I have a need for both headers to be present otherwise the message gets rejected at the proxy im trying to connect to,  the content of the headers in my use case is the from address, so would seem trivial (in so far I know enough c to just about follow what's going on in the code, but wouldn't know where to start to add the functionality) to add using the existing from attribute and a pair of additional modparams to enable this functionality, if its not already possible
Currently I have a workaround by generating the pings in asterisk and routing as usual, but would really prefer to not reinvent the wheel and use dispatcher as I do with other trunks and services mainly for consistency and keeping what is essentially a routing issue out of the application stack, as apart from the missing headers dispatchers functionality is exactly what I need.

Any suggestions?

Tim.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20190521/70efefbd/attachment-0001.html>


More information about the sr-dev mailing list