Commit Graph

826 Commits

Author SHA1 Message Date
Brian West 1d668e25ab hrm 2010-12-14 12:43:51 -06:00
Brian West 6c6eab8c13 Do not set nat mode when the device's network_ip is within the acl also so if your FS is behind nat and your phone is too then it will still make the right decisions 2010-12-14 12:00:55 -06:00
Anthony Minessale dfecc91487 remove check for va_list completely in sofia since i don't event think it happens ever 2010-12-13 11:20:23 -06:00
Mathieu Rene 98ed05cc98 Add reuse-connections sofia profile param to allow users to turn off TPTAG_REUSE, thus not re-using TCP connections 2010-12-10 14:30:47 -05:00
Brian West 8cf1501203 FS-2881: SIP-header History-Info might exist multiple times, but only last header is exposed as a channel variable 2010-12-02 16:55:02 -06: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 dad92067da FS-535: fix issue in is_lan_addr where 172.2 would match 172.250.x.x which is not RFC1918 this also fixes an chicken egg issue 2010-11-23 18:51:17 -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 22047f9337 FS-2862: fix seg more 2010-11-22 15:24:22 -06:00
Brian West 90c156243c FS-2862: fix seg 2010-11-22 10:10:26 -06:00
Anthony Minessale 5973679e35 fix passing of callee-id 2010-11-19 14:47:45 -06:00
Mathieu Rene d2fd5ba0aa fix regression 2010-11-19 12:07:19 -05:00
Mathieu Rene de417e99f0 Implement switch_queue_pop_timeout() and refactor sofia_profile_worker_thread_run() to use it so it doesn't wake up too often 2010-11-18 21:00:35 -05:00
Anthony Minessale 04e57577b3 FS-2801 2010-11-15 11:22:34 -06:00
Anthony Minessale b278dd2379 add manual_rtp_bugs to profile and chan var and 3 new RTP bugs SEND_LINEAR_TIMESTAMPS|START_SEQ_AT_ZERO|NEVER_SEND_MARKER
RTP_BUG_SEND_LINEAR_TIMESTAMPS = (1 << 3),

	  Our friends at Sonus get real mad when the timestamps are not in perfect sequence even during periods of silence.
	  With this flag, we will only increment the timestamp when write packets even if they are eons apart.

	RTP_BUG_START_SEQ_AT_ZERO = (1 << 4),

	  Our friends at Sonus also get real mad if the sequence number does not start at 0.
	  Typically, we set this to a random starting value for your saftey.
	  This is a security risk you take upon yourself when you enable this flag.

	RTP_BUG_NEVER_SEND_MARKER = (1 << 5),

	  Our friends at Sonus are on a roll, They also get easily dumbfounded by marker bits.
	  This flag will never send any. Sheesh....
2010-11-10 16:58:36 -06:00
Anthony Minessale d205755ae0 typo 2010-11-04 14:38:43 -05:00
Anthony Minessale e5b891eed1 add separate reg timeout from retry sec 2010-11-03 10:58:32 -05:00
Michael Jerris fc4d290cb7 add support for NDLB-force-rport=safe param that does force-rport behavior only on endpoints we know are safe to do so on. This is a dirty hack to try to work with certain endpoints behind sonicwall which does not use the same port when it does nat, when the devices do not support rport, while not breaking devices that acutally use different ports that force-rport will break 2010-11-03 11:53:39 -04:00
Anthony Minessale 6737ae52d9 FS-2801 2010-10-28 15:34:56 -05:00
Anthony Minessale 6ae933a2e9 FS-2800 2010-10-27 11:10:21 -05:00
Anthony Minessale 59d3b84def profile param ignore-183nosdp, chanvar sip_ignore_183nosdp FS-1978 2010-10-25 11:52:43 -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 6772c795e0 FS-2787 2010-10-15 17:59:00 -05:00
Anthony Minessale 9537197b4d add some goodies 2010-10-07 18:30:47 -05:00
Anthony Minessale 430fb98050 update watchdog code 2010-10-06 16:05:13 -05:00
Anthony Minessale 8f13eb8966 FS-2762 2010-10-06 15:17:48 -05:00
Anthony Minessale fadcbd9268 watchdog_step_timeout watchdog_event_timeout (milliseconds) to detect a problem in sofia and shutdown instantly 2010-10-06 13:41:59 -05:00
Michael Jerris e11550e761 FS-502: fix nat acl count check to check against the number of nat acls 2010-10-03 19:06:56 -04:00
Michael Jerris 82c4c4cc67 FS-523: fix parsing of sofia tracelevel param, moved param from profile params to global_settings as its global, and it only worked on reparse before anyways. Please correct any documentation on this issue on the wiki 2010-10-03 05:56:43 -04:00
Anthony Minessale c87b60278e FS-2748 2010-10-01 09:30:32 -05:00
Mathieu Rene e946da9a7d FS-861 2010-09-29 19:49:38 -04: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
Anthony Minessale 84a383fe0f improve video support for new polycom phones 2010-09-29 14:14:41 -05:00
Brian West 7310c2c553 FS-1681 2010-09-27 12:44:50 -05:00
Brian West ba59c51d60 FS-2739: Handle 301 moved permanently. 2010-09-27 10:10:03 -05:00
Anthony Minessale f1ecda66b6 revert 2010-09-24 16:40:21 -05:00
Anthony Minessale 75e22758d4 MODAPP-461 2010-09-24 16:03:31 -05:00
Brian West 72baaf6d23 fix t38 passthru when port changes on re-invite 2010-09-21 19:22:28 -05:00
Brian West 62d275dd9d Fix T.38 passthru 2010-09-17 15:15:38 -05:00
Jeff Lenk 6a0f7f4ae8 build tweak + vs2010 swig 2010-09-15 16:21:10 -05: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
Anthony Minessale 6e23f3bef6 fix spelling err 2010-09-14 16:22:21 -05:00
Anthony Minessale ef79535c45 add nitrus boost to sql thread 2010-09-14 16:19:13 -05:00
Anthony Minessale 646a5609a1 edge cases for sofia recover 2010-09-08 22:53:57 -05:00
Anthony Minessale 4526ba30c6 improve sofia recover in some nat cases 2010-09-08 15:32:34 -05:00
Anthony Minessale 2066322891 fix small leak 2010-09-02 16:38:14 -05:00
Anthony Minessale 57c726f130 wtf 2010-08-27 18:36:42 -05:00
Anthony Minessale 46c6650a94 pass originate flags into session_request so we can selectivly skip throttling 2010-08-26 12:19:49 -05:00
Anthony Minessale 5481d9a98c MODSOFIA-86 2010-08-19 18:22:06 -05:00
Anthony Minessale 96b790fa2e BOUNTY-20 2010-08-18 15:01:32 -05:00