516 Commits

Author SHA1 Message Date
Brian West
45e19b75dd FS-6270 add client_port to SIP Registration events 2014-02-25 21:49:35 -06:00
Travis Cross
19dbd07ff8 Allow access to headers from INVITE
This adds a sip profile parameter parse-all-invite-headers that when
set parses all headers from an INVITE into channel variables.  The
headers are converted to lowercase, underscores are replaced with
dashes, and the result is prefixed with sip_i_.  Headers than exist
more than once are set as arrays.

FS-6075 --resolve

Thanks-to: Peter Olsson <peter@olssononline.se>
2014-02-21 20:45:40 +00:00
Travis Cross
bd72cd9cc1 Allow setting late margin on register expirations
When an endpoint registers to us we internally mark the expiration as
some seconds longer than the actual registration.  Previously this
value was fixed at 60 seconds.

Some people need this value to be shorter so they can meet their SLA
by taking a different action when a device doesn't re-register when
expected.

This commit adds a SIP profile parameter sip-expires-late-margin which
allows setting the margin value we apply here.

FS-6101 --resolve

Thanks-to: Emmanuel Schmidbauer <e.schmidbauer@gmail.com>
2014-02-20 16:07:53 +00:00
Ken Rice
6e7d5d0897 update copyright header for 2014 2014-02-12 12:08:56 -06:00
Travis Cross
d3b9aaba60 Add mod_sofia support for setting socket TCP keepalive
Some OSes like linux provide a mechanism for sending TCP keepalive
pings.  Sofia provides its own mechanism for doing this in userspace.
We shouldn't conflate these two mechanisms.

FS-6104
2014-02-11 06:27:29 +00:00
Travis Cross
57abca11a8 Support setting TLS cipher suites in mod_sofia
This adds a parameter tls-ciphers in which we can specify the TLS
cipher suite specification for OpenSSL.
2014-02-06 06:04:02 +00:00
Travis Cross
8c2c464bec Support setting enabled TLS versions in mod_sofia
Previously if tls-version was set to tlsv1 we supported only TLSv1,
but if it was set to sslv23 we supported all versions of TLS.  This
was a weird incorrectly documented behavior that we hope no one was
relying on.

Now we can pass a comma-separated list of TLS/SSL versions that we
would like to support in tls-version.

FS-5839 --resolve
2014-02-06 02:20:19 +00:00
Travis Cross
8fa385b0d7 Make bypass-media-after-hold a media-option
FS-6186 --resolve

Thanks-to: Matteo Brancaleoni <mbrancaleoni@voismart.it>
2014-02-05 19:36:15 +00:00
Anthony Minessale
3ecb504fda FS-6186 --resolve 2014-02-05 07:15:08 +05:00
Anthony Minessale
643c88f49b FS-6140 --resolve 2014-01-23 02:13:10 +05:00
Anthony Minessale
8dfbd91a3d fold version macros into runtime functions to avoid cascade rebuilds when modifying the core 2014-01-17 01:54:47 +05:00
Anthony Minessale
ef730b75aa FS-5987 pushing the patch now since no matter what its better than before 2013-12-11 00:04:26 +05:00
Anthony Minessale
37774268c0 FS-5882 --resolve 2013-10-17 22:40:07 +05:00
Raymond Chandler
863e6cfa3f FS-2731 significantly reworked version of Emmanuel's patch to allow subscribing and notifying for the as-feature-event events. we still need a module to handle the FS events for this automatically... coming soon to a repository near you 2013-08-23 15:54:49 -04:00
Anthony Minessale
e9adbb7ac6 FS-5687 this patch adds a debouncer to that info message. if you still have problems try altering switch_rtp.c:5469 to add 0 condition so it skips that whole block and retest eg... if (0 && switch_rtp_test_flag(rtp_session, SWITCH_RTP_FLAG_VIDEO)) { 2013-08-12 00:57:47 +05:00
Anthony Minessale
a6bffd38cb FS-5498 2013-07-19 12:03:51 -05:00
Ken Rice
51fd5a6cee --resolve FS-5426 2013-07-03 14:13:05 -05:00
Ken Rice
bf89fbd81d --resolve FS-5432 2013-07-03 14:13:05 -05:00
Anthony Minessale
bf5fa172e5 FS-5547 --resolve 2013-06-26 10:47:40 -05:00
Nathan Neulinger
32adc789f6 make noexpandtab explicit in all vim modelines other than xml files 2013-06-25 11:50:17 -05:00
Anthony Minessale
b74ad2a6bb FS-5503 --resolve indeed, thx 2013-06-11 09:31:16 -05:00
Anthony Minessale
ea881b191f media/srtp refactoring pass 2013-05-17 15:39:30 -05:00
Anthony Minessale
16690e491d FS-5399 --resolve 2013-05-09 14:05:09 -05:00
Anthony Minessale
44840fc97a fix regression in sofia profile param for t38-passthru 2013-05-02 22:36:39 -05:00
Anthony Minessale
7a42ec06df RTP stats were not being logged. There is no JIRA on this sigh 2013-04-26 09:31:28 -05:00
Brian West
d5ec949142 Add application layer keepalive options to sofia and expose config options 2013-04-25 13:34:07 -05:00
Anthony Minessale
eeeb4fa445 FS-5340 --resolve 2013-04-24 16:35:58 -05:00
Anthony Minessale
e1c325dcb5 FS-5341 --resolve 2013-04-23 14:49:07 -05:00
Anthony Minessale
a67505ba74 FS-4934 2013-04-09 21:38:11 -05:00
Anthony Minessale
52c1d3c76b FS-5265 --resolve 2013-04-04 12:35:22 -05:00
Anthony Minessale
69c3c7d8e2 FS-5257 --resolve you seem to be setting sip_secure_media on an inbound leg, this is not correct. This patch should auto-correct that but also beware that the variable has changed to rtp_secure_media after this commit 2013-04-02 20:05:46 -05:00
Brian West
e334fd064f fix variable name 2013-04-02 13:10:00 -05:00
Anthony Minessale
5bcf68c92d handle route for ws and wss transport 2013-03-31 21:27:24 -05:00
Anthony Minessale
e00ede7e7d unreg on sock disconnect 2013-03-31 21:27:22 -05:00
Anthony Minessale
81cd770a18 add ws-binding and wss-binding sofia profile params 2013-03-31 21:27:21 -05:00
Anthony Minessale
20568e64df wip 2013-03-31 21:27:17 -05:00
Anthony Minessale
e4aead198e compiles and runs and probably chok full o bugs 2013-03-31 21:27:16 -05:00
Anthony Minessale
078d963222 MILESTONE: all the crap out of tech_pvt and sofia in general related to media shit 2013-03-31 21:27:16 -05:00
Anthony Minessale
85308861d8 almost rid of crufty tech_pvt members 2013-03-31 21:27:16 -05:00
Anthony Minessale
92ddf47293 expose some rtp func via media handle 2013-03-31 21:27:15 -05:00
Anthony Minessale
1f61ad76a4 savs 2013-03-31 21:27:15 -05:00
Anthony Minessale
d012c5f392 omg it can make calls ... long way to go ... 2013-03-31 21:27:15 -05:00
Anthony Minessale
48554d1a85 compiles 2013-03-31 21:27:15 -05:00
Anthony Minessale
22d838b4f6 pass2 2013-03-31 21:27:15 -05:00
Anthony Minessale
0fffc839e4 pass1 2013-03-31 21:27:14 -05:00
Anthony Minessale
3c51053bb4 compiles the core wow 2013-03-31 21:27:14 -05:00
Anthony Minessale
eb81042a6f wip 2013-03-31 21:27:14 -05:00
Anthony Minessale
d6af3a1fdd omfg 2013-03-31 21:27:14 -05:00
Anthony Minessale
10010d47c1 wip 2013-03-31 21:27:14 -05:00
Anthony Minessale
1ab88581d7 rename 2013-03-31 21:27:14 -05:00