diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-07-27 19:00:06 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-07-27 19:00:06 +0000 |
commit | 1f4057a0dd6c736e7ffbe3c747d4322bf1bb1e5e (patch) | |
tree | 06ad81bdca1d59d3f6c8f5dd5c1b8ea7eb67c90a /channels/chan_sip.c | |
parent | 28555b467997beb12b340e9a88bcec928fa27c7a (diff) |
Make ACK sticky too (bug #2134)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3524 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_sip.c')
-rwxr-xr-x | channels/chan_sip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index a93d6c00a..fe1dcd664 100755 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -3105,7 +3105,7 @@ static int reqprep(struct sip_request *req, struct sip_pvt *p, char *msg, int se else /* Some implementations (e.g. Uniden UIP200) can't handle rport being in the message!! */ snprintf(p->via, sizeof(p->via), "SIP/2.0/UDP %s:%d;branch=z9hG4bK%08x", ast_inet_ntoa(iabuf, sizeof(iabuf), p->ourip), ourport, p->branch); } - if (!strcasecmp(msg, "CANCEL")) { + if (!strcasecmp(msg, "CANCEL") || !strcasecmp(msg, "ACK")) { /* MUST use original URI */ c = p->initreq.rlPart2; } else if (!ast_strlen_zero(p->uri)) { |