<!-- <param name="cookie-file" value="/tmp/cookie-mod_xml_curl.txt"/> -->
<!-- one or more of these imply you want to pick the exact variables that are transmitted -->
- <!--<param name="enable-post-var" value="Unique-ID"/>-->
+ <!--<param name="enable-post-var" value="Caller-Unique-ID"/>-->
</params>
</profile>
<permissions>: * = default
-<permission name="" value="">
+<permission name="" value="true">
*set-params : <params> tag can be parsed for session params.
set-vars : <variables> tag can be parsed to set channel vars.
switch_curl_easy_setopt(curl_handle, CURLOPT_HTTPHEADER, headers);
- if (method != NULL && strcasecmp(method, "get") && strcasecmp(method, "post")) {
+ if (!zstr(method)) {
switch_curl_easy_setopt(curl_handle, CURLOPT_CUSTOMREQUEST, method);
}