aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/test/h323test.erl
diff options
context:
space:
mode:
Diffstat (limited to 'lib/asn1/test/h323test.erl')
-rw-r--r--lib/asn1/test/h323test.erl6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/asn1/test/h323test.erl b/lib/asn1/test/h323test.erl
index 426ae16994..dfc1173d68 100644
--- a/lib/asn1/test/h323test.erl
+++ b/lib/asn1/test/h323test.erl
@@ -28,6 +28,7 @@ run(_Rules) -> ok.
run() ->
alerting(),
connect(),
+ general_string(),
ok.
dec_alerting() ->
@@ -59,6 +60,11 @@ connect() ->
ByteList = lists:flatten(B),
{ok,V} = asn1_wrapper:decode('H323-MESSAGES','H323-UserInformation',ByteList).
+general_string() ->
+ Type = 'MultimediaSystemControlMessage',
+ UI = <<109,64,1,57>>,
+ {ok, _V} = 'MULTIMEDIA-SYSTEM-CONTROL':decode(Type, UI).
+
hexstr2bytes([D1,D2|T]) ->
[dig2num(D1)*16+dig2num(D2)|hexstr2bytes(T)];
hexstr2bytes([]) ->