Be consistent, send From: "Anonymous" <sip:anonymous@anonymous.invalid>
authorRichard Mudgett <rmudgett@digium.com>
Mon, 24 Sep 2012 22:14:28 +0000 (22:14 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Mon, 24 Sep 2012 22:14:28 +0000 (22:14 +0000)
commitda8c22fe451e43d0de02d6b74f74b20f3b921c20
tree7ef7c631f3871573d437b597a1a1efd8ad43559a
parent87370eeced774db6134c5ec40aa7736066f56f1e
Be consistent, send From: "Anonymous" <sip:anonymous@anonymous.invalid>

When setting CALLERID(pres)=unavailable in the dialplan, the From header
in the SIP message contains "Anonymous" <sip:Anonymous@anonymous.invalid>.
For consistency, Asterisk should use a lowercase a in the userpart of the
URI.

* Make the From header use a lowercase A in the userpart of the anonymous
URI.

(closes issue ASTERISK-19838)
Reported by: Antti Yrjola
Patches:
      chan_sip_patch_ASTERISK-19838.patch (license #6383) patch uploaded by Antti Yrjola
........

Merged revisions 373500 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 373501 from http://svn.asterisk.org/svn/asterisk/branches/10
........

Merged revisions 373502 from http://svn.asterisk.org/svn/asterisk/branches/11

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