[asterisk-commits] may: branch 1.8 r291037 - /branches/1.8/addons/ooh323c/src/oochannels.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sat Oct 9 10:00:09 CDT 2010


Author: may
Date: Sat Oct  9 10:00:07 2010
New Revision: 291037

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=291037
Log:
small correction for verbose print h.323 packets

Modified:
    branches/1.8/addons/ooh323c/src/oochannels.c

Modified: branches/1.8/addons/ooh323c/src/oochannels.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/addons/ooh323c/src/oochannels.c?view=diff&rev=291037&r1=291036&r2=291037
==============================================================================
--- branches/1.8/addons/ooh323c/src/oochannels.c (original)
+++ branches/1.8/addons/ooh323c/src/oochannels.c Sat Oct  9 10:00:07 2010
@@ -982,7 +982,7 @@
    ASN1OCTET message[MAXMSGLEN], message1[MAXMSGLEN];
    int len;
    Q931Message *pmsg;
-   OOCTXT *pctxt = call->pctxt;
+   OOCTXT *pctxt = call->msgctxt;
    
    struct timeval timeout;
 
@@ -1116,6 +1116,7 @@
 
    initializePrintHandler(&printHandler, "Received H.2250 Message");
    setEventHandler (pctxt, &printHandler);
+   setPERBuffer (pctxt, message, len, TRUE);
    ret = ooQ931Decode (call, pmsg, len, message, 1);
    if(ret != OO_OK) {
       OOTRACEERR3("Error:Failed to decode received H.2250 message. (%s, %s)\n",




More information about the asterisk-commits mailing list