[Home]

Summary:ASTERISK-26631: chan_skinny.c: Skinny Client sent less data than expected. Expected 4 but got 0
Reporter:Hamad (mjamil02)Labels:
Date Opened:2016-11-30 11:07:17.000-0600Date Closed:2016-12-02 09:23:41.000-0600
Priority:MinorRegression?
Status:Closed/CompleteComponents:Channels/chan_skinny
Versions:11.17.1 Frequency of
Occurrence
Frequent
Related
Issues:
Environment:CentOS release 6.6 (Final) Attachments:
Description:I am using asterisk 11.17.1  but constantly facing error while i am using SIP only. not cisco skinny.

chan_skinny.c: Skinny Client sent less data than expected.  Expected 4 but got 0.
[Nov 30 21:57:58] WARNING[3827] chan_skinny.c: Skinny Client was lost, unregistering

What should i do to fix it?

I found that  we can add

noload => chan_skinny.so

to your modules.conf to not load the module.

I want to know what the warnings mean. Is it critical ?
will disabling above module affect asterisk ?
Comments:By: Asterisk Team (asteriskteam) 2016-11-30 11:07:18.188-0600

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

By: snuffy (snuffy) 2016-12-01 17:52:31.836-0600

Hello Hamad,

You can just do the no-load for the chan_skinny module, or choose to compile without the module completely.

This will not affect asterisk in any way processing SIP calls.


By: Hamad (mjamil02) 2016-12-02 09:18:43.852-0600

Hi ,
thanks for response.
can you tell me why i am receiving below alerts as i am using SIP only and what does these mean?

chan_skinny.c: Skinny Client sent less data than expected. Expected 4 but got 0.
WARNING[3827] chan_skinny.c: Skinny Client was lost, unregistering

will be looking forward for your response.

By: Joshua C. Colp (jcolp) 2016-12-02 09:23:41.075-0600

The message is a result of something connecting to the port that Skinny is listening on and not sending Skinny data. It's not a bug in Asterisk itself so I am closing this issue.

By: Hamad (mjamil02) 2016-12-02 09:28:46.622-0600

hi,
you may be right but i dont think it has resolved issue i am facing.
can you tell me why i am receiving below alerts as i am using SIP only and what does these mean?
chan_skinny.c: Skinny Client sent less data than expected. Expected 4 but got 0.
WARNING[3827] chan_skinny.c: Skinny Client was lost, unregistering
will be looking forward for your response.


By: Asterisk Team (asteriskteam) 2016-12-02 09:28:46.746-0600

This issue has been reopened as a result of your commenting on it as the reporter. It will be triaged once again as applicable.

By: Joshua C. Colp (jcolp) 2016-12-02 12:03:21.379-0600

Despite only using SIP if you load the chan_skinny module it will still listen for connections on the skinny port. Something is connecting and sending it traffic it does not understand. This is unrelated to your SIP traffic and is not a bug itself.

By: Hamad (mjamil02) 2016-12-02 12:07:39.238-0600

Joshua Colp.
can you plz suggest me what should i do to fix these warnings?

By: Asterisk Team (asteriskteam) 2016-12-02 12:07:39.485-0600

This issue has been reopened as a result of your commenting on it as the reporter. It will be triaged once again as applicable.

By: Joshua C. Colp (jcolp) 2016-12-02 12:13:04.098-0600

You can noload it as you've done and as mentioned by [~snuffy].

By: Hamad (mjamil02) 2016-12-02 12:15:52.082-0600

I did not made any changes right now. Before proceed i want to confirm that will noload work and will not impact any other feature?

By: Asterisk Team (asteriskteam) 2016-12-02 12:15:52.280-0600

This issue has been reopened as a result of your commenting on it as the reporter. It will be triaged once again as applicable.

By: Joshua C. Colp (jcolp) 2016-12-02 12:17:46.089-0600

If you are not using Skinny based devices then noloading chan_skinny.so will not impact anything else. As you are strictly using SIP, it's fine to noload it.

By: Joshua C. Colp (jcolp) 2016-12-02 12:18:10.512-0600

In the future I would also suggest using the other community support mechanisms[1] for these kind of questions.

[1] https://community.asterisk.org/

By: Hamad (mjamil02) 2016-12-05 08:19:51.165-0600

Warning messages regarding skinny have been fixed. There was no need to unload skinny module for it.