Commit Graph

290 Commits

Author SHA1 Message Date
Harald Welte e15005e1fb SCCP: more cause values 2011-10-09 14:12:53 +02:00
Harald Welte 56c6c04f62 sccp_scrc: Add some more comments 2011-10-09 10:12:19 +02:00
Harald Welte ed338daa87 M2UA: add some more parameter type definitions 2011-04-21 12:20:36 +02:00
Harald Welte 9abbbade02 SCCP: move is_connectionless/1 to sccp_codec 2011-04-21 12:19:41 +02:00
Harald Welte fec3d94ca9 Merge branch 'master' of git.osmocom.org:erlang/osmo_ss7 2011-04-21 12:19:21 +02:00
Harald Welte 26190136bb add missing m3ua_example.erl 2011-04-16 14:12:10 +02:00
Harald Welte 6e508b64ab GTT: reduce line length of code for 80char wide terminals 2011-04-16 14:11:05 +02:00
Harald Welte 1156577e8d SCCP: Make protocol_class proplist item a tuple of {Class, Options} 2011-04-15 10:37:57 +02:00
Harald Welte ead1ba1c8d M3UA core: add -behaviour(gen_fsm). 2011-04-15 10:20:04 +02:00
Harald Welte b6473702d5 M3UA core: add more comments 2011-04-14 22:06:42 +02:00
Harald Welte 8d0c26ed5b add m3ua_example to .app file
FIXME: this should actually go, the example is not part of the application,
so this is only a temporay hack to make rebar happy
2011-04-14 21:57:04 +02:00
Harald Welte cb1c068f93 M3UA: Properly select SCTP stream ID based on message class 2011-04-14 21:56:26 +02:00
Harald Welte a8e53355c5 SCOC: We already assigned the local reference in SCRC 2011-04-14 21:55:48 +02:00
Harald Welte 5a1cf3c851 SCCP Codec: Add some defaults for undefined fields in encoding 2011-04-14 21:55:13 +02:00
Harald Welte 30b6eb2036 SCRC: Spawn new SCOC on N-CONNECT.req + send #mtp3_msg{} via MTP-TRANSFER.req 2011-04-14 21:53:58 +02:00
Harald Welte ce070ef148 M3UA: Fill in a default message priority of 0 if 'undefined' 2011-04-14 21:52:01 +02:00
Harald Welte dcdc9c3774 MTP3: add -define() for MTP network indicators (international/national) 2011-04-14 21:51:16 +02:00
Harald Welte 84424fa88a add missing osmo_util.hrl 2011-04-14 17:28:13 +02:00
Harald Welte 2695c3bc17 ISUP codec: Add support for some 'national use' messages 2011-04-14 11:42:30 +02:00
Harald Welte 2da7a85521 GTT: Fix matching on SCCP SSN / PC 2011-04-06 17:18:13 +02:00
Harald Welte 8ff5df43b0 osmo_util: Include pointcode format conversion for ANSI, ITU and TTC 2011-04-04 21:52:52 +02:00
Harald Welte 9544cab097 M3UA: Send M-SCTP_ESTABLISH.confirm to user on connect 2011-04-04 17:03:23 +02:00
Harald Welte e393ea86ac M3UA: Actually send primitives to the user application 2011-04-04 16:00:06 +02:00
Harald Welte 0f2f596791 Move #primitive{} into osmo_util.erl/hrl 2011-04-04 15:59:49 +02:00
Harald Welte b2d3abfbb1 M3UA: Fix some compiler warnings; add code_change/4 and terminate/3 2011-04-04 11:26:11 +02:00
Harald Welte 6fc5b29c5b M3UA: Fix various state transition bugs
Also, make sure to includa a 'traffic mode type' in the ACTIVE request
2011-04-04 10:38:30 +02:00
Harald Welte 8a0ab0001c M3UA: Allow user to specify local SCTP Port number 2011-04-03 22:16:12 +02:00
Harald Welte 2cefa1c6f9 M3UA: Add eunit tests for codec 2011-04-03 01:54:32 +02:00
Harald Welte 9586f95efb MTP3: Add field where M3UA msg can store the message priority.
Normal MTP3 headers don't have this, but for the sake of consistency
we need to store the M3UA specific MP somewhere...
2011-04-03 01:43:38 +02:00
Harald Welte 0dc999f174 M3UA: Fix encoding bugs 2011-04-03 01:36:37 +02:00
Harald Welte d298d0bc35 M3UA: use byte_size/1 to determine size of binary 2011-04-03 01:17:40 +02:00
Harald Welte 7629cede6a fix PCAP test callback for non-m2ua / non-2-ppid 2011-04-03 01:14:41 +02:00
Harald Welte f2e7cb52af M3UA: Actually parse the 'Protocol Data' in a #mtp3_msg{}
This will make it easier to use MTP3 / M3UA interchangably.
2011-04-03 01:13:48 +02:00
Harald Welte 18dcab01ee M3UA codec: Handle end of options / empty binary 2011-04-03 01:01:58 +02:00
Harald Welte 3bf7cb6e62 Add M3UA implementation to Osmo SS7
The current code is not tested yet, and it has no eunit tests.
2011-04-03 00:25:34 +02:00
Harald Welte c5a102cfbb GTT: Add EUNIT test cases 2011-04-02 18:15:42 +02:00
Harald Welte 7a321dbf0d GTT: add generic 'apply' action
This GTT Action can be used to call a user-supplied callback funciton in case
a GT Match was detected.
2011-04-02 18:15:04 +02:00
Harald Welte 24a4924256 GTT: Add support to do GTT on SCCP addresses (GT + SSN + PC) 2011-04-02 17:58:04 +02:00
Harald Welte 8e7cdaf45e use exprecs on GTT records 2011-04-02 17:24:47 +02:00
Harald Welte 5272527411 add exprecs compile_transform form isup, m2ua and mtp3 2011-04-02 16:48:50 +02:00
Harald Welte 2edaf55db2 SCCP: add export_records() 2011-04-02 16:46:16 +02:00
Harald Welte 674a425ea8 Import Ulf Wiger's exprecs module
Version exprecs-0.4 from http://forum.trapexit.org/viewtopic.php?p=21790
2011-04-02 16:44:52 +02:00
Harald Welte 5ada2f6847 add osmo_ss7_gtt to app file 2011-04-02 16:44:16 +02:00
Harald Welte 1f47f67d55 Add a new GTT module for GT matching + GT translation (GTT) 2011-04-02 14:33:31 +02:00
Harald Welte 030f1091aa SCCP: Add support for UDTS encoding (and proper decoding) 2011-03-11 19:08:07 +01:00
Harald Welte eba9e2527d EPCAP: return number of processed packets 2011-03-11 18:21:53 +01:00
Harald Welte 43d134c1f9 ISUP: Add test that parses, re-encodes and compares ISUP messages
This works by putting a PCAP file to ./priv/isup.pcap
2011-03-11 17:00:16 +01:00
Harald Welte 781d98e547 ISUP codec: fix another encoding bug regarding susp_res_ind 2011-03-11 16:48:47 +01:00
Harald Welte 39eae2db77 ISUP: Fix 2 bugs in encoding of options / end of options 2011-03-11 16:46:09 +01:00
Harald Welte 2a91a01133 ISUP: Fix parsing of options + add support for CFN (confusion) message 2011-03-11 16:28:14 +01:00