summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2013-08-27map_helper: We now ned the string of the type, not an atomHEADmasterHarald Welte1-37/+37
... in order to concatenate prefix + Arg/Res before using list_to_atom().
2013-07-14map_helper: fix typo / copy+paste errorHarald Welte1-2/+2
2013-07-14fix syntax errorHarald Welte1-1/+1
2013-07-14add map_operations.hrl as well as rec4op/class4op/timer4opHarald Welte2-1/+209
2013-01-26map_codec_tests: Adapt to new xua_codec based m2ua_codecHarald Welte1-1/+1
2012-05-28add more tcap related helper functionsHarald Welte1-0/+45
2012-04-16add Erlang Public License compatibility noticeHarald Welte3-0/+42
2012-02-25Corrected bogus module identifier number.Norbert Hartl1-1/+1
The current one cannot be resolved. This issue was introduced in the version9 to version12 upgrade in git revision b61d0bc6637f6293f7c1e62321894ded44265f60. Signed-off-by: Holger Hans Peter Freyther <zecke@selfish.org>
2012-02-21add missing modulesHarald Welte3-0/+403
2012-02-21remove map_as_server and make module compile againHarald Welte2-123/+4
2012-02-02add new map utility functiosn and a skeleton AS serverHarald Welte2-0/+241
2012-02-02map_codec: export more functionsHarald Welte1-0/+1
2012-02-02add a map-only decoder without TCAPHarald Welte1-0/+30
2011-12-10add 'tcap_helper' module for unit testing or shell useHarald Welte2-1/+123
This module permits simple generation of common TCAP messages.
2011-12-10make sure tcap_asn module contains TR/dialogue portion, tooHarald Welte2-0/+62
2011-12-09Add separate TCAP decoder that is not linked to MAPHarald Welte3-1/+103
this way we can parse only the TCAP layer into dialogue portion and component portion, but without actually parsing those.
2011-11-12update gitignoreHarald Welte1-0/+5
2011-11-11rebar: use eunit_surefireHarald Welte1-0/+1
2011-04-16MAP: Fix-up after asn1ct automatic 1990->1994 EXTERNAL conversionHarald Welte2-6/+27
So what the Erlang asn1ct does is: Decode the incoming EXTERNAL type, convert it to the 1994 format and hand it to the user program. The encoder is opposite: Take what the user supplies (in our case 1994) and then transform it to 1990 before handing it to the actual encoder function. The only problem is: The 1994 format does only support OCTET STRING as actual embedded data type, whereas the 1990 format can also indicate 'singla-asn1-type', i.e. a constructed type. So since that information is already lost before we ever get the record from the Erlang asn1 decoder, it will be re-encoded as OCTET STRING :( Until this is fixed in the asn1ct/asn1rt code, we have to use this workaround...
2011-04-13include contracts and operation packages in .set.asn1Harald Welte1-0/+2
2011-04-13fix typoHarald Welte1-1/+1
2011-04-13Add manually generated MAP-Contracts packageHarald Welte1-0/+115
This is a non-standard MAP package creating ROSE CONTRACT information object class instances which will later be used by TCAP APPLICATION-CONTEXT information object classes that in turn will formally associate the OPERATION-PACKAGES with the application context names.
2011-04-13Add manually-created ASN.1 file with MAP Operation PackagesHarald Welte1-0/+502
It sems both ETSI and 3GPP violate their own 09.02 / 29.002 specification by not shipping the MAP-OperationPackages module the specification mentions.
2011-04-06eunit: make test case comply with new MAP codecHarald Welte1-1/+1
2011-03-26MAP ASN.1: Add noteSubscriberPresent (from MAP-v1)Harald Welte3-1/+22
2011-03-26MAP Protocol: Include SS Operations in supported MAP operationsHarald Welte1-1/+10
Otherwise, decoding stuff like lcs-MOLR will fail
2011-03-26MAP ASN1 Workaround: reportSM-DeliveryStatus without DeliveryOutcomeHarald Welte1-1/+3
Some MSC apparently don't send this non-OPTIONAL parameter
2011-03-26Update MAP specification from version9 to version12Harald Welte29-304/+2326
Except from whitespace differences, this is what wireshark svn uses.
2011-03-12MAP codec test: Always try to re-encode and assert verbously in case of errorHarald Welte1-15/+56
2011-03-11Add MAP codec PCAP based testingHarald Welte2-2/+51
You need to provide your own ./priv/map.pcap file to run the test. Results from a real SIGTRAN link: test/map_codec_tests.erl:49: PCAP: 191.795 s test/map_codec_tests.erl:50: Parsed 807605 PCAP packets
2011-03-08add eunit tests for map codecHarald Welte1-0/+34
2011-02-10MAP Codec: Remove last remnance of ISUP OddEvenHarald Welte1-1/+1
2011-02-10MAP Codec: Use our own TBCD / address encoding/decoding routinesHarald Welte1-2/+42
The ISUP routines are used to the OddEven bit, which MAP doesn't have.
2011-02-10Work around bug in HLR sending invalid CamelCapabilityHandling=0Harald Welte1-1/+2
2011-02-10map_masq is part of mgw_nat, not osmo_mapHarald Welte1-290/+0
2011-02-10add EmakefileHarald Welte1-0/+1
2011-02-10introcue new MAP translation codeHarald Welte1-0/+290
2011-02-09don't explicitly specify type in encode_map_msg()Harald Welte1-3/+3
2011-02-09use asn1ct/asn1rc in 'ber list' mode, as 'ber binary' mode has bugsHarald Welte2-3/+11
When trying to asn1rt:encode() the DialoguePortion in ber_bin mode, we get something like 2> asn1rt:encode('MAP', 'MapSpecificPDUs', {'begin', Msg}). {error,{asn1,{function_clause,[{asn1rt_check,transform_to_EXTERNAL1990, [[<<96,15,128,2,7,128,161,9,6,7,4,0,0,1,0,5,3>>], [asn1_NOVALUE,asn1_NOVALUE,{0,0,17,773,1,1,1},'EXTERNAL']]}, {'MAP',enc_EXTERNAL,2}, {'MAP',enc_MapSpecificPDUs_begin,2}, {'MAP',enc_MapSpecificPDUs,2}, {'MAP',encode,2}, {asn1rt,encode,3}, {erl_eval,do_apply,5}, {shell,exprs,7}]}}}
2011-02-09map codec: make sure to encode an AddressString to a list, not binaryHarald Welte1-1/+2
2011-02-09MAP codec: Add functions to encode/decode MAP Address-StringHarald Welte1-1/+47
2011-02-09add .gitignore fileHarald Welte1-0/+4
2011-02-09app file: remove unneeded 'mod' lineHarald Welte1-1/+0
2011-02-09Make sure we use the ber_bin option for asn1ctHarald Welte1-0/+1
2011-02-09add map_codec wrapper module to be consistent with isup/sccp and other codeHarald Welte2-1/+37
2011-02-07osmo_er_map -> osmo_mapHarald Welte1-1/+1
2011-02-07add erlang MAP code (from OTP)Harald Welte42-0/+9859