Commit Graph

5925 Commits

Author SHA1 Message Date
Ivan Kluchnikov bd6784dbe8 debian: Update changelog to 0.15.1-fw.1 2017-02-15 19:54:56 +03:00
Ivan Klyuchnikov 5788904242 gsup: Update code after rebase to updated gsup implementation 2017-02-07 19:01:13 +03:00
Ivan Kluchnikov 362a757f56 osmo-nitb: Send purge ms to reg-proxy and handle response 2017-02-07 18:59:56 +03:00
Ivan Kluchnikov 444a9b9304 reg-proxy: Implement purge ms forwarding and handling 2017-02-07 18:59:56 +03:00
Ivan Kluchnikov 8d8bedff4c gsm_04_08: Change reject cause for not "attached" subscribers from "destination out of order" to "no user responding" 2017-02-07 18:59:56 +03:00
Ivan Kluchnikov 084a35588f reg-proxy: fix osip transactions releasing procedure
* implement nict_trans_free function for checking list of osip_nict_transactions and releasing transactions in terminated state
* call nict_trans_free function in main loop
* transactions should not be released in message callback functions, so remove osip_transaction_free and osip_message_free from sip_cb_rcv2xx function
2017-02-07 18:59:56 +03:00
Ivan Kluchnikov 03bf40f6a5 reg-proxy: use osip_strdup function, because we should allocate memory for scheme and host values to be used in osip_uri_set_ functions 2017-02-07 18:59:56 +03:00
Ivan Kluchnikov 842e599c5c reg-proxy: we shouldn't free call_id_num and seq_num_str, because they are used in osip_message and will be freed by osip_message_free function 2017-02-07 18:59:56 +03:00
Ivan Kluchnikov 16e9c4a70f reg-proxy: free allocated ipa control messages in ipa_sock_server_cb function 2017-02-07 18:59:56 +03:00
Ivan Kluchnikov fdee81b35f reg-proxy: free all allocated osip elements, messages and transactions 2017-02-07 18:59:56 +03:00
Ivan Kluchnikov 582242d2f5 gsm_sup: check connection before use it, because it can be already closed 2017-02-07 18:59:56 +03:00
Sergey.Kostanbaev fb5a18db4b ussd_proxy: fix decoding GSM7 to latin1 2017-02-07 18:59:56 +03:00
Sergey Kostanbaev 8a8703e06c fix incorrect autorebase 2017-02-07 18:59:56 +03:00
Sergey Kostanbaev d68abba3d0 fixup after rebase 2017-02-07 18:59:55 +03:00
Ivan Kluchnikov bbd3c7cd46 reg-proxy: Implement handling LU responses without msisdn
If we receive 200 ok response with imsi instead of msisdn in sip contact header, we should send LU response message to osmo-nitb without msisdn.
2017-02-07 18:59:55 +03:00
Ivan Kluchnikov 0a2a92a4f5 gsm_sup: Update subscriber info in database only if msisdn is received in LU response 2017-02-07 18:59:55 +03:00
Ivan Kluchnikov a52726dae8 msc: Increase value of location update timer to 10 sec
We should increase this timer, because LU procedure can take more than 5 sec, if 'remote' auth policy is used.
2017-02-07 18:59:55 +03:00
Ivan Kluchnikov 8af593e4e4 sms: Route all sms from/to subscribers with extension length = 5 to local smsc 2017-02-07 18:59:55 +03:00
Ivan Kluchnikov fb11fc1a7a sup: pass subscriber group parameter to subscr_get_by_extension function
Subscriber group parameter should be set for subscriber in subscr_get_by_extension function, because it is used in connection_for_subscr function.
2017-02-07 18:59:55 +03:00
Ivan Kluchnikov 0904c1de19 sms: Use gsm411_rp_hdr structure instead of manual parsing of RP messages 2017-02-07 18:59:55 +03:00
Ivan Kluchnikov c301ef4ea7 sms: MO RP ACK and RP ERROR should be also forwarded to the sms socket 2017-02-07 18:59:55 +03:00
Ivan Kluchnikov 59dc70462b sms: In case of receiving MO RP-DATA, we should assign RP message reference value to transaction variable 2017-02-07 18:59:55 +03:00
Ivan Kluchnikov e7dc282b51 sup: Fix RP header offset and RP data length calculations 2017-02-07 18:59:55 +03:00
Ivan Kluchnikov 45fdb6a728 vty: Install sms_destination_cmd element as NITB_NODE 2017-02-07 18:59:55 +03:00
Ivan Kluchnikov 32906636f1 sms: Add functions for forwarding/handling SMS in RP format to/from external application 2017-02-07 18:59:55 +03:00
Ivan Kluchnikov b314380065 sms: Add new socket for forwarding/receiving SMS in RP format to/from external application 2017-02-07 18:59:55 +03:00
Ivan Kluchnikov 8bb11c90fc trans: Add new parameter message reference for SMS and function for finding transaction by this reference 2017-02-07 18:59:55 +03:00
Sergey Kostanbaev 933de8cb48 send actual message in facility op (not initial) 2017-02-07 18:59:55 +03:00
Kirill Zakharenko 1bcfaa7119 debian: use --enable-ussd-proxy with ./configure 2017-02-07 18:59:55 +03:00
Kirill Zakharenko 6c079bb981 reg-proxy, ussd-proxy: don't use realtime priority 2017-02-07 18:59:55 +03:00
Sergey.Kostanbaev c572ac8733 add test for registerSS 2017-02-07 18:59:55 +03:00
Sergey.Kostanbaev 53d1a9186c set transaction_id from transaction data 2017-02-07 18:59:55 +03:00
Sergey Kostanbaev 2f749ef103 emulation for SS 2017-02-07 18:59:55 +03:00
Sergey Kostanbaev 17276417ef various bugs in ss reply 2017-02-07 18:59:55 +03:00
Sergey.Kostanbaev 234f6714a7 add generation of src/ussd-proxy/Makefile 2017-02-07 18:59:54 +03:00
Sergey.Kostanbaev 3e7a48c475 add forgotten files 2017-02-07 18:59:54 +03:00
Sergey Kostanbaev 9d53708f58 add forgotten file 2017-02-07 18:59:54 +03:00
Sergey Kostanbaev da8c96e097 recovery latin1 USSD message, probably bad rebase 2017-02-07 18:59:54 +03:00
Sergey.Kostanbaev d4839fe14a manual merge SS from sup-ussd-on-master-ss-wip 2017-02-07 18:59:54 +03:00
Ivan Kluchnikov db0e216845 msc: Implement 'remote-closed' authentication policy
This mode is modified version of 'remote' policy.
Osmo-nitb uses remote subscription data only if the MS is activated in local HLR, otherwise osmo-nitb rejects subscriber.
2017-02-07 18:59:54 +03:00
Ivan Kluchnikov 2d9f39ec43 reg-proxy: Added configuration parameter for setting registration expiry time 2017-02-07 18:59:54 +03:00
Ivan Kluchnikov e5e251c396 sup: fix handling update location result message
If LUR procedure timed out, we should just skip update location result message.
2017-02-07 18:59:54 +03:00
Sergey Kostanbaev 991691f8df ussd_proxy: add content-type sip tag in bye for 3rd party software workaround 2017-02-07 18:59:54 +03:00
Sergey Kostanbaev 955d8800e5 ussd_proxy: add -x proxy option 2017-02-07 18:59:54 +03:00
Sergey Kostanbaev 9a4936a234 ussd_proxy: add -7 option to force latin1 convertion to gsm 7-bit 2017-02-07 18:59:54 +03:00
Sergey Kostanbaev 012c9203e4 ussd: handle UCS-2 coding 2017-02-07 18:59:54 +03:00
Sergey Kostanbaev 5087f994fd libmsc: set proper length field in ASN.1 format for USSD internals 2017-02-07 18:59:54 +03:00
Sergey Kostanbaev 420e4d445c libmsc: fix no return and use after free 2017-02-07 18:59:54 +03:00
Sergey Kostanbaev a8f56961be ussd_proxy: handle reject from sup and send BYE to sip 2017-02-07 18:59:54 +03:00
Sergey Kostanbaev b2679b822e ussd: send reject to sup 2017-02-07 18:59:54 +03:00