Increase SKINNY_MAX_PACKET and add some logging.
authorDamien Wedhorn <voip@facts.com.au>
Mon, 10 Oct 2011 00:36:02 +0000 (00:36 +0000)
committerDamien Wedhorn <voip@facts.com.au>
Mon, 10 Oct 2011 00:36:02 +0000 (00:36 +0000)
commitc5546e2bd7e49c9f51840bdbe454535f1d74be45
tree55767a3f25b5b51e86acb3da5c5bf951f7e83503
parent0ac40dc255efad058f33413058d8db96eefc3f6c
Increase SKINNY_MAX_PACKET and add some logging.

Increase SKINNY_MAX_PACKET to 2000 bytes to handle some messages
in v17 that are greater than the old 1000 bytes. Also add some
useful logging regarding packet and session handling.

A device (with protocol v17) was sending a packet with length
greater than 1000 which resulted in the TCP session being
destroyed and registration being retryed.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@340070 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_skinny.c