forked from OpenSIPS/opensips
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathChangeLog
More file actions
10061 lines (5958 loc) · 281 KB
/
Copy pathChangeLog
File metadata and controls
10061 lines (5958 loc) · 281 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.4.5 ==============================
2019-03-07 Razvan Crainea <razvan at opensips dot org>
* [b9eaf7dd2] :
Bump version to 2.4.5
2019-03-07 Razvan Crainea <razvan at opensips dot org>
* [0d752142d] :
b2b_entities: don't unref UNDEFINED tm
Close #1629
(cherry picked from commit e6f181e26129cf1ad64071723c0c2456bac60bb7)
2019-03-07 Liviu Chircu <liviu at opensips dot org>
* [b92203da3] :
mid_registrar: Fix unnecessary error log
Thanks to @StellaTeam for the report!
Fixes #1620
(cherry picked from commit d8ad6551c0cfbebc18995cfc79e40a7f38b0ea59)
2019-03-07 Liviu Chircu <liviu at opensips dot org>
* [303b00dec] :
mid_registrar: Do not ignore "advertised address"
Whenever the send socket address is overridden, in decreasing
precedence order, through either:
* listen = <sock> AS <advertised_address>
* set_advertised_address() script function
* advertised_address = <adddress> global parameter
... the mid-registrar will now properly take this into account and
include the advertised address in all REGISTER Contacts header fields it
relays.
Many thanks to Italo Rossi (@italorossi) for reporting this issue.
Fixes #1619
(cherry picked from commit 5c893731666ff374e9cc3183d3358f195dd7087d)
2019-03-07 Bogdan-Andrei Iancu <bogdan at opensips dot org>
* [732038b6d] :
Fixed access to acc vars in failure route during internally generated final replies(408)
Register the internal TM callback for FAILURE all the time, as it will be responsible for populating the acc context in Transaction when handling an internally generated final reply (408).
Credits for reporting and identifing the issue to @rrb3942
Closes #1602
2019-03-06 Liviu Chircu <liviu at opensips dot org>
* [d25602ba4] :
clusterer: Fix missing lock_release()
(cherry picked from commit 1e14a83cbeb0f7f8e814037601ad65a693c7e52f)
2019-03-06 Razvan Crainea <razvan at opensips dot org>
* [a127598bb] :
dialog: proper parsing of serialized dlg vals
Before this fix, if a value was having more than two "legitimate" `\`
(ascii 92) chars inside the value, OpenSIPS would have crashed.
Credits go to 46Labs for reporting!
(cherry picked from commit 9c4bb36bcb7938409e317b2227e917150bb24855)
2019-03-06 Răzvan Crainea <razvan at opensips dot org>
* [87cc072ea] :
Merge pull request #1594 from vasilevalex/validate_ipv6
Allow IPv6 address in hostname
(cherry picked from commit 873bd820cb1770b048435dc5bb7a7b99a156539e)
2019-03-05 Vlad Patrascu <vladp at opensips dot org>
* [67e346d3d] :
dialog: fix processes serialization when fetching sharing tag state
High contention on a RW lock aquired for switchable reading has the same
downsides as direclty aquring it for writing. This commit improves this
by switching from read to write in separate steps, with basic rw lock
ops (start/stop read/write).
2019-03-05 Bogdan-Andrei Iancu <bogdan at opensips dot org>
* [0b1cc464a] :
Remove some extensive logging (needed only for dev)
(cherry picked from commit 60024ad92931054104b88dce4a0ca04935cb76e5)
2019-03-05 Bogdan-Andrei Iancu <bogdan at opensips dot org>
* [7664d24d5] :
Fix cps counting for the SBT algorithm
Credits shared with @razvancrainea for sorting out the issue and reworking the alg implementation.
(cherry picked from commit 732e3d6157f92f22ab8ad83d1e87d8beb4aa838e)
2019-03-05 Bogdan-Andrei Iancu <bogdan at opensips dot org>
* [0c64403e7] :
Fix the parsing of $rl_count name
(cherry picked from commit d7224382be37821026643e753de68c17b24307c3)
2019-03-03 OpenSIPS <github at opensips dot org>
* [bbd6eb84c] :
Rebuild documentation
2019-03-01 Razvan Crainea <razvan at opensips dot org>
* [637604dfd] :
dialog: init ret value to skip warnings
2019-03-01 Razvan Crainea <razvan at opensips dot org>
* [a93800952] :
dialog: replicate profiles outside lock
(cherry picked from commit fdefec49d0415be9b499bb857e4b076d71729e78)
2019-02-28 Liviu Chircu <liviu at opensips dot org>
* [6c6c513f2] :
dialog: Propagate new $DLG_timeout values to DB/BIN
Make sure to store/replicate the new value, not the old one!
Credits to Vlad Patrascu for helping track this down
(cherry picked from commit d948aa037b04bbfa37581876655edd7fcd26570e)
2019-02-27 Di-Shi Sun <di-shi.sun at transnexus dot com>
* [0101343ee] :
Updated OSP Toolkit project repository.
2019-02-26 Razvan Crainea <razvan at opensips dot org>
* [922e188c1] :
dialog: prevent bin buffer double release
(cherry picked from commit 738905d2fc735e82043335d51ff23f714e2306b8)
2019-02-24 OpenSIPS <github at opensips dot org>
* [e64b11799] :
Rebuild documentation
2019-02-22 Liviu Chircu <liviu at opensips dot org>
* [0de94a899] :
rr: Fix a buffer mgm bug during strict routing callbacks
While doing strict routing (e.g. the R-URI host is a local domain) and
executing the module callbacks, the rr module would provide some bogus
memory pointer as the result of the rr_api.get_route_param() function.
Although opensips would not crash due to the dangling pointer residing
in pkg memory, some callbacks would misbehave (e.g. uac_auth() would
fail to adjust the outbound ACK CSeq, since it cannot locate the ";aci"
Route header field parameter within the dangling pkg area).
Related to #1613
(cherry picked from commit ec89b78667430da51e4146bc7f2514f68e9d21a9)
2019-02-17 OpenSIPS <github at opensips dot org>
* [498aec2a3] :
Rebuild documentation
2019-02-15 Razvan Crainea <razvan at opensips dot org>
* [5f30be420] :
siprec: fix socket enforce
(cherry picked from commit a7a65d39566ba4eec5d639b01909fad97a9c6586)
2019-02-12 Liviu Chircu <liviu at opensips dot org>
* [71cb2b015] :
mid_registrar: Improve ';ctid= not found' error logs
(cherry picked from commit b830a2f32b145d32e7f85cd41dd4848211e27c11)
2019-02-12 Bogdan Andrei IANCU <bogdan at opensips dot org>
* [a7eeaf187] :
Merge pull request #1614 from wdoekes/wjd-correct-presence-list-mi-flush-2.4
Correct presence list MI flush in OpenSIPS 2.4
2019-02-12 Walter Doekes <walter+github at wjd dot nu>
* [fd75d765e] :
mi_datagram: Correct leftover bytes count
Before this fix, a flush_mi_tree without new data would decrement the
bytes-left for no reason, and after a bunch of these, we'd run out of space.
Errors like these would flood the logs:
failed to write -line too long!
failed to write - EOC does not fit in!
Additionally, mi_datagram_write_node would decrease the length by more than
necessary, causing less than half the full size to fit in the response.
(dtgram->len is "bytes left", not "total length")
2019-02-12 Walter Doekes <walter+github at wjd dot nu>
* [fd3a6e4a7] :
presence: MI flush subs_phtable_list only if there is data
Also flush pres_phtable_list after more than 50 entries.
Corrects problem with (soon to be removed) mi-datagram where flushing
after 0 bytes creates a negative response.
2019-02-11 Răzvan Crainea <razvan at opensips dot org>
* [d57ce2d41] :
Merge pull request #1601 from rrb3942/rtpproxy_socket_clipping
Don't clip notify socket to older rtpproxies when using unix sockets
(cherry picked from commit 9f6b15e2895260f6537d57f16575ff96955dba6a)
2019-02-10 OpenSIPS <github at opensips dot org>
* [168466166] :
Rebuild documentation
2019-02-08 Razvan Crainea <razvan at opensips dot org>
* [e563f7dbd] :
net/tcp: save fd before sending the conn to main
Save local fd of the connection before sending it to TCP main, to make
sure we it won't get overwritten by main, and we close somebody else's
file descriptor.
(cherry picked from commit ed4e862db1dbeefd6db8559425c2da26fa239dd9)
2019-02-08 Bogdan-Andrei Iancu <bogdan at opensips dot org>
* [eb07ae953] :
Remove double free on bad input
Credits for the fix go to @rrb3942
Closes pull request #1599
2019-02-07 Vlad Patrascu <vladp at opensips dot org>
* [765dba5c4] :
dialog: fix some profile replication locking issues
* fix an extra relase instead of acquire for the received counters lock
* fix an unrelased profiles lock in case of error
2019-02-05 Vlad Patrascu <vladp at opensips dot org>
* [a6790d5bd] :
dialog: also include sdp body when replicating dialogs
(cherry picked from commit c8907aa3d61955f76887e32e75666468ab856f1f)
2019-02-05 Bogdan-Andrei Iancu <bogdan at opensips dot org>
* [945c2eccf] :
Fixed over/undeflow due signed/unsigned differences
Introduced with the last commit f8b7e9c
2019-02-05 Bogdan-Andrei Iancu <bogdan at opensips dot org>
* [f8b7e9c8d] :
Fixed calculating the ovrall load stats
Correlate the summed used processing time with the number of summed processes, not total processes.
(cherry picked from commit bf2e51cfbe16262a29f0f52c83532c55cdb43e67)
(cherry picked from commit 3354d87807e3298cfea2e0dc3f471af3538b2b0f)
2019-02-03 OpenSIPS <github at opensips dot org>
* [45c5200e8] :
Rebuild documentation
2019-02-02 Bogdan-Andrei Iancu <bogdan at opensips dot org>
* [033db9fd0] :
Fixed uninit len for th_contact_encode_passwd param.
As the used len was all the time 10 (the len of the default passwd), if you have set a shorter one, the actual used passwd has some trailing memory garbage (up to 10 char len). This grabage could be (99.999%) constant during runtime, but 100% different after a restart. Shorly, the decoding on ongoing contact would have failed after a restart.
(cherry picked from commit 4a17a828861feb6be07f67103ad352e7d8c817f6)
2019-02-01 Liviu Chircu <liviu at opensips dot org>
* [b6e6d4fc1] :
freeswitch_scripting: Remove dead code
(cherry picked from commit 13d77ed4bdccdf77d0142900d43b76d490faf4c4)
2019-02-01 Liviu Chircu <liviu at opensips dot org>
* [76c02314b] :
freeswitch_scripting: Fix startup crash with no modparams
Thanks to Bogdan for catching this one
(cherry picked from commit fd35cfd400348b30d89608f4ca700c3e8c526ec6)
2019-02-01 Vlad Patrascu <vladp at opensips dot org>
* [2a05d560e] :
clusterer: fix description of 'state' column in db schema
Closes #1595
(cherry picked from commit 7aed4c179146140c055ecb34c190f176030766c0)
2019-01-30 Liviu Chircu <liviu at opensips dot org>
* [f67f8d6cf] :
Avoid errors on "$rU = <NULL expression>;" statements
(cherry picked from commit 94d2f05940e7078d1acf485ea848eb9e5f34b00f)
2019-01-29 Vlad Patrascu <vladp at opensips dot org>
* [e9d75edfe] :
clusterer: complete previous fix
(cherry picked from commit ad8d40c3bfa0d4d2aa095c12507295049685c12a)
2019-01-29 Vlad Patrascu <vladp at opensips dot org>
* [d083b74cb] :
clusterer: fix crash introduced in previous commit
Also do not reset the capabailities states after running 'clusterer_reload'.
(cherry picked from commit a3d5a798498cfd3552c328c4040098d86b4bcafd)
2019-01-29 Vlad Patrascu <vladp at opensips dot org>
* [190ba59ac] :
clusterer: fix loss of capabilities when doing clusterer_reload
(cherry picked from commit 0dc0ee54317de5f663703000e374aa9ad92c0fe9)
2019-01-27 OpenSIPS <github at opensips dot org>
* [542c7a66b] :
Rebuild documentation
2019-01-23 Liviu Chircu <liviu at opensips dot org>
* [d1055351a] :
avpops: Make an empty avp_print() more obvious
(cherry picked from commit f9a4874f6710099b293229c679ce79bc34a99a74)
2019-01-23 Liviu Chircu <liviu at opensips dot org>
* [c43ee631a] :
doc/build-contrib.sh: Add new contributors
(cherry picked from commit 9569c2c8e0a974438b954c6a1fa721048c9b7b2c)
2019-01-23 Liviu Chircu <liviu at opensips dot org>
* [dd013d010] :
clusterer: Do not segfault on failed OpenSIPS startup
(cherry picked from commit 00504b1a85d969a16a516fa73eafb23f6b66a18c)
2019-01-23 Liviu Chircu <liviu at opensips dot org>
* [52ff74af8] :
Fix poorly managed route param recursion level on an error state
(cherry picked from commit b491999b2449b0f22d57dd92ce53e0b4f51a35de)
2019-01-20 OpenSIPS <github at opensips dot org>
* [c3b087f44] :
Rebuild documentation
2019-01-18 Liviu Chircu <liviu at opensips dot org>
* [7b61a7e9e] :
registrar: Fix incomplete commit d2a958dca
Many thanks to @fedorna for catching this one!
Fixes #1588
(cherry picked from commit d47b51604604431a0390cd1ecc4514e0e0fe195b)
2019-01-18 Liviu Chircu <liviu at opensips dot org>
* [8d28ab639] :
usrloc: Fix "shared_pinging" docs to match the code
Thanks to John Quick for reporting this issue
2019-01-18 Liviu Chircu <liviu at opensips dot org>
* [b600b23bb] :
nathelper: Fix segfault while interpreting the branch value
(cherry picked from commit 81f6ac78649d17372d6183a97403514281c537e0)
2019-01-17 Razvan Crainea <razvan at opensips dot org>
* [c1403a1d9] :
clusterer: initialize db connections in mod init
Prevent the module from using a single DB connection from all processes,
because it leads to commands responses overlaps.
Close #1579
(cherry picked from commit 4c29eedc3dbdd9e74781cd81f626b64c71a4e16d)
2019-01-13 OpenSIPS <github at opensips dot org>
* [b0a3a3d23] :
Rebuild documentation
2019-01-10 Razvan Crainea <razvan at opensips dot org>
* [1f8facec9] :
tm/cluster: don't send replies for transactions not found
(cherry picked from commit 1e0349ff2e217fcccc6b9c66549c799163b50395)
2019-01-09 Ovidiu Sas <osas at voipembedded dot com>
* [698caac79] :
httpd: Handle Content-Type: text/html and enhance some err logs
(cherry picked from commit 7829916b8505b6425cdf2b7dc6a25b0604a91bb5)
2019-01-09 Bogdan-Andrei Iancu <bogdan at opensips dot org>
* [6fc556c46] :
[mi_xmlrpc_ng] Fix methodResponse XMLRPC formating
The 'struct' tag must be enclosed in a 'value' tag.
Fixes #1499
(cherry picked from commit c1cfba8806e64158942a13e062bfdf2611d76f21)
2019-01-08 Bogdan-Andrei Iancu <bogdan at opensips dot org>
* [ff21cea19] :
[MI] Fix missing/wrong Content Type in HTTP responses
When registering a callback to the HTTP server, let it also know what will be the Content Type for the returned data.
Fixes #1509
(cherry picked from commit b3e0f6cc9c3e04f986f00919778b92c1f6839104)
2019-01-06 OpenSIPS <github at opensips dot org>
* [1fcca4aeb] :
Rebuild documentation
2019-01-04 Bogdan-Andrei Iancu <bogdan at opensips dot org>
* [87a59ea47] :
[registrar] Fix 'contact' matching in remove()
Deal with the 'contact' parameter as a string and to a string matching against the registered contacts.
Fix for #1569
Cherry-pick from 2e1e1e98318bede41737945395a8b24366130c9c
2019-01-04 Liviu Chircu <liviu at opensips dot org>
* [8b0b7f3db] :
mid_registrar: Fix incorrect error log
(cherry picked from commit 0062ef0842c36fcd32942f53800401505354d1dd)
2018-12-23 OpenSIPS <github at opensips dot org>
* [184adb83e] :
Rebuild documentation
2018-12-22 Razvan <razvan at opensips dot org>
* [6fcc6005f] :
cgrates: don't serialize dlg vals for deleted dlgs
(cherry picked from commit effaf925c2a3e40990521d495edce8f18aee68a9)
2018-12-21 Razvan Crainea <razvan at opensips dot org>
* [32b4af7e5] :
compression: re-compute the uri after rebuilding the buffer
When freeing the buffer in be3b603667, the URI in transaction remained
pointing to the old buffer. Therefore when building local ACK or CANCEL,
URI was having garbage.
Fixes #1575
Many thanks to Jock McKechnie for reporing it and offering testing support
(cherry picked from commit d87766364096e567dbd15f9d8ff1dd2b6082703e)
2018-12-20 Razvan Crainea <razvan at opensips dot org>
* [ee932827f] :
dialog: do not replicate update messages on early
This suppresses some errors generated by incomplete replicate messages
(missing callee socket, tags, etc.)
(cherry picked from commit 7dd023c2501579adb287506aa59c32801e57b1cc)
2018-12-19 Alexey Vasilyev <alexei.vasilyev at gmail dot com>
* [4c08620d6] :
db: correct parsing ipv6 address for host
(cherry picked from commit bfbfa83ba860aead9d6d7b1c91f08185ee4425e1)
2018-12-19 Alexey Vasilyev <alexei.vasilyev at gmail dot com>
* [07a4390eb] :
cachedb: correct parsing ipv6 address for host
(cherry picked from commit 084ab2c38667a71120552d933ffa901fdbf5b9dc)
2018-12-18 Liviu Chircu <liviu at opensips dot org>
* [714cddc17] :
Fix more bad "method ==" examples
Completes 8370a8d7
(cherry picked from commit 4b697f37538a60f0d0f2404a45172fa5d0f11ec9)
2018-12-18 Bogdan-Andrei Iancu <bogdan at opensips dot org>
* [04c1bc8cf] :
Fix example in module docs.
The 'method' keyword is obsolete and replaced with is_method()
Reported by VozToVoice Net.
(cherry picked from commit 8370a8d7f6919ad621f7123b405bc023434c5123)
=========================== Release 2.4.4 ==============================
2018-12-18 Razvan Crainea <razvan at opensips dot org>
* [d0252793f] :
Bump version to 2.4.4
2018-12-18 Bogdan-Andrei Iancu <bogdan at opensips dot org>
* [4fa79d546] :
Fix parsing SIP buffer when needed HDR is last.
Be sure and not not include the HDR to BODY separator as part of the last hdr.
Fixes #1555.
(cherry picked from commit 24ebbbe42bb1a888b0a06b08dd5c6a280e4ec2c6)
2018-12-18 Liviu Chircu <liviu at opensips dot org>
* [4253767be] :
registrar / mid_registrar: Fix lookup() with a custom AoR
Thanks to Antonis Psaras (@apsaras) for reporting!
Fixes #1571
(cherry picked from commit d2a958dcad300ba4dd9e63e8a4ccbc2da6d60224)
2018-12-18 Vlad Patrascu <vladp at opensips dot org>
* [0b7ced846] :
mmgeoip: fix gcc compile warning
(cherry picked from commit 88ef1217067f08998ff4d5f28dcd4aabfc677a23)
2018-12-18 Vlad Patrascu <vladp at opensips dot org>
* [6dabe1546] :
mmgeoip: update driver to support GeoIP2
Closes #1362
(cherry picked from commit 4272fcee0a18fec577f2e1438909dcfdb1b4418d)
2018-12-17 Razvan Crainea <razvan at opensips dot org>
* [3dab82938] :
cgrates: serialize variables in a different var
This prevents ongoing sessions from being overwritten by the serialized
value.
(cherry picked from commit ae10e1aab24f7d1a3988790c7e5d9a907f2e967b)
2018-12-17 Razvan Crainea <razvan at opensips dot org>
* [6d1eda3ed] :
compression: do not free buf for stateless
The callback frees them for you, resulting in a double free.
Bug introduced in be3b6036.
Reported by Ryan Bullock on GitHub.
(cherry picked from commit 57f142bdeda5dd7ad4406cab184ab7a2668e32a1)
2018-12-16 OpenSIPS <github at opensips dot org>
* [413aa5b7c] :
Rebuild documentation
2018-12-13 Razvan Crainea <razvan at opensips dot org>
* [a2662be82] :
rtpengine: fix possible crash in via-branch
Before this fix, if one was asking for a via branch id that was not
available, OpenSIPS was crashing.
Fixes #1556
(cherry picked from commit 624317765d4ad49e0a3dd31b563b0c3c91657959)
2018-12-12 Razvan Crainea <razvan at opensips dot org>
* [13589ff3a] :
tm: t_check_trans() return -2 for end-to-end ACKs
Using this return code we can detect end-to-end ACKs in script.
(cherry picked from commit 97dda5bb74f9229063955154ec2cc6bde484bd0c)
2018-12-11 Liviu Chircu <liviu at opensips dot org>
* [416a87122] :
seas: Fix compile error
2018-12-11 Bogdan-Andrei Iancu <bogdan at opensips dot org>
* [c4578e150] :
Fixed compile warning (include file missing)
Related to b90a34c54bf747958544c66502f406cc4b935fb6
2018-12-11 Liviu Chircu <liviu at opensips dot org>
* [99f306a5d] :
dialog: Fix compile errors
2018-12-11 Bogdan-Andrei Iancu <bogdan at opensips dot org>
* [b90a34c54] :
Remove circular include.
Reported by Peter Lemenkov (@lemenkov)
Addresses #1562
2018-12-09 OpenSIPS <github at opensips dot org>
* [9b4ee034a] :
Rebuild documentation
2018-12-03 Bogdan-Andrei Iancu <bogdan at opensips dot org>
* [5f1ec371b] :
Fixed cloning of hostend structs.
The h_addr is only a #define to h_addr_list[0], leading to overwriting the new h_addr_list[0] with the old (src) value.
Credits to Dan Pascu (@danpascu) for reporting and assisting with the troubleshooting.
2018-12-03 Liviu Chircu <liviu at opensips dot org>
* [c24a099fd] :
Fix possible pkg buffer overflow in all {sdp.*} transformations
Thanks to Bogdan for directing the troubleshooting of this bug.
Thanks to 46Labs for providing extensive troubleshooting information.
(cherry picked from commit 52e3ada3ab649875e9a8f5e62a2c927ed8858d76)
2018-12-03 Razvan Crainea <razvan at opensips dot org>
* [a1fdfcb0e] :
event_jsonrpc: fix yet busy flag value
This time the flag was overlapping with event_flatstore one. More
details in #1533
(cherry picked from commit 84bf5f3b055de4c849c2406171be55442ca83a7f)
2018-12-02 OpenSIPS <github at opensips dot org>
* [f9fc9c905] :
Rebuild documentation
2018-11-29 Dan Pascu <dan at ag-projects dot com>
* [797af7239] :
Fixed segfault when resource list document is not found
2018-11-28 Razvan Crainea <razvan at opensips dot org>
* [9d32492f1] :
mongodb: remove deprecated is_error() in json-c 0.13
(cherry picked from commit 0d819747817b90d05610e57a1168ce56b0610c09)
2018-11-27 Razvan Crainea <razvan at opensips dot org>
* [5cf1811aa] :
rtpengine: fix checking "cached" stats
Credits go to Nick Altman for reporting this in ticket #1500
(cherry picked from commit e7fa92cc2c8124f40240deecdc56ad2f258ff21a)
2018-11-27 Razvan Crainea <razvan at opensips dot org>
* [d7f636733] :
compression: fix leaks when message was rebuilt
When the initial buffer had to be changed, the previous one was no
longer released, resulting in a memleak.
Credits go to Jock McKechnie for reporting and providing testing env!
(cherry picked from commit be3b60366763c3c0390f20be590420440c834204)
2018-11-27 Bogdan-Andrei Iancu <bogdan at opensips dot org>
* [7c785fc4d] :
Correct parsing IPv6 address
Manual backport of 7b2a296daa1fee0c9a6c7cd2f0be2bfde25e0e0b
2018-11-27 Bogdan-Andrei Iancu <bogdan at opensips dot org>
* [e6aead732] :
Improve docs
A bit more details on handling GRUU.
Thanks to Robert Dyck for contributing on this.
(cherry picked from commit 2fa7389b973360c12c46963ec6cef9bb038e3b0d)
2018-11-26 Liviu Chircu <liviu at opensips dot org>
* [4aec0b238] :
Logging: Fix missing '\n' endings
(cherry picked from commit 3f698a26c816d8b14530da65f208f417845d0852)
Conflicts:
modules/cachedb_cassandra/cachedb_cassandra_dbase.c
modules/dialog/dialog.c
modules/tls_mgm/tls_mgm.c
modules/uri/db_checks.c
2018-11-26 Liviu Chircu <liviu at opensips dot org>
* [f82c49eb9] :
acc/dialog: Drop redundant operations
(cherry picked from commit 770ff565f99554dedc606c98f1d31c1947a07470)
2018-11-26 Liviu Chircu <liviu at opensips dot org>
* [59667fb08] :
registrar: Fix a flag parsing limitation
Once again allow the "i" and "e" flags to be given before or after the
regexp following the "u" flag.
Many thanks to @ivanoff946 for reporting!
Fixes #1545
(cherry picked from commit 20f13a53d5460ef610bb784734e093cfd43ff218)
2018-11-26 Razvan Crainea <razvan at opensips dot org>
* [156cc6f0b] :
b2b_logic: use late negociation for last ACK using MI bridge
(cherry picked from commit 25fb33ee7f562b1f2b7a4001d9c6460ba3199a04)
2018-11-26 Vlad Paiu <vladpaiu at opensips dot org>
* [471be6300] :
Fixed dr_number_routing crash with empty partition
(cherry picked from commit b0bf9270729b0de5f7894688411353e1c5738be3)
2018-11-26 Bogdan-Andrei Iancu <bogdan at opensips dot org>
* [e2d1a67ab] :
Fix formating floats in SQL queries.
Force POSIX locale for LC_NUMERIC to be sure that the dot separater is used when using floats in SQL queries (some locales are using the comma for that, breaking the SQL syntax).
Closes #1538
(cherry picked from commit 0ccda2e249890238f94736dfd8b179c359afa8f0)
2018-11-25 OpenSIPS <github at opensips dot org>
* [24dbe1d01] :
Rebuild documentation
2018-11-22 Liviu Chircu <liviu at opensips dot org>
* [405d2889b] :
acc: Fix buffer overflow
The set_dlg_value() code would initialize the buffer to STRING_INIT_SIZE
(128) bytes but then immediately proceed to using it without any more
length checks, thus corrupting the memory any time it is run with larger
than 128-byte acc_extra values.
2018-11-22 Aron Podrigal <aronp at guaranteedplus dot com>
* [1d9e1f36d] :
Fixed what was missed out in 6bc2a94
refs #1537
(cherry picked from commit 3462e8906c878f779ba696db29b3610606f0d9f5)
2018-11-22 Bogdan-Andrei Iancu <bogdan at opensips dot org>
* [b4f7ad3a2] :
Fix nested triggers of local route.
Use a dynamically allocated sip_msg struct rather than a static one.
Credits go to Aron Podrigal to spot and report the problem.
Addresses #1537
(cherry picked from commit 6bc2a94c85d61c61f50ed5fc63e626a23a63258e)
2018-11-22 Razvan Crainea <razvan at opensips dot org>
* [4b5e254a2] :
net/tcp: listen for read events after async connect
After an async connect succeeds, the fd should also be added in reactor
for read events, otherwise these will be lost.
Many thanks go to Pete Kelly for reporting and testing!
(cherry picked from commit ca643dee0f8851be7c1756bd270f168e41fb053c)
2018-11-22 Bogdan-Andrei Iancu <bogdan at opensips dot org>
* [95bf163ae] :
Fix setting loop params during fallback.
While doing a prefixless rule matching, reset the rule_idx to be sure we break the fallback looping.
Addresses #1536
2018-11-19 Liviu Chircu <liviu at opensips dot org>
* [e25895624] :
acc: Do not dereference NULL dialog contexts
This bug could be triggered in failover scenarios, where the accounting
context would be created and cleaned up at least once before actually
calling do_accounting(). One way to trigger it would be:
* create_dialog();
* $acc_extra(foo) = "bar"; # create a dialog-stored acc context
* t_relay(); exit; # msg is relayed, but ctx is unused =>
the code frees it and leaves a NULL dialog value marker.
* inside failure_route, do: $acc_extra(foo) = "bar". We fetch the
NULL context stored inside dialog, dereference it and crash.
Many thanks to 46Labs for reporting this issue, as well as providing
extensive troubleshooting information.
(cherry picked from commit 6eb14f6a3d23bb6a646aa414907755ea9b381511)
2018-11-19 Fabian Gast <fabian.gast at nfon dot com>
* [ce6512a4e] :
Fix changed iana url
(cherry picked from commit 97dbc56a44b0cbfd7321cc03adc9a0f4ba044632)
2018-11-18 OpenSIPS <github at opensips dot org>
* [c6d75e7b8] :
Rebuild documentation
2018-11-16 Liviu Chircu <liviu at opensips dot org>
* [0f075233e] :
tm: Properly re-init branches after t_relay("0x02") fails
A t_relay("0x02") failure would do the required t->uac[] array element
buffer cleanups (good!) but then have these elements completely zeroized
(bad!). These entries must additionally be initialized afterwards,
similarly to how init_branches() leaves them after a new transaction is
built.
Many thanks to Debasis Das from Twilio for reporting this bug.
(cherry picked from commit 853755f11d372c29866bed948796320314540084)
2018-11-15 Razvan Crainea <razvan at opensips dot org>
* [3fe6c3804] :
event_jsonrpc: use an unique flag for declaring events
(cherry picked from commit 8bbc185888730fc1c49a8b3f3fec1550afbf4a74)
2018-11-14 Liviu Chircu <liviu at opensips dot org>
* [fb2aaf65e] :
rest_client: Fix swapped parameters
Affected functions: async rest_post() and async rest_put().
Reported by Ben Newlin.
(cherry picked from commit 8f73149b26a142b2511804b9c7385babc916874b)
2018-11-14 Razvan Crainea <razvan at opensips dot org>
* [c940412bb] :
rtpengine: reconnect socket in case of bad fds
(cherry picked from commit 2bee3c6df0a4a1c6ffde7556c95c7ee88b923b6f)
2018-11-13 Bogdan-Andrei Iancu <bogdan at opensips dot org>
* [bc859828a] :
Fix annoying bogus error log
(cherry picked from commit 42934c42400842a2e72e6766e040037f366643f4)
2018-11-12 Liviu Chircu <liviu at opensips dot org>
* [7730f225b] :
dialog: Fix outdated warning
(cherry picked from commit ae32d8e487e37955be7e594dd439eb03f3554dfc)
2018-11-11 OpenSIPS <github at opensips dot org>
* [8d3d8b8a4] :
Rebuild documentation
2018-11-11 Liviu Chircu <liviu at opensips dot org>
* [d6a6e8d68] :
build-contrib.sh: Fix a counting bug with renamed modules
The "pre-rename" documentation-related commits were being skipped when
dealing with renamed modules.
2018-11-10 Liviu Chircu <liviu at opensips dot org>
* [30a7d8773] :
Improve documentation
* sql_cacher: fix grammar
* usrloc: fix out-of-date explanations; improve wording
* rtpproxy: improve function signatures (each param is optional)
* acc: Add $acc_leg examples (negative index); Add links
* fix typos
(cherry picked from commit 03c910bdf36a5740ee0f79b146ad46895d2ecda9)
2018-11-09 Vlad Patrascu <vladp at opensips dot org>
* [3d23d0fcf] :
sql_cacher: small doc improvement regarding delimiter parameters
(cherry picked from commit 3b1c13a749328a9f3e341d942ca2a990e95ae877)
=========================== Release 2.4.3 ==============================
2018-11-08 Razvan Crainea <razvan at opensips dot org>
* [7704abb72] :
Bump version to 2.4.3