diff --git a/kamailio/registrar-query.cfg b/kamailio/registrar-query.cfg index d412355a..0d23ee9c 100644 --- a/kamailio/registrar-query.cfg +++ b/kamailio/registrar-query.cfg @@ -184,12 +184,12 @@ route[REGISTRAR_SEARCH_AOR_INFO] xavp_params_implode("registrar_aor_info", "$var(info_params)"); $var(info_params) = $(var(info_params){s.rbefore,;}); - $var(count) = $(var(info_params){param.count}); + $var(count) = $(var(info_params){param.count,;}); $var(info_json) = ""; $var(sep) = ""; while($var(count) > 0) { $var(idx) = $var(count) - 1; - $var(info_json) = $_s($var(info_json)$var(sep)"$(var(info_params){param.name,$var(idx)})" : $(var(info_params){param.valueat,$var(idx)})); + $var(info_json) = $_s($var(info_json)$var(sep)"$(var(info_params){param.name,$var(idx)})" : $(var(info_params){param.valueat,$var(idx),;})); $var(count) = $var(count) - 1; $var(sep) = " , "; }