fixing make...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@69 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
parent
bd9ea03197
commit
0c54b8b50b
|
@ -43,7 +43,7 @@
|
||||||
POSSIBILITY OF SUCH DAMAGE.
|
POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
#include "q921.h"
|
#include "Q921.h"
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include "mfifo.h"
|
#include "mfifo.h"
|
||||||
|
|
||||||
|
@ -280,25 +280,6 @@ int Q921SendDM(int trunk, int Sapi, int cr, int Tei, int pf)
|
||||||
return Q921Tx21Proc(trunk, mes, Q921HeaderSpace+3);
|
return Q921Tx21Proc(trunk, mes, Q921HeaderSpace+3);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************
|
|
||||||
|
|
||||||
Function: Q921
|
|
||||||
|
|
||||||
Description:
|
|
||||||
|
|
||||||
Parameters: trunk trunk #
|
|
||||||
Sapi Sapi
|
|
||||||
cr C/R field.
|
|
||||||
Tei Tei.
|
|
||||||
pf P fiels octet 4
|
|
||||||
|
|
||||||
Return Value: 0 if failed, 1 if Send.
|
|
||||||
|
|
||||||
*****************************************************************************/
|
|
||||||
//int Q921SendUI(...)
|
|
||||||
//{
|
|
||||||
//}
|
|
||||||
|
|
||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
|
|
||||||
Function: Q921SendDISC
|
Function: Q921SendDISC
|
||||||
|
@ -351,44 +332,6 @@ int Q921SendUA(int trunk, int Sapi, int cr, int Tei, int pf)
|
||||||
return Q921Tx21Proc(trunk, mes, Q921HeaderSpace+3);
|
return Q921Tx21Proc(trunk, mes, Q921HeaderSpace+3);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************
|
|
||||||
|
|
||||||
Function: Q921
|
|
||||||
|
|
||||||
Description:
|
|
||||||
|
|
||||||
Parameters: trunk trunk #
|
|
||||||
Sapi Sapi
|
|
||||||
cr C/R field.
|
|
||||||
Tei Tei.
|
|
||||||
pf P fiels octet 5
|
|
||||||
|
|
||||||
Return Value: 0 if failed, 1 if Send.
|
|
||||||
|
|
||||||
*****************************************************************************/
|
|
||||||
//int Q921SendFRMR(...)
|
|
||||||
//{
|
|
||||||
//}
|
|
||||||
|
|
||||||
/*****************************************************************************
|
|
||||||
|
|
||||||
Function: Q921
|
|
||||||
|
|
||||||
Description:
|
|
||||||
|
|
||||||
Parameters: trunk trunk #
|
|
||||||
Sapi Sapi
|
|
||||||
cr C/R field.
|
|
||||||
Tei Tei.
|
|
||||||
pf P fiels octet 5
|
|
||||||
|
|
||||||
Return Value: 0 if failed, 1 if Send.
|
|
||||||
|
|
||||||
*****************************************************************************/
|
|
||||||
//int Q921SendXID(...)
|
|
||||||
//{
|
|
||||||
//}
|
|
||||||
|
|
||||||
int Q921ProcSABME(int trunk, unsigned char *mes, int size)
|
int Q921ProcSABME(int trunk, unsigned char *mes, int size)
|
||||||
{
|
{
|
||||||
Q921DevSpace[trunk].vr=0;
|
Q921DevSpace[trunk].vr=0;
|
||||||
|
@ -464,7 +407,7 @@ int Q921Rx12(long trunk)
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
/* what the ? Issue an error */
|
/* what the ? Issue an error */
|
||||||
// Q921ErrorProc(trunk, Q921_UNKNOWNFRAME, mes, rs);
|
/* Q921ErrorProc(trunk, Q921_UNKNOWNFRAME, mes, rs); */
|
||||||
/* todo: REJ or FRMR */
|
/* todo: REJ or FRMR */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue