pv: new var $mts - return msg type as string
[sip-router] / src / modules / pv / pv.c
index 492344f..0308514 100644 (file)
@@ -293,6 +293,9 @@ static pv_export_t mod_pvs[] = {
        {{"mt", (sizeof("mt")-1)}, /* */
                PVT_OTHER, pv_get_msgtype, 0,
                0, 0, 0, 0},
+       {{"mts", (sizeof("mts")-1)}, /* */
+               PVT_OTHER, pv_get_msgtypes, 0,
+               0, 0, 0, 0},
        {{"od", (sizeof("od")-1)}, /* */
                PVT_OTHER, pv_get_ouri_attr, 0,
                0, 0, pv_init_iname, 2},