[asterisk-commits] anthonyl: branch anthonyl/skinny-redux r48227 -
/team/anthonyl/skinny-redux/c...
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Mon Dec 4 10:33:05 MST 2006
Author: anthonyl
Date: Mon Dec 4 11:33:04 2006
New Revision: 48227
URL: http://svn.digium.com/view/asterisk?view=rev&rev=48227
Log:
transmit_clear_prompt_status is required for hangup when hookstate == SKINNY_ONHOOK. also added to the skinny_hangup debug output
Modified:
team/anthonyl/skinny-redux/channels/chan_skinny.c
Modified: team/anthonyl/skinny-redux/channels/chan_skinny.c
URL: http://svn.digium.com/view/asterisk/team/anthonyl/skinny-redux/channels/chan_skinny.c?view=diff&rev=48227&r1=48226&r2=48227
==============================================================================
--- team/anthonyl/skinny-redux/channels/chan_skinny.c (original)
+++ team/anthonyl/skinny-redux/channels/chan_skinny.c Mon Dec 4 11:33:04 2006
@@ -2418,9 +2418,10 @@
l = sub->parent;
d = l->parent;
s = d->session;
- if (skinnydebug)
- ast_verbose("skinny_hangup(%s) on %s@%s\n", ast->name, l->name, d->name);
-
+ if (skinnydebug)
+ ast_verbose("skinny_hangup(%s) on %s@%s type(%x) hookstate(%x)\n",
+ ast->name, l->name, d->name, l->type, l->hookstate);
+
if (d->registered) {
if ((l->type = TYPE_LINE) && (l->hookstate == SKINNY_OFFHOOK)) {
l->hookstate = SKINNY_ONHOOK;
@@ -2434,7 +2435,7 @@
transmit_ringer_mode(s, SKINNY_RING_OFF);
transmit_tone(s, SKINNY_SILENCE);
transmit_lamp_indication(s, STIMULUS_LINE, l->instance, SKINNY_LAMP_OFF);
- /* transmit_clear_prompt_status(s, l->instance, sub->callid); */
+ transmit_clear_prompt_status(s, l->instance, sub->callid);
do_housekeeping(s);
}
}
More information about the asterisk-commits
mailing list