[asterisk-commits] file: branch file/gulp_transfer r387927 - /team/file/gulp_transfer/res/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed May 8 06:03:19 CDT 2013
Author: file
Date: Wed May 8 06:03:17 2013
New Revision: 387927
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=387927
Log:
Allow supplements to explicitly stop further supplement execution.
Modified:
team/file/gulp_transfer/res/res_sip_session.c
Modified: team/file/gulp_transfer/res/res_sip_session.c
URL: http://svnview.digium.com/svn/asterisk/team/file/gulp_transfer/res/res_sip_session.c?view=diff&rev=387927&r1=387926&r2=387927
==============================================================================
--- team/file/gulp_transfer/res/res_sip_session.c (original)
+++ team/file/gulp_transfer/res/res_sip_session.c Wed May 8 06:03:17 2013
@@ -1389,7 +1389,9 @@
AST_LIST_TRAVERSE(&session->supplements, supplement, next) {
if (supplement->incoming_request && (
!supplement->method || !pj_strcmp2(&req.method.name, supplement->method))) {
- supplement->incoming_request(session, rdata);
+ if (supplement->incoming_request(session, rdata)) {
+ break;
+ }
}
}
}
More information about the asterisk-commits
mailing list