Even adding the http url value as parameter to r-uri is not safe, because its value can have special characters that have different meaning.

If you need to do something async in xhttp, then you have to add something specific for http requests, knowing the complexity of processing for SIP transaction, leveraging its suspend()/continue() does not feel the right way.

Note also that a new module was added, microhttpd, that is supposed to handle better http traffic than the old custom xhttp. It is at the beginning, not many features, but I would recommend building on top of it if you want support also for modern http protocol, not only http 1.x.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <kamailio/kamailio/pull/3723/c1908427942@github.com>