[asterisk-addons-commits] objsys: branch 1.2 r350 - /branches/1.2/asterisk-ooh323c/ooh323c/src/

asterisk-addons-commits at lists.digium.com asterisk-addons-commits at lists.digium.com
Fri Mar 16 13:05:56 MST 2007


Author: objsys
Date: Fri Mar 16 15:05:56 2007
New Revision: 350

URL: http://svn.digium.com/view/asterisk-addons?view=rev&rev=350
Log:
possible fix for g.729 codec comparision

Modified:
    branches/1.2/asterisk-ooh323c/ooh323c/src/ooCapability.c
    branches/1.2/asterisk-ooh323c/ooh323c/src/ooLogChan.c

Modified: branches/1.2/asterisk-ooh323c/ooh323c/src/ooCapability.c
URL: http://svn.digium.com/view/asterisk-addons/branches/1.2/asterisk-ooh323c/ooh323c/src/ooCapability.c?view=diff&rev=350&r1=349&r2=350
==============================================================================
--- branches/1.2/asterisk-ooh323c/ooh323c/src/ooCapability.c (original)
+++ branches/1.2/asterisk-ooh323c/ooh323c/src/ooCapability.c Fri Mar 16 15:05:56 2007
@@ -932,7 +932,7 @@
       noofframes = audioCap->u.g729;
       break;
    case T_H245AudioCapability_g729AnnexA:
-      cap = OO_G729;
+      cap = OO_G729A;
       noofframes = audioCap->u.g729AnnexA;
       break;   
    case T_H245AudioCapability_g7231:
@@ -943,7 +943,7 @@
       return FALSE;
    }
 
-   OOTRACEDBGC3("Comparing codecs: channel's=%d, requested=%d\n", 
+   OOTRACEDBGC3("Comparing codecs: current=%d, requested=%d\n", 
       epCap->cap, cap);
    if(cap != epCap->cap) { return FALSE; }
 

Modified: branches/1.2/asterisk-ooh323c/ooh323c/src/ooLogChan.c
URL: http://svn.digium.com/view/asterisk-addons/branches/1.2/asterisk-ooh323c/ooh323c/src/ooLogChan.c?view=diff&rev=350&r1=349&r2=350
==============================================================================
--- branches/1.2/asterisk-ooh323c/ooh323c/src/ooLogChan.c (original)
+++ branches/1.2/asterisk-ooh323c/ooh323c/src/ooLogChan.c Fri Mar 16 15:05:56 2007
@@ -192,7 +192,7 @@
          if(!strcmp(pChannel->dir, dir))
          {
             OOTRACEDBGC3("ooFindLogicalChannel, comparing channel: %d:%s\n",
-                          pChannel->sessionID, pChannel->dir);
+                          pChannel->channelNo, pChannel->dir);
             if(!strcmp(dir, "receive"))
             {
                if(ooCapabilityCheckCompatibility(call, pChannel->chanCap,



More information about the asterisk-addons-commits mailing list