mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-03 11:50:29 +00:00
use Q931Uie_GenericDigits for national isdn setup message parser.
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@173 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
parent
0d489b1a52
commit
620c9f5833
@ -89,6 +89,7 @@ L3INT nationalUmes_Setup(Q931_TrunkInfo_t *pTrunk, L3UCHAR *IBuf, Q931mes_Generi
|
|||||||
case Q931ie_TRANSIT_NETWORK_SELECTION:
|
case Q931ie_TRANSIT_NETWORK_SELECTION:
|
||||||
case Q931ie_LOW_LAYER_COMPATIBILITY:
|
case Q931ie_LOW_LAYER_COMPATIBILITY:
|
||||||
case Q931ie_HIGH_LAYER_COMPATIBILITY:
|
case Q931ie_HIGH_LAYER_COMPATIBILITY:
|
||||||
|
case Q931ie_GENERIC_DIGITS:
|
||||||
rc = Q931Uie[pTrunk->Dialect][IBuf[IOff]](pTrunk, mes, &IBuf[IOff], &mes->buf[OOff], &IOff, &OOff);
|
rc = Q931Uie[pTrunk->Dialect][IBuf[IOff]](pTrunk, mes, &IBuf[IOff], &mes->buf[OOff], &IOff, &OOff);
|
||||||
if(rc != Q931E_NO_ERROR)
|
if(rc != Q931E_NO_ERROR)
|
||||||
return rc;
|
return rc;
|
||||||
@ -101,10 +102,6 @@ L3INT nationalUmes_Setup(Q931_TrunkInfo_t *pTrunk, L3UCHAR *IBuf, Q931mes_Generi
|
|||||||
return Q931E_ILLEGAL_IE;
|
return Q931E_ILLEGAL_IE;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case Q931ie_GENERIC_DIGITS:
|
|
||||||
/* TODO: Implement this ie */
|
|
||||||
IOff = IOff + 4;
|
|
||||||
break;
|
|
||||||
default:
|
default:
|
||||||
return Q931E_ILLEGAL_IE;
|
return Q931E_ILLEGAL_IE;
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user