[Freeswitch-svn] [commit] r3021 - freeswitch/trunk/src/mod/endpoints/mod_sofia
Freeswitch SVN
anthm at freeswitch.org
Mon Oct 9 23:20:00 EDT 2006
Author: anthm
Date: Mon Oct 9 23:19:59 2006
New Revision: 3021
Modified:
freeswitch/trunk/src/mod/endpoints/mod_sofia/mod_sofia.c
Log:
update
Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/mod_sofia.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_sofia/mod_sofia.c (original)
+++ freeswitch/trunk/src/mod/endpoints/mod_sofia/mod_sofia.c Mon Oct 9 23:19:59 2006
@@ -61,6 +61,7 @@
#define MY_EVENT_EXPIRE "sofia::expire"
#define MULTICAST_EVENT "multicast::event"
#define SOFIA_REPLACES_HEADER "_sofia_replaces_"
+#define SOFIA_USER_AGENT "FreeSWITCH(mod_sofia)"
#include <sofia-sip/nua.h>
@@ -3180,6 +3181,7 @@
NUTAG_ALLOW("REGISTER"),
NUTAG_ALLOW("REFER"),
SIPTAG_SUPPORTED_STR("100rel, precondition"),
+ SIPTAG_USER_AGENT_STR(SOFIA_USER_AGENT),
TAG_END());
@@ -3191,11 +3193,13 @@
TAG_END()); /* Last tag should always finish the sequence */
nua_set_params(node->nua,
- NUTAG_EARLY_MEDIA(1),
+ NUTAG_EARLY_MEDIA(1),
NUTAG_AUTOANSWER(0),
NUTAG_AUTOALERT(0),
NUTAG_ALLOW("REGISTER"),
+ NUTAG_ALLOW("REFER"),
SIPTAG_SUPPORTED_STR("100rel, precondition"),
+ SIPTAG_USER_AGENT_STR(SOFIA_USER_AGENT),
TAG_END());
}
More information about the Freeswitch-svn
mailing list