[sr-dev] [kamailio/kamailio] extensions to lost and http_client modules (#2675)

sergey-safarov notifications at github.com
Sun Apr 4 15:06:25 CEST 2021


Tested config
```
listen=udp:127.0.0.1:5060
loadmodule "xlog.so"
loadmodule "pv.so"
loadmodule "http_client.so"
loadmodule "lost.so"
loadmodule "textopsx.so"

modparam("lost", "exact_type", 1)
modparam("lost", "post_request", 1)

request_route {
  $var(id) = "sip:alice at ca.nga911.com";
  $var(res) = lost_held_query("", "$var(id)" , "$var(pidf)", "$var(url)", "$var(err)");
  xlog("L_INFO", "HELD locationRequest: Result code $var(res)\nUrl: $var(url)\n$var(pidf)");
}
```
works as expected.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/2675#issuecomment-813029849
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20210404/294f090c/attachment-0001.htm>


More information about the sr-dev mailing list