forked from OpenSIPS/opensips
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathChangeLog
More file actions
15467 lines (9167 loc) · 441 KB
/
Copy pathChangeLog
File metadata and controls
15467 lines (9167 loc) · 441 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
=========================== Release 2.3.6 ==============================
2018-10-26 Razvan Crainea <razvan at opensips dot org>
* [073bd6a9d] :
Bump version to 2.3.6
2018-10-26 Razvan Crainea <razvan at opensips dot org>
* [3f91baff6] :
tcp: init tcp req even for CRLF pingpong
Before this commit, the TCP request was not released for ping-ping
constructed using multiple packets. This lead to an unknown state in the
TCP parser, hence an abort() was triggered.
(cherry picked from commit c20181fa36de2d96d6dd9e8dbc533bcc6b95d8a8)
2018-10-26 Razvan Crainea <razvan at opensips dot org>
* [01d6d235f] :
bin: fix invalid memory access
Inspired from a3a260d7d45868382d00ee366e00000e7badd36a
(cherry picked from commit 63f0ad718861870a1ba6d931db573ab6e98627a3)
2018-10-26 Razvan Crainea <razvan at opensips dot org>
* [ec5af37fb] :
net: reset msg attempts every time a msg is fully processed
(cherry picked from commit 6a4bf36ca3524e0211a874c9d5e62c65b33cb28e)
2018-10-26 Razvan Crainea <razvan at opensips dot org>
* [788544b4f] :
proto_hep: reset msg attempts when request is completed
(cherry picked from commit bf74fccad45e85869f1fb73d47787c7c661bfeff)
2018-10-26 Bogdan-Andrei Iancu <bogdan at opensips dot org>
* [842631e17] :
Fixed wrong error messages.
Reported by Nick Altmann
(cherry picked from commit 40c73fc1bada8fea20b0408186da2ed15eb8c285)
2018-10-24 Bogdan-Andrei Iancu <bogdan at opensips dot org>
* [43afb8c85] :
Do not expose the transaction when t_newtran() detects a retransmission
It is much safer and consistent to avoid exposing the transaction when retransmision is detected; t_newtran() anyhow is automatically taking care of the retransmission handling, so makes no sense to expose the transaction further.
(cherry picked from commit 51859e0455595b445e60f687592bdbc0a6cf64c6)
2018-10-23 Liviu Chircu <liviu at opensips dot org>
* [f5fb1c330] :
drouting doc: Fix bad examples and descriptions
* dr_is_gw() works fine with any pvar
* is_from_gw(): clarify that it matches IP + port
* improve example quality
(cherry picked from commit 8c4ac521bfeaddb68ff9a9dd96f556e3d8c38b0d)
2018-10-22 Razvan Crainea <razvan at opensips dot org>
* [33f02701e] :
rtp*: add errno in error output
(cherry picked from commit 36e6c87f0e8acff7da43d7838cb5067174f956ac)
2018-10-22 Razvan Crainea <razvan at opensips dot org>
* [d302651e3] :
debian: add python module
(cherry picked from commit bd86da3db984ff024abb467d809e51fe88f89a45)
2018-10-22 Razvan Crainea <razvan at opensips dot org>
* [339f07a33] :
dialog: release bin packet after dialog delete
fixes a pkg memory leak generated by leaked bin packets on dialog delete
2018-10-22 Razvan Crainea <razvan at opensips dot org>
* [533d0f953] :
dialog: release bin packet on prof replicate error
If the profile cannot be replicated, release the bin packet to prevent
pkg memory leak.
(cherry picked from commit 4032ef0ed9ddb45b3cd66e49511a689b4555e508)
2018-10-22 OpenSIPS <github at opensips dot org>
* [350c3d6c3] :
Rebuild documentation
2018-10-16 Bogdan-Andrei Iancu <bogdan at opensips dot org>
* [e1ad133bf] :
Improve docs
Add external reference to the advanced ACC tutorial
(cherry picked from commit 3f04700e329f19c4024bb4cc1e2d70d3558cbd39)
2018-10-16 Dan Pascu <dan at ag-projects dot com>
* [aa2502962] :
Fixed memory leaks when freeing socket_info
2018-10-16 Dan Pascu <dan at ag-projects dot com>
* [72d34d9b1] :
Fixed illegal memory access after being freed
2018-10-16 Liviu Chircu <liviu at opensips dot org>
* [4e00d0e61] :
build system: Add special handling for gcc 7.2
It appears that gcc's "-dumpversion" behaves differently in 7.2
than in previous versions, due to "-dumpfullversion" being introduced.
$ gcc -dumpversion
7
$ gcc -dumpfullversion
7.2.0
This breaks compilation on systems such as Xubuntu 17.10 with:
Makefile.defs:930: You are using an old and unsupported gcc version
(7), compile at your own risk!
This backwards-incompatible change seems to have been reverted in 7.3+,
though, where the full version is once again being dumped:
$ gcc -dumpversion
7.3.0
$ gcc -dumpfullversion
7.3.0
(cherry picked from commit 79418dce9b14754bf15285b7d72b93513c5c93cd)
2018-10-16 Liviu Chircu <liviu at opensips dot org>
* [d5a0f4a13] :
siptrace/script_helper: Fix crashes with missing headers
Thanks to Ben Newlin and Jon Abrams for spotting this issue!
(cherry picked from commit b14f1435e0a3da22ab4fded86aeb4d94a050f775)
2018-10-15 OpenSIPS <github at opensips dot org>
* [2ad043752] :
Rebuild documentation
2018-10-11 Razvan Crainea <razvan at opensips dot org>
* [78bc569af] :
acc: fix leak when registering missed 2nd time
When calling do_accounting() twice, and the second time was containing
the "missed" flag, the actual acc context was leaking due to an extra
ref. This commit unrefs the context at the end of transaction.
Many thanks to Arto Kuiri for reporting this and for providing valuable
debugging information!
Close #1489
(cherry picked from commit 741c6f346b6b5e94f7991ab41c1bf9a9e89473af)
2018-10-08 Razvan Crainea <razvan at opensips dot org>
* [d227b4a61] :
rtpengine: only compute weight sum over active servers
This also fixes the case where a server is only used as failover.
Credits go to Sasmita Panda for reporting this.
Close #1488.
2018-10-08 Razvan Crainea <razvan at opensips dot org>
* [5de384726] :
async: fix fd leaking and invalid memory overwrite
Also simplify the async interface to prevent dereferencing the fd.
This commit combines the following master commits:
9b45482861c53d79718f4eeff57a25b278964c5f
2b264d0b8c0b8f25d1e895247a1f0f8697ae34e5
ac549a0d5f3a084cd7034bf45b603f95c64025af
Kudos to Liviu Chircu for brainstorming and optimizing the initial fix.
(cherry picked from commit 989b7b939c1f88e4ba6fe18e44ec640ca2f9a467)
2018-10-08 Razvan Crainea <razvan at opensips dot org>
* [5af2866ff] :
db_mysql: add support for mysql 8.0
Fix includes path to prevent adding mysql from source code.
no longer define bool for libmysql > 8.0
Credits go to KetanKothari(IRC) for reporting this.
Close #1456
(cherry picked from commit 13c6bbbf7bdefeb314ba3624b311684c366c33bc)
(cherry picked from commit e2761e0f7570088d9c18174976c141f654dea2d5)
2018-10-08 OpenSIPS <github at opensips dot org>
* [407dbc58a] :
Rebuild documentation
2018-10-03 Liviu Chircu <liviu at opensips dot org>
* [edb3af8d3] :
str_strstr(): Fix unnecessary error log
(cherry picked from commit 640263ded013767b25a19eea8bf1276a5f6be5b0)
2018-10-03 Bogdan-Andrei Iancu <bogdan at opensips dot org>
* [4da6fa165] :
Fix error logs in terms of missing newline or formating
(cherry picked from commit 76cf8f4513b0de4353ee52dec5e4df00f23dc493)
2018-10-03 Bogdan-Andrei Iancu <bogdan at opensips dot org>
* [402d0f498] :
Properly set the custome values for the dr tables.
IF set via modparam, be sure we recalculate the len of the new table name BEFORE we start using it :)
Thanks to @nikbyte and @kertor for report and help.
Closes #1479
(cherry picked from commit a9cd32d75530b79a365f9262f0f919285048cbf7)
2018-10-02 Bogdan-Andrei Iancu <bogdan at opensips dot org>
* [179060bc3] :
Do not print error if the tm API is not available
(cherry picked from commit 1d9fa68fffe2387fc7dd7aafebd57a32cbdb1d44)
2018-10-02 Bogdan-Andrei Iancu <bogdan at opensips dot org>
* [d7fe29875] :
Fixed crashes and mis-behavior in tracing
* do not crash if siptrace loaded but not sip_trace() done from the script
* do not crash when using sip_trace() without the tracing scope (m,t,d)
* properly enable dialog/transaction tracing (best effort depending on the loaded modules) when using sip_trace() without the tracing scope (m,t,d)
(cherry picked from commit c0fd2f810402a2964d43268f70a68c3f6665cbe5)
2018-10-02 Liviu Chircu <liviu at opensips dot org>
* [f6a13ed69] :
dispatcher: Do not start without any partitions
(cherry picked from commit a1b1f38088a0306310dfeffc189dd813015a93bd)
2018-10-02 Razvan Crainea <razvan at opensips dot org>
* [f18359631] :
compression: fix memory in mc_compact()
The function was not releasing the parsed bodies for known headers
Reported by Jock McKechnie on mailing list
(cherry picked from commit 3fef51da747721895fe418987dd8c5db025d478a)
2018-10-01 Liviu Chircu <liviu at opensips dot org>
* [3e6b5d04f] :
acc: Fix cherry-pick error
2018-10-01 Liviu Chircu <liviu at opensips dot org>
* [1ecee22af] :
mid_registrar: Fix segfault on invalid AoR parameter
How to reproduce:
mid_registrar_save("location", , "3600");
(misplaced parameter: we actually provide a bad AoR SIP URI!)
(cherry picked from commit f24351189abb9acc4da1f0485c173f8f02fded3b)
2018-10-01 Liviu Chircu <liviu at opensips dot org>
* [934352854] :
dialog: Remove unused function and parameter
(cherry picked from commit bc840ad7bd2dc4cc785abd0b4df8c06790e2b09e)
2018-10-01 Liviu Chircu <liviu at opensips dot org>
* [27458e72b] :
dialog: Document the callbacks
(cherry picked from commit 849ca807c7792a0598d53907328044718845f282)
2018-10-01 Liviu Chircu <liviu at opensips dot org>
* [9d1ff8450] :
acc: Fix constant-sized pkg leak on startup
(cherry picked from commit 1c60e0e49fd1f53c316fc8affd296f99fa83d39f)
2018-10-01 Liviu Chircu <liviu at opensips dot org>
* [9e74f37bb] :
acc: Improve code quality
* rename expand_legs() -> push_leg() (self-explanatory)
* do not use non-paranthesized macros as functions
* simplify store_acc_table() and avoid shm_realloc() leak on oom
* do not pass redundant function parameters
* remove redundant ACC_PUT_CTX() calls
* use str_strcmp() for added readability
* acc_onreply_in(): improve readability
(cherry picked from commit 13c8244691db9541c92e45ab74d1e0a57cdbdf63)
2018-10-01 Razvan Crainea <razvan at opensips dot org>
* [f92822258] :
db_postgres: add timeout parameter
Prevent db_postgres from getting OpenSIPS stuck trying to connect to
an unreachable PostgreSQL server.
Credits go to Andrew(kertor) for reporting this.
Close #1443
(cherry picked from commit c7e91f5356c9888c7d9c171cb12bd27a1412922d)
(cherry picked from commit 280a4dafca390b980a686882783c53bd81b44201)
2018-10-01 OpenSIPS <github at opensips dot org>
* [d0412564b] :
Rebuild documentation
2018-09-27 Liviu Chircu <liviu at opensips dot org>
* [ff880c67b] :
topology_hiding: Fix possible startup crash
How to reproduce:
loadmodule "topology_hiding.so"
loadmodule "dialog.so"
... without enabling "force_dialog".
Alternative, temporary fix (until you update your binaries):
loadmodule "dialog.so"
loadmodule "topology_hiding.so"
(cherry picked from commit d837021b1558da7a147197e60e2d6d61570dc978)
2018-09-27 Liviu Chircu <liviu at opensips dot org>
* [8b3b6af8a] :
ip_addr2a(): Improve error handling
Do not return a NULL pointer when attempting to print an unknown address
family, rather an empty string.
Reported by @danceinrain
Fixes #1478
(cherry picked from commit a5a3644a4bef21f0fc042d92d4e0166bb94a9ffa)
2018-09-27 Liviu Chircu <liviu at opensips dot org>
* [67b457244] :
Fix some JSON-incompatible MI replies
(cherry picked from commit c658e07b07f63e17535ecac998bf30ff02f0ad78)
2018-09-26 Liviu Chircu <liviu at opensips dot org>
* [5ab04fdd2] :
rest_client: Fix some POST/PUT corner-cases
This patch addresses two rare bugs such that they may now only occur
with old curl versions (pre 7.17.1, that's pre 2007).
When calling rest_post() or rest_put(), assuming we're fetching the
request body buffer into "req_body" via fixup_get_svalue():
1. since req_body->s is not dup'ed and may point to a PV buf,
the next SIP message may impact the currently "just launched"
async transfer by overriding the value stored in the PV buffer
before libcurl fully reads it
2. req_body->s is provided by a PV which does not NULL-terminate
strings (e.g. $du), thus curl's strlen() may overflow or crash
(cherry picked from commit c2c7b052b4b4d05abde20520098acc68f8cd3ed0)
2018-09-26 Razvan Crainea <razvan at opensips dot org>
* [56c6b3ebe] :
rest_client: prevent overflow in Content-Type
(cherry picked from commit c92794e1899ca5fbfc8e9ad488026cc5f344e68a)
2018-09-24 OpenSIPS <github at opensips dot org>
* [867d7d2a8] :
Rebuild documentation
2018-09-20 Nick Altmann <nick.altmann at gmail dot com>
* [ceb752bab] :
RPM spec: fix scenario_callcenter.xml file
2018-09-20 Razvan Crainea <razvan at opensips dot org>
* [b0caf5a47] :
call_center: deploy scenario file at install
Deploy the scenario_callcenter.xml b2b scenario file at install.
Thanks go to cleberb on GitHub for reporting this!
Close #1464
(cherry picked from commit a6d681c89a583cbeec372b90ca25a8ccc09cffe0)
2018-09-20 Liviu Chircu <liviu at opensips dot org>
* [e4d62790f] :
Change source file mode to 644
(cherry picked from commit ac91f3cda4e6b194dc8284128bf9e903df875f12)
2018-09-20 Peter Lemenkov <lemenkov at gmail dot com>
* [8c01e0850] :
Change file mode to 644
(cherry picked from commit 029d2cf72ca792ceb874f400c432466238438fa5)
2018-09-18 Razvan Crainea <razvan at opensips dot org>
* [3f72bc1d7] :
fix possible crash introduced in 6fcbcc8
(cherry picked from commit af98f58a4c30f19af2b2f7da99f389b9f9c252d7)
2018-09-17 Liviu Chircu <liviu at opensips dot org>
* [c022921c6] :
core: Fix poor oom handling
When nearing oom, any failed branch buffer allocations could lead to a
crash due to a lingering freed pointer.
Thanks to Răzvan for helping catch this one!
(cherry picked from commit c2f8b9807837bd8dd143a33cb555b050fb7a8d72)
2018-09-17 Liviu Chircu <liviu at opensips dot org>
* [9c66c22df] :
sql_cacher: Fix invalid memory access
Similar to commit a223c82024. Avoid returning a pointer to a freed pkg
memory area.
(cherry picked from commit 313a3438717f8cb790aec9703037b82a66db3f4f)
2018-09-17 Liviu Chircu <liviu at opensips dot org>
* [291c1fefa] :
sql_cacher: Minor optimization
Optimize the number of buffer realloc operations when fetching cached
values.
(cherry picked from commit 5516398fc63567ec13cb443c5009ad13473ac096)
2018-09-17 Liviu Chircu <liviu at opensips dot org>
* [36dda811d] :
sql_cacher: Fix possible invalid memory access
This patch ensures that we properly duplicate (and later free) any
strings contained in SQL DB results before freeing these results and
returning the strings to the calling layers.
We also add the is_str_column() macro, which improves code readability.
(cherry picked from commit a223c820247398bc54f38aea5f6a9461d8500980)
2018-09-17 Liviu Chircu <liviu at opensips dot org>
* [046c8b45e] :
sql_cacher: Improve on_demand_load()
* while loop: rewrite so we reduce indentation by 1 level
* remove redundant code -- "if (!it) {" condition
(this also drops code indentation by 1 level! yay!)
* fix pkg mem leak on NULL column or bad res type
(cherry picked from commit 827cee77b566f5d304b3bfeb9bd284cb770b8914)
2018-09-17 Liviu Chircu <liviu at opensips dot org>
* [b22c3b68f] :
sql_cacher: Fix several memleaks
insert_in_cachedb():
* fix pkg leak on failed CacheDB set
* fix pkg leak when running oom
load_key():
* [!] fix pkg leak on successful case (return 0)
* fix two pkg leaks on failed CacheDB operation
* fix pkg leak on bad table name
mi_reload():
* fix pkg leak on failed CacheDB add
(cherry picked from commit 449e0371e7890ab4fb355586fec2e13c3f8c3db3)
2018-09-17 Bogdan-Andrei Iancu <bogdan at opensips dot org>
* [0f29e72ec] :
Rebuild DB schema
2018-09-17 Bogdan-Andrei Iancu <bogdan at opensips dot org>
* [c379af45c] :
Fix URI_LEN defintion
256 was a typo, 255 is the max len for a varchar in mysql
Thanks again to Brandon Lee @palmtown
Related to #1462
(cherry picked from commit 2f5e5ffa7ffc272283aba919e112140085c94279)
2018-09-17 OpenSIPS <github at opensips dot org>
* [5cb4f6caf] :
Rebuild documentation
2018-09-14 Alexey Vasilyev <alexei.vasilyev at gmail dot com>
* [07636309e] :
Correct example in docs for t_add_cancel_reason
(cherry picked from commit 224ae25a451e43a2c694aa99dbe62a9456425df2)
2018-09-14 Razvan Crainea <razvan at opensips dot org>
* [71050fd96] :
dialog: fix deadlock when freeing a cell on timer
When freeing a dialog on timer, sequential destroy callbacks might try
to fetch the dialog lock, resulting in a deadlock. The spotted backtrace
is dialog_update_db -> destroy_dlg -> free_dlg_dlg ->
destroy_dlg_callbacks_list -> unref_acc_ctx -> free_acc_ctx ->
store_dlg_value
Thanks go to Jonathan Hulme for spotting this and offering testing
(cherry picked from commit 6fcbcc816b6d8224ed97f14cec74181c0fe6423f)
2018-09-13 Vlad Patrascu <vladp at opensips dot org>
* [aa233ea9e] :
db_mysql: fix uninitialized warning
(cherry picked from commit 514ba0313a5c6f3f5525276966a35606e58ac90d)
2018-09-13 Vlad Patrascu <vladp at opensips dot org>
* [c649a37cb] :
tls_mgm: fix IPv6 support in TLS domain definition
(cherry picked from commit cbff0c0067427074735abad316c5ef9a5cc3659c)
2018-09-13 Bogdan-Andrei Iancu <bogdan at opensips dot org>
* [e6f4eafc5] :
Regenerate DB schema
2018-09-13 Bogdan-Andrei Iancu <bogdan at opensips dot org>
* [5e7757eb7] :
Fixed len for the username column
(cherry picked from commit b66851b9eab4f1d5685dea19e3c38e74405c5abc)
2018-09-13 Bogdan-Andrei Iancu <bogdan at opensips dot org>
* [9095e0798] :
Fix IPv6 related storage capacity.
Extand SIP_URI from 128 to 256 to be sure that IPv6 containing URIs (especially SIP contact URIs) to fit.
Closes #1462
(cherry picked from commit 6c8370be3da4b32240a4cd12fd71436ab9de78d7)
2018-09-13 Bogdan-Andrei Iancu <bogdan at opensips dot org>
* [bdcb8d483] :
Fix IPv6 support in lb_is_destination() and lb_count_call().
(cherry picked from commit c4505fadb1c4cd1207b489103a909d46a4acb262)
2018-09-13 Bogdan-Andrei Iancu <bogdan at opensips dot org>
* [eda413936] :
Fix IPv6 support in ds_is_in_list().
Closes #1459
(cherry picked from commit 774c22d83eace7b7e0d37f503f8759ffffdf5f9a)
2018-09-12 Dan Pascu <dan at ag-projects dot com>
* [acfd1644c] :
Improved log message
2018-09-12 Dan Pascu <dan at ag-projects dot com>
* [e15cbb88c] :
Adjusted logging of private memory used based on its configured type
2018-09-12 Dan Pascu <dan at ag-projects dot com>
* [eec3758f8] :
Adjust the reactor size in accordance to the type of memory being used
2018-09-12 Dan Pascu <dan at ag-projects dot com>
* [dceb6e462] :
Fixed displaying the memory size
2018-09-11 Dan Pascu <dan at ag-projects dot com>
* [0e1535a95] :
Fixed segmenation fault caused by accessing deallocated memory
2018-09-10 OpenSIPS <github at opensips dot org>
* [48af2b4f8] :
Rebuild documentation
2018-09-06 Vlad Patrascu <vladp at opensips dot org>
* [2c51eaa0c] :
Fix DB migration for sip_trace table
2018-09-04 Vlad Patrascu <vladp at opensips dot org>
* [b5219e43f] :
cachedb_cassandra: update documentation
(cherry picked from commit f85724f9b229548542ccfa6b5a157ad3d7b534bd)
2018-09-04 Vlad Patrascu <vladp at opensips dot org>
* [c75c4933b] :
cachedb_cassandra: check if counters table exists before using it
(cherry picked from commit a81860e6050a70afcd6da18d9b75be02ebaf1af4)
2018-09-04 Vlad Patrascu <vladp at opensips dot org>
* [b6774d0d7] :
cachedb_cassandra: use quoted identifiers in queries
(cherry picked from commit c58945b324281a3a243e97300dffd5ca2755c26f)
2018-09-04 Vlad Patrascu <vladp at opensips dot org>
* [da0f07020] :
cachedb_cassandra: change the separator in the URL database to '.'
(cherry picked from commit 37d240643301053a0f6ba9f2558a3e8e60500556)
2018-09-04 Vlad Patrascu <vladp at opensips dot org>
* [a6639c4ba] :
cachedb_cassandra: update driver
Update the OpenSIPS Cassandra driver from the deprecated Thrift based
implementation to the newer DataStax C/C++ driver that uses Cassandra's
native transport protocol and the Cassandra Query Language.
Closes #1117
(cherry picked from commit 6f873a7fb98e0a2a53e098976a83037390d13efc)
2018-09-02 OpenSIPS <github at opensips dot org>
* [622903436] :
Rebuild documentation
2018-08-31 Bogdan Andrei IANCU <bogdan at opensips dot org>
* [101a168d1] :
Merge pull request #1448 from vasilevalex/topo_hide_rfc
Change topology hiding Contact header to fit RFC 3261
(cherry picked from commit aa1c800b649cb6833513284550e4c25b2aeed9ee)
2018-08-19 OpenSIPS <github at opensips dot org>
* [883838ef7] :
Rebuild documentation
=========================== Release 2.3.5 ==============================
2018-08-14 Razvan Crainea <razvan at opensips dot org>
* [e3d00e6d4] :
Bump version to 2.3.5
2018-08-14 Bogdan-Andrei Iancu <bogdan at opensips dot org>
* [c4c61fd9a] :
Fixed freeing NULL rpl from REDIS server.
Reported by @mrmeyers99
Closes #1442
(cherry picked from commit b33b7a7e71ce0b76a80c3abf430f572074869e22)
2018-08-14 Bogdan-Andrei Iancu <bogdan at opensips dot org>
* [8ce861d45] :
Fixed reporting the correct query retcode via db_virtual
There are mainly 2 fixes here:
- correct iteration in the list of connection when failed conns are found or detected
- correct aggregation of the retcode, based on all performed queries in the list
(cherry picked from commit 8369c3191ed0f355eaf8087767ea113861101a81)
2018-08-14 Razvan Crainea <razvan at opensips dot org>
* [fd4dcff2b] :
msg_translator: adjust the lumps len with the useful part of the body
Discard the extra bytes in the body that are not contained by the
Content-Length.
(cherry picked from commit ded172901d5d06436034fed9272d29adb37c2985)
2018-08-14 Razvan Crainea <razvan at opensips dot org>
* [d2382791a] :
Revert "msg: remove extra bytes from malformed bodies"
This reverts commit fecb4b244c3cf84435af03db88bfd88002a69177.
(cherry picked from commit ac715eec93a017ca8e42401ddf2678256d225ccf)
2018-08-14 Vlad Patrascu <vladp at opensips dot org>
* [d6797d493] :
dialog: fix unused variable compile errors
2018-08-14 Vlad Patrascu <vladp at opensips dot org>
* [5f8108e24] :
proto_tls: fix crash when tracing an outgoing connection
This was caused by attempting to send tracing data that was not ready yet.
Thanks to Razvan for reporting and help in debugging.
(cherry picked from commit 1cec6f7d10cd2d72dccdc12256ade647ce811ad4)
2018-08-14 Bogdan-Andrei Iancu <bogdan at opensips dot org>
* [3b643b53c] :
Fix memory leak on redis cache misses
Closes #1441
Credits go to @mrmeyers99
(cherry picked from commit cf88b4b261a434f9c39e0254440175549db2f8c9)
2018-08-14 Liviu Chircu <liviu at opensips dot org>
* [a822be19e] :
dialog: Complete commit 4ba14e51cbbb
Commit 4ba14e51cb did not actually change anything, as the runtime
environment was also hardcoded to only write to AVPs / pseudo-vars.
We now fix get_profile_size(), as well as fetch_dlg_value() such that
they properly write to any writable pvar at runtime.
(cherry picked from commit 005b89eed94f207047be8c7a424618b650cd3042)
2018-08-14 Bogdan-Andrei Iancu <bogdan at opensips dot org>
* [984301032] :
Fix wrong chapter'ing in docs
(cherry picked from commit 0e978c907d58a868e6c81f4685c1e46189910fc1)
2018-08-13 Bogdan-Andrei Iancu <bogdan at opensips dot org>
* [9280c83b8] :
Fix cases in db_url parameter examples
(cherry picked from commit 550e8cb8a75dd193ada51fc102e4573c2be862af)
2018-08-12 OpenSIPS <github at opensips dot org>
* [edfe1eac2] :
Rebuild documentation
2018-08-10 Liviu Chircu <liviu at opensips dot org>
* [337eed749] :
acc: Fix trivial crash on non-CDR accounting
(cherry picked from commit f76cc0eaaad9c6ddb4efd609b9b9bac59b69b941)
2018-08-10 Bogdan-Andrei Iancu <bogdan at opensips dot org>
* [2df34cd9a] :
Suppressed too verbous dbg messages
(cherry picked from commit ae6e9665ec8c0585c40abcb51b5ba138e5721423)
2018-08-10 Bogdan-Andrei Iancu <bogdan at opensips dot org>
* [01812077d] :
Fix crash when using an undefined db virtual set
(cherry picked from commit c288a1c1ab49b3b40bbb5efa8dd629383b2e34b6)
2018-08-10 Vlad Patrascu <vladp at opensips dot org>
* [c7cfc3c39] :
sql_cacher: fix an error message
(cherry picked from commit 98662b927bc67b9c9f113e853176f499cd732354)
2018-08-10 Vlad Patrascu <vladp at opensips dot org>
* [3f29f2dcd] :
sql_cacher: fix db handlers for multiple caching entries
(cherry picked from commit 29b04376ea57875c8918815696b599821a8e5a64)
2018-08-10 Bogdan-Andrei Iancu <bogdan at opensips dot org>
* [c7d31108a] :
Fix cases in db_urls parameter doc.
(cherry picked from commit ea78949ff7f9725d4a6f278c3d646dacace2d11a)
2018-08-10 Razvan Crainea <razvan at opensips dot org>
* [255ca845a] :
dialog: fix MI profile_end_dlgs return to 200 OK
Before this change the command was returning 400 OK on success
(cherry picked from commit 3c7f8943aa70f6871a934e450b8e4fffe71b9ddd)
2018-08-09 Bogdan-Andrei Iancu <bogdan at opensips dot org>
* [b6aff0485] :
Fix wrong condition in detecting the pass-thorugh body
Completes/superfixes 953490775b82f2244eb3b0bcba6232d3d2af4484
(cherry picked from commit ec33af3504c0ffdba8d238ea1c1365b5ffe43b0f)
2018-08-09 Razvan Crainea <razvan at opensips dot org>
* [5b40c4a63] :
etc/tls: remove passphrase
(cherry picked from commit 7bd8f1dd77352ffde1c8c7721172816aa25149c8)
2018-08-08 Bogdan-Andrei Iancu <bogdan at opensips dot org>
* [7f0839031] :
Fixed pass-through multi-part body with a single part
Previously the code was trying to convert the multi-part with a single part to a uni-part body, but this was incomplet as the Content-type was not updated and the per-part headers were lost.
So, a better approach is to keep it as it is (as packing).
(cherry picked from commit 953490775b82f2244eb3b0bcba6232d3d2af4484)
2018-08-06 Razvan Crainea <razvan at opensips dot org>
* [a45c352e5] :
db_mysql: re-try query in case of a server deadlock
2018-08-06 Razvan Crainea <razvan at opensips dot org>
* [f5a70d45c] :
acc: rework ref logic for acc ctx
This commit tries to fix some invalid memory accesses experienced in
high traffic platforms.
Credits go to 46 Labs for reporting the issue, providing logs and tests
(cherry picked from commit 056d7b95dc29b961c1e41b9fe495574da8b0436d)
2018-08-05 OpenSIPS <github at opensips dot org>
* [4093c5369] :
Rebuild documentation
2018-08-04 Liviu Chircu <liviu at opensips dot org>
* [b650ff602] :
Module doc: Normalize section names
(cherry picked from commit b4295bc23a68d78c3ab45ea7c878e901a7d434a5)
2018-08-04 Liviu Chircu <liviu at opensips dot org>
* [57ea5ab03] :
Fix missing documentation anchors
2018-08-04 Liviu Chircu <liviu at opensips dot org>
* [9f75f2bae] :
Improve documentation
* tm:
- t_relay() "0x02" flag
- t_newtran()
* acc: $acc_current_leg
* registrar: $avp(attr)
* dialog: match_dialog()
(cherry picked from commit bc0855275ebde456eb0cfd7682774fc316a41dc8)
(cherry picked from commit d79850377282facc29ab84a85af06cdccecabd9e)
2018-08-04 Liviu Chircu <liviu at opensips dot org>
* [aaef50372] :
Codebase improvements
(cherry picked from commit 81771e7c53de6cf85b96f55fbcbd1d9591ca42a8)
(cherry picked from commit ac12fc933e041091c68c950769d744a86d4b61eb)
2018-08-04 Liviu Chircu <liviu at opensips dot org>
* [425075dd6] :
Fix typos
(cherry picked from commit b93a79e31a79b13fe06ab6a0b89fb3f7f20399e6)
(cherry picked from commit 59231f41c0ea5e85c783e595c83f997128906bbb)
2018-08-04 Liviu Chircu <liviu at opensips dot org>
* [2653083ba] :
doc/build-contrib.sh: Improve locale management
(cherry picked from commit ae97cea6b5354b68659c87396b1ef852f98f115f)
(cherry picked from commit efba6a239d69776b245c88cb66c9311cf01d5b1e)
2018-08-02 Liviu Chircu <liviu at opensips dot org>
* [7bd904daf] :
cachedb_mongodb: Fix modparam typo
(cherry picked from commit deb76e340a8322aa7a1eea0d73f40e00867d1c47)
(cherry picked from commit 61ef877c5b7d43925cd7587b2a798afcdce637da)
2018-08-02 Liviu Chircu <liviu at opensips dot org>
* [0d195891d] :
dialog: Make get_profile_size() less restrictive
Allow any writable pvar to be given for the 'size' output parameter.
(cherry picked from commit e1346ce9f889cf609155ee83972d751275b1bcab)
2018-07-31 Bogdan-Andrei Iancu <bogdan at opensips dot org>
* [45613bda3] :
Fix wrong section enclosing for functions.
(cherry picked from commit 6ba2a41991d5ba67065b8d13d05c0ced929c448c)
2018-07-30 Liviu Chircu <liviu at opensips dot org>
* [476db68df] :
doc/build-contrib: Simplify external scripting