add docallbacks flag in q931decode function because

when we decode received q931 packet we must do callbacks and
when we print sended q931 packet we must not. 


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@239037 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Alexandr Anikin
2010-01-10 17:53:59 +00:00
parent 5e0762370c
commit 11e1780402
3 changed files with 5 additions and 5 deletions

View File

@@ -335,7 +335,7 @@ typedef struct OOH225MsgCallbacks {
* @return Completion status - 0 on success, -1 on failure
*/
EXTERN int ooQ931Decode
(struct OOH323CallData *call, Q931Message* msg, int length, ASN1OCTET *data);
(struct OOH323CallData *call, Q931Message* msg, int length, ASN1OCTET *data, int docallbacks);
/**
* This function is used to decode the UUIE of the message from the list of