Commit Graph

614 Commits

Author SHA1 Message Date
Anthony Minessale add9d26ac5 fix regression in video from commit c565501f55 2011-02-25 15:20:04 -06:00
Anthony Minessale d59d41d7b4 add param to jb to try to recapture latency (disabled by default) 2011-02-25 11:59:45 -06:00
Anthony Minessale 39ff78bfae FS-3078 This is more like it 2011-02-18 20:16:11 -06:00
Anthony Minessale 25834f9537 FS-3078 NM that was a bad idea 2011-02-18 20:13:37 -06:00
Anthony Minessale a23b335b50 FS-3078 see wrapper function that should do the same thing this is called at the time when the sdp is created so if it still doesn't work it would suggest that you have this variable set passing in from the other leg in which case you need to set it explicitly because the mode of the inbound leg prevails over the profile default 2011-02-18 19:03:07 -06:00
Anthony Minessale c565501f55 tell rtp stack about what remote payload type to expect when the receiving end follows the stupid SHOULD as WONT and sends a different dynamic payload number than the one in the offer 2011-02-15 16:09:58 -06:00
Anthony Minessale 68d08547f3 try to improve iLBC compat 2011-02-03 16:27:22 -06:00
Anthony Minessale 74a0cfd1e1 FS-3027 2011-02-03 10:19:04 -06:00
Michael Jerris 018a3800b4 fix session timer failure when freeswitch is generating the sdp and there are enough dynamic codecs enabled to conflict with the 2833 pt (4 by default) 2011-01-17 13:11:10 -06:00
Anthony Minessale e6a25e8578 FS-2984 2011-01-14 18:42:46 -06:00
Anthony Minessale 029d68ce47 disable media timeout when encountering a recvonly stream 2011-01-14 17:42:42 -06:00
Anthony Minessale 6126383ca4 FS-2980 2011-01-13 18:41:43 -06:00
Anthony Minessale b3fc001e6c add rtp_bug IGNORE_DTMF_DURATION to speed up dtmf detection of RFC2833 on strange carriers 2011-01-07 16:04:24 -06:00
Brian West 85c22d10e2 Fix iLBC when using ep_codec_string 2011-01-06 17:15:45 -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
Anthony Minessale 97a68c50d9 support allowing pidf-ful presence clients to share the same account and 'appear offline' without influencing each other =/ also refactor the contact generation string based on nat into a helper function 2010-12-30 11:38:23 -06:00
Anthony Minessale 668763f490 prevent race on codec change mid-call 2010-12-17 17:27:23 -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 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 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
Anthony Minessale 7aa72b67df prevent race while changing codecs mid call 2010-12-03 20:22:14 -06:00
Anthony Minessale 92f4344072 FS-2892 2010-12-01 09:46:06 -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 cf398e1a44 FS-535: tested but please test MORE. 2010-11-22 14:59:47 -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
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 1970ec1d81 FS-2810 2010-11-01 10:03:10 -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 e10bc0a965 allow {dtmf_type=none} to work in oubound dial strings 2010-10-26 15:43:14 -05:00
Anthony Minessale afaf1fac05 ilbc tweak 2010-10-15 17:53:38 -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 54dcb64a4d typo 2010-10-13 16:21:53 -05:00
Anthony Minessale 93c2ed941a silent recovery 2010-10-13 16:17:43 -05:00
Anthony Minessale 14361c0907 FS-620 2010-10-12 09:32:15 -05:00
Anthony Minessale 8f13eb8966 FS-2762 2010-10-06 15:17:48 -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 589502d3d9 FS-2747 2010-10-01 14:04:06 -05:00
Anthony Minessale 56f8c11f0b refactor fmtp parser as a core func 2010-10-01 14:01:39 -05:00
Anthony Minessale f8c9ef5f9d fix codec regression from yesterday 2010-09-30 15:15:58 -05:00
Brian West 03e74c51f9 FS-526: improve nat handling when using stun or host as ext-rtp-ip 2010-09-30 10:23:48 -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
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
Anthony Minessale 45e2b99dab don't passthru when its proxy media, bypass media or there is no rtp session, fixes seg 2010-09-27 13:11:51 -05:00
Anthony Minessale ed708bff3e update 2010-09-24 15:14:58 -05:00
Brian West 73e6e03d37 MODSOFIA-105 can't take defaults that were there before away 2010-09-24 11:29:06 -05:00
Brian West 8f731f42e2 MODSOFIA-105 2010-09-24 10:31:11 -05:00
Brian West a9446ac12e SFSIP-227 2010-09-23 11:25:43 -05:00
Anthony Minessale 3548168d8f let ~ signify that multipart content will contain headers 2010-09-22 16:05:44 -05:00
Brian West 72baaf6d23 fix t38 passthru when port changes on re-invite 2010-09-21 19:22:28 -05:00
Anthony Minessale d093a4a4c6 make code more automagic to shut up the dude on the list 2010-09-21 10:09:55 -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 be2b5777ae check gateway status instead of state in new function 2010-09-17 17:06:59 -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
Brian West 8726104aa3 If sip_invite_domain is used lets use it for rpid_domain no matter what because I know best if I set it 2010-09-15 19:46:23 -05:00
Anthony Minessale 403bf6af1c make sure hold-related code is skipped 100% with disable-hold set 2010-09-13 10:57:52 -05:00
Anthony Minessale d5ff3e04ab include accumulated stats from rtcp into vars 2010-09-10 11:59:47 -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 8114b3f18d speed up db action in sofia recover 2010-09-07 21:16:00 -05:00
Anthony Minessale bb980fdef5 refactor 2010-09-03 12:46:49 -05:00
Anthony Minessale 96b790fa2e BOUNTY-20 2010-08-18 15:01:32 -05:00
Anthony Minessale 2843f1ad00 MODSOFIA-94 2010-08-17 11:17:18 -05:00
Brian West fa28b633db comment out VendorInfo for the sake of interop for now 2010-08-10 09:20:08 -05:00
Anthony Minessale a11f4e4fb3 add auto-create-schemas param to switch.conf.xml 2010-08-04 09:57:07 -05:00
Anthony Minessale 786ca1f978 presence changes 2010-07-29 23:39:39 -05:00
Brian West d146b15a9c wip1 2010-07-27 22:08:58 -05:00
Anthony Minessale 44450cb013 fix some small mem leaks 2010-07-23 00:37:08 -05:00
Anthony Minessale 09c1815c42 change channel app_flags to be realm specific and default old version to use __FILE__ as the realm name to avoid cross fire between apps using app flags 2010-07-22 14:37:34 -05:00
Anthony Minessale b037f1b6e1 doh 2010-07-05 16:48:07 -05:00
Anthony Minessale 01b17ec69e prefer telephone-event with same rate over others 2010-07-05 14:26:38 -05:00
Anthony Minessale e9405ba64b fix build 2010-07-05 13:13:47 -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 d700e69625 . 2010-06-29 13:47:15 -05:00
Anthony Minessale 0bff1a411b clean up indenting in sofia 2010-06-23 13:22:52 -05:00
Anthony Minessale fabaa4a28e MODSOFIA-77 2010-06-18 17:09:26 -05:00
Anthony Minessale 8b4a8cc3ef format refactor 2010-06-17 14:36:31 -05:00
Anthony Minessale 3026e639fe MODENDP-312 2010-06-17 10:24:36 -05:00
Anthony Minessale de001cb65a FSMOD-61 2010-06-14 13:43:51 -05:00
Anthony Minessale 64aaf4e9d8 FSMOD-61 2010-06-14 13:42:06 -05:00
Brian West a95fa59e87 MODSOFIA-78 2010-06-13 19:17:52 -05:00
Brian West 67217f0c9b SFSIP-214 don't override with a possible NULL value for tech_pvt->cid_type because its already defaulted to the profile setting at the top of sofia_glue_do_invite 2010-06-13 19:07:11 -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 4d928be3e3 update to last patch 2010-06-07 15:28:32 -05:00
Anthony Minessale 0f133eae2d add new callstate field to channels table 2010-06-04 19:03:36 -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 c17eefb2a4 first crack at multipart content in invites 2010-06-01 17:13:32 -05:00
Anthony Minessale 6360264fb2 add sip_force_audio_fmtp 2010-06-01 14:04:55 -05:00
Michael Jerris be92e5df08 mod_sofia: allow video negotiation on re-invite (SFSIP-211) 2010-05-31 09:14:53 -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
Michael Jerris 3362335033 typo 2010-05-05 15:15:00 -05:00
Anthony Minessale bbf0e64830 add disable_hold var or disable-hold profile param 2010-05-05 15:14:57 -05:00
Michael Jerris ea5fc46550 typo 2010-05-03 16:57:17 -04:00
Anthony Minessale e5cc0539ff add disable_hold var or disable-hold profile param 2010-05-03 12:35:48 -05:00