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
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
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