Fix INFO on SIP with weird hardware

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1068 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.0
Mark Spencer 22 years ago
parent f24eba5c44
commit 1ba2edcfb2

@ -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 */

Loading…
Cancel
Save