Cleanup transmit_ for handle_register and keepalives
authorDamien Wedhorn <voip@facts.com.au>
Fri, 30 Jul 2010 09:12:55 +0000 (09:12 +0000)
committerDamien Wedhorn <voip@facts.com.au>
Fri, 30 Jul 2010 09:12:55 +0000 (09:12 +0000)
commita352ff7f60bd1bbd922a882b16e2b2e852ef8c67
tree616331bbb6a56c4bec5c9ca3d0b4c1b2010483e9
parent680c3e1883633f3b824ab0779e7b7424f9c697bd
Cleanup transmit_ for handle_register and keepalives

Moved inline packet sending to transmit_ subs. Removed handle_keep_alive and handle_register_message to inline in handle_message. Also moved transmit_response(d) to transmit_response_bysessions(s) and created a wrapper transmit_response(d) that calls transmit_response_bysession(d->session).

(closes issue #16980)
Reported by: wedhorn
Patches:
      skinny-clean06b.diff uploaded by wedhorn (license 30)
Tested by: wedhorn, DEA

Review: NA

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