add debug error msg for 931 parse error
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@128 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
parent
7ebb574f03
commit
a4363ac2a9
|
@ -90,7 +90,10 @@ static L3INT zap_isdn_931_34(void *pvt, L2UCHAR *msg, L2INT mlen)
|
|||
|
||||
static int zap_isdn_921_23(void *pvt, L2UCHAR *msg, L2INT mlen)
|
||||
{
|
||||
return ((Q931Rx23(pvt, msg, mlen) >= 0) ? 1 : 0);
|
||||
int ret = Q931Rx23(pvt, msg, mlen);
|
||||
if (ret != 0)
|
||||
zap_log(ZAP_LOG_DEBUG, "931 parse error [%d] \n", ret);
|
||||
return ((ret >= 0) ? 1 : 0);
|
||||
}
|
||||
|
||||
static int zap_isdn_921_21(void *pvt, L2UCHAR *msg, L2INT mlen)
|
||||
|
|
Loading…
Reference in New Issue