mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-16 14:58:25 +00:00
Define DTMF payload types
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43571 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -2728,7 +2728,7 @@ static int reload_config(int is_reload)
|
||||
memset(&global_options, 0, sizeof(global_options));
|
||||
global_options.fastStart = 1;
|
||||
global_options.h245Tunneling = 1;
|
||||
global_options.dtmfcodec = 101;
|
||||
global_options.dtmfcodec = H323_DTMF_RFC2833_PT;
|
||||
global_options.dtmfmode = H323_DTMF_RFC2833;
|
||||
global_options.capability = GLOBAL_CAPABILITY;
|
||||
global_options.bridge = 1; /* Do native bridging by default */
|
||||
|
||||
@@ -190,6 +190,9 @@ extern int h323debug;
|
||||
#define H323_DTMF_RFC2833 (1 << 0)
|
||||
#define H323_DTMF_INBAND (1 << 1)
|
||||
|
||||
#define H323_DTMF_RFC2833_PT 101
|
||||
#define H323_DTMF_CISCO_PT 121
|
||||
|
||||
#ifndef BOOL
|
||||
#define BOOL int
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user