[asterisk-commits] mmichelson: branch group/CCSS r213879 - /team/group/CCSS/channels/chan_sip.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon Aug 24 15:17:07 CDT 2009
Author: mmichelson
Date: Mon Aug 24 15:17:04 2009
New Revision: 213879
URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=213879
Log:
Adding method in chan_sip so that I can test device interface creation.
A simple straightforward test worked just as I would expect. Dialing a
local channel did not have the desired effect, though :( Bug fixes
are a-comin'!
Modified:
team/group/CCSS/channels/chan_sip.c
Modified: team/group/CCSS/channels/chan_sip.c
URL: http://svn.asterisk.org/svn-view/asterisk/team/group/CCSS/channels/chan_sip.c?view=diff&rev=213879&r1=213878&r2=213879
==============================================================================
--- team/group/CCSS/channels/chan_sip.c (original)
+++ team/group/CCSS/channels/chan_sip.c Mon Aug 24 15:17:04 2009
@@ -18882,8 +18882,13 @@
case 486: /* Busy here */
case 600: /* Busy everywhere */
case 603: /* Decline */
- if (p->owner)
+ if (p->owner) {
+ /* XXX TEMPORARY! FOR TESTING ONLY */
+ if (ast_get_cc_monitor_policy(p->cc_params) == AST_CC_AGENT_GENERIC) {
+ ast_queue_control(p->owner, AST_CONTROL_CC);
+ }
ast_queue_control(p->owner, AST_CONTROL_BUSY);
+ }
break;
case 482: /*!
\note SIP is incapable of performing a hairpin call, which
More information about the asterisk-commits
mailing list