[Home]

Summary:ASTERISK-09906: Support for 7921 Phones
Reporter:sbisker (sbisker)Labels:
Date Opened:2007-07-19 12:31:32Date Closed:2007-07-20 15:47:23
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Channels/chan_skinny
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) 7921-crash.txt
( 1) skinny-10241.diff
Description:The latest set of chan_skinny patches added support for 7921 phones, however there  are some weird behviors.

After starting asterisk for the first time, I can make a call out OK.  Any subsequent attempt to make a call, I get the following in the console

Received Softkey Event: New Call(1)
Setting ringer mode to '1'.
Uhoh, got NewCall with sub != 0

Additionally, on incoming calls, if the calling party hangs up prior to the 7921 answering the phone, the phone rings continuously until the phone is powered off.  This used to happen a long time ago with 7920 phones prior to the release of 1.4.



****** ADDITIONAL INFORMATION ******

This is the corresponding entries in the debug log.

[Jul 19 13:43:52] VERBOSE[26259] logger.c: Received Softkey Event: New Call(1)
[Jul 19 13:43:52] VERBOSE[26259] logger.c: Setting ringer mode to '1'.
[Jul 19 13:43:52] VERBOSE[26259] chan_skinny.c: writing packet type 0085 (32 bytes) to socket 37
[Jul 19 13:43:52] VERBOSE[26259] chan_skinny.c: writing packet type 0086 (24 bytes) to socket 37
[Jul 19 13:43:52] VERBOSE[26259] chan_skinny.c: writing packet type 0088 (16 bytes) to socket 37
[Jul 19 13:43:52] VERBOSE[26259] logger.c: Uhoh, got NewCall with sub != 0
[Jul 19 13:44:08] VERBOSE[26227] chan_skinny.c: writing packet type 0100 (12 bytes) to socket 27
[Jul 19 13:44:08] VERBOSE[26227] chan_skinny.c: writing packet type 0094 (48 bytes) to socket 27
[Jul 19 13:44:44] VERBOSE[26218] chan_skinny.c: writing packet type 0100 (12 bytes) to socket 18
[Jul 19 13:44:44] VERBOSE[26218] chan_skinny.c: writing packet type 0094 (48 bytes) to socket 18
Comments:By: sbisker (sbisker) 2007-07-19 12:36:52

The 7920 phone still behaves normally.  It can call out indefinitely, and it stops ringing if the caller hangs up prior to the answering the call.

By: Jason Parker (jparker) 2007-07-19 12:57:23

Could you test with svn trunk?  I think a patch may have been applied there that would be relevant to this.

By: sbisker (sbisker) 2007-07-19 13:14:28

SVN Trunk 75977 fixes both problems mentioned above.

By: Jason Parker (jparker) 2007-07-19 15:44:39

Give this patch a try.  It's some of the fixes that were put into trunk that may be required here.  There definitely appeared to be some relevant stuff to your issues.

By: dea (dea) 2007-07-19 17:38:40

I think those change will help sbisker, but they should be applied
even if they do not.

They allow the user to place calls from the missed/place/recieved call
lists in both onhook and offhook states.  Without them onhook sort of worked,
but offhook did not, and from a users point of view it would not be clear why
it failed.

By: sbisker (sbisker) 2007-07-20 08:47:32

I applied the patch to 1.4 SVN r75977 and it fixed the two problems that were fixed in trunk.

By: sbisker (sbisker) 2007-07-20 12:48:38

After adding 9 7921 phones to the system and restarting and running for 5-10 minutes, asterisk core dumped.  I've attached the backtrace as 7921-crash.txt.  Not sure if it's related to any of the patches.

This is against 1.4 svn version 75977 and the skinny-10241.diff patch provided.

-sb



By: Jason Parker (jparker) 2007-07-20 15:44:10

I had actually found that same crash today, and it's already been corrected in revision 76174 in 1.4 and 76175 in trunk.

By: Digium Subversion (svnbot) 2007-07-20 15:46:55

Repository: asterisk
Revision: 76178

------------------------------------------------------------------------
r76178 | qwell | 2007-07-20 15:46:55 -0500 (Fri, 20 Jul 2007) | 7 lines

Allow getting a call from an existing "sub" channel.

Cancel ringing if endpoint hangs up before answering.

Fixes were backported from trunk (there was apparently a bit of confusion during merge of a previous patch).
(closes issue ASTERISK-9906)

------------------------------------------------------------------------

By: Digium Subversion (svnbot) 2007-07-20 15:47:23

Repository: asterisk
Revision: 76179

------------------------------------------------------------------------
r76179 | qwell | 2007-07-20 15:47:23 -0500 (Fri, 20 Jul 2007) | 14 lines

Blocked revisions 76178 via svnmerge

........
r76178 | qwell | 2007-07-20 16:03:57 -0500 (Fri, 20 Jul 2007) | 7 lines

Allow getting a call from an existing "sub" channel.

Cancel ringing if endpoint hangs up before answering.

Fixes were backported from trunk (there was apparently a bit of confusion during merge of a previous patch).
(closes issue ASTERISK-9906)

........

------------------------------------------------------------------------