Commit Graph

459 Commits

Author SHA1 Message Date
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
Michael Jerris 1b9b3456ad add auth username to unreg event 2011-09-08 17:57:17 -04:00
Anthony Minessale 7159f64b22 revert 53b0ecce60 2011-08-19 17:29:47 -05:00
Anthony Minessale cd316330c6 FS-3511 FS-2875 --resolve we will go with this as-is and just make it a default 2011-08-17 19:34:22 -05:00
Anthony Minessale 53b0ecce60 use the call_id of the original register in the unsolicited notify for MWI 2011-08-05 11:09:45 -05:00
Anthony Minessale 8caef22b6c don't add the fs_nat stuff twice when its already there 2011-08-04 00:02:13 -05:00
Anthony Minessale f9612fecfe use register contact to determine proper contact in 200 ok response to register 2011-07-29 21:55:52 -05:00
Anthony Minessale 73ba5a562e FS-3386 2011-07-16 11:30:25 -05:00
Anthony Minessale 23cf457d9a re-add missing revert 2011-07-16 10:36:51 -05:00
Anthony Minessale 1675981428 FS-3386 roll back a few revs then remove some refs and reroll patches that were in between 2011-07-16 01:03:01 -05:00
Anthony Minessale 2932c1fa17 FS-3386 Try this revision please 2011-07-14 00:17:05 -05:00
Anthony Minessale 84f8868bf8 FS-3385 --resolve 2011-06-30 11:59:58 -05:00
Anthony Minessale fb68746eed add parallelism to sofia by offsetting sip messages to the concerned sessions and using multiple queue threads for message handling 2011-06-16 14:37:22 -05:00
Anthony Minessale 9df8169d1f add mutex around gateway access on per-profile basis and token based access to global profiles to prevent hanging on to the hash mutex while doing sql stmts which may cause issues/slowdowns 2011-06-16 14:32:14 -05:00
Anthony Minessale 079f48458e add check_sync to sofia cli (like flush_inbound_reg without the unreg) 2011-06-08 11:09:03 -05:00
Jeff Lenk 6a38dce2b8 trivial compiler warnings 2011-05-29 09:46:02 -05:00
Anthony Minessale 2582bbcb36 add xml user caching mechanism 2011-05-23 17:15:37 -05:00
Anthony Minessale 73279f01bf FS-3166 --resolve 2011-04-22 16:43:29 -05:00
Anthony Minessale 9d8e54b500 FS-2751 --comment-only Please try latest patch with profile param NDLB-force-rport set to server-only or disabled. The parameter you were hacking on only applies to inbound calls not outbound calls. Its confusing but in in sip lingo client and server are outbound and inbound call direction respectively. 2011-03-28 18:31:46 -05:00
Jeff Lenk c735e28a55 FS-3190 2011-03-28 10:27:06 -05:00
Michael Jerris c885d09f23 don't strcasecmp on null string 2011-03-19 10:14:50 -04:00
Anthony Minessale 4c435ec530 change text of error message to be more descriptive 2011-03-14 11:54:08 -05:00
Anthony Minessale deec244b9d FS-3098 You are probably right about the sql statement, we must have missed that when the contributor gave us the patch. Be aware this code is depricated in favor of the broadsoft SCA shared appeareances and will probably be removed eventually 2011-02-24 10:22:47 -06:00
Anthony Minessale 04bb74fcae FS-3050 FS-3051 2011-02-14 11:27:55 -06:00
Anthony Minessale a2c0da53f3 add centralized registration db to core db and use it from mod_sofia 2011-02-11 23:10:12 -06:00
Brian West afc027473f FS-2989: Places ;fs_path= within the contact string <...> when using NDLB-connectile-dysfunction-2.0, instead of just appending to the end of the contact string. 2011-01-19 11:35:48 -06:00
Travis Cross 68bf642c11 fix sofia flush_inbound_reg to work when @domain is given
Prior to this change, calling flush_inbound_reg with @domain will
reboot all matching devices (if reboot is specified), but will not
actually flush the matching registrations.
2011-01-16 22:33:49 +00:00
Anthony Minessale 7b01cbbca4 add send-presence-on-register (true|false|first-only) param to sofia and api command sofia global debug [presence|sla|none] 2011-01-14 13:58:21 -06:00
Michael Jerris 9462f53c90 don't say we are not for polycom phones (safe rport) when its not really nat 2011-01-06 16:01:07 -06:00
Brian West 2c595a6ce0 FS-2961 2011-01-05 11:32:10 -06:00
Brian West 3734f4cd44 bump copyright date and fix some email and typos from diego. 2011-01-05 10:09:04 -06:00
Anthony Minessale fc77d19b7b presence.... again.... 2011-01-03 16:40:49 -06:00
Brian West 638cbf16cc Sofia madness to make crap just work 2010-12-21 19:32:54 -06:00
Brian West f4d52d4caa FS-2943: improve fail2ban logging 2010-12-20 08:43:13 -06:00
Marc Olivier Chouinard fdc31908fa mod_sofia: Add support to reboot Yealink phone remotely - FS-2897 2010-12-03 18:58:39 -05:00
Anthony Minessale 143949941c add presence-probe-on-register sofia param to send a probe on register instead of presence to deal with some broken phones and add some general improvements to allow multi homed presence 2010-11-24 21:39:08 -06:00
Brian West 17efb68d1d woops don't log reg twice 2010-11-24 10:53:01 -06:00
Brian West d73cd50e99 sofia_reg.c lets make this fail2ban stuff better 2010-11-24 10:34:12 -06:00
Brian West 38f994206f FS-535: additional checks and use the right contact for registers inside and outside of nat 2010-11-23 09:54:50 -06:00
Brian West cf398e1a44 FS-535: tested but please test MORE. 2010-11-22 14:59:47 -06:00
Brian West 6dfd39c5f3 log ip too 2010-11-21 12:01:48 -06:00
Anthony Minessale f079f898cb declinatio mortuus obfirmo! 2010-11-11 10:49:02 -06:00
Anthony Minessale e5b891eed1 add separate reg timeout from retry sec 2010-11-03 10:58:32 -05:00
Anthony Minessale df52cc0952 fix registration overlap timeout snafu 2010-11-02 17:58:24 -05:00
Anthony Minessale 8bb4d0d413 add the stuff drk_ keeps begging for 2010-10-27 14:09:38 -05:00
Anthony Minessale 99ada6bdba add events 2010-10-27 12:00:30 -05:00
Anthony Minessale 83c8c1254b this should have been moved into agressive nat detection not commented 2010-10-22 11:22:17 -05:00
Anthony Minessale 6772c795e0 FS-2787 2010-10-15 17:59:00 -05:00
Brian West 42f534fa6a FS-2773 2010-10-12 11:41:28 -05:00
Anthony Minessale c87b60278e FS-2748 2010-10-01 09:30:32 -05:00
Jeff Lenk 45ecbc2f61 fix warnings on windows x64 builds src and mods projects - only libsofia included on the libs side 2010-09-29 15:47:58 -05:00
Michael Jerris 721c80198c FS-488: fix crash in sofia_reg_find_gateway_by_realm__ 2010-09-27 04:21:05 -04:00
Anthony Minessale 04b5215646 presence tweaks and addition of all-reg-options-ping which is like nat-options-ping only for every registered host 2010-09-15 15:42:08 -05:00
Brian West 9c22b0d0f4 MODENDP-327 2010-09-15 11:02:27 -05:00
Marc Olivier Chouinard 5a6f0f5c37 mod_sofia: Correct the order what param and variables are overriding them self in user/group/domain 2010-09-09 15:37:41 -04:00
Anthony Minessale fcdc147e04 doh 2010-09-08 15:36:30 -05:00
Anthony Minessale d18c3a8a60 fix sql stmt 2010-09-08 15:09:09 -05:00
Anthony Minessale 5ce37cbed8 refactor 2010-09-03 14:11:06 -05:00
Anthony Minessale bb980fdef5 refactor 2010-09-03 12:46:49 -05:00
Anthony Minessale 4da5c5cfa2 presence issues for dialog_info 2010-09-02 16:02:04 -05:00
Marc Olivier Chouinard 04b9b3e2a6 mod_sofia: Fix memleak and mwi event not generated on first register 2010-08-28 23:16:00 -04:00
Mathieu Rene 0a6ae735c7 Avoiding segfault 2010-08-24 18:09:25 -04:00
Anthony Minessale 0ea84c869c presence update 2010-08-24 11:54:32 -05:00
Anthony Minessale a873b3841a more presence stuff 2010-08-23 18:18:56 -05:00
Anthony Minessale 96b790fa2e BOUNTY-20 2010-08-18 15:01:32 -05:00
Anthony Minessale ada25f7261 more verbose warning 2010-08-17 19:54:46 -05:00
Anthony Minessale 786ca1f978 presence changes 2010-07-29 23:39:39 -05:00
Brian West 638c28d074 update pidf relates presence code 2010-07-27 22:08:58 -05:00
Brian West e0f7c2e320 FSMOD-60 2010-06-14 14:12:14 -05:00
Mathieu Parent 3f7cafd709 Rename sofia_glue_get_user_host to switch_split_user_domain
and move to switch_utils. To allow use by other modules.
2010-06-02 01:09:54 +02:00
Michael Jerris 7996819fca possible fix for FSCORE-575 2010-05-21 14:40:36 -04:00