Module: kamailio Branch: master Commit: 62c5d0d9cbd87a6b47c1a211588230ebc2652b8f URL: https://github.com/kamailio/kamailio/commit/62c5d0d9cbd87a6b47c1a211588230eb...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: 2016-10-28T16:09:40+02:00
pua: fix propagation of ua_flag - it is func param, not in subs
---
Modified: modules/pua/send_subscribe.c
---
Diff: https://github.com/kamailio/kamailio/commit/62c5d0d9cbd87a6b47c1a211588230eb... Patch: https://github.com/kamailio/kamailio/commit/62c5d0d9cbd87a6b47c1a211588230eb...
---
diff --git a/modules/pua/send_subscribe.c b/modules/pua/send_subscribe.c index bbb9e2c..00832ee 100644 --- a/modules/pua/send_subscribe.c +++ b/modules/pua/send_subscribe.c @@ -833,7 +833,7 @@ ua_pres_t* subscribe_cbparam(subs_info_t* subs, int ua_flag) } hentity->flag= subs->source_flag; hentity->event= subs->event; - hentity->ua_flag= subs->ua_flag; + hentity->ua_flag= ua_flag; hentity->cb_param= subs->cb_param; return hentity;
@@ -930,7 +930,7 @@ ua_pres_t* subs_cbparam_indlg(ua_pres_t* subs, int expires, int ua_flag)
hentity->flag= subs->flag; hentity->event= subs->event; - hentity->ua_flag= subs->ua_flag; + hentity->ua_flag= ua_flag; hentity->cb_param= subs->cb_param;
return hentity;