Skip to content
Snippets Groups Projects
Commit 49f8bd4a authored by Mark Michelson's avatar Mark Michelson
Browse files

Set the role for inbound subscriptions correctly.

This was causing the AMI show_subscriptions test in
the testsuite to fail since all subscriptions were being
seen as subscribers instead of notifiers.
........

Merged revisions 421585 from http://svn.asterisk.org/svn/asterisk/branches/13


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@421586 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent d0640ad7
No related branches found
No related tags found
No related merge requests found
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment