mirror of https://github.com/sipwise/sems.git
master
mr13.5.1
mr14.0
mr14.0.1
mr13.5
mr13.4.1
mr13.4
mr10.5
mr10.5.9
mr13.3
mr11.5
mr12.5
mr13.3.1
mr13.2
mr13.2.1
mr13.1
mr13.1.1
mr13.0
mr13.0.1
mr10.5.8
mr12.5.1
mr9.5
mr9.5.9
mr12.4
mr12.4.1
mr10.5.7
mr12.3
mr12.3.1
mr12.2
mr12.2.1
mr12.1
mr12.1.1
mr8.5
mr8.5.12
mr10.5.6
mr12.0
mr12.0.1
mr9.5.8
mr11.5.1
mr10.5.5
mr11.4
mr11.4.1
mr8.5.11
mr9.5.7
mr11.3
mr11.3.1
mr10.5.4
mr11.1
mr11.2
mr11.2.1
mr10.5.3
mr8.5.10
mr9.5.6
mr11.1.1
mr10.5.2
mr11.0
mr11.0.1
mr7.5
mr7.5.13
mr10.5.1
mr9.5.5
mr8.5.9
mr7.5.12
mr10.4
mr10.4.1
mr8.5.8
mr9.5.4
mr10.3
mr10.3.1
mr7.5.11
mr9.5.3
mr10.2
mr10.2.1
mr8.5.7
mr6.5
mr6.5.13
mr10.1
mr10.1.1
mr8.5.6
mr9.5.2
mr10.0
mr10.0.1
mr7.5.10
mr8.5.5
mr9.5.1
mr7.5.9
mr9.4
mr9.4.1
mr8.5.4
mr7.5.8
mr6.5.12
mr9.3
mr9.3.1
mr7.5.7
mr8.5.3
mr9.2
mr9.2.1
mr6.5.11
mr9.1
mr9.1.1
mr5.5
mr5.5.13
mr8.5.2
mr7.5.6
mr9.0
mr9.0.1
mr6.5.10
mr8.4
mr8.4.2
mr8.5.1
mr7.5.5
mr8.3
mr8.3.2
mr5.5.12
mr8.4.1
mr6.5.9
mr8.2
mr8.2.2
mr7.5.4
mr8.3.1
mr6.5.8
mr8.1
mr8.1.2
mr7.5.3
mr8.2.1
mr6.5.7
mr7.5.2
mr8.0.2
mr8.1.1
mr8.0
mr5.5.11
mr4.5
mr4.5.13
mr8.0.1
mr6.5.6
mr7.4
mr7.4.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.0.1.1
mr9.1.1.1
mr9.2.1.1
mr9.3.1.1
mr9.4.1.1
mr9.5.1.1
mr9.5.2.1
mr9.5.3.1
mr9.5.4.1
mr9.5.5.1
mr9.5.6.1
mr9.5.7.1
mr9.5.8.1
mr9.5.9.1
ngcp/1%1.4.3-1
${ noResults }
12 Commits (672fc20ec0aaec2bcc0053839015238b31da93b8)
| Author | SHA1 | Message | Date |
|---|---|---|---|
|
|
f343df5587 |
MT#60480 Limitation of origin id/ver to 64bits (unsigned long long)
SDP session origin id and version are limited by it's size to 64 bits (8 bytes), that is because we are using `unsigned long long` type for both id and version. Hence the maximum value it can hold is two sixty-forth power, so equals: 18,446,744,073,709,551,615 In case one intentionally sets it to something like: "o=- 18446744073709551615 18446744073709551615 IN IP4 192.168.0.1" SEMS gets overwhelmed with that conversion inside the code make it just to a string literal 'F'. To overcome it, just use __uint128 (which is of 128bits size) for the session origin id and version. Change-Id: I2ad9659aa81dad79969749053dc3fd0d69e2cbd2 |
2 years ago |
|
|
ced4a52c5d |
MT#56772 AmSdp: covert sessId / sessV to llu
Use `unsigned long long` for SDP session id and version instead of unsigned int. Refactor all usage of them accordingly. Additionally intrdouce new utils functions for conversion: - `ulonglong2str()` - converts `unsigned long long` to `string` - `str2ull()` - converts `string` to `unsigned long long` Change-Id: I4210349a5442d4173b14227497f4a01d68cad7a4 |
2 years ago |
|
|
f3d48dd345 |
MT#57437 Upstream: support for body content type application/csta+xml
Backport from the upstream to add support for body content type application/csta+xml in INVITE and INFO requests/responses. Upstream commit: 6f67d15c3857c1f8ed5b33615b7f5ff0e12d3a92 Change-Id: I085eda4a10e73139bd4dce4d75def82bf6da1e8d |
3 years ago |
|
|
e550db072b |
MT#57404 warning: format '%llu' expects argument of type 'long long unsigned int'
This fixes that:
AmOfferAnswer.cpp: In member function 'int AmOfferAnswer::onReplyOut(AmSipReply&)':
log.h:143:30: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'unsigned int' [-Wformat=]
143 | _LOG(L_DBG, error_category " " fmt, ##args)
log.h:121:45: note: in definition of macro '_LOG'
121 | int n_ = snprintf(msg_, sizeof(msg_), fmt, ##args); \
| ^~~
log.h:166:29: note: in expansion of macro 'CAT_DBG'
166 | #define DBG(fmt, args...) CAT_DBG(ERROR_CATEGORY_DGENERAL, fmt, ##args)
| ^~~~~~~
AmOfferAnswer.cpp:367:9: note: in expansion of macro 'DBG'
367 | DBG("Forcing no OA state update (no SDP changes, same session version: was <%llu>, now is <%llu>).\n",
| ^~~
AmOfferAnswer.cpp:367:88: note: format string is defined here
367 | DBG("Forcing no OA state update (no SDP changes, same session version: was <%llu>, now is <%llu>).\n",
| ~~~^
| |
| long long unsigned int
| %u
In file included from AmArg.h:43,
from AmSipMsg.h:3,
from AmOfferAnswer.h:32,
from AmOfferAnswer.cpp:29:
log.h:143:30: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'unsigned int' [-Wformat=]
143 | _LOG(L_DBG, error_category " " fmt, ##args)
log.h:121:45: note: in definition of macro '_LOG'
121 | int n_ = snprintf(msg_, sizeof(msg_), fmt, ##args); \
| ^~~
log.h:166:29: note: in expansion of macro 'CAT_DBG'
166 | #define DBG(fmt, args...) CAT_DBG(ERROR_CATEGORY_DGENERAL, fmt, ##args)
| ^~~~~~~
AmOfferAnswer.cpp:367:9: note: in expansion of macro 'DBG'
367 | DBG("Forcing no OA state update (no SDP changes, same session version: was <%llu>, now is <%llu>).\n",
| ^~~
AmOfferAnswer.cpp:367:103: note: format string is defined here
367 | DBG("Forcing no OA state update (no SDP changes, same session version: was <%llu>, now is <%llu>).\n",
| ~~~^
| |
| long long unsigned int
| %u
Change-Id: I15c6e37756a55ea5c917b123030b30e0ddc55724
|
3 years ago |
|
|
84a0c3e84f |
MT#57256 Do not change OA state of similar 183 SDP
We don't have to change the SDP OA state, in case the 183 response has exactly the same SDP content (same SDP session version) as we already have seen before in previous 183 message. Change-Id: Ica008104c31e979cdcb352cefea39db4d1ff3c56 |
3 years ago |
|
|
ab7c1851fd |
MT#56321 core::AmOfferAnswer add logging into most important places
We have to improve AmOfferAnswer functions in terms of adding more logging, to let the debug of the OA be more clear. Also in parallel the refactoring is done in scope of AmOfferAnswer in order to make reading more convenient. Change-Id: If7353f1285057760dd5fbeada984a5ef96af9854 |
3 years ago |
|
|
60e16ed526 |
MT#56321 AmOfferAnswer: Re-use existing SDP for 183 with no body
Re-use existing local sdp, in case there is a sequential 183 coming, but it has no SDP. This will fix the cases, when: - first 183 has been sent, and provided to the system the SDP - second/third etc. 183 is coming, but has no SDP body To not confuse the recipient (end subscriber) of these 183, the media description in the scenario with 183 having no SDP body, mustn't be changed (session id, media and attributes). Previously the behavior was to generate local SDP with a new session id and add sems-b2b into the media processing by that (new media port, codecs and other attributes). However, this change doesn't have an influence on very first 183 sent with no SDP body, because there was essentially no local SDP saved before. So in this situation behavior is not changed. Change-Id: I53dd57ae8a4739d5356d94fff45fb290896fd777 |
3 years ago |
|
|
d11c7486d0 |
MT#56321 core::AmOfferAnswer - refactor onReplyOut()
Because of messy organizing of the code in the function, it's not possible to read that and work with that. Change-Id: I4a56000a6f33051f9267048dcb620fb1a4eba7c6 |
3 years ago |
|
|
d45dcf1ecf |
MT#55831 Fix issue if an UPDATE is received after 183
If an SDP UPDATE is received after the 183, but before the 200, SEMS fails when it receive the final ACK. In fact SEMS tries to find the SDP content inside the ACK message itself. The solution is copied from sems-pbx module where the issue doesn't happen. (real ticket number: TT#43503) Change-Id: I5a432dc57c701d7eb0d5306d6005508e3310e7ba |
3 years ago |
|
|
534be90e08 |
MT#55831 fix failed relay of 200OK without SDP
fix failed relay of 200OK without SDP (real ticket number: TT#9521) Change-Id: I8932962961af364dab1df360afc4b02459d65ac0 |
3 years ago |
|
|
2bf464e5cb |
Imported Upstream version 1.6.0~20150612~a2d214df36
|
11 years ago |
|
|
df9992620d |
Imported Upstream version 1.6.0~20140516~eaa616
|
12 years ago |