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:
Paul Cadach
2006-09-24 18:12:35 +00:00
parent 2fa3574c57
commit 258f1082ec
2 changed files with 4 additions and 1 deletions

View File

@@ -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 */

View File

@@ -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