projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83f3427
)
Fix SIP transport to ignore ;transport=udp
author
Mark Spencer
<markster@digium.com>
Thu, 30 Sep 2004 19:59:00 +0000
(19:59 +0000)
committer
Mark Spencer
<markster@digium.com>
Thu, 30 Sep 2004 19:59:00 +0000
(19:59 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3862
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
channels/chan_sip.c
patch
|
blob
|
history
diff --git
a/channels/chan_sip.c
b/channels/chan_sip.c
index
9b9cb86
..
3d929c3
100755
(executable)
--- a/
channels/chan_sip.c
+++ b/
channels/chan_sip.c
@@
-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;