allow <params> tag in gateways as well as <variables> with direction inbound/outbound (default both) and call counter

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11468 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2009-01-23 20:33:30 +00:00
parent cba7c53e69
commit 941052b656
4 changed files with 152 additions and 73 deletions
+5 -1
View File
@@ -315,6 +315,7 @@ struct sofia_gateway {
char *register_password;
char *register_from;
char *register_contact;
char *extension;
char *register_to;
char *register_proxy;
char *register_sticky_proxy;
@@ -334,7 +335,10 @@ struct sofia_gateway {
reg_state_t state;
switch_memory_pool_t *pool;
int deleted;
switch_event_t *vars;
switch_event_t *ib_vars;
switch_event_t *ob_vars;
uint32_t ib_calls;
uint32_t ob_calls;
char uuid_str[SWITCH_UUID_FORMATTED_LENGTH + 1];
int failures;
struct sofia_gateway *next;