Fix SIP transport to ignore ;transport=udp

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3862 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer 2004-09-30 19:59:00 +00:00
parent 83f342776e
commit 1434bb9792
1 changed files with 3 additions and 0 deletions

View File

@ -6498,6 +6498,9 @@ static void parse_moved_contact(struct sip_pvt *p, struct sip_request *req)
char *s, *e;
strncpy(tmp, get_header(req, "Contact"), sizeof(tmp) - 1);
s = ditch_braces(tmp);
e = strchr(s, ';');
if (e)
*e = '\0';
if (p->promiscredir) {
if (!strncasecmp(s, "sip:", 4))
s += 4;