Browse Source

fix mixed case in notifications

ensure notification from omnipresence is treated as lowercase since we forced the presentity to lowercase
3.18 3.18.10
lazedo 11 years ago
parent
commit
18475a4a40
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      kamailio/presence-role.cfg

+ 1
- 1
kamailio/presence-role.cfg View File

@ -91,7 +91,7 @@ event_route[kazoo:consumer-event-presence-update]
xlog("L_INFO", "payload $kzE");
$sht(p=>$(kzE{kz.json,Call-ID})) = $(kzE{kz.json,State});
kazoo_pua_publish($kzE);
pres_refresh_watchers("$(kzE{kz.json,From})", "$(kzE{kz.json,Event-Package})", 1);
pres_refresh_watchers("$(kzE{kz.json,From}{s.tolower})", "$(kzE{kz.json,Event-Package})", 1);
} else {
xlog("L_INFO", "received duplicate $(kzE{kz.json,Event-Package}) update for $(kzE{kz.json,From})");
xlog("L_INFO", "payload $kzE");


Loading…
Cancel
Save