]> git.ipfire.org Git - thirdparty/asterisk.git/commit
If someone sets the "useragent" option in sip.conf to be empty, then don't add
authorRussell Bryant <russell@russellbryant.com>
Wed, 11 Apr 2007 16:01:25 +0000 (16:01 +0000)
committerRussell Bryant <russell@russellbryant.com>
Wed, 11 Apr 2007 16:01:25 +0000 (16:01 +0000)
commit2128909ad47f6ca4f7076739c44a0ba367be6fa5
treeb7941704868830326b835a70e9746e418458ab41
parenta36f57e7fc6f3ed6a92055959c3c37910c58bab5
If someone sets the "useragent" option in sip.conf to be empty, then don't add
the User-Agent header at all.  It is an optional header, anyway.  Also, the bug
report says that some of Japan's SIP providers don't allow it for some weird
reason.  (issue #9488, reported by makoto, fixed by me)

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