[asterisk-commits] may: branch 1.8 r408328 - /branches/1.8/addons/ooh323c/src/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Feb 19 05:30:28 CST 2014
Author: may
Date: Wed Feb 19 05:30:25 2014
New Revision: 408328
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=408328
Log:
process receiveAndTransmit user input remote caps instead of receive only
send receiveAndTransmit user input our caps instead of receive only
Modified:
branches/1.8/addons/ooh323c/src/ooCapability.c
branches/1.8/addons/ooh323c/src/ooh245.c
Modified: branches/1.8/addons/ooh323c/src/ooCapability.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/addons/ooh323c/src/ooCapability.c?view=diff&rev=408328&r1=408327&r2=408328
==============================================================================
--- branches/1.8/addons/ooh323c/src/ooCapability.c (original)
+++ branches/1.8/addons/ooh323c/src/ooCapability.c Wed Feb 19 05:30:25 2014
@@ -2936,6 +2936,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: branches/1.8/addons/ooh323c/src/ooh245.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/addons/ooh323c/src/ooh245.c?view=diff&rev=408328&r1=408327&r2=408328
==============================================================================
--- branches/1.8/addons/ooh323c/src/ooh245.c (original)
+++ branches/1.8/addons/ooh323c/src/ooh245.c Wed Feb 19 05:30:25 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