[asterisk-addons-commits] may: branch 1.6.2 r1082 - /branches/1.6.2/channels/ooh323c/src/ooq931.c

SVN commits to the Asterisk addons project asterisk-addons-commits at lists.digium.com
Fri Jan 1 17:25:26 CST 2010


Author: may
Date: Fri Jan  1 17:25:23 2010
New Revision: 1082

URL: http://svnview.digium.com/svn/asterisk-addons?view=rev&rev=1082
Log:
correct q.931 bearer capabilities in the setup message

change q.931 bearer capabilities fiels to Q931TransferSpeech/Q931UserInfoLayer1G711ULaw

(closes issue #16210)
Reported by: nevenchannyy
Patches: 
      avaya-definity.patch uploaded by nevenchannyy (license 918)
Tested by: nevenchannyy


Modified:
    branches/1.6.2/channels/ooh323c/src/ooq931.c

Modified: branches/1.6.2/channels/ooh323c/src/ooq931.c
URL: http://svnview.digium.com/svn/asterisk-addons/branches/1.6.2/channels/ooh323c/src/ooq931.c?view=diff&rev=1082&r1=1081&r2=1082
==============================================================================
--- branches/1.6.2/channels/ooh323c/src/ooq931.c (original)
+++ branches/1.6.2/channels/ooh323c/src/ooq931.c Fri Jan  1 17:25:23 2010
@@ -1611,10 +1611,10 @@
 
    /* Set bearer capability */
    if(OO_OK != ooSetBearerCapabilityIE(q931msg, Q931CCITTStd, 
-                       Q931TransferUnrestrictedDigital, Q931TransferPacketMode,
-                       Q931TransferRatePacketMode, Q931UserInfoLayer1G722G725))
-     //                          Q931TransferSpeech, Q931TransferCircuitMode,
-     //                   Q931TransferRate64Kbps, Q931UserInfoLayer1G711ULaw))
+//                       Q931TransferUnrestrictedDigital, Q931TransferPacketMode,
+//                       Q931TransferRatePacketMode, Q931UserInfoLayer1G722G725))
+                         Q931TransferSpeech, Q931TransferCircuitMode,
+                         Q931TransferRate64Kbps, Q931UserInfoLayer1G711ULaw))
    {
       OOTRACEERR3("Error: Failed to set bearer capability ie. (%s, %s)\n",
                    call->callType, call->callToken);
@@ -2025,9 +2025,11 @@
 
    /* Set bearer capability */
    if(OO_OK != ooSetBearerCapabilityIE(q931msg, Q931CCITTStd, 
-                          Q931TransferUnrestrictedDigital, Q931TransferPacketMode,
-                          Q931TransferRatePacketMode, Q931UserInfoLayer1G722G725))
-//                        Q931TransferRate64Kbps, Q931UserInfoLayer1G711ULaw))
+//                          Q931TransferUnrestrictedDigital, Q931TransferPacketMode,
+//                          Q931TransferRatePacketMode, Q931UserInfoLayer1G722G725))
+                            Q931TransferSpeech, Q931TransferCircuitMode,
+                            Q931TransferRate64Kbps, Q931UserInfoLayer1G711ULaw))
+
    {
       OOTRACEERR3("Error: Failed to set bearer capability ie.(%s, %s)\n",
                    call->callType, call->callToken);




More information about the asterisk-addons-commits mailing list