Commit Graph

525 Commits

Author SHA1 Message Date
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
Raymond Chandler 97e71e9d08 doh
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16202 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-07 22:04:32 +00:00
Raymond Chandler c031e681b8 BOUNTY-12
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16200 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-07 18:47:53 +00:00
Anthony Minessale e23f44cced last commit was daft, real fix
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15923 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-11 22:21:29 +00:00
Anthony Minessale c68fc40766 typo in log message
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15921 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-11 22:09:36 +00:00
Brian West 9d49a57b67 move log line to debug only
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15852 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-08 22:28:52 +00:00
Anthony Minessale 0b4bd3e1c1 retry reg faster on dns timeouts
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15763 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-02 20:47:46 +00:00
Brian West 56f10fb3c6 Well I'll be a son of a monkey's bitch, it was that bug
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15748 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-02 01:58:05 +00:00
Marc Olivier Chouinard cf8d26bef3 mod_sofia: Revert part of MODSOFIA-41 r15654 that deal with phone reboot. It break aastra and polycom reboot
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15656 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-24 16:26:04 +00:00
Brian West c48ccd9e95 use profile flag instead
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15655 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-24 16:24:24 +00:00
Brian West 383541f3d0 MODSOFIA-41 , fail2ban support in mod_sofia thanks jay binks.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15654 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-24 16:11:56 +00:00
Anthony Minessale 8ebbfa39fd enough of this bickering over if stale=true has quotes or not, let me remove it so i can have a 10 minute break from people bugging me
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15620 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-23 16:49:05 +00:00
Brian West cfbf446e24 MODSOFIA-39
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15609 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-23 14:57:56 +00:00
Anthony Minessale 5d815cfdfe add support for running core-db over odbc
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15487 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-17 00:12:54 +00:00
Brian West 220ebe8175 if the phone is behind nat with us... don't consider nat processing fixees cases where things are EVIL like cisco 79xx
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15486 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-16 21:14:38 +00:00
Anthony Minessale b60abded11 lookup gateway by realm when not found by name
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15475 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-15 03:14:06 +00:00
Anthony Minessale ba2e181292 expand per-thread db caching to odbc
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15453 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-12 19:54:50 +00:00
Brian West 7875eb6976 sigh
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15445 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-12 15:09:43 +00:00
Anthony Minessale 397ef741c1 solve problem from MODENDP-258 with an alternate approach, and make send-message-query-on-register=first-only and sql-in-transactions=true the defaults
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15441 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-12 03:52:07 +00:00
Anthony Minessale 6e0c9bfb08 experimental support for send-message-query-on-register=first-only
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15405 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-10 00:26:54 +00:00
Raymond Chandler 92896c6c36 fix typo
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15403 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-09 22:26:28 +00:00
Anthony Minessale 287db73e08 fix some win32 issues in sofia
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15373 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-05 17:22:15 +00:00
Anthony Minessale d03862cf3c tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15369 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-05 07:06:19 +00:00
Anthony Minessale 92e5245f0f reset handle on bad reg
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15365 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-05 05:01:41 +00:00
Anthony Minessale 1329f30f03 make subscriptions time out discarding hack to make them last forever
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15364 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-05 04:21:08 +00:00
Anthony Minessale 42f22fb8c2 reversed the order by accident on new param
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15336 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-03 23:21:02 +00:00
Anthony Minessale 6b15429934 add distinct-to=true|false to be used with from-domain when you don't want to change the to
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15334 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-03 21:32:18 +00:00
Stefan Knoblich a7a909df2a Fix broken preprocessor #ifdef check
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15288 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-30 11:09:53 +00:00
Jeff Lenk 3aa5055bf1 windows compiler fixes and switch_mprintf overflow(32bit only)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15286 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-30 04:07:49 +00:00
Anthony Minessale 7041d7f412 remove unused code
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15270 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-29 14:33:48 +00:00
Marc Olivier Chouinard 46064cf1ee mod_sofia: Fix memleak introduce in r15260
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15267 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-29 08:35:53 +00:00
Anthony Minessale e6bd4b2f55 use nonce count with registration
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15260 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-28 16:55:29 +00:00
Marc Olivier Chouinard 8eeca9099f mod_sofia: Bad fix for memleak, I need to look else where
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15243 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-27 06:14:00 +00:00
Marc Olivier Chouinard 8923c299a8 mod_sofia: Fix memleaks
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15242 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-27 05:51:23 +00:00
Anthony Minessale df7637f687 change switch_strlen_zero to zstr
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15211 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-23 16:03:42 +00:00
Anthony Minessale bdb8bd061b add sip-force-extension
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15191 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-21 23:09:41 +00:00
Brian West f87a53716e MODEVENT-58
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15117 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-08 15:29:06 +00:00
Michael Jerris 023c762c80 avoid initial segfault
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14993 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-09-26 05:41:05 +00:00
Marc Olivier Chouinard ec6d528d4b mod_sofia: Override the MWI User@Domain used per user/group/domain (MODENDP-241)
To use this, set a PARAM named MWI-Account with the user@domain you want to monitor the MWI in the user directory.


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14987 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-09-25 20:07:40 +00:00
Mathieu Rene 49e87ddfe8 MODENDP-242
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14581 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-08-21 00:59:09 +00:00
Mathieu Rene c2d5f970bc Per-call logging, part one
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14509 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-08-13 20:35:02 +00:00
Mathieu Rene 2dae4c4cef MODENDP-233
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14484 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-08-11 01:26:51 +00:00
Brian West e2da0849e4 Mitel interop, thanks mitel for your assistance. (MODSOFIA-15)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14332 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-23 17:48:36 +00:00
Brian West 8857969948 Issue #2 of SFSIP-164, must set local-network-acl for this to work.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14255 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-14 23:39:57 +00:00
Anthony Minessale 28f51bdd61 SFSIP-162 (part 2)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14250 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-14 19:32:42 +00:00
Anthony Minessale 3d31195c11 SFSIP-162
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14249 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-14 18:25:38 +00:00
Michael Jerris ff44ec8482 fix debug message
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14202 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-10 20:19:20 +00:00
Michael Jerris 6348359d95 change odbc handling in code to be runtime instead of build time
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13936 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-24 16:02:43 +00:00
Brian West 809d30254e move this to debug and profile->debug so that its not on unless you enable the profile debug also.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13887 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-22 02:52:31 +00:00
Anthony Minessale bb4e586551 MODENDP-222
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13875 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-19 20:49:18 +00:00
Mathieu Rene a7794f13a8 MODENDP-221
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13865 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-19 15:48:23 +00:00
Andrew Thompson d03163bf5d Fix multicast replication of sofia registrations (OKed by anthm)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13786 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-16 18:46:28 +00:00
Michael Jerris 55bec0b6b2 sofia-sip: fix re-register after 423 w/ Min-Expires (SFSIP-143)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13619 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-04 20:00:53 +00:00
Brian West 8e264274f3 don't have contact str here either it'll result in double contact headers on unregister
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13613 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-04 14:53:23 +00:00
Brian West 4e6be5132c dont leak this in other cases.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13612 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-04 14:10:31 +00:00
Brian West 011ebe674b missed one
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13610 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-04 05:50:16 +00:00
Brian West 32a1336d8a don't need contact here its already set on the nh .. this results on double contact headers on unregister
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13609 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-04 05:48:59 +00:00
Brian West ba32c8c4d5 check the nat
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13608 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-04 05:43:34 +00:00
Brian West f0172523ca fix via for outbound sub and reg contacts are correct
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13596 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-03 22:00:49 +00:00
Michael Jerris 1dd780e697 merge sip nat improvements from branches/brian
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13594 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-03 21:08:34 +00:00
Anthony Minessale b82984fe97 add netmask detection for nat discovery work
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13549 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-02 16:55:10 +00:00
Michael Jerris 123d724377 don't do this if its zero try one SFSIP-143
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13384 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-19 15:17:44 +00:00
Brian West 8b193a3039 remove mailbox and replace with number_alias
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13379 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-18 17:16:48 +00:00
Michael Jerris 2ac2fa8659 Allow to send the flush/reboot all the registration of a domain (MODENDP-187)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13363 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 19:36:43 +00:00
Anthony Minessale d548de40cc fix mem corruption on failed register
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13229 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-04 21:41:42 +00:00
Anthony Minessale a4a82b2a15 MODENDP-217
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13226 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-04 14:36:11 +00:00
Anthony Minessale 7f49ba5c86 add experimental NDLB-connectile-dysfunction-2.0
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13203 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-30 00:23:51 +00:00
Anthony Minessale 64309ce319 add experimental NDLB-connectile-dysfunction-2.0
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13202 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-30 00:09:41 +00:00
Anthony Minessale 20ea922f73 add experimental NDLB-connectile-dysfunction-2.0
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13201 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-29 23:27:24 +00:00
Anthony Minessale 40f422d1c6 add experimental NDLB-connectile-dysfunction-2.0
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13200 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-29 22:56:19 +00:00
Anthony Minessale b7fe59d2f6 add experimental NDLB-connectile-dysfunction-2.0
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13199 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-29 22:48:21 +00:00
Anthony Minessale 4b726da006 add experimental NDLB-connectile-dysfunction-2.0
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13198 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-29 22:04:25 +00:00
Anthony Minessale fd4d83b7c2 add experimental NDLB-connectile-dysfunction-2.0
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13197 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-29 22:00:34 +00:00
Anthony Minessale d505cec790 send-message-query-on-register profile param, set it to false to disable default of true
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13139 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-24 14:33:54 +00:00
Mathieu Rene 7da470f67c Fix them all while we're at it
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13092 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-21 01:02:45 +00:00
Michael Jerris bfd074ca1c tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12978 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-09 22:43:00 +00:00
Anthony Minessale d2df557566 don't unregister not registered gateways
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12901 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-03 13:14:26 +00:00
Anthony Minessale 216f1e1106 make nat options ping configurable and leave it off by default
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12897 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-02 21:53:47 +00:00
Mathieu Rene fa9621b99b sigh
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12821 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-28 02:27:20 +00:00
Michael Jerris 677b161647 hrm
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12820 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-28 02:22:02 +00:00
Mathieu Rene 761be4c395 doh
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12819 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-28 02:16:34 +00:00
Mathieu Rene 6d87e6321b Add sip_auth_username and sip_auth_password variables so mod_sofia can answer auth challenges without defining a full gateway
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12818 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-28 01:50:36 +00:00
Anthony Minessale fa0998de5d reduce exponential mwi notifies
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12801 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-27 00:27:07 +00:00
Anthony Minessale 82eb176f6f MODENDP-207
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12792 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-26 16:06:25 +00:00
Anthony Minessale 3c72e9f143 add username and realm to sip db
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12785 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-25 20:14:07 +00:00
Anthony Minessale dd19c3c2ec fix var events to not have stamp info
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12765 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 23:44:03 +00:00
Michael Jerris 4a48d3dd5a use nua_handle_home instead of using nua internals to get the nua handle home
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12757 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 17:57:00 +00:00
Anthony Minessale 34ac34f31b fix killgw
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12716 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-22 20:52:41 +00:00
Anthony Minessale cc80c0cefb fix reg issue
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12715 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-22 20:04:56 +00:00
Anthony Minessale 41944b7e6f clean up dialog stuff on presence for sla and other stuff
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12708 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-22 05:15:17 +00:00
Anthony Minessale 20cb024f61 MODENDP-194
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12414 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-04 19:45:10 +00:00
Brian West 3e049e9309 move this debug line into profile debug
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12328 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-27 18:15:50 +00:00
Brian West f5ade7cfc1 remove dirty hack to get around a bug in sofia which has now been fixed. And fix registering to pointers isn't allowed
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12324 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-27 16:03:22 +00:00
Brian West f066da77dc fix challenge-realm
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12113 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-17 20:36:21 +00:00
Brian West babb2f83f5 update copyright
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12004 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-13 23:37:37 +00:00
Mathieu Rene f0c05ca83c Cleanup missing flags hack
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11921 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 14:46:14 +00:00
Brian West 98cb113cdd MODENDP-185 and SFSIP-121
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11729 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-10 18:30:49 +00:00
Michael Jerris bbf0159708 use sofia specific flag macros
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11713 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-09 17:56:38 +00:00
Brian West ae220d3341 update email
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11643 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-04 21:20:54 +00:00
Brian West 8ba68ed14f MODENDP-179 - Support for SLA, works with Polycom and Snom(Sylantro mode). Thank you Matthew Kaufman. Might still need more work.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11562 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-30 16:46:37 +00:00
Anthony Minessale 0463541d61 change low res sleep func api names
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11486 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-25 21:23:07 +00:00
Anthony Minessale 941052b656 allow <params> tag in gateways as well as <variables> with direction inbound/outbound (default both) and call counter
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11468 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-23 20:33:30 +00:00
Anthony Minessale d99296d08f MODENDP-176
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11343 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-21 22:57:58 +00:00
Michael Jerris a0435ed981 better error message
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11059 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-02 19:58:36 +00:00
Brian West 0b8ec49dd8 add date header to 200OK on register
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11022 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-31 16:23:24 +00:00