I used http_connect().
When I changed the order of the modparams so that the default proxy config comes before the connection definitions, it worked.
E.g.:
# this works! modparam("http_client", "httpproxy", "proxyhost") modparam("http_client", "httpproxyport", 8181) modparam("http_client", "httpcon", API_SERVER_A) modparam("http_client", "httpcon", API_SERVER_B)
--- 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/issues/541#issuecomment-202907525