From: Mark Spencer Date: Sun, 29 Aug 2004 18:58:30 +0000 (+0000) Subject: Set DTMF modes by peer/user properly (bug #2303) X-Git-Tag: 1.0.0~150 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4c133e47dae46079237b1f7bdffc2f706502cf54;p=thirdparty%2Fasterisk.git Set DTMF modes by peer/user properly (bug #2303) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3676 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_sip.c b/channels/chan_sip.c index f8004fdddb..768a3e64e4 100755 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -7933,6 +7933,7 @@ static struct sip_user *build_user(char *name, struct ast_variable *v) user->capability = global_capability; user->canreinvite = global_canreinvite; user->trustrpid = global_trustrpid; + user->dtmfmode = global_dtmfmode; user->progressinband = global_progressinband; #ifdef OSP_SUPPORT user->ospauth = global_ospauth; @@ -8136,7 +8137,7 @@ static struct sip_peer *build_peer(char *name, struct ast_variable *v) peer->canreinvite = global_canreinvite; peer->rtptimeout = global_rtptimeout; peer->rtpholdtimeout = global_rtpholdtimeout; - peer->dtmfmode = 0; + peer->dtmfmode = global_dtmfmode; peer->promiscredir = global_promiscredir; peer->trustrpid = global_trustrpid; peer->progressinband = global_progressinband;