mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-25 07:01:09 +00:00
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
This commit is contained in:
@@ -7933,6 +7933,7 @@ static struct sip_user *build_user(char *name, struct ast_variable *v)
|
|||||||
user->capability = global_capability;
|
user->capability = global_capability;
|
||||||
user->canreinvite = global_canreinvite;
|
user->canreinvite = global_canreinvite;
|
||||||
user->trustrpid = global_trustrpid;
|
user->trustrpid = global_trustrpid;
|
||||||
|
user->dtmfmode = global_dtmfmode;
|
||||||
user->progressinband = global_progressinband;
|
user->progressinband = global_progressinband;
|
||||||
#ifdef OSP_SUPPORT
|
#ifdef OSP_SUPPORT
|
||||||
user->ospauth = global_ospauth;
|
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->canreinvite = global_canreinvite;
|
||||||
peer->rtptimeout = global_rtptimeout;
|
peer->rtptimeout = global_rtptimeout;
|
||||||
peer->rtpholdtimeout = global_rtpholdtimeout;
|
peer->rtpholdtimeout = global_rtpholdtimeout;
|
||||||
peer->dtmfmode = 0;
|
peer->dtmfmode = global_dtmfmode;
|
||||||
peer->promiscredir = global_promiscredir;
|
peer->promiscredir = global_promiscredir;
|
||||||
peer->trustrpid = global_trustrpid;
|
peer->trustrpid = global_trustrpid;
|
||||||
peer->progressinband = global_progressinband;
|
peer->progressinband = global_progressinband;
|
||||||
|
Reference in New Issue
Block a user