MODSOFIA-48

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16004 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2009-12-19 17:43:05 +00:00
parent 726464555c
commit 4aee9be2ae
3 changed files with 197 additions and 74 deletions
+5
View File
@@ -254,6 +254,7 @@ typedef enum {
TFLAG_3PCC_HAS_ACK,
TFLAG_PASS_RFC2833,
TFLAG_UPDATING_DISPLAY,
TFLAG_ENABLE_SOA,
/* No new flags below this line */
TFLAG_MAX
} TFLAGS;
@@ -835,6 +836,10 @@ sofia_gateway_subscription_t *sofia_find_gateway_subscription(sofia_gateway_t *g
void sofia_reg_release_gateway__(const char *file, const char *func, int line, sofia_gateway_t *gateway);
#define sofia_reg_release_gateway(x) sofia_reg_release_gateway__(__FILE__, __SWITCH_FUNC__, __LINE__, x);
#define sofia_use_soa(_t) (sofia_test_flag(_t, TFLAG_ENABLE_SOA) \
&& !switch_channel_test_flag(_t->channel, CF_PROXY_MODE) \
&& !switch_channel_test_flag(_t->channel, CF_PROXY_MEDIA))
#define check_decode(_var, _session) do { \
assert(_session); \
if (!zstr(_var)) { \