[svn-commits] mmichelson: branch 13 r421585 - /branches/13/res/res_pjsip_pubsub.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Wed Aug 20 15:40:36 CDT 2014
Author: mmichelson
Date: Wed Aug 20 15:40:33 2014
New Revision: 421585
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=421585
Log:
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.
Modified:
branches/13/res/res_pjsip_pubsub.c
Modified: branches/13/res/res_pjsip_pubsub.c
URL: http://svnview.digium.com/svn/asterisk/branches/13/res/res_pjsip_pubsub.c?view=diff&rev=421585&r1=421584&r2=421585
==============================================================================
--- branches/13/res/res_pjsip_pubsub.c (original)
+++ branches/13/res/res_pjsip_pubsub.c Wed Aug 20 15:40:33 2014
@@ -1209,6 +1209,7 @@
if (!sub_tree) {
return NULL;
}
+ sub_tree->role = AST_SIP_NOTIFIER;
dlg = ast_sip_create_dialog_uas(endpoint, rdata);
if (!dlg) {
More information about the svn-commits
mailing list