aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormay <may@f38db490-d61c-443f-a65b-d21fe96a405b>2010-10-09 15:00:07 +0000
committermay <may@f38db490-d61c-443f-a65b-d21fe96a405b>2010-10-09 15:00:07 +0000
commit225e25988d277dc470b7ae9f6011ba235cf8b304 (patch)
tree5089d8028456f254fde40f3c34a4c9f2ab85ad11
parent443456c095a4c58ef52bb3d922c20ca8778398a1 (diff)
small correction for verbose print h.323 packets
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.8@291037 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--addons/ooh323c/src/oochannels.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/addons/ooh323c/src/oochannels.c b/addons/ooh323c/src/oochannels.c
index c4ac24871..e74b75c87 100644
--- a/addons/ooh323c/src/oochannels.c
+++ b/addons/ooh323c/src/oochannels.c
@@ -982,7 +982,7 @@ int ooH2250Receive(OOH323CallData *call)
ASN1OCTET message[MAXMSGLEN], message1[MAXMSGLEN];
int len;
Q931Message *pmsg;
- OOCTXT *pctxt = call->pctxt;
+ OOCTXT *pctxt = call->msgctxt;
struct timeval timeout;
@@ -1116,6 +1116,7 @@ int ooH2250Receive(OOH323CallData *call)
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",