851 Commits

Author SHA1 Message Date
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
Anthony Minessale
69a5b30061 FS-3150 --comment-only this looks like an unhandled parse error, try this patch, though the call will likely fail but we can see what it doesn't like about the sdp now 2011-03-14 11:43:48 -05:00
Anthony Minessale
24a972925b pass header in X-FS headers on attended transfer CID update to indicate specific situation to flip callee/caller id when targeting a 1 legged call 2011-03-11 13:00:55 -06:00
Anthony Minessale
9e89f607c8 FS-3140 --comment-only please try this patch 2011-03-10 00:18:06 -06:00
Anthony Minessale
2a35dfb51e add rtp-notimer-during-bridge (alternative to rtp-autoflush-during-bridge 2011-03-09 15:17:26 -06:00
Anthony Minessale
bfd0ba9798 do not renegotiate codecs on hold re-invites 2011-03-07 13:02:41 -06:00
Anthony Minessale
8c3651fa66 FS-640 --comment-only can you see if this patch helps, I think it should really be fixed in sofia but this shold keep it at bay 2011-03-06 14:49:39 -06:00
Brian West
06988e1a36 FS-3084 2011-02-20 15:10:02 -06:00
Anthony Minessale
4d12f0ce16 finishing touches on last commit 2011-02-18 10:32:44 -06:00
Anthony Minessale
13dc6058bc pass custom headers backwards over sofia 2011-02-18 10:13:52 -06:00
Anthony Minessale
4b62ff799e put transport in the request uri on outbound registers if register_transport is set and proxy does not already contain a transport param 2011-02-17 11:32:00 -06:00
Anthony Minessale
4ae8282e6c fix possible bad pointer in global vars (please test) 2011-02-02 15:43:26 -06:00
Anthony Minessale
008e527c0f FS-3012 2011-01-27 08:18:22 -06: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
Anthony Minessale
1b91f811bd more 2011-01-12 19:34:19 -06:00
Brian West
159ae98979 be more iOS friendly when using TCP or TLS because the phone never sleeps thus drains the battery 2011-01-12 16:28:10 -06:00
Brian West
ef880c53b2 Route is not an un-named header its named. Handled like full_via and full_from and such 2011-01-11 13:41:50 -06:00
Brian West
d41e6498f1 Set route header as a var on channel like Diversion header 2011-01-11 12:25:55 -06:00
Michael Jerris
0132cd3fc7 Fix routing behavior of inbound calls from gateways that only match gateway based on the gw request uri param
we now honor the extension gateway param only if it is explicitly set, but will not route to the username param if extension is not set
also, new special value for extension "auto" that should use the request uri unless it has gw+ and then it will use the to uri
2011-01-06 15:35:12 -06:00
Anthony Minessale
b262f44ce2 add temp_hold_music var that is only valid until you transfer the call and finishing touches on bind meta to A-D 2011-01-05 18:58:56 -06:00
Anthony Minessale
181b543b0c add auto-jitterbuffer-msec param and auto-disable the jitterbuffer when briding to another channel who also has a jitterbuffer so both legs will disable during a bridge 2011-01-05 16:25:14 -06:00
Brian West
3734f4cd44 bump copyright date and fix some email and typos from diego. 2011-01-05 10:09:04 -06:00
Brian West
7b28994121 FS-502: gateway not identified when extension-in-contact is set 2011-01-03 10:44:28 -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
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
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