Hi,
I have a kamailio that is has an HTTP message server. Is it possible to
send the SIP status code back in the HTTP reply? Is it possible to
suspend an xhttp request while some other stuff happens and then send
the reply later?
The relevant bit of the config currently looks like
event_route[xhttp:request]{
if($hu == "/sms"){
$uac_req(method)="MESSAGE";
$uac_req(ruri)="sip:[email protected]";
$uac_req(furi)="sip:[email protected]";
$uac_req(turi)="sip:[email protected]";
$uac_req(body)=$rb;
uac_req_send();
xhttp_reply("200", "OK", "text/plain", "Sent")
}
}
Regards,
Tim
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
* [email protected]
Important: keep the mailing list in the recipients, do not reply only to the
sender!
Edit mailing list options or unsubscribe:
* https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users