summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--res/res_pjsip_pubsub.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/res/res_pjsip_pubsub.c b/res/res_pjsip_pubsub.c
index 90be60d4e..530a3b81b 100644
--- a/res/res_pjsip_pubsub.c
+++ b/res/res_pjsip_pubsub.c
@@ -1209,6 +1209,7 @@ static struct sip_subscription_tree *create_subscription_tree(const struct ast_s
if (!sub_tree) {
return NULL;
}
+ sub_tree->role = AST_SIP_NOTIFIER;
dlg = ast_sip_create_dialog_uas(endpoint, rdata);
if (!dlg) {