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:
6955b7c
)
Fix SIP_CODEC support
author
Martin Pycko
<martinp@digium.com>
Wed, 12 Nov 2003 16:36:35 +0000
(16:36 +0000)
committer
Martin Pycko
<martinp@digium.com>
Wed, 12 Nov 2003 16:36:35 +0000
(16:36 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1729
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
13ef5f1
..
218def8
100755
(executable)
--- a/
channels/chan_sip.c
+++ b/
channels/chan_sip.c
@@
-1138,7
+1138,7
@@
static int sip_answer(struct ast_channel *ast)
fmt=ast_getformatbyname(codec);
if (fmt) {
ast_log(LOG_NOTICE, "Changing codec to '%s' for this call because of ${SIP_CODEC) variable\n",codec);
- p->capability=fmt;
+ p->jointcapability=fmt;
} else ast_log(LOG_NOTICE, "Ignoring ${SIP_CODEC} variable because of unrecognized/not configured codec (check allow/disallow in sip.conf): %s\n",codec);
}