parsing extension correctly from sip register lines
authorDavid Vossel <dvossel@digium.com>
Thu, 18 Jun 2009 15:16:05 +0000 (15:16 +0000)
committerDavid Vossel <dvossel@digium.com>
Thu, 18 Jun 2009 15:16:05 +0000 (15:16 +0000)
commita11ac5ae2f1961cab2806dc9618dcdc7247b252f
treeda3ba828938169400225b4650f2a85c527f14fca
parent68ba81dfe68fe8cf78d98082ff41b141db6280bc
parsing extension correctly from sip register lines

If a transport type was specified, but no extension, parsing of the extension would return whatever was after the transport rather than defaulting to 's'.

(closes issue #15111)
Reported by: ffs
Patches:
      chan_sip.c_register-parser.patch uploaded by ffs (license 730)
Tested by: ffs, dvossel

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