Commit Graph

429 Commits

Author SHA1 Message Date
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
Mathieu Rene 3c5c5905ad mod_sofia: fire an event for gateway ping 2010-05-10 12:33:47 -04:00
Anthony Minessale a2874b8e33 FSCORE-604 2010-05-04 09:50:55 -05:00
Brian West 405c966a4f evil nat scenarios 2010-04-27 13:56:37 -05:00
Michael Jerris 2ae67a4756 mod_sofia: add 'allow-empty-password' param (default true) 2010-04-26 06:04:45 -04:00
Brian West f66f382d5e Case insenstive matching for this and stricter matching
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@17112 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-26 16:23:49 +00:00
Anthony Minessale 0292b7a81d ok, patch applied cleanly
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@17096 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-25 00:28:56 +00:00
Anthony Minessale cefb4188ea fixing patch
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@17095 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-25 00:27:20 +00:00
Anthony Minessale 80b9db179b re-apply reformatted reverted patch
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@17094 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-25 00:24:45 +00:00
Anthony Minessale c92cbcb5e3 revert
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@17093 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-25 00:23:55 +00:00
Anthony Minessale 467bdfc21c prevent race in killgw followed by an immediate rescan with the same gateway name
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@17092 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-25 00:09:43 +00:00
Anthony Minessale a705693354 doh
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16841 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-26 20:57:37 +00:00
Anthony Minessale 625b477c95 add ability for multiple profiles to share the same gateway names via profile::gwname syntax for normT
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16698 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-18 22:39:08 +00:00
Mathieu Rene cd1c97b23f hrum
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16660 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-16 17:34:32 +00:00
Mathieu Rene 4bcb352602 MODSOFIA-57 fix edge case if a session is blocked during a sip profile shutdown
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16654 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-16 00:07:50 +00:00
Anthony Minessale 886e1ddb4d run indent on the whole tree and update copyright dates in prep for 1.0.5
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16579 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-06 03:38:24 +00:00
Mathieu Rene cbd282ecc4 MODSOFIA-46 with some NULL-proofing
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16575 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-05 07:05:33 +00:00
Anthony Minessale 312abee36e nuke handle on errs worse than 500 rather than 900
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16571 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-04 21:23:36 +00:00
Rupa Schomaker 03009d648c exclude rows with the current call_id - could be an endpoint updating it's
registration while we're at max_registrations


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16567 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-04 14:50:53 +00:00
Anthony Minessale b1ca4e289b fire presence_out when reg is flushed manually
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16564 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-03 19:40:24 +00:00
Rupa Schomaker 86e022f516 BOUNTY-15 - add user-agent-filter and max-registrations-per-extension
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16557 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-02 21:04:41 +00:00
João Mesquita 5a6c0ba4c8 Do right it right this time. MODENDP-284
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16484 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-23 19:08:44 +00:00
Brian West 22592cc0e9 MODENDP-284
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16483 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-23 18:43:38 +00:00
Anthony Minessale 98edcdb345 you should get more than a steak dinner if you can make asterisk do this
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16426 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-21 00:12:24 +00:00
Anthony Minessale 73f386244d yes mikej it needs to go in
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16398 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-18 23:04:56 +00:00
Mathieu Rene 306c52ece5 MODENDP-281
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16319 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-15 15:18:07 +00:00
Brian West 66f9cb6f0d spa uses reboot the last way so linksys still will work
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16276 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-13 15:57:58 +00:00
Brian West b243aa1368 spa uses reboot
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16274 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-13 15:47:34 +00:00
Brian West b24c018c45 SCA tweaks
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16271 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-13 01:40:11 +00:00
Anthony Minessale e71f66e070 tweak sla presence code
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16223 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-09 00:34:17 +00:00
Anthony Minessale 8dbce3ef3e fix retry bug
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16214 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-08 17:42:56 +00:00