mod_sofia: add contact-user profile param to override default contact username for a profile (MODSOFIA-8)

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13397 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris
2009-05-19 21:16:03 +00:00
parent 8818559e1f
commit 03ba64aee5
2 changed files with 18 additions and 7 deletions
+3 -1
View File
@@ -56,6 +56,7 @@
#define MAX_CODEC_CHECK_FRAMES 50
#define MAX_MISMATCH_FRAMES 3
#define MODNAME "mod_sofia"
#define SOFIA_DEFAULT_CONTACT_USER MODNAME
static const switch_state_handler_table_t noop_state_handler = { 0 };
struct sofia_gateway;
typedef struct sofia_gateway sofia_gateway_t;
@@ -483,7 +484,8 @@ struct sofia_profile {
uint32_t timer_t1;
uint32_t timer_t1x64;
uint32_t timer_t2;
uint32_t timer_t4;
uint32_t timer_t4;
char *contact_user;
};
struct private_object {