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:
9d5fe27
)
Process SDP on 183 session progress (bug #930)
author
Mark Spencer
<markster@digium.com>
Tue, 2 Mar 2004 23:29:00 +0000
(23:29 +0000)
committer
Mark Spencer
<markster@digium.com>
Tue, 2 Mar 2004 23:29:00 +0000
(23:29 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2301
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
3a0b3d8
..
275caa7
100755
(executable)
--- a/
channels/chan_sip.c
+++ b/
channels/chan_sip.c
@@
-4922,9
+4922,13
@@
static void handle_response(struct sip_pvt *p, int resp, char *rest, struct sip_
case 100:
break;
case 183:
- if (p->owner) {
- /* Queue a progress frame */
- ast_queue_control(p->owner, AST_CONTROL_PROGRESS, 0);
+ if (!strcasecmp(msg, "INVITE")) {
+ if (strlen(get_header(req, "Content-Type")))
+ process_sdp(p, req);
+ if (p->owner) {
+ /* Queue a progress frame */
+ ast_queue_control(p->owner, AST_CONTROL_PROGRESS, 0);
+ }
}
break;
case 180: