Browse Source

fix mixed case in notifications

ensure notification from omnipresence is treated as lowercase since we forced the presentity to lowercase
(cherry picked from commit 18475a4a40)
3.20
lazedo 11 years ago
committed by Luis Azedo
parent
commit
9e740783a7
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      kamailio/presence-role.cfg

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

@ -106,7 +106,7 @@ event_route[kazoo:consumer-event-presence-update]
xlog("L_INFO", "payload $kzE"); xlog("L_INFO", "payload $kzE");
$sht(p=>$(kzE{kz.json,Call-ID})) = $(kzE{kz.json,State}); $sht(p=>$(kzE{kz.json,Call-ID})) = $(kzE{kz.json,State});
kazoo_pua_publish($kzE); 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 { } else {
xlog("L_INFO", "received duplicate $(kzE{kz.json,Event-Package}) update for $(kzE{kz.json,From})"); xlog("L_INFO", "received duplicate $(kzE{kz.json,Event-Package}) update for $(kzE{kz.json,From})");
xlog("L_INFO", "payload $kzE"); xlog("L_INFO", "payload $kzE");


Loading…
Cancel
Save