-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathChangeLog
5315 lines (3081 loc) · 154 KB
/
ChangeLog
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 1.11.5 ==============================
2015-05-07 Razvan Crainea <razvan at opensips dot org>
* [075b84e] :
Update packaging to 1.11.5
2015-05-07 Bogdan-Andrei Iancu <bogdan at opensips dot org>
* [156fba8] :
Fix crash on building CANCEL requests.
Avoid the race condition between building a local cancel and handling a negative reply (for the same branch, in different processes). The build_local mya use the temporary uac->reply and end up with a dnagling pointer. Anyhow, in CANCEL situation, you never have a stored reply in transaction (storing is done only during parallel forking for nagative branches - which are not to be cancelled anyhow).
2015-05-06 Liviu Chircu <liviu at opensips dot org>
* [8a42143] :
async TCP: fix memory leak
Also free the array of chunk pointers when freeing up TCP conns
2015-05-06 Liviu Chircu <liviu at opensips dot org>
* [a704d79] :
DBG_QM_MALLOC: do not abort() on NULL pointer free/realloc
(cherry picked from commit c26b5a55c22a7533fd52bfe9db3a3418ca09ec70)
2015-05-05 Liviu Chircu <liviu at opensips dot org>
* [c9b94ae] :
sipmsgops: fix possible crash with debug=4
Introduced in commit 445d90bc7
Reported by Hieu Ta
(cherry picked from commit 2e9b36c0031e619899aa2544c7e23caff5b49b80)
2015-05-04 Bogdan-Andrei Iancu <bogdan at opensips dot org>
* [0ad5c10] :
Fix order of rows during query; respect file order
When buidling the response to a select query, respect the order of rows as given by the file; before the selected rows were given in the reverted order.
Reported by @jockmckechnie on github.
Closes bug #479 .
(cherry picked from commit 54f6c22303f0d258c9e5f24520bba342aeb11ac3)
2015-05-04 Vlad Paiu <vladpaiu at opensips dot org>
* [ae6372f] :
Fixed json results for negative integers
(cherry picked from commit 3bf8b49ec8ee3d29409c75e54581141792ee54e9)
2015-05-04 Liviu Chircu <liviu at opensips dot org>
* [dcd8fc4] :
rest_client: caseless matching when searching for Content-Type
Also properly handle missing "Content-Type"
(cherry picked from commit 4d651f4a868e26fb93674950e6f4654a329d3beb)
Conflicts:
modules/rest_client/rest_methods.c
2015-05-01 Jarrod Baumann <j at rrod dot org>
* [f9281e4] :
Updated log macro used for reporting event_rabbitmq heartbeat modparam
(cherry picked from commit 25fc10c1379358de6a25e7ee664d9fd911f7ab0b)
2015-04-25 Bogdan-Andrei Iancu <bogdan at opensips dot org>
* [cb547b3] :
Fix name of variable in passwd test
(cherry picked from commit 4588f843c7ba81e7b679df9abeadc38f1c08c174)
2015-04-25 satishdotpatel <satish.lx at gmail dot com>
* [49aca29] :
Fix reading password from prompt for PGSQ
root@dopensips:/etc/opensips# opensipsdbctl create
INFO: creating database opensips ...
Password for user postgres:
Password for user postgres:
Password for user postgres:
NOTICE: CREATE TABLE / UNIQUE will create implicit index "version_t_name_idx" for table "version"
Password for user postgres:
NOTICE: CREATE TABLE will create implicit sequence "acc_id_seq" for serial column "acc.id"
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "acc_pkey" for table "acc"
NOTICE: CREATE TABLE will create implicit sequence "missed_calls_id_seq" for serial column "missed_calls.id"
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "missed_calls_pkey" for table "missed_calls"
Password for user postgres:
NOTICE: CREATE TABLE will create implicit sequence "domain_id_seq" for serial column "domain.id"
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "domain_pkey" for table "domain"
NOTICE: CREATE TABLE / UNIQUE will create implicit index "domain_domain_idx" for table "domain"
Password for user postgres:
NOTICE: CREATE TABLE will create implicit sequence "grp_id_seq" for serial column "grp.id"
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "grp_pkey" for table "grp"
NOTICE: CREATE TABLE / UNIQUE will create implicit index "grp_account_group_idx" for table "grp"
NOTICE: CREATE TABLE will create implicit sequence "re_grp_id_seq" for serial column "re_grp.id"
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "re_grp_pkey" for table "re_grp"
Password for user postgres:
NOTICE: CREATE TABLE will create implicit sequence "address_id_seq" for serial column "address.id"
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "address_pkey" for table "address"
Password for user postgres:
NOTICE: CREATE TABLE will create implicit sequence "aliases_id_seq" for serial column "aliases.id"
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "aliases_pkey" for table "aliases"
NOTICE: CREATE TABLE / UNIQUE will create implicit index "aliases_alias_idx" for table "aliases"
Password for user postgres:
NOTICE: CREATE TABLE will create implicit sequence "location_id_seq" for serial column "location.id"
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "location_pkey" for table "location"
NOTICE: CREATE TABLE / UNIQUE will create implicit index "location_account_contact_idx" for table "location"
Password for user postgres:
NOTICE: CREATE TABLE will create implicit sequence "silo_id_seq" for serial column "silo.id"
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "silo_pkey" for table "silo"
Password for user postgres:
NOTICE: CREATE TABLE will create implicit sequence "dbaliases_id_seq" for serial column "dbaliases.id"
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "dbaliases_pkey" for table "dbaliases"
NOTICE: CREATE TABLE / UNIQUE will create implicit index "dbaliases_alias_idx" for table "dbaliases"
Password for user postgres:
NOTICE: CREATE TABLE will create implicit sequence "uri_id_seq" for serial column "uri.id"
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "uri_pkey" for table "uri"
NOTICE: CREATE TABLE / UNIQUE will create implicit index "uri_account_idx" for table "uri"
Password for user postgres:
NOTICE: CREATE TABLE will create implicit sequence "rtpproxy_sockets_id_seq" for serial column "rtpproxy_sockets.id"
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "rtpproxy_sockets_pkey" for table "rtpproxy_sockets"
Password for user postgres:
NOTICE: CREATE TABLE will create implicit sequence "speed_dial_id_seq" for serial column "speed_dial.id"
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "speed_dial_pkey" for table "speed_dial"
NOTICE: CREATE TABLE / UNIQUE will create implicit index "speed_dial_speed_dial_idx" for table "speed_dial"
Password for user postgres:
NOTICE: CREATE TABLE will create implicit sequence "usr_preferences_id_seq" for serial column "usr_preferences.id"
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "usr_preferences_pkey" for table "usr_preferences"
Password for user postgres:
NOTICE: CREATE TABLE will create implicit sequence "subscriber_id_seq" for serial column "subscriber.id"
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "subscriber_pkey" for table "subscriber"
NOTICE: CREATE TABLE / UNIQUE will create implicit index "subscriber_account_idx" for table "subscriber"
Password for user postgres:
NOTICE: CREATE TABLE will create implicit sequence "pdt_id_seq" for serial column "pdt.id"
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "pdt_pkey" for table "pdt"
NOTICE: CREATE TABLE / UNIQUE will create implicit index "pdt_sdomain_prefix_idx" for table "pdt"
Password for user postgres:
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "dialog_pkey" for table "dialog"
Password for user postgres:
NOTICE: CREATE TABLE will create implicit sequence "dispatcher_id_seq" for serial column "dispatcher.id"
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "dispatcher_pkey" for table "dispatcher"
Password for user postgres:
NOTICE: CREATE TABLE will create implicit sequence "dialplan_id_seq" for serial column "dialplan.id"
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "dialplan_pkey" for table "dialplan"
Password for user postgres:
NOTICE: CREATE TABLE will create implicit sequence "dr_gateways_id_seq" for serial column "dr_gateways.id"
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "dr_gateways_pkey" for table "dr_gateways"
NOTICE: CREATE TABLE / UNIQUE will create implicit index "dr_gateways_dr_gw_idx" for table "dr_gateways"
NOTICE: CREATE TABLE will create implicit sequence "dr_rules_ruleid_seq" for serial column "dr_rules.ruleid"
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "dr_rules_pkey" for table "dr_rules"
NOTICE: CREATE TABLE will create implicit sequence "dr_carriers_id_seq" for serial column "dr_carriers.id"
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "dr_carriers_pkey" for table "dr_carriers"
NOTICE: CREATE TABLE / UNIQUE will create implicit index "dr_carriers_dr_carrier_idx" for table "dr_carriers"
NOTICE: CREATE TABLE will create implicit sequence "dr_groups_id_seq" for serial column "dr_groups.id"
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "dr_groups_pkey" for table "dr_groups"
Password for user postgres:
NOTICE: CREATE TABLE will create implicit sequence "load_balancer_id_seq" for serial column "load_balancer.id"
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "load_balancer_pkey" for table "load_balancer"
Password for user postgres:
Password for user postgres:
Password for user postgres:
Password for user postgres:
Password for user postgres:
(cherry picked from commit e0ab1ce8e538fd81356c2cd5feb96658d7517430)
2015-04-24 Jarrod Baumann <jarrod at unixc dot org>
* [fa37b3d] :
Populate the rcode pval in rest get/post methods before returning error
2015-04-22 Liviu Chircu <liviu at opensips dot org>
* [a6ece8d] :
F_MALLOC: suppress warnings for free(NULL)
(cherry picked from commit 17d639b9f11b415d51062005aadb86dd6c2375e2)
2015-04-21 Razvan Crainea <razvan at opensips dot org>
* [deb4485] :
rtpproxy: store the notification buffer in the main stack frame
Thanks go to Hamid Elaosta for reporting and helping me debug this bug
(cherry picked from commit cb9f46ba80ccb4da9f362e4c686be6e497d0ee9e)
2015-04-21 Razvan Crainea <razvan at opensips dot org>
* [d69297b] :
rtpproxy: properly parse rtpproxy timeout notifications
(cherry picked from commit c26a4a34fcf790741918224ce9557eb4d1f51edf)
2015-04-21 Vlad Paiu <vladpaiu at opensips dot org>
* [7e030b8] :
Fixed json lib dependency
(cherry picked from commit 138813faf7a72f6580ebb5f7c0959c86634ccf88)
2015-04-20 Liviu Chircu <liviu at opensips dot org>
* [eed27b1] :
db_mysql: properly set TCP-related timeouts
According to official documentation, mysql_options() must be used _after_
mysql_init()
(cherry picked from commit 1f154c01fc3d064f1cf4f9c333775d857afb6528)
2015-04-20 Vlad Paiu <vladpaiu at opensips dot org>
* [eaccd49] :
Do not leak the dialog in case there's an error on creation, after linking
(cherry picked from commit 57f331fee808f1a039c02d477ebf0048e32ad08c)
2015-04-20 Bogdan Andrei IANCU <bogdan at opensips dot org>
* [0f34ecf] :
Merge pull request #442 from rgagnon24/redirect_fix
Fix get_redirects(max, reason)
(cherry picked from commit ead10331a2f5b024f885f1f69e160c78c9d8eb7b)
2015-04-16 Liviu Chircu <liviu at opensips dot org>
* [0d5edcd] :
sipmsgops: fix buffer management issue
is_present_hf() and remove_hf() would sometimes misbehave
when used with pseudo-variables (commit 6e88f653702).
Reported by Eric Werkhoven
Also fix a couple of noisy log messages.
2015-04-16 Razvan Crainea <razvan at opensips dot org>
* [750c37f] :
do not add Makefile.conf to the tarball
Since every tarball install is independent, Makefile.conf should not be
inherited
(cherry picked from commit 0a3803244c1ccfa8598c8d82c15e11b8d89bb015)
2015-04-16 Razvan Crainea <razvan at opensips dot org>
* [78fb580] :
rr: do not force send socket on preloaded routes
(cherry picked from commit b8c0740a63f80577bff8314b4cf0e17867a1fda4)
2015-04-16 Razvan Crainea <razvan at opensips dot org>
* [4bf7283] :
rr: no need to search the outbound interface
for single route messages, the outbound interfaces is the same with the
inbound one, so there is no need to search for an outbound socket
(cherry picked from commit b6d4230fa35c186e2aa5833f3ad41cd42ce908c1)
2015-04-15 Liviu Chircu <liviu at opensips dot org>
* [65de408] :
hp_malloc.h: properly include sys/time.h
Prevents compilation issues with some modules
Credits to Hamid Elaosta for reporting
(cherry picked from commit 00cdfc6bd5943c8b31de2960ec70e95137ee465a)
2015-04-15 Razvan Crainea <razvan at opensips dot org>
* [535f68b] :
replace libmysqlclient*-dev with metapackage libmysqlclient-dev
Credits go to Leo for reporting this
(cherry picked from commit e5b793e2411826a23138298721879f6749f597ac)
2015-04-14 Răzvan Crainea <razvan at opensips dot org>
* [4e9aeee] :
Merge pull request #462 from jarrodb/dlg_hash
Verify the dialog mi parameter is not null before passing to dlg_hash
(cherry picked from commit 432c9cc5dcbfadf69c1b9b1fee44a0fcad8cb8f6)
2015-04-07 Liviu Chircu <liviu at opensips dot org>
* [429a38e] :
mem/mem.h: fix header includes
(cherry picked from commit d49e0d3ba2320c55070ce87a9b283dbcbcbdadb0)
2015-04-07 Liviu Chircu <liviu at opensips dot org>
* [dd0b946] :
mem/mem.h: fix header includes
(cherry picked from commit fbc796ec99f82b2a10a3a411d0dfdf3979a80629)
2015-04-02 Razvan Crainea <razvan at opensips dot org>
* [1534035] :
Update ChangeLog
=========================== Release 1.11.4 ==============================
2015-04-02 Vlad Paiu <vladpaiu at opensips dot org>
* [6227550] :
Maintain rport and received in VIA header of replies when doing topology hiding
2015-04-02 Razvan Crainea <razvan at opensips dot org>
* [dc9922f] :
Increase versioning to 1.11.4
2015-04-02 Bogdan-Andrei Iancu <bogdan at opensips dot org>
* [cf3defd] :
Fix changing proto via force_send_socket().
If the RURI does not request any protocol, use the proto of the forced socket (if any).
Related to #420
(cherry picked from commit ac8c2e6845ecea7d01d267b61720d332ee571e1d)
2015-04-01 Liviu Chircu <liviu at opensips dot org>
* [7ea511e] :
flag fixups: fix a sign conversion bug
Reported by @hydrosine
Fixes #448
(cherry picked from commit bc160a7bab3fb2d0eb979bfedac8f67db05d42b2)
2015-04-01 Vlad Paiu <vladpaiu at opensips dot org>
* [3cb1f25] :
Changed write and connect timeouts ( sync and async ) to milliseconds Changed default values of sync connect and write timeouts to 100ms
2015-04-01 Liviu Chircu <liviu at opensips dot org>
* [3a0be7b] :
opensipsctl: Improve error reporting
- test READ permission for fifo dir
- test existence of fifo
- test WRITE permission for fifo
(cherry picked from commit d205f017c8b0475837f5cd4096e026ab6f773d6c)
2015-04-01 Vlad Paiu <vladpaiu at opensips dot org>
* [7d2c0a3] :
Accept TCP aliases by default Do not rely on the previous hop signaling alias via param
(cherry picked from commit faa32f73c4d0425a944fb6ea184476fd5c6bc7ce)
Conflicts:
receive.c
2015-04-01 Razvan Crainea <razvan at opensips dot org>
* [552a5b6] :
add LM_BUG alias to report_programming_bug
(cherry picked from commit 9620397683c859cd313781e8864ceb5ed9b5c3d8)
2015-04-01 Liviu Chircu <liviu at opensips dot org>
* [a567268] :
F_MALLOC: add extra safety checks at runtime
The F_MALLOC allocator now properly reports any free() or realloc() operations
which are performed on bogus memory regions, making OpenSIPS immediately abort.
These checks may be skipped by defining F_MALLOC_OPTIMIZATIONS at compile time.
(cherry picked from commit 35935051fab41b9a86f622e5fcdb852cf49ae742)
2015-04-01 Liviu Chircu <liviu at opensips dot org>
* [100bfb9] :
db_mysql: properly NULL the result pointer if a query fails
This prevents issues with non-initialized pointers (issue #406)
(cherry picked from commit a268b1d874c79a88309c53ea28ab8e77cfde3c61)
2015-04-01 Razvan Crainea <razvan at opensips dot org>
* [a8f79db] :
opensipsctl: properly enclose strings when checking their values
(cherry picked from commit 711fa8c6cf80d4806ecf6befc7ea7f4d897b32ad)
2015-04-01 Liviu Chircu <liviu at opensips dot org>
* [f1b9466] :
opensipsctl: Fix TLS certificate generation in dev mode
* you can now run scripts/opensipsctl tls ...
* no need to specify ETCDIR
* do not throw error when giving no command
* add template for explicit ETCDIR in opensipsctlrc
Fixes #369
(cherry picked from commit 7fefe50be5696dc740405a67edf868fd3546744a)
2015-04-01 Liviu Chircu <liviu at opensips dot org>
* [9f316e2] :
opensipsdbctl: allow running from root dir for _all_ SQL backends
(cherry picked from commit 49ed85a252d2b1f6b36eff56709bf73fcbca6d38)
2015-04-01 Liviu Chircu <liviu at opensips dot org>
* [cff0023] :
cfg.y: do not start OpenSIPS when using HP_MALLOC cfg params
Also fix a linking error on other allocators (commit 607fdddf)
Reported by SamyGo
(cherry picked from commit 9b626bf2c2c7cadeb6614c2a45767e5a9783a9d8)
Conflicts:
mem/common.h
2015-04-01 Liviu Chircu <liviu at opensips dot org>
* [91d155c] :
HP_MALLOC: fix hp_status()
* Proper display of free fragment buckets on sig USR1/TERM/shutdown
* some code refactoring
(cherry picked from commit 607fdddff47305d2898b8c368b3880796a803d20)
2015-04-01 Liviu Chircu <liviu at opensips dot org>
* [85ffd49] :
dispatcher: fix merging bug
Commit 4cb026c83 actually made Round-Robin dispatching behave
incorrectly should one or more destinations be down
2015-03-31 Bogdan-Andrei Iancu <bogdan at opensips dot org>
* [4cb026c] :
Fix balancing on failover.
First, the way the calls were re-distributed if the calculated destination is inactive was completely unbalanced and did not respect the hashing concepts (same hash hits the same destination). Along with this problem, the fix covers the re-balancing problem - if a destination becomes inactive, the balancing over the remaining destination should not be affected (if hash H1 hits destination D1, after D2 goes inactive, H1 must still hit D1).
The use_default concept was reworked to properly work with all algorithms and in all cases (with or without weights).
Closes #387.
(cherry picked from commit 444b6802980edd4931106b4db1d8c99dd479bb32)
Conflicts:
modules/dispatcher/dispatch.c
modules/dispatcher/dispatch.h
modules/dispatcher/dispatcher.c
2015-03-31 Ovidiu Sas <osas at voipembedded dot com>
* [97f0350] :
parser: fix memory leak - add Supported header to the list of headers that performs memory allocation
(cherry picked from commit b52b2b9239bd59e7515fa35c29e5d6d8c3f6dc2c)
2015-03-24 Liviu Chircu <liviu at opensips dot org>
* [cbaf569] :
TCP child startup: do not generate corefile on failure
2015-03-23 Răzvan Crainea <razvan at opensips dot org>
* [a3c8f17] :
python: add documentation
(cherry picked from commit 1dd83cfa6a99ce10876f2391d4baf5a7a986b11e)
2015-03-23 Razvan Crainea <razvan at opensips dot org>
* [37d8266] :
python: properly parse the script name
(cherry picked from commit 593f26913228678d02ee5c5d6a749ed5a52fc846)
2015-03-23 Vlad Paiu <vladpaiu at opensips dot org>
* [71e6ddd] :
opensipsdbctl : Fixed creating Postgres database
(cherry picked from commit 3eb5f2bf9eb13451f621ced244c7d65ee40ae18c)
Conflicts:
scripts/opensipsdbctl.base
2015-03-18 Vlad Paiu <vladpaiu at opensips dot org>
* [088c819] :
Fix PKG mem leak
2015-03-18 Vlad Paiu <vladpaiu at opensips dot org>
* [8e2cad2] :
Fix route_to_carrier and route_to_gw
Duplicate the RURI before pushing GWs for usage ( first gw will overwrite the actual URI )
2015-03-12 Vlad Paiu <vladpaiu at opensips dot org>
* [6f41bc7] :
Have osipsconfig generate config files with proper mpath set Fixes issue #418
(cherry picked from commit ca12c6777e7aa38ada6e3df36676b724be7c85df)
2015-03-05 Liviu Chircu <liviu at opensips dot org>
* [960076c] :
bin interface processing: add check for min length
(cherry picked from commit 4efeba5bafe482215ac8c42b8af92d4107bb94cc)
Conflicts:
bin_interface.c
2015-03-05 Bogdan-Andrei Iancu <bogdan at opensips dot org>
* [96aca84] :
Put back code accidentaly removed in prev commit.
2015-03-05 Bogdan-Andrei Iancu <bogdan at opensips dot org>
* [5daef76] :
Remove NO_ZERO_CHECKS as it is bogus wuth bin content.
Reported by @jamesabravo on GH, closing #419
2015-03-03 Liviu Chircu <liviu at opensips dot org>
* [78e2652] :
Fix infinite recursion when nesting $param variables
Keep an array with the route parameters of each nesting level. This
makes it possible to access the parameters of previous route()
statements even if they contain $param variables.
Closes #412
(cherry picked from commit f3ed4db9903d85cba7d7d491c931b550e29932d1)
2015-03-03 Vlad Paiu <vladpaiu at opensips dot org>
* [f52bc69] :
Fix param.valueat at param.name - params are stored in the same order
(cherry picked from commit 1f517c315c6cffe28e6c6743e6b292835af35219)
2015-03-03 Liviu Chircu <liviu at opensips dot org>
* [8d978ac] :
avpops: Proper validation for DB_CAP_RAW_QUERY capability
Prevent OpenSIPS from starting if avp_db_query() is used and the concerned
DB engine does not support raw SQL queries. This prevents runtime
crashes in some rare cases (e.g. issues with db_http module, which might
not have full support)
Fixes #405
2015-02-26 Liviu Chircu <liviu at opensips dot org>
* [f88f68f] :
opensipsctl: fix compatibility issues with FreeBSD [part 2]
Yet another /bin/sh compatibility issue. Completes commit a2494eba
(cherry picked from commit 7e966f6fe06990103307e0d410bee54aea268338)
2015-02-24 Bogdan-Andrei Iancu <bogdan at opensips dot org>
* [1fa6a23] :
Fix parser error - URI in Contact hdr is mandatory
2015-02-22 Bogdan-Andrei Iancu <bogdan at opensips dot org>
* [3eb6f5e] :
Fix SCTP proto dection in TM module.
Credits go to @jamesabravo on GITHUB
Closes #413 .
(cherry picked from commit 5c3b2a63dbc47398b12bfa72eea8d00b6eacfa8c)
2015-02-20 Liviu Chircu <liviu at opensips dot org>
* [9b8b130] :
sngtc: properly count all SIP listeners (also include TCP and SCTP)
Also improved documentation on fetching and compiling libsngtc_node
2015-02-19 Ovidiu Sas <osas at voipembedded dot com>
* [7297efa] :
httpd: fix memory leak for non-POST requests
(cherry picked from commit f3f7f4222f0e8e7b245bb4b2ee41ced20d28cb9b)
2015-02-18 Bogdan Andrei IANCU <bogdan at opensips dot org>
* [611b49a] :
Merge pull request #414 from jbonicioli/master
modified source and target table for registrant table migration
(cherry picked from commit 60e03a1a77e4357bd6a2d78976781e71bf4efc4a)
2015-02-18 Razvan Crainea <razvan at opensips dot org>
* [c8226d6] :
rabbitmq: set the connected flag only after socket is created
Credits go to Ovidiu Sas for detecting, debugging and solving this issue
(cherry picked from commit 465c4be1383fa9073164d10052386e580bbc333b)
2015-02-12 Vlad Paiu <vladpaiu at opensips dot org>
* [5befeb3] :
Fix dialog race condition on BIN replication
The writing of dialog profiles needs to be done under the dialog lock ( in case there's a race condition with the BYE freeing the profile linkers )
(cherry picked from commit 85d4820eb04c922731156156329dae37e26ec804)
2015-02-10 Vlad Paiu <vladpaiu at opensips dot org>
* [8302fc8] :
Added support for DATE fields in mongodb raw queries - date fields will be returned as UNIX timestamp
2015-02-09 ionutrazvanionita <ionutionita at opensips dot org>
* [3b3b4e5] :
Sip-wisely Content-Type parsing
2015-02-05 Vlad Paiu <vladpaiu at opensips dot org>
* [b8054f6] :
Since the dialog timeout is not done under dialog lock, we might have cases where the state is checked and is established, but until we get to update the timer, the dialog transitions to terminated & removes it from the timer. Use marker that's set under d_timer lock in order to avoid this
(cherry picked from commit 721e4af58cf5f8348c96a61e7a588056bd918730)
2015-02-04 ionutrazvanionita <ionutionita at opensips dot org>
* [6e5d02d] :
Merge branch '1.11' of https://github.com/OpenSIPS/opensips into 1.11
2015-02-04 ionutrazvanionita <ionutionita at opensips dot org>
* [14c1a27] :
avoid memory leak by not making all the table list null when removing only one table
2015-02-03 Bogdan Andrei IANCU <bogdan at opensips dot org>
* [a20e7a9] :
Merge pull request #407 from ar45/fix_406
fixes #406 (a free_result on dangling res in case of error)
2015-02-03 Aron Podrigal <aronp at guaranteedplus dot com>
* [b71f6de] :
fixes #406
Fix segfault caused by referencing uninitialized pointer
in dispatcher module.
2015-01-30 ionutrazvanionita <ionutionita at opensips dot org>
* [df3dd59] :
Made null table parameter after being freed to avoid double free ( individual free from each module and group free from db_text in destroy function of each module)
2015-01-27 Ovidiu Sas <osas at voipembedded dot com>
* [3fd323e] :
mi_http: fix escaping
(cherry picked from commit 4f070e269d3de4c3ba1ae763a371a03e17ab1ae8)
2015-01-22 ionutrazvanionita <ionutionita at opensips dot org>
* [b13a3e0] :
fixed load_credentials avp default name when no name is specified
(cherry picked from commit b69ae3258faff194c28a6277d52fa318c24ed37a)
2015-01-22 Bogdan-Andrei Iancu <bogdan at opensips dot org>
* [ebadc34] :
Fix updating contact records in DB.
If Contact-only matching mode is used, the callid is not part of the key in DB query, but part of the updated values (as callid may change).
Closes #402.
(cherry picked from commit 2fdeba6fa8ee56d256e465f63317785798f7826d)
2015-01-14 Razvan Crainea <razvan at opensips dot org>
* [17c5990] :
fix the vars db type to BLOB
Indicate the DB engine that the dlg vars column is a BLOB
Thanks go to John Nash for reporting this.
Close #398
(cherry picked from commit bb7f121202bb4215a388dcff75e0abcea8ec23ed)
Conflicts:
modules/dialog/dlg_db_handler.c
2015-01-06 Bogdan Andrei IANCU <bogdan at opensips dot org>
* [eb9bad1] :
Merge pull request #264 from etamme/mediaproxy-rfc5245fix
fix for RFC5245 15.1 compliant candidate injection
(cherry picked from commit 06309a165cc771a44165cc24836de5f9b21ca0b9)
2014-12-30 Damien Sandras <dsandras at beip dot be>
* [d59d6e2] :
Fixed presentity naming.
'Calling' is disturbing especially when the given peer is _receiving_ a
call.
2014-12-17 Bogdan-Andrei Iancu <bogdan at opensips dot org>
* [0e9a04c] :
Fix siptrace control over CANCEL request.
2014-12-16 Razvan Crainea <razvan at opensips dot org>
* [5416b41] :
rtpproxy: properly handle ipv6 IPs
Close #394
(cherry picked from commit 71eb827831a10b6b78d409628aa1692b4d4edef2)
2014-12-15 Razvan Crainea <razvan at opensips dot org>
* [3729bad] :
ds_is_in_list: properly pass -1 for all sets
Closes #389
2014-12-15 Razvan Crainea <razvan at opensips dot org>
* [6a70848] :
tm: check if the reply transaction is defined
closes #388
(cherry picked from commit 6150e8971c7c269a6a36e973ef2ee5435a7b0fb6)
2014-12-10 Razvan Crainea <razvan at opensips dot org>
* [95800fa] :
dialog: prevent the same reply from changing the same state twice
(cherry picked from commit 1290571f73571b00decce354796b1ff982d9fad0)
2014-12-10 Liviu Chircu <liviu at opensips dot org>
* [a64765c] :
dispatcher: fix several issues with empty destination sets
Upon (re)load, a dispatching set may be empty if none of its destinations
can be resolved. This patch fixes a couple of crashes which are directly
related to empty destination sets:
* fix a bug in reindex_dests() where a single bogus destination
would be allocated for each empty set
* prevent ds_select_dst() from routing to empty sets
(cherry picked from commit 127b456a874499b6295008425144ca29b5e69d75)
2014-11-28 Bogdan-Andrei Iancu <bogdan at opensips dot org>
* [44afe25] :
Readme regenerated
2014-11-28 Bogdan-Andrei Iancu <bogdan at opensips dot org>
* [f4d8ded] :
Docs updated: added t_new request and t_add_hdrs
2014-11-28 Razvan Crainea <razvan at opensips dot org>
* [06c8872] :
mi_xmlrpc_ng: add \n after each node
(cherry picked from commit fb1fc7a96e8aed5b6c7818c3f63bfaa2dcd4fda0)
2014-11-27 Saúl Ibarra Corretgé <saghul at gmail dot com>
* [4642e32] :
Revert "Changes to stop keepalives on unregisters"
This reverts commit 36ad430f0bf50bb20fcdfd1180c9262348e41f79.
2014-11-27 Razvan Crainea <razvan at opensips dot org>
* [2f74b58] :
permissions: raise the proper error when the IP is not provided
(cherry picked from commit a4f849d3e6553182205fabd1dfbdf5c21005e188)
2014-11-24 Bogdan-Andrei Iancu <bogdan at opensips dot org>
* [d4e8188] :
Fixes realated to previous commit (double siptrace)
2014-11-24 Bogdan-Andrei Iancu <bogdan at opensips dot org>
* [24ba3ed] :
Fix double tracing in trace_dialog().
If user AVPs are set and the trace flas is not, the code was forcing the tracing flag which was producing a duplicate of the trace. Now, the flags status (on/off) is also stored in the dialog (as var) and restore later, for each sequential request.
2014-11-19 Liviu Chircu <liviu at opensips dot org>
* [41408f0] :
Makefile: fix concurrency issue leading to linking errors
main.c needs to be recompiled if the version name changes. When doing
multi-threaded compiling (make -j), main.o would sometimes be deleted
right after it was compiled, triggering a linking error of the "opensips" binary.
The patch also prevents main.c to be recompiled each time if the ".git" dir
is not present. (i.e. compiling a tarball archive). Credits to Răzvan
Crainea.
Thanks to Bobby Hakimi for offering a replication environment.
Closes #373
(cherry picked from commit a441867b2b81662136a9fb55c5ad2701c756c2f5)
2014-11-05 Bogdan-Andrei Iancu <bogdan at opensips dot org>
* [42f6d89] :
More fixing on mk_action usage (function name was added).
2014-11-05 Vlad Paiu <vladpaiu at opensips dot org>
* [e515134] :
Only update the dialog timeout in case we are in established state - otherwise it might lead to multiple unrefs related to multiple removal from timer list
2014-11-05 David Sanders <dsanders11 at ucsbalum dot com>
* [36ad430] :
Changes to stop keepalives on unregisters
Observed cases where keepalives from `nat_traversal` continued after unregister were traced back to a few lines of code which prevented stopping keepalives on unregister events.
(cherry picked from commit f4ed457bc10d6ddfcd6dc77dcc9e460e767bdc4b)
2014-11-05 Bogdan-Andrei Iancu <bogdan at opensips dot org>
* [de90f8b] :
Fix mk_action usage (function name was added).
Reported by Nick Altmann
2014-11-04 Bogdan Andrei IANCU <bogdan at opensips dot org>
* [96483c0] :
Merge pull request #372 from dsanders11/1.11
Backporting filename in runtime error messages to 1.11
2014-11-04 Bogdan-Andrei Iancu <bogdan at opensips dot org>
* [7058396] :
Disable MI commands when presence is in lib mode.
Reported by Carlos Oliva @telematico, closing #382
2014-10-28 Razvan Crainea <razvan at opensips dot org>
* [7e5bbcf] :
exec: properly handle exec replies
when using exec on replies, populate the reply code and reason instead of
R-URI variables
2014-10-24 David Sanders <dsanders11 at ucsbalum dot com>
* [b5459c2] :
Backporting filename in runtime error messages to 1.11
2014-10-24 Răzvan Crainea <razvan at opensips dot org>
* [8487e3c] :
Merge pull request #371 from lovelle/patch-2
fix load_balancer doc in lb_count_call() function
(cherry picked from commit 80778fa16334a0cdc2df92ad63f7d1f0a12d1aff)
2014-10-22 Bogdan-Andrei Iancu <bogdan at opensips dot org>
* [634273d] :
Fix silo table definition - body field can be null.
2014-10-22 Bogdan-Andrei Iancu <bogdan at opensips dot org>
* [9e03346] :
Fix restoring route type and AVP list when droping branch.
Closes #365.
2014-10-22 Bogdan-Andrei Iancu <bogdan at opensips dot org>
* [1d2a8c4] :
Added support for external body in MSILO.
Able to deal with MESSAGEs with no body but with conten-type refering to an external body.
(cherry picked from commit 2e4b2d5ef57b533b3fe40662c8e92b5e0b02b18a)
2014-10-21 Bogdan-Andrei Iancu <bogdan at opensips dot org>
* [2759890] :
Fix bogus unsigned to signed int conversion.
This leads to failures of computing VIA branches when hash label is higer than 2^31
2014-10-17 Liviu Chircu <liviu at opensips dot org>
* [290a771] :
opensipsctl: fix compatibility issues with FreeBSD
* FreeBSD's mkfifo only accepts "-m", not "--mode"
* Improve compatibility of stderr redirect (change "&>" to ">&")
Reported by buchtajz.
Closes #364
(cherry picked from commit a479b72cb52a4bc155491fe26f254ed4ad7730f8)
2014-10-16 Nick Altmann <nick.altmann at gmail dot com>
* [d50bd78] :
RPM spec: support for el7
=========================== Release 1.11.3 ==============================
2014-10-15 Razvan Crainea <razvan at opensips dot org>
* [175de6c] :
increase version to 1.11.3
2014-10-15 Liviu Chircu <liviu at opensips dot org>
* [e0c1fea] :
db_unixodbc: fix query result handling and improve performance
Until now, query rows were incrementally stored in a list with
separately allocated length and string buffers, along with a great deal
of useless pointer dereferencing, effectively wasting CPU cycles and pkg
mem usage.
This patch eliminates the linked list logic with a global buffer of
pointers (doubling in size when required) meant to hold each result column.
Each column is transparently freed by the DB backend. This completes
commit d63ee19a8.
(cherry picked from commit 683dfaa63df0af317f7485042539bdacf8646eab)
2014-10-15 Razvan Crainea <razvan at opensips dot org>
* [fb13b39] :
fix rr force_send_socket when using mhomed
(cherry picked from commit 56ca96a8d25724d74fc6cd31a1125933dfc62f1c)