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:
9a49c07
)
Fix capability lookup failure
author
Mark Spencer
<markster@digium.com>
Fri, 26 Sep 2003 03:31:57 +0000
(
03:31
+0000)
committer
Mark Spencer
<markster@digium.com>
Fri, 26 Sep 2003 03:31:57 +0000
(
03:31
+0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1545
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
1c2f523
..
e62232a
100755
(executable)
--- a/
channels/chan_sip.c
+++ b/
channels/chan_sip.c
@@
-1512,6
+1512,7
@@
static struct sip_pvt *sip_alloc(char *callid, struct sockaddr_in *sin, int useg
/* Assume reinvite OK and via INVITE */
p->canreinvite = globalcanreinvite;
p->dtmfmode = globaldtmfmode;
+ p->capability = capability;
if (p->dtmfmode & SIP_DTMF_RFC2833)
p->noncodeccapability |= AST_RTP_DTMF;
strncpy(p->context, context, sizeof(p->context) - 1);