[svn-commits] mmichelson: trunk r421586 - in /trunk: ./ res/res_pjsip_pubsub.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Wed Aug 20 15:41:06 CDT 2014
Author: mmichelson
Date: Wed Aug 20 15:41:04 2014
New Revision: 421586
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=421586
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.
........
Merged revisions 421585 from http://svn.asterisk.org/svn/asterisk/branches/13
Modified:
trunk/ (props changed)
trunk/res/res_pjsip_pubsub.c
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-13-merged' - no diff available.
Modified: trunk/res/res_pjsip_pubsub.c
URL: http://svnview.digium.com/svn/asterisk/trunk/res/res_pjsip_pubsub.c?view=diff&rev=421586&r1=421585&r2=421586
==============================================================================
--- trunk/res/res_pjsip_pubsub.c (original)
+++ trunk/res/res_pjsip_pubsub.c Wed Aug 20 15:41:04 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