Update Kamailio config files to use evapi_relay instead of evapi_async_relay for CALL_START and CALL_END events, fixes #307

This commit is contained in:
DanB
2016-01-03 17:22:35 +01:00
parent 17197ad3fa
commit 9a2185a380
3 changed files with 116 additions and 72 deletions

View File

@@ -114,7 +114,7 @@ route[CGR_CALL_START] {
xlog("Charging controller unreachable");
exit;
}
evapi_async_relay("{\"event\":\"CGR_CALL_START\",
evapi_relay("{\"event\":\"CGR_CALL_START\",
\"callid\":\"$dlg(callid)\",
\"from_tag\":\"$dlg(from_tag)\",
\"h_entry\":\"$dlg(h_entry)\",
@@ -134,7 +134,7 @@ route[CGR_CALL_END] {
exit;
}
$var(callDur) = $TS - $dlg(start_ts);
evapi_async_relay("{\"event\":\"CGR_CALL_END\",
evapi_relay("{\"event\":\"CGR_CALL_END\",
\"callid\":\"$dlg(callid)\",
\"from_tag\":\"$dlg(from_tag)\",
\"cgr_reqtype\":\"$dlg_var(cgrReqType)\",