Commit Graph

51 Commits

Author SHA1 Message Date
Harald Welte c36a54d063 hide all internal symbols of the library using -fvisibility=hidden 2010-07-18 01:46:34 +02:00
Harald Welte 6d68a0e5e2 fix syntax error to make autoreconf happy 2010-07-18 01:46:21 +02:00
Harald Welte c29cc7c826 tcap_test: enable talloc report on exit 2010-07-18 01:25:32 +02:00
Harald Welte 2b0e73f42a release incoming UDP msgb's after we processed them 2010-07-18 01:24:08 +02:00
Harald Welte 2631e7adcd release all formerly-pending tcap_components after sending them 2010-07-18 01:23:49 +02:00
Harald Welte d62e881f9d properly free parsed asn.1 structure before N-UNITDATA.ind completes 2010-07-18 01:13:31 +02:00
Harald Welte 6a06c081cd Fix encoding of DialoguePortion of TC-CONTINUE and TC-END 2010-07-18 01:09:24 +02:00
Harald Welte 1e2f04410b implement simplistic UDP transport for TCAP
Normally, TCAP is not spoken directly on top of UDP, however this
makes it really easy to test...
2010-07-17 21:43:00 +02:00
Harald Welte aa3011d53e L/R-REJECT primitives are component primitives and thus have invocation as argument 2010-07-17 20:32:50 +02:00
Harald Welte fc9cc76f02 There is no 'struct OBJECT_IDENTIFIER', only OBJECT_IDENTIFIER_t 2010-07-17 20:30:21 +02:00
Harald Welte 52cef61627 export tacp_transport_entity to tcap_user.h 2010-07-17 20:29:49 +02:00
Harald Welte ab5bc475af rename scxp_entity into tcap_transport_entity 2010-07-17 20:25:03 +02:00
Harald Welte a5937f28d9 Enable TC-END.req from user/application 2010-07-17 19:32:40 +02:00
Harald Welte a64f6ccfff introduce tacp_trans_set_state() as wrapper to set transaction state 2010-07-17 19:11:48 +02:00
Harald Welte 5e130bfada tcap_test: continue the dialogue after TC-BEGIN.ind 2010-07-17 19:11:24 +02:00
Harald Welte 551e5f157a add support for TC-CONTINUE.req 2010-07-17 18:50:03 +02:00
Harald Welte 848f9a6a17 use functions to print human-readable state names in error messages 2010-07-17 18:49:41 +02:00
Harald Welte b6ac5eb1fe add functions to print human-readable state names 2010-07-17 18:49:24 +02:00
Harald Welte 363796ba5b properly parse applcation context name and user infromation in dialogue part 2010-07-17 16:48:01 +02:00
Harald Welte fa1cd47182 TC-BEGIN.ind correctly parse the dialogue portion 2010-07-17 15:25:36 +02:00
Harald Welte 7648b13cab DHA: Make sure components are always passed to CHA 2010-07-17 13:23:10 +02:00
Harald Welte bd68522f48 start to use tcap_dialg_free() when apropriate 2010-07-17 13:17:09 +02:00
Harald Welte 6e04ae709d introduce tcap_dialg_free() to release a dialogue/transaction 2010-07-17 13:16:53 +02:00
Harald Welte de50c68e02 actually use tcap_ism_free() instead of manual free()ing 2010-07-17 13:16:24 +02:00
Harald Welte 5327d82de8 Fix TC-UNI.req construction 2010-07-17 13:08:39 +02:00
Harald Welte 0b555a70c7 Move from one component per invocation to a per-dialogue component list 2010-07-17 13:05:56 +02:00
Harald Welte b03abafcc4 implement support for TC-UNI.req 2010-07-17 00:09:53 +02:00
Harald Welte ebe4d4bb33 add application context name to the tcap_test program 2010-07-16 23:56:43 +02:00
Harald Welte 5da2445ca3 make sure we properly zero-initialize structures on the stack 2010-07-16 23:56:24 +02:00
Harald Welte 08dd39cca7 feed outgoing TCAP transactions back into the stack for Tx->Rx testing 2010-07-16 21:52:18 +02:00
Harald Welte 5822e12ab4 Print incoming N-UNITDATA.req 2010-07-16 21:52:03 +02:00
Harald Welte b37f3921b5 use ANY_fromBuf() instead of manual assignment 2010-07-16 21:51:19 +02:00
Harald Welte 9553cac8d2 tcap_test: Use properly encoded BER data for Invoke parameter 2010-07-16 21:49:55 +02:00
Harald Welte b8455bbb10 initialize TCMessage to NULL 2010-07-16 20:44:16 +02:00
Harald Welte c6d0b9f52a forward-declare scxp_entity 2010-07-16 20:43:57 +02:00
Harald Welte b5b41fc6b8 TYPO: use proper xer_fprint() function 2010-07-16 20:43:38 +02:00
Harald Welte 096b22cfff Actually do the DER/BER encode and hexdump it
Also, implement the CONTINUE and END transactions.
2010-07-16 20:35:20 +02:00
Harald Welte c130f62cbc [TCU] Support RESULT-L.req and RESULT-NL.req 2010-07-16 18:04:49 +02:00
Harald Welte bcc4bba87a [CCO] Properly copy any user parameters that are passed in INVOKE/RESULT.req 2010-07-16 18:04:39 +02:00
Harald Welte 045ffd3c50 Properly allocate Transaction and Dialogue ID 2010-07-16 17:43:31 +02:00
Harald Welte deff1dd9da Add small test program for testing/debugging the TCAP library 2010-07-16 17:18:51 +02:00
Harald Welte 39e8a8625e [ISM] add new invocations to the end of the list 2010-07-16 17:17:46 +02:00
Harald Welte 945c8285ca first version that actually compiles + links
but still isn't expected to do anything useful just yet
2010-07-16 15:28:13 +02:00
Harald Welte cf3c033578 bring it even closer to ever compiling at some time... 2010-07-14 23:59:31 +02:00
Harald Welte 1c621f2608 bring source code a bit closer to compile 2010-07-14 20:47:34 +02:00
Harald Welte 86ea80ad6d add .gitignore file 2010-07-14 20:38:00 +02:00
Harald Welte f2e2daf57b Introduce autotools 2010-07-14 20:37:48 +02:00
Harald Welte e00f62a3a1 some more tcap progress, mostly on the TC-USER API side 2010-07-13 11:29:19 +02:00
Harald Welte a1d37b0441 further work towards a working TCAP implementation
Slowly the skeleton is filling with flesh...
2010-07-12 01:26:45 +02:00
Harald Welte 4e89f71c95 partial implementation of TC-INVOKE.req and TC-RESULT-[N]L.req 2010-07-10 18:11:28 +02:00