Merged revisions 114603 via svnmerge from

https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r114603 | oej | 2008-04-24 16:55:18 +0200 (Tor, 24 Apr 2008) | 3 lines

Only have one max-forwards header in outbound REFERs.
Discovered in the Asterisk SIP Masterclass in Orlando. Thanks Joe!

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@114606 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Olle Johansson 2008-04-24 14:59:05 +00:00
parent 767fa7a909
commit 9a4e9f5944
1 changed files with 0 additions and 1 deletions

View File

@ -9810,7 +9810,6 @@ static int transmit_refer(struct sip_pvt *p, const char *dest)
p->refer->status = REFER_SENT; /* Set refer status */
reqprep(&req, p, SIP_REFER, 0, 1);
add_header(&req, "Max-Forwards", DEFAULT_MAX_FORWARDS);
add_header(&req, "Refer-To", referto);
add_header(&req, "Allow", ALLOWED_METHODS);