Skip to content

Commit

Permalink
fix mixed case in notifications
Browse files Browse the repository at this point in the history
ensure notification from omnipresence is treated as lowercase since we forced the presentity to lowercase
(cherry picked from commit 18475a4)
  • Loading branch information
lazedo committed Feb 13, 2015
1 parent 0e4d783 commit 1e04240
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kamailio/presence-role.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,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");
Expand Down

0 comments on commit 1e04240

Please sign in to comment.