[asterisk-commits] may: trunk r408332 - in /trunk: ./ addons/ooh323c/src/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Feb 19 06:04:35 CST 2014
Author: may
Date: Wed Feb 19 06:04:32 2014
New Revision: 408332
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=408332
Log:
process receiveAndTransmit user input remote caps instead of receive only
send receiveAndTransmit user input our caps instead of receive only
........
Merged revisions 408328 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........
Merged revisions 408330 from http://svn.asterisk.org/svn/asterisk/branches/11
........
Merged revisions 408331 from http://svn.asterisk.org/svn/asterisk/branches/12
Modified:
trunk/ (props changed)
trunk/addons/ooh323c/src/ooCapability.c
trunk/addons/ooh323c/src/ooh245.c
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-12-merged' - no diff available.
Modified: trunk/addons/ooh323c/src/ooCapability.c
URL: http://svnview.digium.com/svn/asterisk/trunk/addons/ooh323c/src/ooCapability.c?view=diff&rev=408332&r1=408331&r2=408332
==============================================================================
--- trunk/addons/ooh323c/src/ooCapability.c (original)
+++ trunk/addons/ooh323c/src/ooCapability.c Wed Feb 19 06:04:32 2014
@@ -2940,6 +2940,22 @@
break;
+ case T_H245Capability_receiveAndTransmitUserInputCapability:
+ if((cap->u.receiveAndTransmitUserInputCapability->t ==
+ T_H245UserInputCapability_basicString) &&
+ (call->dtmfmode & OO_CAP_DTMF_H245_alphanumeric))
+ {
+ call->jointDtmfMode |= OO_CAP_DTMF_H245_alphanumeric;
+ return OO_OK;
+ }
+ else if((cap->u.receiveAndTransmitUserInputCapability->t ==
+ T_H245UserInputCapability_dtmf) &&
+ (call->dtmfmode & OO_CAP_DTMF_H245_signal))
+ {
+ call->jointDtmfMode |= OO_CAP_DTMF_H245_signal;
+ return OO_OK;
+ }
+
case T_H245Capability_receiveUserInputCapability:
if((cap->u.receiveUserInputCapability->t ==
T_H245UserInputCapability_basicString) &&
Modified: trunk/addons/ooh323c/src/ooh245.c
URL: http://svnview.digium.com/svn/asterisk/trunk/addons/ooh323c/src/ooh245.c?view=diff&rev=408332&r1=408331&r2=408332
==============================================================================
--- trunk/addons/ooh323c/src/ooh245.c (original)
+++ trunk/addons/ooh323c/src/ooh245.c Wed Feb 19 06:04:32 2014
@@ -713,8 +713,8 @@
memset(entry, 0, sizeof(H245CapabilityTableEntry));
entry->m.capabilityPresent = 1;
- entry->capability.t = T_H245Capability_receiveUserInputCapability;
- entry->capability.u.receiveUserInputCapability = userInputCap;
+ entry->capability.t = T_H245Capability_receiveAndTransmitUserInputCapability;
+ entry->capability.u.receiveAndTransmitUserInputCapability = userInputCap;
entry->capabilityTableEntryNumber = i+1;
dListAppend(pctxt , &(termCap->capabilityTable), entry);
@@ -749,8 +749,8 @@
memset(entry, 0, sizeof(H245CapabilityTableEntry));
entry->m.capabilityPresent = 1;
- entry->capability.t = T_H245Capability_receiveUserInputCapability;
- entry->capability.u.receiveUserInputCapability = userInputCap;
+ entry->capability.t = T_H245Capability_receiveAndTransmitUserInputCapability;
+ entry->capability.u.receiveAndTransmitUserInputCapability = userInputCap;
entry->capabilityTableEntryNumber = i+1;
dListAppend(pctxt , &(termCap->capabilityTable), entry);
More information about the asterisk-commits
mailing list