2171 Commits

Author SHA1 Message Date
Anthony Minessale
1f26f2f86a presence is a 4-letter word 2010-12-17 22:29:33 -06:00
Anthony Minessale
668763f490 prevent race on codec change mid-call 2010-12-17 17:27:23 -06:00
Anthony Minessale
1e0df408cf oops 2010-12-17 15:28:19 -06:00
Anthony Minessale
8f452bc519 cid logic changes for calle[re] 2010-12-17 14:35:53 -06:00
Anthony Minessale
93cc3dc556 normalize tests for outbound channels to use switch_channel_direction instead of testing for CF_OUTBOUND 2010-12-15 20:59:42 -06:00
Anthony Minessale
e9958c5b0c more jb work, add debug command and logging (sorry jlenk if this breaks win32) 2010-12-14 23:46:26 -06:00
Brian West
2324c29917 round two better code thanks mikej 2010-12-14 22:29:45 -06:00
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
7e047c3fd1 more ongoing work on jb 2010-12-14 00:15:36 -06:00
Anthony Minessale
321013efe7 have mod_sofia always elect to be the session refresher so we know it will work, also make the session-expires set to 0 imply 100% disabled session timers 2010-12-13 14:02:46 -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
Anthony Minessale
3a645dee60 FS-2913 2010-12-13 11:20:23 -06:00
Anthony Minessale
d547096164 dramatic jitterbuffer changes 2010-12-10 17:47:46 -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
Jeff Lenk
cfd4d52dd0 fix memory alloc issue 2010-12-09 12:01:24 -06:00
Anthony Minessale
7aa72b67df prevent race while changing codecs mid call 2010-12-03 20:22:14 -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
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