Hi, I tried to send http request HTTP from FAILURE ROUTE to my API with
command:
launch(rest_post("http://10.219.5.80/trunks/$avp(trunk_id)/disable", "", ,
$var(rcode)), resume);
And it works, but when I specify a host with multiple addresses (singular),
it breaks everything. This example request:
launch(rest_post("http://singular/trunks/$avp(trunk_id)/disable", "", ,
$var(rcode)), resume);
I thought the problem was in rest_post, but it turned out that it works
like this.
rest_post("http://singular/trunks/$avp(trunk_id)/disable", "", ,
$var(rcode))
However this is a synchronous request.
I know that async processing is disabled to handle all routes except
request routes, but launch() worked. Is there anything I can do so that the
asynchronous HTTP request from my FAILURE ROUTE using a host with a large
number of IP addresses?Best regards, Pavel
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
