Hello,

I had a similar need (process/create hinfo, and briefly looked at diversion header conversion) but there doesn't seem to be any awareness of history info in kami modules yet. 

It has been my intention to begin working on a module at some point in the future, but my C programming skills aren't quite there yet, and I haven't had time to devote in acquiring them.

In the meantime, I manage hinfo manually, with textops and friends (and several while loops/htable caching/transformations etc).

Cheers,
George

On Fri, 25 Sep 2020, 10:00 Anonim Stefan, <fanx07@gmail.com> wrote:
Hi guys,

I am trying to map all History-Info to/from Diversion headers in a given SIP REQUEST, based on RFC 7544.

I want to ask if you are aware of any module functions that does that? (e.g. something like convert_history_to_diversion() and convert_diversion_to_history())

Alternatively, I want to ask you what do you think of such module functions and in which module would they fit best? e.g. textops/tectopsx/diversion ?!

Thank you,
Stefan
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users