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:
f24eba5
)
Fix INFO on SIP with weird hardware
author
Mark Spencer
<markster@digium.com>
Mon, 2 Jun 2003 21:07:34 +0000
(21:07 +0000)
committer
Mark Spencer
<markster@digium.com>
Mon, 2 Jun 2003 21:07:34 +0000
(21:07 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1068
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
ac323bf
..
379dc1f
100755
(executable)
--- a/
channels/chan_sip.c
+++ b/
channels/chan_sip.c
@@
-3646,7
+3646,7
@@
static void receive_info(struct sip_pvt *p, struct sip_request *req)
struct ast_frame f;
char *c;
/* Try getting the "signal=" part */
- if ((c = get_sdp(req, "Signal"))) {
+ if (strlen(c = get_sdp(req, "Signal")) || strlen(c = get_sdp(req, "d"))) {
strncpy(buf, c, sizeof(buf) - 1);
} else if (get_msg_text(buf, sizeof(buf), req)) {
/* Normal INFO method */