Fix dtmfmode, dtmfcodec capability, Faststart for users and peers. Bug #4112

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5551 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Jeremy McNamara
2005-05-02 18:46:36 +00:00
parent 9a7b3b0347
commit 931e1debff
3 changed files with 68 additions and 27 deletions

View File

@@ -298,7 +298,7 @@ int MyH323EndPoint::MakeCall(const PString & dest, PString & token, unsigned int
cout << " -- Making call to " << fullAddress << " without gatekeeper." << endl;
}
}
if (!(connection = (MyH323Connection *)H323EndPoint::MakeCallLocked(fullAddress, token))) {
if (!(connection = (MyH323Connection *)H323EndPoint::MakeCallLocked(fullAddress, token, opts))) {
if (h323debug) {
cout << "Error making call to \"" << fullAddress << '"' << endl;
}

View File

@@ -31,16 +31,16 @@
/** call_option struct holds various bits
* of information for each call */
typedef struct call_options {
char cid_num[80];
char cid_name[80];
int noFastStart;
int noH245Tunneling;
int noSilenceSuppression;
unsigned int port;
int progress_setup;
int progress_alert;
int progress_audio;
int dtmfcodec;
char cid_num[80];
char cid_name[80];
int noFastStart;
int noH245Tunneling;
int noSilenceSuppression;
unsigned int port;
int progress_setup;
int progress_alert;
int progress_audio;
int dtmfcodec;
} call_options_t;
/* structure to hold the valid asterisk users */
@@ -51,6 +51,7 @@ struct oh323_user {
char callerid[80];
char accountcode[20];
int amaflags;
int capability;
int bridge;
int nat;
int dtmfmode;