mirror of
https://github.com/asterisk/asterisk.git
synced 2026-05-04 04:16:54 +00:00
Optimize global/user/peer configuration call options. Bug #4336
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5753 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -36,11 +36,14 @@ typedef struct call_options {
|
||||
int noFastStart;
|
||||
int noH245Tunneling;
|
||||
int noSilenceSuppression;
|
||||
/* unsigned int port; */
|
||||
int progress_setup;
|
||||
int progress_alert;
|
||||
int progress_audio;
|
||||
int dtmfcodec;
|
||||
int dtmfmode;
|
||||
int capability;
|
||||
int bridge;
|
||||
int nat;
|
||||
} call_options_t;
|
||||
|
||||
/* structure to hold the valid asterisk users */
|
||||
@@ -51,14 +54,10 @@ struct oh323_user {
|
||||
char callerid[80];
|
||||
char accountcode[20];
|
||||
int amaflags;
|
||||
int capability;
|
||||
int bridge;
|
||||
int nat;
|
||||
int dtmfmode;
|
||||
int host;
|
||||
call_options_t options;
|
||||
struct ast_ha *ha;
|
||||
struct sockaddr_in addr;
|
||||
struct ast_ha *ha;
|
||||
call_options_t options;
|
||||
struct oh323_user *next;
|
||||
};
|
||||
|
||||
@@ -67,10 +66,6 @@ struct oh323_user {
|
||||
struct oh323_peer {
|
||||
char name[80];
|
||||
char mailbox[80];
|
||||
int capability;
|
||||
int bridge;
|
||||
int nat;
|
||||
int dtmfmode;
|
||||
int delme;
|
||||
struct sockaddr_in addr;
|
||||
struct ast_ha *ha;
|
||||
|
||||
Reference in New Issue
Block a user