[asterisk-commits] branch north/chan_skinny-fixup r30652 -
/team/north/chan_skinny-fixup/channels/
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Fri May 26 17:11:23 MST 2006
Author: north
Date: Fri May 26 19:11:22 2006
New Revision: 30652
URL: http://svn.digium.com/view/asterisk?rev=30652&view=rev
Log:
Possible fix for 7920 resetting themselves.
This should be "fixed" better once verified.
Modified:
team/north/chan_skinny-fixup/channels/chan_skinny.c
Modified: team/north/chan_skinny-fixup/channels/chan_skinny.c
URL: http://svn.digium.com/view/asterisk/team/north/chan_skinny-fixup/channels/chan_skinny.c?rev=30652&r1=30651&r2=30652&view=diff
==============================================================================
--- team/north/chan_skinny-fixup/channels/chan_skinny.c (original)
+++ team/north/chan_skinny-fixup/channels/chan_skinny.c Fri May 26 19:11:22 2006
@@ -1304,6 +1304,12 @@
{
skinny_req *req;
+ if (tone == SKINNY_NOTONE) {
+ if (skinnydebug)
+ ast_verbose("I almost sent a SKINNY_NOTONE to device '%s'. I think this causes some devices to reset.\n", s->device->name);
+ return;
+ }
+
if (tone > 0) {
if (!(req = req_alloc(sizeof(struct start_tone_message), START_TONE_MESSAGE)))
return;
@@ -1330,7 +1336,7 @@
req->data.selectsoftkey.instance = htolel(instance);
req->data.selectsoftkey.reference = htolel(callid);
req->data.selectsoftkey.softKeySetIndex = htolel(softkey);
- req->data.selectsoftkey.validKeyMask = 0xFFFFFFFF;
+ req->data.selectsoftkey.validKeyMask = htolel(0xFFFFFFFF);
transmit_response(s, req);
}
More information about the asterisk-commits
mailing list