[asterisk-commits] may: trunk r288893 - /trunk/addons/ooh323c/src/oochannels.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Sat Sep 25 02:58:28 CDT 2010
Author: may
Date: Sat Sep 25 02:58:23 2010
New Revision: 288893
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=288893
Log:
small correction for verbose print h.323 packets
Modified:
trunk/addons/ooh323c/src/oochannels.c
Modified: trunk/addons/ooh323c/src/oochannels.c
URL: http://svnview.digium.com/svn/asterisk/trunk/addons/ooh323c/src/oochannels.c?view=diff&rev=288893&r1=288892&r2=288893
==============================================================================
--- trunk/addons/ooh323c/src/oochannels.c (original)
+++ trunk/addons/ooh323c/src/oochannels.c Sat Sep 25 02:58:23 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