diff options
author | root <root@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-05-18 20:07:21 +0000 |
---|---|---|
committer | root <root@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-05-18 20:07:21 +0000 |
commit | 04de3150ccf07705a2d9c3e45d9d3ad7655a8e19 (patch) | |
tree | 6cbf89150192b2448b5b6b7ded13c51d8f9ddfb1 /channels | |
parent | 6e38f2b0934f38d27b71042e5563c4089e3ad0ba (diff) |
automerge commit
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2-netsec@28379 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r-- | channels/chan_sip.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 874553fe7..d695a8f21 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -3592,12 +3592,12 @@ static int process_sdp(struct sip_pvt *p, struct sip_request *req) sdpLineNum_iterator_init(&iterator); while ((a = get_sdp_iterate(&iterator, req, "a"))[0] != '\0') { char* mimeSubtype = ast_strdupa(a); /* ensures we have enough space */ - if (!strcasecmp(a, "sendonly")) { - sendonly=1; + if (!strcasecmp(a, "sendonly") || !strcasecmp(a, "inactive")) { + sendonly = 1; continue; } if (!strcasecmp(a, "sendrecv")) { - sendonly=0; + sendonly = 0; } if (sscanf(a, "rtpmap: %u %[^/]/", &codec, mimeSubtype) != 2) continue; if (debug) |