Module: kamailio Branch: 5.0 Commit: cd0593e3feab0f1a55819928c1a4b68df5abaf35 URL: https://github.com/kamailio/kamailio/commit/cd0593e3feab0f1a55819928c1a4b68d...
Author: lazedo luis.azedo@factorlusitano.com Committer: Luis Azedo luis@2600hz.com Date: 2017-12-09T11:36:28Z
presence: update record_route in database (cherry picked from commit e52547956462ad53032be95ff5f2701785dfdd2a)
---
Modified: src/modules/presence/subscribe.c
---
Diff: https://github.com/kamailio/kamailio/commit/cd0593e3feab0f1a55819928c1a4b68d... Patch: https://github.com/kamailio/kamailio/commit/cd0593e3feab0f1a55819928c1a4b68d...
---
diff --git a/src/modules/presence/subscribe.c b/src/modules/presence/subscribe.c index 4f902e7403..18bb2b1a70 100644 --- a/src/modules/presence/subscribe.c +++ b/src/modules/presence/subscribe.c @@ -427,6 +427,12 @@ int update_subs_db(subs_t* subs, int type) update_vals[n_update_cols].val.str_val = subs->contact; n_update_cols++;
+ update_keys[n_update_cols] = &str_record_route_col; + update_vals[n_update_cols].type = DB1_STR; + update_vals[n_update_cols].nul = 0; + update_vals[n_update_cols].val.str_val = subs->record_route; + n_update_cols++; + } if(type & LOCAL_TYPE) {