Age | Commit message (Collapse) | Author | Files | Lines |
|
Change-Id: I4e1f0fd213fcc9e3b7e4a34f3380504696b2e08b
|
|
Change-Id: Ie923117929c6b79b1eb61e5a9f02a169edabc599
|
|
Related: OS#6272
Change-Id: I1b1ebca276184158d585815a62da3b91fa9c3081
|
|
We have added support for sending SDP via MNCC a long time ago, but so
far the SDP section remained empty. Now, implement actually forwarding
SDP codec information between SIP and MNCC.
The aim is to let the MSC know about all codec choices the remote SIP
call leg has to offer, so that finding a codec match between local and
remote call leg becomes possible.
Store any SDP info contained in incoming SIP and MNCC messages, and send
the stored SDP to the other call leg in all outgoing SIP and MNCC
messages.
In sdp_create_file(), we used to compose fixed SDP -- instead, take the
other call leg's SDP as-is, only make sure to modify the mode (e.g.
"a=sendrecv") to reflect the current call hold state.
The RTP address and codec info in the MNCC structures is now essentially
a redundant / possibly less accurate copy of the SDP info, but leave all
of that as-is, for backwards compat.
There is codec checking that may reject unexpected codecs. The
overall/future aim is to leave all codec checking up to the MSC, but so
far just leave current behaviour unchanged, until we notice problems.
Related: SYS#5066
Related: osmo-ttcn3-hacks Ib2ae8449e673f5027f01d428d3718c006f76d93e
Change-Id: I3df5d06f38ee2d122706a9ebffde7db4f2bd6bae
|
|
Change-Id: Id27eb82a018293cf54d068877dc222e1c7eab253
|
|
call_sip_create() returns NULL only when memory allocation failed. Do
not log "No supported codec", just assert that a call was allocated,
like we usually do in such cases.
Related: SYS#5066
Change-Id: Id7fd16b92bbd10e886892d0c425cf1bc5d5429cf
|
|
Change-Id: I5263fa4d1c2edcd12a5521b5cc03753482ff76cc
|
|
Related: OS#5958
Change-Id: Ib45ad7c44cdefa4c5acab2da09f24796253a133d
|
|
Change-Id: I3aeaace814a209dade5323f30a5a91e4a9d73595
|
|
Make it easier to spot when the sip server answers an invite with
anything that would cause osmo-sip-connector to release the call.
Related: SYS#6386
Change-Id: I64889d6ce174dc17d44d85aac12e7ee6e6b06164
|
|
Change-Id: Id42904a183b045eefac15a94139221a3bc65ecdd
|
|
Change-Id: Ie001645e9b44cb5e16090813ca4f053118ac39a4
|
|
Related: OS#5809
Change-Id: Icc57c68337d55c6594c1c36e9bf41624d11dab0a
|
|
Change-Id: Id050891c8465cbb3bb81c9907de509009b7131ff
|
|
Commit bd66804082bf813a1f925c6af4df28fd664ac1de established that the
MNCC field flag MNCC_F_GCR should be set when the GCR is present,
but did not set it.
Change-Id: Idad3210055a0d25be6220301b965e3d4c7323692
|
|
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.
Related: OS#4821
Change-Id: Idad82186d6ef7f00487cf162306b0733886fc129
|
|
Change-Id: I5e247667968d80be72bfe890c2afb3a25c7c105c
|
|
Fixes: SYS#5583
Change-Id: Ie3a9caa6d1e682e0080b3acc4a68d5ad3895629f
|
|
README.md in-line with that of other osmocom CNI projects:
* markdown syntax
* link to manuals, issue tracker, gerrit contributions, etc.
Change-Id: Ieadbbe4d2963e713d569460d053460f4f99d40eb
|
|
Change-Id: Ic45226b2de537fe4d45324fbe346bd7ed6db92fd
|
|
Change-Id: I32acbec597ff8bb79b3576f9d13ab051d5c5b938
|
|
Change-Id: I72fa9fdc5c6f1c5cfc6e4cb0b7d0e8ea4557b1ab
|
|
Using *unpacked* 'struct osmo_gcr_parsed' in the MNCC PDUs makes
the protocol even more complicated than it currently is, and
moreover complicates implementing MNCCv8 in the ttcn3-sip-test.
Replace 'struct osmo_gcr_parsed' in 'struct gsm_mncc' with a
fixed-length buffer, which is supposed to hold the Global Call
Reference encoded as per 3GPP TS 29.205.
Check / indicate presence of GCR using the MNCC_F_GCR flag.
Change-Id: Iaff46732948f8f5d03e42f17c35cbac8a80af49b
Fixes: Id40d7e0fed9356f801b3627c118150055e7232b1
Related: OS#5164, OS#5282
|
|
Change-Id: I46fa46fc79494d337f2f4657215b91c39207eea4
Depends: I06babb959fdc82f4e82d92260131d60c98b0abd2
Fixes: Id40d7e0fed9356f801b3627c118150055e7232b1
Related: OS#5164
|
|
Change-Id: I6a2e5e15061010f6e62d0f3b0acd2c040dbe3249
Fixes: Id40d7e0fed9356f801b3627c118150055e7232b1
Related: OS#5164
|
|
* Add GCR to mncc struct and therefore bump mncc version.
* Pass the GCR as a SIP Header to SIP UA and retrieve any such header
from incoming SIP calls, passing the GCR on to MNCC
Related: #OS5164
Depends: osmo-msc I705c860e51637b4537cad65a330ecbaaca96dd5b
Change-Id: Id40d7e0fed9356f801b3627c118150055e7232b1
|
|
Related: OS#5223
Change-Id: I769bf61a2f3a97d55c65999436d2cb079c9170a0
|
|
Change-Id: I2d11be9fe65aa76e044a91f88ba0e9a1d8e756ec
|
|
Use the correct variable in address comparison.
The type cast hid the incompatible type from the compiler.
Change-Id: I701150f22f0eb49fae821996358568d60a385035
|
|
Copy the m_mode before freeing the parser.
Address sanitizer aborted with:
20210601033017695 DSIP INFO re-INVITE for call 854A5CDA8037073 (sip.c:192)
=================================================================
==8583==ERROR: AddressSanitizer: heap-use-after-free on address 0x612000003250 at pc 0x55c3b4624dc5 bp 0x7ffe8a4464d0 sp 0x7ffe8a4464c8
READ of size 8 at 0x612000003250 thread T0
#0 0x55c3b4624dc4 in sdp_get_sdp_mode ../../../src/osmo-sip-connector/src/sdp.c:72
#1 0x55c3b462be9e in sip_handle_reinvite ../../../src/osmo-sip-connector/src/sip.c:202
#2 0x55c3b462d676 in nua_callback ../../../src/osmo-sip-connector/src/sip.c:397
[...]
Change-Id: I4c48832f01e61e98536de8f164ab5a3caa64f34a
|
|
Change-Id: I2cafda295513b019cda424f09655061fa7a0fa10
|
|
Fixes bug introduced recently.
Closes: OS#4957
Fixes: 0f27b1bd397f5b54fdfabf447d6fca7f30ac2580
Change-Id: Ibbff004e2b76fbfe8962d14628c916afb19f30e6
|
|
Change-Id: I5e0735c2e99e868f8cbfffc19ac005df7c289dd8
|
|
Change-Id: If7b49bee6fec3a188c978c0606c524776a577927
|
|
Change-Id: Ic95981af622dd713638bec775514dc4ef25594d4
|
|
Change-Id: I870c16d7ee5e5424304f3c1c9fb78af418ae2577
|
|
Concentrate the write() to the socket in 2 places.
One for struct gsm_mncc and one for struct gsm_mncc_rtp.
Improve debugging as now all function debug print the
MNCC primitiv.
Change-Id: Ia84602955b913a3bb13de7a6a92048799f2e1955
|
|
Allow to get errors back for the caller to clean up state.
Change-Id: Ic926d192c238ef84fb3ad2be27e507e010b0e93f
|
|
The callref is always included in the struct mncc argument.
Change-Id: Ia156010194c1f4334a4966d01aadfd02fa7097a8
|
|
Related: OS#4912
Change-Id: Iae17e6d6f4242f98676dd3a1b01c419ac7288047
|
|
Change-Id: I17e1adac40ac01daee0dd83da0a6aaebd78ea0dc
Related: OS#4421
|
|
Change-Id: Ibfc308bdfab77d0032d8f20c2f0df913e336b75b
|
|
Change-Id: I3b1bebbcc9e36be43d8d055c8d28cbb38ff21b37
|
|
This reverts commit 52b2afce2ca902bbae4a550d03d471be784efe28.
The contact header is generated by the original sofia-sip library.
By adding the contact header explicit as user header it violates the
SIP RFC because sofia will add the Contact header to the BYE message as
well.
Let's fix the bugs in the freeswitch sofia-sip and make it compatible
(not bug compatible) with the original sofia-sip.
Change-Id: I712f17fecbc372d1e486e80673a548e281b37800
|
|
Version 1.12.12 of libsofia-sip-ua no longer automatically generates a
contact header element from the local ip address and port. Specifying
the contact tag does not break operation with the existing
library (1.12.11), but allows for operation on a system with
freeswitch 1.10.4 or later installed, which is built against this new
version of libsofia-sip-ua.
Change-Id: I5c35c5a4bad2fbe76c22ac6d7ee37c832e0ba246
|
|
Change-Id: Id7a258c52e72101920a1c0de5534a2ed9f488203
|
|
Change-Id: I66c64cae47e32a16ef605348d02884172ef04d70
|
|
Change-Id: Ifee945e89b8b3d1a9ef9cf57e36cad306c244657
|
|
Remove OpenSUSE bug report link, set version to @VERSION@, make it build
with CentOS 8 etc.
Related: OS#4550
Change-Id: I387b41b6c524cd3f6baad7e89b4b6b347d9998ac
|
|
Copy the RPM spec file from:
https://build.opensuse.org/project/show/home:mnhauke:osmocom:nightly
Related: OS#4550
Change-Id: I00f13acd541ec492e4671cf88c92010f5cf61e9e
|