Commit Graph

2154 Commits

Author SHA1 Message Date
Marc Olivier Chouinard fdc31908fa mod_sofia: Add support to reboot Yealink phone remotely - FS-2897 2010-12-03 18:58:39 -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
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
Anthony Minessale 92f4344072 FS-2892 2010-12-01 09:46:06 -06:00
Brian West a669f76f78 Fix issue when fs_path is used so we pick the correct media IP in our outbound invite this was soemthing that wouldn't work correctly over ATT on the iphone. 2010-11-30 17:43:13 -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
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 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
Anthony Minessale 21c2a74840 uncomment 2010-11-23 13:19:04 -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 87edbed6bb FS-535: be more careful and catch ipv6 edge case 2010-11-22 15:32:23 -06:00
Brian West 22047f9337 FS-2862: fix seg more 2010-11-22 15:24:22 -06:00
Brian West cf398e1a44 FS-535: tested but please test MORE. 2010-11-22 14:59:47 -06:00
Brian West 90c156243c FS-2862: fix seg 2010-11-22 10:10:26 -06:00
Brian West 6dfd39c5f3 log ip too 2010-11-21 12:01:48 -06:00
Anthony Minessale 5973679e35 fix passing of callee-id 2010-11-19 14:47:45 -06:00
Anthony Minessale 6c4f49a888 apparently some sip device vendors did not read the RFC (who knew?) adding verbose_sdp=true var to add needless a= lines for standard iana codecs that explicitly do not require them 2010-11-19 13:46:14 -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 b160942bc0 test 2010-11-12 12:03:40 -06:00
Anthony Minessale f079f898cb declinatio mortuus obfirmo! 2010-11-11 10:49:02 -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 10119e9e88 FS-2824 2010-11-08 10:13:35 -06:00
Michael Jerris 40ac860aaa fix missing name and potential segfault in gateway status 2010-11-05 20:24:31 -04:00
Anthony Minessale d205755ae0 typo 2010-11-04 14:38:43 -05:00
Anthony Minessale 2043d5a671 fix display of timeout 2010-11-03 12:22:01 -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 df52cc0952 fix registration overlap timeout snafu 2010-11-02 17:58:24 -05:00
Anthony Minessale 97d80d924a same as last one in another place 2010-11-02 11:50:04 -05:00
Anthony Minessale 35676e7e04 parse static route in sip uri in notify by event 2010-11-01 18:47:09 -05:00
Anthony Minessale 1970ec1d81 FS-2810 2010-11-01 10:03:10 -05:00
Anthony Minessale 6737ae52d9 FS-2801 2010-10-28 15:34:56 -05:00
Anthony Minessale 19325c4369 fix race in codec failure condition, then fix bug in sdp parsing (likely a regression from recent codec changes) to never have the problem in the first place so you are double-protected 2010-10-27 16:37:35 -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 91230e01f9 used || instead of 'or' in sql stmt 2010-10-27 11:46:39 -05:00
Anthony Minessale 6ae933a2e9 FS-2800 2010-10-27 11:10:21 -05:00
Anthony Minessale e10bc0a965 allow {dtmf_type=none} to work in oubound dial strings 2010-10-26 15:43:14 -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 7d7d66342f reverse perspective of dialog events on non-registered entities 2010-10-22 15:14:14 -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 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