278 Commits

Author SHA1 Message Date
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
f9969f3856 only list real profiles not aliases in presence code 2011-07-14 16:01:44 -05:00
Anthony Minessale
2932c1fa17 FS-3386 Try this revision please 2011-07-14 00:17:05 -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
b14340a5da dig into the database to figure out what profile to send mwi on when they are not willing to alais the domain to the profile =/ 2011-06-09 10:45:28 -05:00
Anthony Minessale
7200408062 revert e2ed8c08ef4dec7d872f6d67227d4a4ffcc40b27 2011-06-09 10:36:35 -05:00
Anthony Minessale
e2ed8c08ef pop ::<profile_name> off the domain name in mwi events to hint at the profile 2011-06-08 19:32:18 -05:00
Daniel Swarbrick
8d8e5a23a6 Mask remote party identity in SIP presence if channel var presence_privacy=true 2011-06-07 13:58:12 +02:00
Jeff Lenk
765908f356 FS-3152 --resolve dup_dest was being overwritten by switch_split_user_domain 2011-05-22 19:10:52 -05:00
Anthony Minessale
3ebd173ca8 FS-3307 --resolve thanks, in the future, be sure to not include vanity comments. The intention of the patch will be preserved by the jira ticket. Also check our code formating guidelines. Some of the patch was redundant so it was removed, mprintf already asserts when it doesn't work, and execute_sql_now both frees the sql string and locks the mutex for you. 2011-05-20 11:51:06 -05:00
Anthony Minessale
d98d51ed39 FS-3144 --resolve 2011-05-11 13:23:56 -05:00
Anthony Minessale
73279f01bf FS-3166 --resolve 2011-04-22 16:43:29 -05:00
Anthony Minessale
7eae7f375b FS-2877 After further review I can concede the point that we should always say partial considering how we do things. With this commit we should at least be sending separate partial updates for each existing dialog to everyone with a subscription. If we need to introduce more data, consolidate them etc. We need to do it in small chunks and keep things sane. 2011-04-04 11:39:43 -05:00
Anthony Minessale
59f6654e96 send another presence event on calls that were cancelled from LOSE_RACE to fix winnable race in Broadsoft SCA 2011-03-10 22:02:45 -06:00
Brian West
a5779d5431 fix regression from FS-899, thanks acrobits for testing this 2011-02-28 09:27:05 -06:00
Brian West
0d8e945bd1 doh 2011-02-16 08:57:43 -06:00
Brian West
de707ab7f1 comment out 2011-02-16 08:45:17 -06:00
Brian West
5f2857b8b8 use the correct URI on endpoints behind nat 2011-02-16 08:36:40 -06:00
Brian West
b7fd81de33 rip off the fs_ args on message like we do in SEND_MESSAGE 2011-02-15 16:30:57 -06:00
Anthony Minessale
f4481b05ab fix sql err 2011-02-04 13:06:08 -06:00
Anthony Minessale
85913b70b4 only pass publish on when you have a subscription 2011-02-02 16:05:57 -06:00
Anthony Minessale
3dd9d5c0a3 FS-3007 2011-01-21 14:51:38 -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
e6070feeab cleanup 2011-01-03 16:48:10 -06:00
Anthony Minessale
97a68c50d9 support allowing pidf-ful presence clients to share the same account and 'appear offline' without influencing each other =/ also refactor the contact generation string based on nat into a helper function 2010-12-30 11:38:23 -06:00
Anthony Minessale
f804c75d99 presence was drafted by satan 2010-12-20 15:43:54 -06:00
Anthony Minessale
a78922a212 nope 2010-12-20 15:05:13 -06:00
Anthony Minessale
cfd6876c21 more presence and not the kind with bows and ribbons 2010-12-20 14:36:10 -06:00
Anthony Minessale
1f26f2f86a presence is a 4-letter word 2010-12-17 22:29:33 -06:00
Jeff Lenk
cfd4d52dd0 fix memory alloc issue 2010-12-09 12:01:24 -06:00
Brian West
59ea4a1b9c FS-2886: wrong IP in VIA and contact HEADER for MESSAGE method while fs run in private network 2010-12-02 16:52:32 -06:00
Marc Olivier Chouinard
8825b6eac8 mod_sofia: Fix in previous commit incompleted, this one should do it (sofia presence related) 2010-11-28 17:15:39 -05:00
Marc Olivier Chouinard
9a9373c0bb mod_sofia: Fix malformed Presense SQL Query 2010-11-28 17:07:54 -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
Anthony Minessale
21c2a74840 uncomment 2010-11-23 13:19:04 -06:00
Anthony Minessale
b160942bc0 test 2010-11-12 12:03:40 -06:00
Anthony Minessale
91230e01f9 used || instead of 'or' in sql stmt 2010-10-27 11:46:39 -05:00
Anthony Minessale
7d7d66342f reverse perspective of dialog events on non-registered entities 2010-10-22 15:14:14 -05:00
Anthony Minessale
fd1736b38f 1) Add force-publish-expires to set custom presence update expires delta (-1 means endless)
2) Check how many users are registered when receiving a PUBLISH AND Multiple Registrations is enabled:
	if there is more than just 1 AND you are sending a offline message: skip publishing it to everyone
	to prevent clients from thinking themselves has gone offline.
2010-10-21 12:55:07 -05:00
Anthony Minessale
23180c18e1 changes from devlist 2010-10-20 10:17:57 -05:00
Anthony Minessale
ad74326b3f fix presence update from dp to apply to pidf presence 2010-10-19 13:58:30 -05:00
Anthony Minessale
36851a90b7 dont update display to ring when call is hungup in pidf presence 2010-10-19 13:33:17 -05:00
Anthony Minessale
4e0399d05f adjust sql stmts in presence to allow even non-registered entities to be tracked 2010-10-18 15:30:29 -05:00
Anthony Minessale
3cead32f13 presence again 2010-10-07 15:52:20 -05:00
Anthony Minessale
6c4cb07bac fix memory leak caused by regression from FS-2747 2010-10-06 16:05:13 -05:00
Anthony Minessale
094d8f9599 fix dialog-info presence issue 2010-10-04 17:58:05 -05:00
Anthony Minessale
589502d3d9 FS-2747 2010-10-01 14:04:06 -05:00
Michael Jerris
c236541e29 fix seg on subscribe with no contact host 2010-09-21 14:31:36 -05:00
Anthony Minessale
b77518685c make fore-subscription-expires only work on nonzero expire deltas, 0 means unscubscribe 2010-09-13 15:27:18 -05:00