put duplicated code in functions.
authorLuigi Rizzo <rizzo@icir.org>
Sun, 22 Oct 2006 20:51:05 +0000 (20:51 +0000)
committerLuigi Rizzo <rizzo@icir.org>
Sun, 22 Oct 2006 20:51:05 +0000 (20:51 +0000)
commit36d7b8f48834ebbd5a4ffc3a57d18e0bbf03dcd9
tree046be61e9a29b063a45a21637746abd149ab8e2a
parentb5ec2ec48a939cae7fa95d03d7f6c840a44e333b
put duplicated code in functions.

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