313 Commits

Author SHA1 Message Date
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
cf398e1a44 FS-535: tested but please test MORE. 2010-11-22 14:59:47 -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
e5b891eed1 add separate reg timeout from retry sec 2010-11-03 10:58:32 -05:00
Anthony Minessale
df52cc0952 fix registration overlap timeout snafu 2010-11-02 17:58:24 -05:00
Anthony Minessale
99ada6bdba add events 2010-10-27 12:00:30 -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
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
dfa78985b4 Change codec behaviour
channel_variable: sdp_m_per_ptime
Adds a new m= line for each distinct ptime in codec list.

When this variable is not set:
	When mixing codecs with various ptime in a codec list, they will now be allowed to co-exist in the sdp but it will send no ptime attr.
		This means the ptime preferences on the offer will be ignored when mixing codecs with various ptimes.
	When receiving a codec list with no ptime attr, the ptime will be chosen from local preference instead of assuming 20ms
		This means if offer contains PCMU with not ptime and FS has PCMU@40i

Dynamic payloads will now start at 98 and increment per additional dynamic codec per call.
	So now you can add CELT@32000h,CELT@48000h and each one will be auto-assigned a dynamic paylaod type.
2010-10-13 19:28:20 -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
c701d41c3c add sofia_glue_find_parameter_value function to get a specific value from a url params string 2010-10-03 20:00:32 -04:00
Anthony Minessale
c87b60278e FS-2748 2010-10-01 09:30:32 -05:00
Anthony Minessale
633f193dae add bitrate patch from moc with some extra stuff for late neg mode 2010-09-29 16:52:43 -05:00
Anthony Minessale
84a383fe0f improve video support for new polycom phones 2010-09-29 14:14:41 -05:00
Anthony Minessale
09fa66787e add 'sofia global siptrace on' so we don't have to always teach people to enable sip trace on each profile 2010-09-20 16:55:09 -05:00
Anthony Minessale
0477cb67f5 add sofia profile <profile> gwlist up|down to list up or downed profiles for feeding into mod distributor to exclude dead gateways 2010-09-17 14:11:57 -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
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
bb980fdef5 refactor 2010-09-03 12:46: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
Anthony Minessale
7898679b20 tweak 2010-07-01 09:37:49 -05:00
Anthony Minessale
f2ea3ee315 indent run 2010-06-30 10:35:15 -05:00
Anthony Minessale
911e9182e1 add cid-in-1xx profile param and sip_cid_in_1xx chan var 2010-06-29 09:32:41 -05:00
Anthony Minessale
fabaa4a28e MODSOFIA-77 2010-06-18 17:09:26 -05:00
Anthony Minessale
beae21d729 MODSOFIA-59 2010-06-18 15:42:28 -05:00
Anthony Minessale
c2cfe1b202 FSMOD-61 2010-06-14 14:10:15 -05:00
Anthony Minessale
22569d4ac5 add multiple rtp-ip support to sofia profiles
add extra rtp-ip params to a profile to add more ip which will be used round-robin as new calls progress.
2010-06-10 17:10:03 -05:00
Anthony Minessale
0152706fa9 BOUNTY-19 2010-06-04 19:37:04 -05:00
Mathieu Parent
3f7cafd709 Rename sofia_glue_get_user_host to switch_split_user_domain
and move to switch_utils. To allow use by other modules.
2010-06-02 01:09:54 +02:00
Anthony Minessale
a291af5768 add sip_copy_multipart to work like sip_copy_custom_headers 2010-06-01 17:22:45 -05:00
Anthony Minessale
c17eefb2a4 first crack at multipart content in invites 2010-06-01 17:13:32 -05:00
Michael Jerris
52cd8cdd64 mod_sofia: use rfc recommended default session timeout of 30 min according to RFC 4028 4.2 (MODSOFIA-76) 2010-05-31 09:39:36 -04:00
Anthony Minessale
ccf74d5b41 negotiable t38 passthru 2010-05-26 20:13:07 -05:00
Anthony Minessale
7b3d3f7ef2 Tea for two (or maybe thirty eight?) 2010-05-21 16:47:21 -05:00
Mathieu Rene
3c5c5905ad mod_sofia: fire an event for gateway ping 2010-05-10 12:33:47 -04:00
Anthony Minessale
e5cc0539ff add disable_hold var or disable-hold profile param 2010-05-03 12:35:48 -05:00
Michael Jerris
5be0640fdd mod_sofia: add failed call statistics to gateways (MODENDP-238) 2010-04-26 04:14:57 -04:00
Anthony Minessale
aa4816659c add rtcp seperate on audio and video and add passthru 2010-04-20 16:15:53 -05:00
Anthony Minessale
70d73cafb7 FSRTP-14 2010-04-20 11:08:39 -05:00
Anthony Minessale
89f399832d add killgw _all_ to delete all gws 2010-03-31 15:02:50 -05:00
Michael Jerris
ea8b4f2f20 fix telephone-event negotiation with devices that don't do what the rfc says they SHOULD do
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@17097 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-25 03:51:04 +00:00
Anthony Minessale
0292b7a81d ok, patch applied cleanly
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@17096 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-25 00:28:56 +00:00
Anthony Minessale
cefb4188ea fixing patch
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@17095 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-25 00:27:20 +00:00
Anthony Minessale
80b9db179b re-apply reformatted reverted patch
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@17094 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-25 00:24:45 +00:00
Anthony Minessale
c92cbcb5e3 revert
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@17093 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-25 00:23:55 +00:00
Anthony Minessale
467bdfc21c prevent race in killgw followed by an immediate rescan with the same gateway name
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@17092 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-25 00:09:43 +00:00