Skip to content
Snippets Groups Projects
Commit 9a4e9f59 authored by Olle Johansson's avatar Olle Johansson
Browse files

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
parent 767fa7a9
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment