Commit Graph

429 Commits

Author SHA1 Message Date
Anthony Minessale de5f0c5144 fix some sql mem leaks. regression from recent refactor 2012-10-29 14:38:37 -05:00
Anthony Minessale 7e2110abf7 fix a few regressions from the last commit 2012-10-25 14:06:05 -05:00
Anthony Minessale 68e0b7e859 optimize sofia sql by using new core transaction processor we will no longer support databases that do not support transactions 2012-10-25 11:31:47 -05:00
Anthony Minessale fe8c5326a8 add username to sql stmt to differentiate silly devices who use the same exact contact addr 2012-10-12 17:49:15 -04:00
Anthony Minessale a800a5fc5c FS-4708 add <param name="NDLB-allow-crypto-in-avp" value="true"/> to your sofia profile and it should set the header 2012-10-11 10:36:07 -05:00
Anthony Minessale 93f4c0f698 move sofia locking contention outside of cache_db handle management 2012-10-08 13:28:01 -05:00
Brian West 08e95e6ee1 fix 7960/40 reboot 2012-09-19 14:44:55 -05:00
Brian West 99eee5f528 Support rebooting some more ciscos 2012-09-10 18:25:02 -05:00
Anthony Minessale 223244d491 FS-4435 looks ok at a glance, at least this code is isolated to the small few who actually use it so i will put it in for testing 2012-07-17 17:01:10 -05:00
Anthony Minessale ba428a1559 FS-4406 please test asap and report back 2012-07-10 23:04:16 -05:00
Michael Jerris 6ea4a5c503 typo 2012-06-19 22:43:28 -04:00
Michael Jerris 773fb5e3a5 use reg call id on reboot notifies and pass it back in reverse auth lookup 2012-06-19 21:58:43 -04:00
Anthony Minessale 192030c578 add metadata col to internal registrations table 2012-05-30 13:05:05 -05:00
Anthony Minessale fb790bc320 block any inbound messages when queue is full; add debounce for mwi and pres on register; fix missing detach attr on new mode to process reg in new thread 2012-05-22 10:27:23 -05:00
Anthony Minessale 792b004f36 add mwi-use-reg-callid 2012-05-21 13:55:50 -05:00
Anthony Minessale da9aacc62e FS-4217 --resolve 2012-05-15 08:48:08 -05:00
William King 5780293696 Adding headers for fail2ban to better handle the source and target of the failures. 2012-04-20 15:05:27 -07:00
Ken Rice c5554eb939 Copyright date update. 2012-04-18 11:52:02 -05:00
William King 180f535490 Adding a failed registration event and adding an auth result header on the attempt event. 2012-04-17 17:28:47 -07:00
Anthony Minessale 9c288870e2 FS-3994 --resolve regression from FS-3596:b2d2353c 2012-04-13 15:58:49 -05:00
Anthony Minessale 781e8b72bd do not include Expires header in INVITES responding to a auth challenge 2012-04-03 12:37:52 -05:00
Anthony Minessale ce75bf5aaa FS-4025 --resolve 2012-03-28 12:26:29 -05:00
Anthony Minessale 6a1feacc45 FS-3866 --resolve this should work now with send-message-query-on-register 2012-02-10 10:49:19 -06:00
Anthony Minessale f25c5aaf27 FS-3842 here is the from and contact change but I can't remove the user agent but I added a new param to the gateway config called options_user_agent to set something specific 2012-01-29 17:37:56 -06:00
Anthony Minessale cde54eb5e8 FS-3842 the fix was to remove the (null) if you are asking for a to uri in the options with no username try this patch. You were not clear that you were looking for no username in the to uri. Keep in mind our system considers a 404 a sucessful response to an options request anyway but this should be what you want. 2012-01-27 12:55:09 -06:00
Anthony Minessale 812e5e9a26 FS-2216 2012-01-26 16:54:27 -06:00
Anthony Minessale b3b33ea995 FS-3794 please test this version 2012-01-26 04:46:48 -06:00
Anthony Minessale 5783078401 FS-3794 please try latest and see if you get any more missing hostnames 2012-01-24 17:38:36 -06:00
Marc Olivier Chouinard 7d4c61a318 FS-3807 --resolve
Remove Reregister optimization for user who doesn't allow multiple registration in sip
2012-01-17 16:12:56 -05:00
Anthony Minessale ef097a19b9 FS-3794 please repat all tests with this version 2012-01-16 17:26:35 -06:00
Anthony Minessale cfa926d781 add sub_host to the sip_registrations table to keep track of the original host 2012-01-10 17:33:40 -06:00
Anthony Minessale 61917bb58e reg expire tweak 2012-01-10 08:51:14 -06:00
Anthony Minessale 5b7e20133a add registration-thread-frequency param 2012-01-09 17:17:03 -06:00
Anthony Minessale 8daaec3849 FS-3794 remove delete-subs-on-register param and some tweaks based on this bug report 2012-01-03 11:40:52 -06:00
Brian West 8059cdca81 FS-3771 --resolve 2011-12-22 14:03:32 -06:00
Marc Olivier Chouinard d2b4d8ef41 FS-3768 Mutex lock missing. I would personally removed that lock since all the sql call does lock it now. But maybe it required that no other request be done in the mean time. 2011-12-17 13:06:37 -05:00
Anthony Minessale 4f79b5859d fix compiler err 2011-12-16 12:28:22 -06:00
Marc Olivier Chouinard 15011c4fb8 FS-3768 --resolve 2011-12-16 14:31:15 -05:00
Anthony Minessale 539bd72f55 revert small change that was unintended 2011-12-16 10:45:53 -06:00
Anthony Minessale e9bde2eb0e FS-3758 --resolve ok so I wrote my own patch but i did borrow the 2 lines of code to create a seq from the original patch! sofia changes probably need to be converted to a tag if they are to go upstream. This completely manages sub/pub from inside mod_sofia inside the db and subs can now persist and/or fail over mid dialog tested on several things like polycom/snom/yealink on SLA and presence 2011-12-15 16:30:33 -06:00
Marc Olivier Chouinard cc3280a0a0 FS-3363 --resolve 2011-12-15 13:22:14 -05:00
Jeff Lenk 35112f2269 FS-3586 --resolve 2011-11-23 13:25:24 -06:00
Anthony Minessale 6fc559effa fix build 2011-11-10 09:46:56 -06:00
Anthony Minessale 8cf839690f FS-3685 this was just a typo but once i fixed it, i realized this code is pretty messed up and might need to be redone, I cleaned it up the best i could for now but I did not write this feature so I am not to confident that it should be used in production 2011-11-10 10:48:06 -06:00
Anthony Minessale 3764a60df9 FS-3469 here is some more, this may never be perfect 2011-10-24 18:54:25 -05:00
Anthony Minessale b2d2353ce9 FS-3596 --resolve 2011-10-05 13:55:20 -05:00
Anthony Minessale f04fd38c3e FS-3594 if this does not work you will need to give me access to your box 2011-10-04 17:46:49 -05:00
Anthony Minessale 256a6264d4 prevent sql injection by using sqlite formatter on various code that generates sql stmts with switch_snprintf 2011-09-29 08:28:12 -05:00
Anthony Minessale 607c112fb7 FS-3583 --resolve race condition caused by unresponsive host when unregistering the gateway. 2011-09-27 08:44:29 -05:00
Anthony Minessale 7333d46d5b add new chatplan concept and mod_sms. Apps for chat messages: copy new base freeswitch.xml and chatplan dir if you are upgrading on existing config base 2011-09-21 14:31:18 -05:00