AgeCommit message (Collapse)AuthorFilesLines
2 dayscodec t9n: commentneels/codecsNeels Hofmeyr1-0/+4
Change-Id: Ia881a1624496b56d6237e45cff3b7bac04394cf9
2 dayscodec t9n, ran_msg: use full gsm0808_speech_codecNeels Hofmeyr8-43/+56
Do not use enum mgcp_codec, a rather limited codec representation, but gsm0808_speech_codec, which is actually used in BSSMAP codec negotiation. Change-Id: Ibfa6f94b394c7aed5f2c5196ea3a7e8fd41b9e67
2 daysfixme comments for AMR modesNeels Hofmeyr1-0/+2
Change-Id: I4a63bd21c3bc0cfa18777edf1426cbadd2fde7a3
2 dayscodecs: for IuUP, use AMR for codec matchingNeels Hofmeyr1-0/+11
For finding usable codecs / matching codecs with remote call leg, use AMR in place of IUFP. On Iu, to the MGW we need to set the codec VND.3GPP.IUFP on the RAN facing side. On the CN facing side, we indicate AMR instead, so that the MGW decapsulates the IuUP into plain AMR RTP. Related: SYS#5092 Change-Id: I752505dd8e2360665417cdba6a93cfa1490e4b70
2 dayssdp_msg: when NULL, do not crash but return empty SDP strNeels Hofmeyr1-2/+10
Change-Id: Ibd5c43fae61cd006d8fb42a06b99a609356f7037
2 daysreset assignment codec on start_assignmentNeels Hofmeyr1-0/+1
Make sure no stray values from previous assignment linger. When starting Assignment, by definition codec_filter.assignment must be empty. Change-Id: I58c25bbea9523b212934e9dad551e94bc01d6bba
2 daysassignment: clear codec when none was includedNeels Hofmeyr1-0/+2
Change-Id: Ic2aea409c86bb1b0ee23200da597f5c8ef3aa2f1
2 dayslog chosen codec upon Assignment CompleteNeels Hofmeyr2-0/+16
Change-Id: I22aef38e63420e203c4fa9b423958c1b1d778fe7
2 daystweak scope in msc_a_up_call_assignment_complete()Neels Hofmeyr1-1/+1
Change-Id: Ie1ad7eae17946450d8680df6bad791d4bcba5e1a
2 dayscc: make static: gsm48_cc_mt_rtp_port_and_codec_known()Neels Hofmeyr1-1/+1
Change-Id: Ifaec110a34dd454f65783158b7bfba041b358c5a
2 daysHO Req: include IE Codec List (MSC Preferred)Neels Hofmeyr3-0/+29
Related: OS#5529 Change-Id: Ifcf719c5fc9e11749aafbd97bafda7f6f50973ea
2 dayscodec t9n: include full gsm0808_speech_codec in mappingNeels Hofmeyr2-20/+45
Change-Id: I498da95dbc30e873512dacd079957b383be71571
2 dayscodecs: compose HO Req Ch Type from cc.codecsNeels Hofmeyr1-3/+4
Change-Id: Iba7a1a87ec5e6b487f763e84d60ed285da7b8fe1
2 dayslog: start codec_filter str with resultNeels Hofmeyr2-79/+81
The most interesting information is which result the codec filter ends up with. So print the resulting codec intersection first, add the filter stages after that. Change-Id: If1e7d3c224b214fa8e9267bb98b60eb66923bfc7
2 dayssdp_msg.c: parse send/recv modeNeels Hofmeyr4-9/+35
Related: SYS#5066 Change-Id: I529c0bfad1cab376e26173ed48db2767c7dfaa64
2 daysadd some comments to sdp_msg.cNeels Hofmeyr1-0/+13
Related: SYS#5066 Change-Id: I68aa4af5d84eaaa08a567377687b6292cce0ce94
2 dayscomment: clarify L3 Info processingNeels Hofmeyr2-1/+2
Related: SYS#5066 Change-Id: Ia9180eeb88b31a2cf7dea72b43affd0c7b239ccb
2 daysmsc_vlr_test_call: test codecs resolutionNeels Hofmeyr4-15/+3739
Related: SYS#5066 Change-Id: I879ec61f523ad4ffc69a0b02810591f7c0261ff9
2 daysMNCC: do not send REL_IND twiceNeels Hofmeyr3-0/+19
Add trans.cc.mncc_release_sent and skip MNCC_REL_IND if already true. Related: SYS#5066 Change-Id: I449e1e4139af5f41da08ba9f6815ef74d8e13897
2 daysmncc_recvmsg(): log caller file,lineNeels Hofmeyr2-10/+15
Change-Id: I3755eb35b504f2f2580e0ba43dfa41f16087decc
2 daysdo CN CRCX firstNeels Hofmeyr7-289/+551
In order to send the MSC's RTP endpoint IP address+port in the inital SDP, move the MGCP CRCX up to an earlier point in the sequence of establishing a voice call. Update the voice call sequence chart to show the effects. Related: SYS#5066 Change-Id: Ie433db1ba0c46d4b97538a969233c155cefac21c
2 daysmsc_vlr_tests: confirm crcx by RAN/CN side separatelyNeels Hofmeyr3-21/+26
Related: SYS#5066 Change-Id: I972e7426006e5b62f81ccfe4fa224ee9eed7a7ac
2 dayscompose trans->bearer_cap from remote MNCC codec infoNeels Hofmeyr3-10/+43
Related: SYS#5066 Change-Id: Ic9aab3be5e683bea0319345c7e9cca836667f61f
2 dayssend + receive SDP via MNCCNeels Hofmeyr4-7/+116
CC MNCC | ---ALERTING--> | add SDP to MNCC msg | <--ALERTING--- | store remote side SDP | <--SETUP-RESP- | store remote side SDP | --SETUP-CNF--> | add SDP to MNCC msg | -RTP-CREATE--> | use codec_filter, add SDP | <-RTP-CONNECT- | store remote SDP Related: SYS#5066 Change-Id: Ie0668c0e079ec69da1532b52d00621efe114fc2c
2 daysmncc_recv_rtp() add sdp argNeels Hofmeyr1-3/+7
Related: SYS#5066 Change-Id: I73d1e9609c0d8ee304b439549f35b8e4a7e9e623
2 daysrtp_stream: s/codec/codecsNeels Hofmeyr10-80/+81
2 daysrtp_stream: allow multiple codecs to be setNeels Hofmeyr12-96/+182
Many members, arguments and logging says "codec", which should accurately now say "codecs" (plural). Postpone such renaming to a separate patch, to better show actual functional changes here. Related: SYS#5066 Change-Id: If9c67b298b30f893ec661f84c9fc622ad01b5ee5
2 daysupdate codecs filter with BSS codecs from Assignment CompleteNeels Hofmeyr1-0/+5
Related: SYS#5066 Change-Id: I5e66ecc7987fa926f39d8be8eaf5799b931ab20a
2 daysmsc_vlr_test_call: include RAN RTP addr in ass complNeels Hofmeyr2-25/+26
I noticed by chance that the Assignment Complete message generated in the test lacks a remote RTP address for the RAN side. Make the test more realistic by adding a remote RTP address and port. It doesn't have much bearing on the tests, though. Change-Id: Ia428762a16dcc17f036d725a00e0b3767418289b
2 daysMT call: store MS Bearer Cap from CC Call ConfNeels Hofmeyr1-0/+4
Related: SYS#5066 Change-Id: Ic3d0f05af57a493d500700c63b121c8114e7fbf4
2 daysMT call: init codecs filter with BSS codec list and SDPNeels Hofmeyr2-0/+31
Related: SYS#5066 Change-Id: I530409a64d11da48518a3dc60aa3a4e47c384663
2 daysMO call: init codecs filter with BSS codec listNeels Hofmeyr2-0/+13
Related: SYS#5066 Change-Id: I062268406ae3f3a63a7f413db51c509c9eaf9e8a
2 daysmsc_a: store BSS codec list from Compl L3Neels Hofmeyr2-0/+15
Related: SYS#5066 Change-Id: I7cdc348218433141a43d2e42750af02591688240
2 daysadd trans.cc.codecsNeels Hofmeyr1-0/+3
Related: SYS#5066 Change-Id: Ib3fdeff8d1e1ea0760168d63ee6e1b1fb993aa5f
2 dayscodec t9n: add IUFPNeels Hofmeyr1-0/+8
Related: SYS#5066 Change-Id: Ie03e2b09f411acd3a0eded7121c9123e33f70b3e
2 daysadd api comment in sdp_msg.hNeels Hofmeyr1-0/+1
Related: SYS#5066 Change-Id: Ifce7d3860411a46b614eff2e9d9ed922cb8d8123
2 daysadd codec_filter.h,cNeels Hofmeyr4-0/+277
Related: SYS#5066 Change-Id: I4d90f7ca62f2307a7b93dd164aeecbf4bd98ff0a
2 daysfix sdp_msg_to_sdp_str(), never add fmtp for unset codecNeels Hofmeyr1-5/+4
Change-Id: I1892efd9360585f98419ebbd0df180f7f3a8160d
6 daysadd sdp_audio_codec_is_setNeels Hofmeyr2-0/+6
Change-Id: I078efe5b42367ad1089c53f11f7eb6f3a9dd9443
6 daysadd codec_sdp_cc_t9n.h,cNeels Hofmeyr4-0/+516
Related: SYS#5066 Change-Id: Iaa307be6a8487aa8d4ba7cd59d5c5ef04818a744
6 dayslog CC timeoutsNeels Hofmeyr2-0/+5
Change-Id: I857b4b15ebf75cf253697e96d358128620923221
2022-08-30Set working directory in systemd service fileHEADmasterMax1-0/+2
By default systemd will execute service with root directory (or home directory for user instance) which might result in attempts to create files in unexpected place. Let's set it to 'osmocom' subdir of state directory (/var/lib for system instance) instead. Fixes: OS#5661 Change-Id: I0f942545d9e920ba8a2d8645512ec3414ab27418
2022-08-29contrib/jenkins.sh: do not override parallel make for libsmpp34Vadim Yanitskiy1-1/+1
Parallel build has been fixed [1] and re-enabled [2] back in 2018. Change-Id: I13d2d6f3b5ffae390cf429e41bf9035b8c551f66 Related: [1] I5a9d7dbd7b992d322ed0d852ebf8ca2252b51a12 libsmpp34.git Related: [2] Id41fbcb5a96093eb6c3dc00bcacbd379111ada70 libsmpp34.git
2022-08-05Add ESME-specific loggingMax4-70/+47
Related: OS#5568 Change-Id: Ie5ddde762350385f8d18ee1d441584a41b0290ec
2022-08-05Introduce libsmpputilMax25-101/+114
As part of preparation for libosmo-netif migration let's move common SMPP code into separate build-time library and use it for both smpp_mirror and OsmoMSC renaming the files if necessary. While at it we also fix id/password legth limits in smpp_mirror and drop unused fields from ESME struct. Related: OS#5568 Change-Id: I61910651bc7c188dc2fb67d96189a66a47e7e8fb
2022-08-01tests: use common stubs for SMS queue testMax3-21/+4
Related: OS#5568 Change-Id: Ic854eb919e6fcc82bd0245f62c72985b938c6b7a
2022-08-01ESME: use osmo_sock_get_name() for loggingMax3-13/+2
This allows us to drop single-use parameters from osmo_esme to facilitate further code changes. Related: OS#5568 Change-Id: I34bd4c145b0f6287a323e2350808feb59f1d3187
2022-08-01Ignore .deb build byproductsMax1-0/+8
Change-Id: I0ff10ef5766edf5f2aacf62acc98f25f01706ab4
2022-08-01SMPP: clarify (re)start logicMax1-2/+2
Having smpp_smsc_stop() called from within smpp_smsc_start() instead of explicitly inside smpp_smsc_restart() is confusing and could lead to hard-to-trace bugs. Let's get this fixed first before going further. Related: OS#5568 Change-Id: I353f5b82c9f5308d93e926538d4ef7e24d0b0339
2022-07-25sdp_msg: s/sdp_audio_codec_/sdp_audio_codecs_Neels Hofmeyr3-27/+27
Some functions act on a struct sdp_audio_codecs but begin with the name sdp_audio_codec (singular). That's confusing. Related: SYS#5066 Change-Id: Id87eb350c1f17f8dbf776909824bfa06634c1d04