aboutsummaryrefslogtreecommitdiffstats
path: root/channels
diff options
context:
space:
mode:
authoroej <oej@f38db490-d61c-443f-a65b-d21fe96a405b>2008-04-24 14:55:18 +0000
committeroej <oej@f38db490-d61c-443f-a65b-d21fe96a405b>2008-04-24 14:55:18 +0000
commit563b3abdf5025b94323ddc43f2601c08affa3c0f (patch)
treebd9635eeffb3ce930aa75934b482d159fa5313e6 /channels
parentc5a9602357dbf1f3269113de470ee1e23fa2ab1c (diff)
Only have one max-forwards header in outbound REFERs.
Discovered in the Asterisk SIP Masterclass in Orlando. Thanks Joe! git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@114603 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r--channels/chan_sip.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index dd6baff00..d6d5411c3 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -7793,7 +7793,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);