/* TODO chack against state table for illegal or unexpected message here*/\r
\r
/* TODO - Set correct timer here */\r
- Q931StartTimer(pTrunk, callIndex, 303);\r
+ Q931StartTimer(pTrunk, callIndex, Q931_TIMER_T303);\r
}\r
if (iFrom == 4) {\r
/* TODO Add proc here*/\r
/* TODO chack against state table for illegal or unexpected message here*/\r
\r
/* TODO - Set correct timer here */\r
- Q931StartTimer(pTrunk, callIndex, 303);\r
+ Q931StartTimer(pTrunk, callIndex, Q931_TIMER_T303);\r
}\r
if (iFrom == 4) {\r
/* TODO Add proc here*/\r
/* TODO chack against state table for illegal or unexpected message here*/
/* TODO - Set correct timer here */
- Q931StartTimer(pTrunk, callIndex, 303);
+ Q931StartTimer(pTrunk, callIndex, Q931_TIMER_T303);
}
if (iFrom == 4) {
/* TODO Add proc here*/
/* TODO chack against state table for illegal or unexpected message here*/
/* TODO - Set correct timer here */
- Q931StartTimer(pTrunk, callIndex, 303);
+ Q931StartTimer(pTrunk, callIndex, Q931_TIMER_T303);
}
if (iFrom == 4) {
/* TODO Add proc here*/
return ret;
/* Reset 4 sec timer. */
- Q931StartTimer(pTrunk, callIndex, 303);
+ Q931StartTimer(pTrunk, callIndex, Q931_TIMER_T303);
if (iFrom == 4) {
ret = Q931Tx32Data(pTrunk, 0, buf, pMes->Size);
}
/* TODO chack against state table for illegal or unexpected message here*/
/* TODO - Set correct timer here */
- Q931StartTimer(pTrunk, callIndex, 303);
+ Q931StartTimer(pTrunk, callIndex, Q931_TIMER_T303);
if (iFrom == 4) {
/* TODO Add proc here */
ret = Q931Tx32Data(pTrunk, 0, buf, pMes->Size);
/* TODO chack against state table for illegal or unexpected message here*/
/* TODO - Set correct timer here */
- Q931StartTimer(pTrunk, callIndex, 303);
+ Q931StartTimer(pTrunk, callIndex, Q931_TIMER_T303);
if (iFrom == 4) {
/* TODO Add proc here */
ret = Q931Tx32Data(pTrunk, 0, buf, pMes->Size);
/* TODO chack against state table for illegal or unexpected message here*/
/* TODO - Set correct timer here */
- Q931StartTimer(pTrunk, callIndex, 303);
+ Q931StartTimer(pTrunk, callIndex, Q931_TIMER_T303);
if (iFrom == 4) {
/* TODO Add proc here */
ret = Q931Tx32Data(pTrunk, 0, buf, pMes->Size);
/* TODO chack against state table for illegal or unexpected message here*/
/* TODO - Set correct timer here */
- Q931StartTimer(pTrunk, callIndex, 303);
+ Q931StartTimer(pTrunk, callIndex, Q931_TIMER_T303);
if (iFrom == 4) {
/* TODO Add proc here */
ret = Q931Tx32Data(pTrunk, 0, buf, pMes->Size);
if (ret)
return ret;
- Q931StartTimer(pTrunk, callIndex, 303);
+ Q931StartTimer(pTrunk, callIndex, Q931_TIMER_T303);
Q931SetState(pTrunk, callIndex, Q931_U1);
}
/* incoming call */
/* TODO: Unreachable code??? */
/* Set state U6 */
Q931SetState(pTrunk, callIndex, Q931_U6);
- Q931StartTimer(pTrunk, callIndex, 303);
+ Q931StartTimer(pTrunk, callIndex, Q931_TIMER_T303);
#endif
}
/* TODO chack against state table for illegal or unexpected message here*/
/* TODO - Set correct timer here */
- Q931StartTimer(pTrunk, callIndex, 303);
+ Q931StartTimer(pTrunk, callIndex, Q931_TIMER_T303);
if (iFrom == 4) {
/* TODO Add proc here */
ret = Q931Tx32Data(pTrunk, 0, buf, pMes->Size);
/* TODO chack against state table for illegal or unexpected message here */
/* TODO - Set correct timer here */
- Q931StartTimer(pTrunk, callIndex, 303);
+ Q931StartTimer(pTrunk, callIndex, Q931_TIMER_T303);
if (iFrom == 4) {
/* TODO Add proc here */
ret = Q931Tx32Data(pTrunk, 0, buf, pMes->Size);
/* TODO chack against state table for illegal or unexpected message here*/
/* TODO - Set correct timer here */
- Q931StartTimer(pTrunk, callIndex, 303);
+ Q931StartTimer(pTrunk, callIndex, Q931_TIMER_T303);
if (iFrom == 4) {
/* TODO Add proc here */
ret = Q931Tx32Data(pTrunk, 0, buf, pMes->Size);
/* TODO chack against state table for illegal or unexpected message here*/
/* TODO - Set correct timer here */
- Q931StartTimer(pTrunk, callIndex, 303);
+ Q931StartTimer(pTrunk, callIndex, Q931_TIMER_T303);
if (iFrom == 4) {
/* TODO Add proc here */
ret = Q931Tx32Data(pTrunk, 0, buf, pMes->Size);
/* TODO chack against state table for illegal or unexpected message here*/
/* TODO - Set correct timer here */
- Q931StartTimer(pTrunk, callIndex, 303);
+ Q931StartTimer(pTrunk, callIndex, Q931_TIMER_T303);
if (iFrom == 4) {
/* TODO Add proc here */
ret = Q931Tx32Data(pTrunk, 0, buf, pMes->Size);
/* TODO chack against state table for illegal or unexpected message here*/
/* TODO - Set correct timer here */
- Q931StartTimer(pTrunk, callIndex, 303);
+ Q931StartTimer(pTrunk, callIndex, Q931_TIMER_T303);
if (iFrom == 4) {
/* TODO Add proc here */
ret = Q931Tx32Data(pTrunk, 0, buf, pMes->Size);
/* TODO chack against state table for illegal or unexpected message here*/
/* TODO - Set correct timer here */
- Q931StartTimer(pTrunk, callIndex, 303);
+ Q931StartTimer(pTrunk, callIndex, Q931_TIMER_T303);
if (iFrom == 4) {
/* TODO Add proc here */
ret = Q931Tx32Data(pTrunk, 0, buf, pMes->Size);
/* TODO chack against state table for illegal or unexpected message here*/
/* TODO - Set correct timer here */
- Q931StartTimer(pTrunk, callIndex, 303);
+ Q931StartTimer(pTrunk, callIndex, Q931_TIMER_T303);
if (iFrom == 4) {
/* TODO Add proc here */
ret = Q931Tx32Data(pTrunk, 0, buf, pMes->Size);
/* TODO chack against state table for illegal or unexpected message here*/
/* TODO - Set correct timer here */
- Q931StartTimer(pTrunk, callIndex, 303);
+ Q931StartTimer(pTrunk, callIndex, Q931_TIMER_T303);
if (iFrom == 4) {
/* TODO Add proc here */
ret = Q931Tx32Data(pTrunk, 0, buf, pMes->Size);
/* TODO chack against state table for illegal or unexpected message here*/
/* TODO - Set correct timer here */
- Q931StartTimer(pTrunk, callIndex, 303);
+ Q931StartTimer(pTrunk, callIndex, Q931_TIMER_T303);
if (iFrom == 4) {
/* TODO Add proc here */
ret = Q931Tx32Data(pTrunk, 0, buf, pMes->Size);
/* TODO chack against state table for illegal or unexpected message here*/
/* TODO - Set correct timer here */
- Q931StartTimer(pTrunk, callIndex, 303);
+ Q931StartTimer(pTrunk, callIndex, Q931_TIMER_T303);
if (iFrom == 4) {
/* TODO Add proc here */
ret = Q931Tx32Data(pTrunk, 0, buf, pMes->Size);
/* TODO chack against state table for illegal or unexpected message here*/
/* TODO - Set correct timer here */
- Q931StartTimer(pTrunk, callIndex, 303);
+ Q931StartTimer(pTrunk, callIndex, Q931_TIMER_T303);
if (iFrom == 4) {
/* TODO Add proc here */
ret = Q931Tx32Data(pTrunk, 0, buf, pMes->Size);
/* TODO chack against state table for illegal or unexpected message here*/
/* TODO - Set correct timer here */
- Q931StartTimer(pTrunk, callIndex, 303);
+ Q931StartTimer(pTrunk, callIndex, Q931_TIMER_T303);
if (iFrom == 4) {
/* TODO Add proc here */
ret = Q931Tx32Data(pTrunk, 0, buf, pMes->Size);
/* TODO chack against state table for illegal or unexpected message here*/
/* TODO - Set correct timer here */
- Q931StartTimer(pTrunk, callIndex, 303);
+ Q931StartTimer(pTrunk, callIndex, Q931_TIMER_T303);
if (iFrom == 4) {
/* TODO Add proc here */
ret = Q931Tx32Data(pTrunk, 0, buf, pMes->Size);
/* TODO chack against state table for illegal or unexpected message here*/
/* TODO - Set correct timer here */
- Q931StartTimer(pTrunk, callIndex, 303);
+ Q931StartTimer(pTrunk, callIndex, Q931_TIMER_T303);
if (iFrom == 4) {
/* TODO Add proc here */
ret = Q931Tx32Data(pTrunk, 0, buf, pMes->Size);
/* TODO chack against state table for illegal or unexpected message here*/
/* TODO - Set correct timer here */
- Q931StartTimer(pTrunk, callIndex, 303);
+ Q931StartTimer(pTrunk, callIndex, Q931_TIMER_T303);
if (iFrom == 4) {
/* TODO Add proc here */
ret = Q931Tx32Data(pTrunk, 0, buf, pMes->Size);
/* TODO chack against state table for illegal or unexpected message here*/
/* TODO - Set correct timer here */
- Q931StartTimer(pTrunk, callIndex, 303);
+ Q931StartTimer(pTrunk, callIndex, Q931_TIMER_T303);
if (iFrom == 4) {
/* TODO Add proc here */
ret = Q931Tx32Data(pTrunk, 0, buf, pMes->Size);
/* TODO chack against state table for illegal or unexpected message here*/
/* TODO - Set correct timer here */
- Q931StartTimer(pTrunk, callIndex, 303);
+ Q931StartTimer(pTrunk, callIndex, Q931_TIMER_T303);
if (iFrom == 4) {
/* TODO Add proc here */
ret = Q931Tx32Data(pTrunk, 0, buf, pMes->Size);
/* TODO chack against state table for illegal or unexpected message here*/
/* TODO - Set correct timer here */
- Q931StartTimer(pTrunk, callIndex, 303);
+ Q931StartTimer(pTrunk, callIndex, Q931_TIMER_T303);
if (iFrom == 4) {
/* TODO Add proc here */
ret = Q931Tx32Data(pTrunk, 0, buf, pMes->Size);
/* TODO chack against state table for illegal or unexpected message here*/
/* TODO - Set correct timer here */
- Q931StartTimer(pTrunk, callIndex, 303);
+ Q931StartTimer(pTrunk, callIndex, Q931_TIMER_T303);
if (iFrom == 4) {
/* TODO Add proc here */
ret = Q931Tx32Data(pTrunk, 0, buf, pMes->Size);
/* TODO chack against state table for illegal or unexpected message here*/
/* TODO - Set correct timer here */
- Q931StartTimer(pTrunk, callIndex, 303);
+ Q931StartTimer(pTrunk, callIndex, Q931_TIMER_T303);
if (iFrom == 4) {
/* TODO Add proc here */
ret = Q931Tx32Data(pTrunk, 0, buf, pMes->Size);
/* TODO chack against state table for illegal or unexpected message here*/
/* TODO - Set correct timer here */
- Q931StartTimer(pTrunk, callIndex, 303);
+ Q931StartTimer(pTrunk, callIndex, Q931_TIMER_T303);
if (iFrom == 4) {
/* TODO Add proc here */
ret = Q931Tx32Data(pTrunk, 0, buf, pMes->Size);
/* TODO chack against state table for illegal or unexpected message here*/
/* TODO - Set correct timer here */
- Q931StartTimer(pTrunk, callIndex, 303);
+ Q931StartTimer(pTrunk, callIndex, Q931_TIMER_T303);
if (iFrom == 4) {
/* TODO Add proc here */
ret = Q931Tx32Data(pTrunk, 0, buf, pMes->Size);
/* TODO chack against state table for illegal or unexpected message here*/
/* TODO - Set correct timer here */
- Q931StartTimer(pTrunk, callIndex, 303);
+ Q931StartTimer(pTrunk, callIndex, Q931_TIMER_T303);
if (iFrom == 4) {
/* TODO Add proc here */
ret = Q931Tx32Data(pTrunk, 0, buf, pMes->Size);
/* TODO chack against state table for illegal or unexpected message here*/
/* TODO - Set correct timer here */
- Q931StartTimer(pTrunk, callIndex, 303);
+ Q931StartTimer(pTrunk, callIndex, Q931_TIMER_T303);
if (iFrom == 4) {
/* TODO Add proc here */
ret = Q931Tx32Data(pTrunk, 0, buf, pMes->Size);
/* TODO chack against state table for illegal or unexpected message here*/
/* TODO - Set correct timer here */
- Q931StartTimer(pTrunk, callIndex, 303);
+ Q931StartTimer(pTrunk, callIndex, Q931_TIMER_T303);
if (iFrom == 4) {
/* TODO Add proc here */
ret = Q931Tx32Data(pTrunk, 0, buf, pMes->Size);
/* TODO chack against state table for illegal or unexpected message here*/
/* TODO - Set correct timer here */
- Q931StartTimer(pTrunk, callIndex, 303);
+ Q931StartTimer(pTrunk, callIndex, Q931_TIMER_T303);
if (iFrom == 4) {
/* TODO Add proc here */
ret = Q931Tx32Data(pTrunk, 0, buf, pMes->Size);
return ret;
/* Reset 4 sec timer. */
- Q931StartTimer(pTrunk, callIndex, 303);
+ Q931StartTimer(pTrunk, callIndex, Q931_TIMER_T303);
if (iFrom == 4) {
ret = Q931Tx32Data(pTrunk, 0, buf, pMes->Size);
}
/* TODO chack against state table for illegal or unexpected message here */
/* TODO - Set correct timer here */
- Q931StartTimer(pTrunk, callIndex, 303);
+ Q931StartTimer(pTrunk, callIndex, Q931_TIMER_T303);
if (iFrom == 4) {
/* TODO Add proc here */
ret = Q931Tx32Data(pTrunk, 0, buf, pMes->Size);
/* TODO chack against state table for illegal or unexpected message here */
/* TODO - Set correct timer here */
- Q931StartTimer(pTrunk, callIndex, 303);
+ Q931StartTimer(pTrunk, callIndex, Q931_TIMER_T303);
if (iFrom ==4) {
/* TODO Add proc here */
ret = Q931Tx32Data(pTrunk, 0, buf, pMes->Size);
/* TODO chack against state table for illegal or unexpected message here */
/* TODO - Set correct timer here */
- Q931StartTimer(pTrunk, callIndex, 303);
+ Q931StartTimer(pTrunk, callIndex, Q931_TIMER_T303);
if (iFrom ==4) {
/* TODO Add proc here */
ret = Q931Tx32Data(pTrunk, 0, buf, pMes->Size);
/* TODO chack against state table for illegal or unexpected message here */
/* TODO - Set correct timer here */
- Q931StartTimer(pTrunk, callIndex, 303);
+ Q931StartTimer(pTrunk, callIndex, Q931_TIMER_T303);
if (iFrom ==4) {
/* TODO Add proc here */
ret = Q931Tx32Data(pTrunk, 0, buf, pMes->Size);
if (ret)
return ret;
- Q931StartTimer(pTrunk, callIndex, 303);
+ Q931StartTimer(pTrunk, callIndex, Q931_TIMER_T303);
/* TODO: Add this back when we get the state stuff more filled out */
/*Q931SetState(pTrunk, callIndex, Q931_U1);*/
/* Set state U6 */
Q931SetState(pTrunk, callIndex, Q931_U6);
- Q931StartTimer(pTrunk, callIndex, 303);
+ Q931StartTimer(pTrunk, callIndex, Q931_TIMER_T303);
#endif
}
return rc;
if (ret != Q931E_NO_ERROR)
return ret;
- Q931StartTimer(pTrunk, callIndex, 303);
+ Q931StartTimer(pTrunk, callIndex, Q931_TIMER_T303);
if (iFrom ==4) {
ret = Q931Tx32Data(pTrunk, 0, buf, pMes->Size);
}
else if (iFrom == 2) {
- Q931StartTimer(pTrunk, callIndex, 303);
+ Q931StartTimer(pTrunk, callIndex, Q931_TIMER_T303);
}
return ret;
}
return ret;
/* Start timer T318 */
- Q931StartTimer(pTrunk, callIndex, 318);
+ Q931StartTimer(pTrunk, callIndex, Q931_TIMER_T318);
/* set state U17 */
Q931SetState(pTrunk, callIndex, Q931_U17);
/* TODO chack against state table for illegal or unexpected message here */
/* TODO - Set correct timer here */
- Q931StartTimer(pTrunk, callIndex, 303);
+ Q931StartTimer(pTrunk, callIndex, Q931_TIMER_T303);
if (iFrom ==4) {
/* TODO Add proc here */
ret = Q931Tx32Data(pTrunk, 0, buf, pMes->Size);
/* TODO chack against state table for illegal or unexpected message here */
/* TODO - Set correct timer here */
- Q931StartTimer(pTrunk, callIndex, 303);
+ Q931StartTimer(pTrunk, callIndex, Q931_TIMER_T303);
if (iFrom ==4) {
/* TODO Add proc here */
ret = Q931Tx32Data(pTrunk, 0, buf, pMes->Size);
/* TODO chack against state table for illegal or unexpected message here */
/* TODO - Set correct timer here */
- Q931StartTimer(pTrunk, callIndex, 303);
+ Q931StartTimer(pTrunk, callIndex, Q931_TIMER_T303);
if (iFrom ==4) {
/* TODO Add proc here */
ret = Q931Tx32Data(pTrunk, 0, buf, pMes->Size);
/* TODO chack against state table for illegal or unexpected message here */
/* TODO - Set correct timer here */
- Q931StartTimer(pTrunk, callIndex, 303);
+ Q931StartTimer(pTrunk, callIndex, Q931_TIMER_T303);
if (iFrom ==4) {
/* TODO Add proc here */
ret = Q931Tx32Data(pTrunk, 0, buf, pMes->Size);
/* TODO chack against state table for illegal or unexpected message here */
/* TODO - Set correct timer here */
- Q931StartTimer(pTrunk, callIndex, 303);
+ Q931StartTimer(pTrunk, callIndex, Q931_TIMER_T303);
if (iFrom ==4) {
/* TODO Add proc here */
ret = Q931Tx32Data(pTrunk, 0, buf, pMes->Size);
/* TODO chack against state table for illegal or unexpected message here */
/* TODO - Set correct timer here */
- Q931StartTimer(pTrunk, callIndex, 303);
+ Q931StartTimer(pTrunk, callIndex, Q931_TIMER_T303);
if (iFrom ==4) {
/* TODO Add proc here */
ret = Q931Tx32Data(pTrunk, 0, buf, pMes->Size);
/* TODO chack against state table for illegal or unexpected message here */
/* TODO - Set correct timer here */
- Q931StartTimer(pTrunk, callIndex, 303);
+ Q931StartTimer(pTrunk, callIndex, Q931_TIMER_T303);
if (iFrom ==4) {
/* TODO Add proc here */
ret = Q931Tx32Data(pTrunk, 0, buf, pMes->Size);
return ret;
/* TODO - Set correct timer here */
- Q931StartTimer(pTrunk, callIndex, 303);
+ Q931StartTimer(pTrunk, callIndex, Q931_TIMER_T303);
}
/* TODO chack against state table for illegal or unexpected message here */
if (ret != Q931E_NO_ERROR)
return ret;
/* TODO - Set correct timer here */
- Q931StartTimer(pTrunk, callIndex, 303);
+ Q931StartTimer(pTrunk, callIndex, Q931_TIMER_T303);
}
/* TODO chack against state table for illegal or unexpected message here */
/* TODO chack against state table for illegal or unexpected message here */
/* TODO - Set correct timer here */
- Q931StartTimer(pTrunk, callIndex, 303);
+ Q931StartTimer(pTrunk, callIndex, Q931_TIMER_T303);
if (iFrom ==4) {
/* TODO Add proc here */
ret = Q931Tx32Data(pTrunk, 0, buf, pMes->Size);
/* TODO chack against state table for illegal or unexpected message here */
/* TODO - Set correct timer here */
- Q931StartTimer(pTrunk, callIndex, 303);
+ Q931StartTimer(pTrunk, callIndex, Q931_TIMER_T303);
if (iFrom ==4) {
/* TODO Add proc here */
ret = Q931Tx32Data(pTrunk, 0, buf, pMes->Size);
/* TODO chack against state table for illegal or unexpected message here */
/* TODO - Set correct timer here */
- Q931StartTimer(pTrunk, callIndex, 303);
+ Q931StartTimer(pTrunk, callIndex, Q931_TIMER_T303);
if (iFrom ==4) {
/* TODO Add proc here */
ret = Q931Tx32Data(pTrunk, 0, buf, pMes->Size);
/* TODO chack against state table for illegal or unexpected message here */
/* TODO - Set correct timer here */
- Q931StartTimer(pTrunk, callIndex, 303);
+ Q931StartTimer(pTrunk, callIndex, Q931_TIMER_T303);
if (iFrom ==4) {
/* TODO Add proc here */
ret = Q931Tx32Data(pTrunk, 0, buf, pMes->Size);
/* TODO chack against state table for illegal or unexpected message here */
/* TODO - Set correct timer here */
- Q931StartTimer(pTrunk, callIndex, 303);
+ Q931StartTimer(pTrunk, callIndex, Q931_TIMER_T303);
if (iFrom ==4) {
/* TODO Add proc here */
ret = Q931Tx32Data(pTrunk, 0, buf, pMes->Size);
/* TODO chack against state table for illegal or unexpected message here */
/* TODO - Set correct timer here */
- Q931StartTimer(pTrunk, callIndex, 303);
+ Q931StartTimer(pTrunk, callIndex, Q931_TIMER_T303);
if (iFrom ==4) {
/* TODO Add proc here */
ret = Q931Tx32Data(pTrunk, 0, buf, pMes->Size);
/* TODO chack against state table for illegal or unexpected message here */
/* TODO - Set correct timer here */
- Q931StartTimer(pTrunk, callIndex, 303);
+ Q931StartTimer(pTrunk, callIndex, Q931_TIMER_T303);
if (iFrom ==4) {
/* TODO Add proc here */
ret = Q931Tx32Data(pTrunk, 0, buf, pMes->Size);
/* TODO chack against state table for illegal or unexpected message here */
/* TODO - Set correct timer here */
- Q931StartTimer(pTrunk, callIndex, 303);
+ Q931StartTimer(pTrunk, callIndex, Q931_TIMER_T303);
if (iFrom ==4) {
/* TODO Add proc here */
ret = Q931Tx32Data(pTrunk, 0, buf, pMes->Size);
/* TODO chack against state table for illegal or unexpected message here */
/* TODO - Set correct timer here */
- Q931StartTimer(pTrunk, callIndex, 303);
+ Q931StartTimer(pTrunk, callIndex, Q931_TIMER_T303);
if (iFrom ==4) {
/* TODO Add proc here */
ret = Q931Tx32Data(pTrunk, 0, buf, pMes->Size);
/* TODO chack against state table for illegal or unexpected message here */
/* TODO - Set correct timer here */
- Q931StartTimer(pTrunk, callIndex, 303);
+ Q931StartTimer(pTrunk, callIndex, Q931_TIMER_T303);
if (iFrom ==4) {
/* TODO Add proc here */
ret = Q931Tx32Data(pTrunk, 0, buf, pMes->Size);
/* TODO chack against state table for illegal or unexpected message here */
/* TODO - Set correct timer here */
- Q931StartTimer(pTrunk, callIndex, 303);
+ Q931StartTimer(pTrunk, callIndex, Q931_TIMER_T303);
if (iFrom ==4) {
/* TODO Add proc here */
ret = Q931Tx32Data(pTrunk, 0, buf, pMes->Size);
/* TODO chack against state table for illegal or unexpected message here */
/* TODO - Set correct timer here */
- Q931StartTimer(pTrunk, callIndex, 303);
+ Q931StartTimer(pTrunk, callIndex, Q931_TIMER_T303);
if (iFrom ==4) {
/* TODO Add proc here */
ret = Q931Tx32Data(pTrunk, 0, buf, pMes->Size);
/* TODO chack against state table for illegal or unexpected message here */
/* TODO - Set correct timer here */
- Q931StartTimer(pTrunk, callIndex, 303);
+ Q931StartTimer(pTrunk, callIndex, Q931_TIMER_T303);
if (iFrom ==4) {
/* TODO Add proc here */
ret = Q931Tx32Data(pTrunk, 0, buf, pMes->Size);
/* TODO chack against state table for illegal or unexpected message here */
/* TODO - Set correct timer here */
- Q931StartTimer(pTrunk, callIndex, 303);
+ Q931StartTimer(pTrunk, callIndex, Q931_TIMER_T303);
if (iFrom ==4) {
/* TODO Add proc here */
ret = Q931Tx32Data(pTrunk, 0, buf, pMes->Size);
Q931Uie[dialect][iec] = Q931UieProc;
}
-void Q931SetTimeoutProc(L3UCHAR timer, L3UCHAR dialect, q931timeout_func_t *Q931TimeoutProc)
+void Q931SetTimeoutProc(L3UCHAR dialect, L3UCHAR timer, q931timeout_func_t *Q931TimeoutProc)
{
if(Q931Timeout != NULL)
Q931Timeout[dialect][timer] = Q931TimeoutProc;
}
-void Q931SetTimerDefault(L3UCHAR timer, L3UCHAR dialect, q931timer_t timeout)
+void Q931SetTimerDefault(L3UCHAR dialect, L3UCHAR timer, q931timer_t timeout)
{
Q931Timer[dialect][timer] = timeout;
}
void Q931SetMesProc(L3UCHAR mes, L3UCHAR dialect, q931proc_func_t *Q931ProcFunc, q931umes_func_t *Q931UmesFunc, q931pmes_func_t *Q931PmesFunc);
void Q931SetIEProc(L3UCHAR iec, L3UCHAR dialect, q931pie_func_t *Q931PieProc, q931uie_func_t *Q931UieProc);
-void Q931SetTimeoutProc(L3UCHAR timer, L3UCHAR dialect, q931timeout_func_t *Q931TimeoutProc);
-void Q931SetTimerDefault(L3UCHAR timer, L3UCHAR dialect, q931timer_t timeout);
+void Q931SetTimeoutProc(L3UCHAR dialect, L3UCHAR timer, q931timeout_func_t *Q931TimeoutProc);
+void Q931SetTimerDefault(L3UCHAR dialect, L3UCHAR timer, q931timer_t timeout);
void Q931Initialize(void);
void Q931AddDialect(L3UCHAR iDialect, void (*Q931CreateDialectCB)(L3UCHAR iDialect));