ISUP codec: Add support for some 'national use' messages

This commit is contained in:
Harald Welte 2011-04-14 11:42:30 +02:00
parent 2da7a85521
commit 2695c3bc17
1 changed files with 12 additions and 0 deletions

View File

@ -207,6 +207,12 @@ parse_isup_msgt(M, <<>>) when
M == ?ISUP_MSGT_UBL;
M == ?ISUP_MSGT_UBA ->
[];
% Table 39/Q.763 messages for national use, fixed length 1 byte msgtype
parse_isup_msgt(M, <<>>) when
M == ?ISUP_MSGT_LPA;
M == ?ISUP_MSGT_OLM;
M == ?ISUP_MSGT_UCIC ->
[];
% Table C-25
parse_isup_msgt(M, Bin) when
M == ?ISUP_MSGT_CGB;
@ -437,6 +443,12 @@ encode_isup_msgt(M, #isup_msg{}) when
M == ?ISUP_MSGT_UBL;
M == ?ISUP_MSGT_UBA ->
<<>>;
% Table 39/Q.763 (national use)
encode_isup_msgt(M, #isup_msg{}) when
M == ?ISUP_MSGT_LPA;
M == ?ISUP_MSGT_OLM;
M == ?ISUP_MSGT_UCIC ->
<<>>;
% Table C-25
encode_isup_msgt(M, #isup_msg{parameters = Params}) when
M == ?ISUP_MSGT_CGB;