[asterisk-commits] qwell: branch group/pimp_my_sip r387416 - /team/group/pimp_my_sip/channels/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu May 2 10:58:45 CDT 2013
Author: qwell
Date: Thu May 2 10:58:39 2013
New Revision: 387416
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=387416
Log:
Send a 181 for forwarded calls.
(closes issue ASTERISK-21435)
Review: https://reviewboard.asterisk.org/r/2484/
Modified:
team/group/pimp_my_sip/channels/chan_gulp.c
Modified: team/group/pimp_my_sip/channels/chan_gulp.c
URL: http://svnview.digium.com/svn/asterisk/team/group/pimp_my_sip/channels/chan_gulp.c?view=diff&rev=387416&r1=387415&r2=387416
==============================================================================
--- team/group/pimp_my_sip/channels/chan_gulp.c (original)
+++ team/group/pimp_my_sip/channels/chan_gulp.c Thu May 2 10:58:39 2013
@@ -770,6 +770,13 @@
case AST_CONTROL_SRCUPDATE:
break;
case AST_CONTROL_SRCCHANGE:
+ break;
+ case AST_CONTROL_REDIRECTING:
+ if (ast_channel_state(ast) != AST_STATE_UP) {
+ response_code = 181;
+ } else {
+ res = -1;
+ }
break;
case -1:
res = -1;
More information about the asterisk-commits
mailing list