diff --git a/channels/chan_sip.c b/channels/chan_sip.c index f8004fdddb2789fb88094b393761aab3e357ed34..768a3e64e4df9bb0a0242d0f9f3d610fb5c38b45 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;