[asterisk-commits] branch oej/t38passthrough r12505 - in
/team/oej/t38passthrough: channels/ doc/
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Sun Mar 12 02:42:00 MST 2006
Author: oej
Date: Sun Mar 12 03:41:57 2006
New Revision: 12505
URL: http://svn.digium.com/view/asterisk?rev=12505&view=rev
Log:
- Clear flag if no (could be set in general section)
- Typo in readme
Modified:
team/oej/t38passthrough/channels/chan_sip.c
team/oej/t38passthrough/doc/sipt38support.txt
Modified: team/oej/t38passthrough/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/team/oej/t38passthrough/channels/chan_sip.c?rev=12505&r1=12504&r2=12505&view=diff
==============================================================================
--- team/oej/t38passthrough/channels/chan_sip.c (original)
+++ team/oej/t38passthrough/channels/chan_sip.c Sun Mar 12 03:41:57 2006
@@ -12862,15 +12862,18 @@
} else if (!strcasecmp(v->name, "t38pt_udptl")) {
if (ast_true(v->value)) {
ast_set_flag(&user->flags_page2, SIP_PAGE2_T38SUPPORT_UDPTL);
- }
+ } else
+ ast_clear_flag(&user->flags_page2, SIP_PAGE2_T38SUPPORT_UDPTL);
} else if (!strcasecmp(v->name, "t38pt_rtp")) {
if (ast_true(v->value)) {
ast_set_flag(&user->flags_page2, SIP_PAGE2_T38SUPPORT_RTP);
- }
+ } else
+ ast_clear_flag(&user->flags_page2, SIP_PAGE2_T38SUPPORT_RTP);
} else if (!strcasecmp(v->name, "t38pt_tcp")) {
if (ast_true(v->value)) {
ast_set_flag(&user->flags_page2, SIP_PAGE2_T38SUPPORT_TCP);
- }
+ } else
+ ast_clear_flag(&user->flags_page2, SIP_PAGE2_T38SUPPORT_TCP);
#endif
}
}
@@ -13127,15 +13130,18 @@
} else if (!strcasecmp(v->name, "t38pt_udptl")) {
if (ast_true(v->value)) {
ast_set_flag(&peer->flags_page2, SIP_PAGE2_T38SUPPORT_UDPTL);
- }
+ } else
+ ast_clear_flag(&peer->flags_page2, SIP_PAGE2_T38SUPPORT_UDPTL);
} else if (!strcasecmp(v->name, "t38pt_rtp")) {
if (ast_true(v->value)) {
ast_set_flag(&peer->flags_page2, SIP_PAGE2_T38SUPPORT_RTP);
- }
+ } else
+ ast_clear_flag(&peer->flags_page2, SIP_PAGE2_T38SUPPORT_RTP);
} else if (!strcasecmp(v->name, "t38pt_tcp")) {
if (ast_true(v->value)) {
ast_set_flag(&peer->flags_page2, SIP_PAGE2_T38SUPPORT_TCP);
- }
+ } else
+ ast_clear_flag(&peer->flags_page2, SIP_PAGE2_T38SUPPORT_TCP);
#endif
} else if (!strcasecmp(v->name, "setvar")) {
/* Set peer channel variable */
Modified: team/oej/t38passthrough/doc/sipt38support.txt
URL: http://svn.digium.com/view/asterisk/team/oej/t38passthrough/doc/sipt38support.txt?rev=12505&r1=12504&r2=12505&view=diff
==============================================================================
--- team/oej/t38passthrough/doc/sipt38support.txt (original)
+++ team/oej/t38passthrough/doc/sipt38support.txt Sun Mar 12 03:41:57 2006
@@ -28,7 +28,7 @@
More information about T.38 faxing
----------------------------------
-- Steve have published a very good article on T.38 that we encourage
+- Steve has published a very good article on T.38 that we encourage
you to read at http://soft-switch.org/foip.html
- Voip-info.org: T.38 http://www.voip-info.org/wiki/view/T.38
- Voip-info.org: Asterisk Fax http://www.voip-info.org/wiki/view/Asterisk+fax
More information about the asterisk-commits
mailing list