Anthony Minessale
e4e9b1b9f9
have resume media on hold not send invite back out at the holder but rather enable media in the 200ok
2014-10-10 16:09:43 -05:00
Michael Jerris
855cc4b4e0
add 908-retry-seconds gateway param to set reg retry time when getting a 908 for backup interfaces to connect quickly
2014-10-09 14:43:23 -04:00
Mike Jerris
34bc98cafa
Merge pull request #47 in FS/freeswitch from ~FLAVIO/freeswitch-fs-5106:master to master
...
* commit '56535519043201c723467c66c772d7519a2b6f62':
FS-5106 fire an event when a sip client doesn't respond to option-ping
2014-10-07 14:06:34 -05:00
Anthony Minessale
2051a86df2
FS-6889 #resolve
2014-10-07 13:47:44 -05:00
Mike Jerris
6860b41763
Merge pull request #83 in FS/freeswitch from ~MKVONARX/freeswitch-fs-6710:FS-6710 to master
...
* commit '490efb7177ddcd3e61018f02c1435362937e8b15':
FS-6710: fix incorrect comparison for Min-SE values between SIP INVITE and local configuration
2014-10-07 11:50:19 -05:00
Mike Jerris
d4929443f9
Merge pull request #59 in FS/freeswitch from ~SJTHOMASON/freeswitch:FS-5868 to master
...
* commit '747322dcc6f4db1bffc985c9bcff0bd32a2682a9':
Remove Contact header from BYE and CANCEL requests.
2014-10-07 11:47:40 -05:00
Markus von Arx
490efb7177
FS-6710: fix incorrect comparison for Min-SE values between SIP INVITE and local configuration
2014-10-07 10:41:36 +02:00
Anthony Minessale
b2ae5f4cc2
few bugs on recent new features
2014-10-03 15:36:23 -05:00
Jeff Lenk
ae5d86515a
FS-6884 #comment these were mostly simple warnings
2014-10-02 19:20:35 -05:00
Anthony Minessale
10a3fa55ef
%FEATURE add bypass_media_resume_on_hold and bypass_media_after_hold variables to be set to true to enable these functions on a per channel basis
2014-10-02 17:49:09 -05:00
Anthony Minessale
43733a6166
FS-6886 #comment addition of ignoring unhold as well
2014-10-02 15:48:29 -05:00
Spencer Thomason
747322dcc6
Remove Contact header from BYE and CANCEL requests.
...
Per rfc3261 the Contact header is not applicable and MUST not appear in
the request.
FS-5868 #resolve
2014-10-02 12:24:46 -07:00
Anthony Minessale
9e9175321a
FS-6886 #resolve
2014-10-02 11:30:13 -05:00
Flavio Grossi
5653551904
FS-5106 fire an event when a sip client doesn't respond to option-ping
...
When all-reg-options-ping is enabled, this adds a new custom event to mod_sofia
(sofia::sip_user_state), which is fired when a client stops responding to such
ping packets (or when it is reachable again).
Add two needed new columns to the sip_registrations table:
- ping_status, which is "Reachable" or "Unreachable" depending on the client
status;
- ping_count, which tracks the number of ping responses received and is used
to provide some kind of hysteresis to avoid firing the event in case of
transitory network failures.
Then ping_count is checked against two threshold values, sip-user-ping-min
and sip-user-ping-max in a similar fashion as the ping-{max,min} options for
the gateways. These two values are configurable in the profile's xml
configuration file.
Also, if unregister-on-options-fail is enabled, the client is unregistered
based on the number of OPTIONS failure which is also checked against the
sip-user-ping-{min,max} values.
2014-10-02 12:34:47 +02:00
Anthony Minessale
789e1481ed
FS-6880 #resolve #comment I would think that in real life once the call agreed on a codec it would only offer the negotiated codecs but we can fix this to always filter for good measure. I am not sure what the ramifications are of filtering responses but I think this patch will do so as well.
2014-10-01 13:03:50 -05:00
Anthony Minessale
24084adf77
%FEATURE Add new feature to filter the SDP on bypass_media calls to remove or limit codecs.
...
VARIABLE: bypass_media_sdp_filter
Can be set globally or per leg on the inbound side of a bypass_media bridge.
VALID FILTERS:
remove(): Removes the specified codec if it exists in the SDP.
only(): Removes all codecs besides the one specified (providing that it exists in the sdp) (will not remove telephone-event))
EXAMPLE 1 (remove everything leaving only g729):
<action application="set" data="bypass_media_sdp_filter=only(g729)"/>
<action application="set" data="bypass_media=true"/>
<action application="bridge" data="sofia/internal/1238@conference.freeswitch.org"/>
EXAMPLE 2 (remove everything leaving only g729 and also remove dtmf):
<action application="set" data="bypass_media_sdp_filter=only(g729)|remove(telephone-event)"/>
<action application="set" data="bypass_media=true"/>
<action application="bridge" data="sofia/internal/1238@conference.freeswitch.org"/>
EXAMPLE 3 (remove alaw and speex):
<action application="set" data="bypass_media_sdp_filter=remove(pcma)|remove(speex)"/>
<action application="set" data="bypass_media=true"/>
<action application="bridge" data="sofia/internal/1238@conference.freeswitch.org"/>
2014-10-01 01:28:10 +05:00
Anthony Minessale
7144b25254
obey sip_copy_custom_headers on bye
2014-09-12 00:37:19 +05:00
Alexander Haugg
388e9638de
F-5946 add the patches. if in the sofia gateway config the param pin-monitoring is true, then every ping result raise an sofia::gateway-state event
2014-09-05 10:57:01 +02:00
Steven Ayre
93bd5833c2
Add uptime property to mod_sofia gateways
...
The 'UP' status indicates a gateway is online as determined by
registration and/or SIP OPTIONS pinging.
The time the gateway has been in the 'UP' status is recorded,
and can be monitored using 'sofia status' and 'sofia xmlstatus'.
This can be used to detect and graph when there are outages.
ref: FS-6772
Reviewed-by: Travis Cross <tc@traviscross.com>
2014-09-04 03:43:36 +00:00
Brian West
1dc44067cd
FS-6770 #resolve
2014-08-27 13:28:15 -05:00
Stan Gor
64060c7dbd
Add sofia gateway parameter "destination-prefix"
...
FS-5497 add sofia gateway parameter destination-prefix in case you need to send Invites to your provider with prefix only to this gateway
2014-08-19 11:54:09 -07:00
Anthony Minessale
e3e84a7820
FS-6679 #resolve
2014-08-09 02:13:00 +05:00
Brian West
940171c623
FS-6670 #resolve #comment Doh, see this one is dangerous
2014-07-21 16:04:36 -05:00
Brian West
c15663cba2
FS-6670 #resolve #comment This should resolve this fun stuff.
2014-07-21 15:58:32 -05:00
Anthony Minessale
3ce4ae962b
FS-6540 #comment please test this patch for the added notify functionality
2014-07-17 22:35:04 -05:00
Anthony Minessale
91d405a2c1
call recovery_track on recovering channels once the recovery has completed and fix race condition with repeated recovery
2014-07-16 21:40:23 +05:00
Anthony Minessale
c58e64bf6d
add some more headers to sip messages
2014-07-16 00:55:46 +05:00
Brian West
28e90addf2
FS-5501 fire event on profile start
2014-07-09 08:53:14 -05:00
Anthony Minessale
2423fc7d0f
FS-6540 This should proxy all refers now, the param has changed to proxy-refer
2014-06-30 12:53:22 -05:00
Travis Cross
52fb53cba4
Allow reincarnation from mod_sofia's shutdown-on-fail
...
mod_sofia's parameter shutdown-on-fail now accepts the value
"reincarnate-now". This will cause the switch to exit immediately
with a non-zero exit code so that the supervisor can recover the
switch. For this to work you have to pass in -reincarnate or
-reincarnate-reexec to freeswitch.
2014-06-27 22:18:39 +00:00
Travis Cross
80ed14ab3e
Ensure mod_sofia params can be unset or reset
...
This is the result of auditing each mod_sofia profile parameter to
ensure that it can be unset or reset after being set. One use-case
for this being done correctly is so a later parameter in a
configuration file can reliably override an earlier one, which is
useful for setups with layered include files.
2014-06-26 09:04:56 +00:00
Travis Cross
75feed68fc
Avoid leaking memory on sofia profile reload
...
We were leaking the string values of apply-candidate-acl parameters.
2014-06-26 08:39:55 +00:00
Travis Cross
f7b4ec617a
Allow SIP UPDATE messages without display updates
...
Previously if send-display-update was set to false we would also
remove UPDATE from our Allow: headers. This is unnecessary. The
UPDATE message is useful in SIP transactions even if we're not sending
display updates.
With this commit, we add a new boolean profile flag, allow-update. If
set to true we'll send Allow: UPDATE. If set to false, we will not.
If there is a conflict with another setting that requires UPDATE
support, the allow-update parameter will win and a warning will be
printed.
ref: RFC 3311
2014-06-25 20:43:29 +00:00
Brian West
8f47f403fd
FS-6612: Don't use rport in tcp or tls
2014-06-20 10:23:05 -05:00
Anthony Minessale
49ee6781a5
FS-6540 please test
2014-06-05 23:49:50 +05:00
Brian West
6722e3dfea
fix regression from regression
2014-06-02 19:25:04 -05:00
Brian West
f358c35b67
remove debug line
2014-06-02 19:21:02 -05:00
Anthony Minessale
a7b9329a08
FS-6446 regression fixed
2014-06-02 19:09:48 -05:00
Anthony Minessale
956da6d689
Modify sofia profile to attempt to bind to the interface up to 3 tries with a 5 second wait between attempts.
...
Add new profile params bind-attempts and bind-attempt-interval to modify default behavior.
--NEEDSDOCS
2014-06-02 22:47:26 +05:00
Anthony Minessale
7c2b4381cf
FS-6446 --resolve
2014-05-27 20:40:00 +05:00
Anthony Minessale
bedf8327b6
FS-6418 FS-6427 add profile param NDLB-proxy-never-patch-reinvites to solve both issues
2014-05-21 03:31:50 +05:00
William King
388e119e55
CID: 1214221,1214222
...
sip_header_as_string returns new memory alloc'd on the nua_handle's memory pool. This memory would not be freed until
the handle was destroyed. Since there is no usage of the call-info header after it is added to the event as a header value,
we should make sure to both su_free the sofia returned string, but also more cleanly create the event header value to reduce a strdup.
2014-05-16 16:35:49 -07:00
Russell Treleaven
3666029ff0
add auth-subscriptions flag. sofia ua can now optionally challenge subscrition requests
2014-05-16 19:05:35 +00:00
William King
af32ca00e3
Correction to commit 0ba59aa6c2
using the correct variable in tel uri param parsing for mod_sofia
2014-04-29 15:23:24 -07:00
Anthony Minessale
cc06d9181b
FS-4779 FS-6467 the behaviour from 4479 is now masked behind the param 3pcc-reinvite-bridged-on-ack FS-6467 please test master
2014-04-28 22:10:14 +05:00
William King
0ba59aa6c2
Expanding on 052638186b
to support boolean tel url params in mod_sofia
2014-04-25 13:49:59 -07:00
Anthony Minessale
79ebcb104b
add enable-chat sofia profile param which defaults to true when not present, set to false to turn off the chat interface in sofia
2014-04-19 12:29:10 -05:00
Anthony Minessale
bce51017fb
FS-6462 --resolve
...
I found a problem here but it may not completely match your expectations.
I reviewed the RFC 4028 and checked against the code and I discovered we should not be putting a Min-SE in any response at all besides a 422:
section 5:
The Min-SE header field MUST NOT be used in responses except for
those with a 422 response code. It indicates the minimum value of
the session interval that the server is willing to accept.
I corrected this problem and implemented the 422 response so if you request a value lower than the minimum specified for the profile.
If the value is equal or higher to the minimum, it will be reflected in the Session-Expires header in the response and no Min-SE will be present.
2014-04-17 04:26:43 +05:00
Anthony Minessale
a4a792488b
add generic keepalive system and implement it in sofia to send MESSAGE or INFO packets in-dialog at specified interval.
...
Adds app: enable_keepalive 0|<seconds>
This app can be run in the dialplan or with execute_on_* type variables for B-legs.
Adds sofia param: keepalive-method : defaults to MESSAGE can also be "INFO"
This param sets which SIP method to use.
2014-04-16 06:10:25 +05:00
Raymond Chandler
052638186b
add parsing of user params on invite
2014-04-15 12:48:07 -04:00
Brian West
19e3175518
FS-6422: --resolve obvious copy and paste error
2014-04-03 07:20:41 -05:00
Anthony Minessale
7151d6acea
FS-6402 part 2
2014-04-02 03:21:37 +05:00
Anthony Minessale
5c0cff70b3
FS-6402 --resolve
2014-04-02 01:20:19 +05:00
Michael Jerris
65c58a7ceb
FS-6341: fix compiler warning from set but unused var
2014-03-17 18:42:02 -04:00
Michael Jerris
340b697e1b
FS-6341: --resolve add 3pcc invite w/o sdp support for 100rel/PRACK
2014-03-17 12:27:42 -04:00
Michael Jerris
3c95a52ff6
we are intentionally using a value outside of the enum here as a special value. The compiler will always make this an int anyways, so this is safe. cast to remove the warning
2014-03-15 22:47:55 -04:00
Anthony Minessale
89f9490710
FS-6350 --resolve Parse params out of user portion of caller_id and save them to sip_name_params
2014-03-14 13:13:22 -05:00
Anthony Minessale
70f2908976
more nat fix
2014-03-11 16:12:43 -05:00
Anthony Minessale
5c8a3b12fd
Convert some behaviors to optional.
...
These all were set before but now are disabled by default because they are not proper to have enabled without a good reason.
tcp-unreg-on-socket-close
If registration is TCP or TLS and socket connection is interrupted, unregister the client.
tcp-always-nat
Treat all TCP connections as NATTED, this causes all traffic back to the phone to reuse the existing TCP socket but may
cause problems when not used with TCP keepalive.
tls-always-nat
Same as tcp-always-nat but only for TLS connections.
2014-03-11 15:17:02 -05:00
Anthony Minessale
804ef7709d
change from sqlite hash to newly added one
2014-03-09 00:37:17 +05:00
Brian West
07272e864e
FS-6321 --resolve
...
Copy URI params from Refer-To header into custom header in subsequent INVITE
sip_h_X-FS-Refer-Params is set to show up in the INVITE as X-FS-Refer-Params
2014-03-07 12:56:58 -06:00
Anthony Minessale
f87ae15fc6
don't refuse invites on established sessions due to session limits
2014-03-07 23:46:26 +05:00
Anthony Minessale
0da8c6331d
don't kick in nat mode on polycom tcp unless its not in the local network
2014-03-07 08:34:26 +05:00
William King
fd38a255f8
FS-6167 --resolve
2014-03-04 13:41:34 -08:00
Anthony Minessale
2dc71d2d26
add sip_refer_to_params
2014-03-01 00:13:35 +05:00
Brian West
45e19b75dd
FS-6270 add client_port to SIP Registration events
2014-02-25 21:49:35 -06:00
Marc Olivier Chouinard
9f98ccc105
FS-5115 --resolve
2014-02-24 20:25:31 -05: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
Anthony Minessale
b3c02a547e
FS-6230 --resolve There was no NAT detection enabled on the calls, this patch will activate it explicitly when used with force-rport to avoid a similar problem with other users
2014-02-14 23:50:17 +05:00
Anthony Minessale
a0d6ebd80d
FS-6222 --resolve
2014-02-13 20:46:05 +05:00
Anthony Minessale
7ed4ed65db
0a63cdc4b2
this might help
2014-02-13 05:50:39 +05:00
Anthony Minessale
0a63cdc4b2
FS-6222 try this patch
2014-02-13 04:08:24 +05:00
Anthony Minessale
35f2bcccf7
FS-6221 --resolve
2014-02-13 03:26:09 +05: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
Anthony Minessale
c52ac4817c
FS-6128 FS-6200 --resolve allocating the sofia_private on the nua_handle seems to lead to memory corruption, changing it back to malloc as done in the version before the regression
2014-02-11 04:05:40 +05:00
Anthony Minessale
0539cc166b
FS-6202 --resolve
2014-02-07 22:13:23 +05:00
Anthony Minessale
4c068c637d
FS-6197 --resolve the line numbers in the trace do not match the version you reported make sure you know what version you are using
2014-02-06 21:47:24 +05: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
d4a13742ba
Default to TLSv1 through TLSv1.2 if unspecified
2014-02-06 02:47:40 +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
4021b5ce14
try to avoid compiler optimization snafu
2014-02-05 00:31:10 +05:00
Peter Olsson
084e245085
Lots of trivial tweaks to minimize compiler warnings, especially on 64-bit platform: Added missing type casts, changed types, added missing NULL checks.
2014-01-22 22:30:23 +01:00
Anthony Minessale
643c88f49b
FS-6140 --resolve
2014-01-23 02:13:10 +05:00
Anthony Minessale
bfeed7514b
add version to log
2014-01-20 23:34:32 +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
2747660269
FS-5959 FS-5958
2013-11-25 12:08:17 -06:00
Anthony Minessale
0d1b647197
remainder of previous patch to pass through dynamic payload numbers used
2013-11-12 00:42:32 +05:00
Anthony Minessale
f0335d0f51
FS-5948 --resolve
2013-11-08 03:53:12 +05:00
Anthony Minessale
bb9adff511
rework media code
2013-11-08 03:48:00 +05:00
Anthony Minessale
ecedd2d21c
FS-5844
2013-10-31 10:35:53 -05:00
Anthony Minessale
75ad91e185
FS-5844 --resolve
2013-10-30 20:26:01 -05:00
Anthony Minessale
556e243361
FS-5910 --resolve
2013-10-24 14:29:29 -05:00
Anthony Minessale
37774268c0
FS-5882 --resolve
2013-10-17 22:40:07 +05:00
William King
aa222c7aea
While sofia does garbage collection, in other locations we still call su_free after calls to sip_header_as_string. So adding it here too since we've finished using the full_contact variable.
2013-09-15 16:05:11 -07:00
Anthony Minessale
ce4cfc97c4
FS-5772 improve odds a little more but the phone is broken here
2013-09-11 02:55:31 +05:00
Anthony Minessale
38cd508a12
FS-5772 --resolve this is sort of a hack but less painful than reporting bugs to polycom
2013-09-10 23:14:30 +05:00
Anthony Minessale
149acf0c11
oops
2013-09-09 22:53:54 +05:00
Anthony Minessale
7b03cb511c
FS-5717 --resolve
2013-09-09 20:08:48 +05:00
Anthony Minessale
af85dcc5c0
FS-5757
2013-09-06 04:48:56 +05:00
Anthony Minessale
21f1743b30
FS-5757 take 200
2013-09-06 01:52:11 +05:00
Anthony Minessale
2967c97d11
FS-5757 --resolve
2013-09-05 20:35:31 +05:00
Anthony Minessale
9337413715
FS-5759 --resolve regression from e45774e764
re: FS-5620
2013-09-05 05:39:03 +05:00
Anthony Minessale
ae171ba53a
FS-5757 revert
2013-09-04 22:15:54 +05:00
Anthony Minessale
56e617324b
FS-5757 --resolve
2013-09-04 20:30:25 +05:00
Anthony Minessale
787b7a73e2
FS-5748 --resolve regression from FS-5665 511efc5cf0
2013-09-04 01:08:00 +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
655fe8408d
fix rfc4579 method=bye handling
2013-08-21 22:00:47 +05:00
Anthony Minessale
8e45f23d02
FS-5709 --resolve
2013-08-17 02:16:28 +05:00
Ken Rice
129a509cfb
FS-5648 --resolve
2013-08-14 09:48:05 -05:00
Anthony Minessale
4eee5aee8c
FS-5682 --resolve new syntax <action application="set" data="sip_multipart=application/pidf+xml:1234"/> use push instead of set to add more to the same channel
2013-08-08 22:55:13 +05:00
Anthony Minessale
1b01e9f01a
FS-5682 revert
2013-08-08 22:55:13 +05:00
Anthony Minessale
eead164cc2
FS-5682
2013-08-08 05:15:10 +05:00
Anthony Minessale
11d6c0877a
FS-5665 --resolve this should push the extra ones into the variable and convert it to an array
2013-08-07 20:59:08 +05:00
Anthony Minessale
511efc5cf0
FS-5652 --resolve
2013-07-29 16:55:16 -05:00
Anthony Minessale
39ad799683
FS-4932 FS-5090 --resolve
2013-07-29 10:18:05 -05:00
Anthony Minessale
b22a693e9d
FS-5561 --resolve
...
Merge remote-tracking branch 'moy/blind-transfer-response'
2013-07-24 16:15:16 -05:00
Anthony Minessale
569dd9c540
FS-5634 --resolve this patch should fix it but comment it out instead in the old version to get the same effect
2013-07-24 11:23:54 -05:00
Anthony Minessale
3ddbad4dd3
let sofia recover work in some tcp situations
2013-07-23 13:52:49 -05:00
Anthony Minessale
f08c3309f6
FS-5621
2013-07-20 14:07:01 -05:00
Anthony Minessale
e45774e764
FS-5620 --resolve
2013-07-19 21:51:18 -05:00
Seven Du
d88b2ed793
FS-5498 --close remove debug line
2013-07-20 02:17:59 +08:00
Anthony Minessale
a6bffd38cb
FS-5498
2013-07-19 12:03:51 -05:00
Anthony Minessale
663c180cd9
FS-5615 --resolve
2013-07-17 17:08:03 -05:00
Anthony Minessale
9f52531630
FS-5613 --resolve only alphanumeric plus - _ . are now allowed
2013-07-17 09:21:28 -05:00
Anthony Minessale
fd1893197e
FS-5586 --resolve
2013-07-08 07:55:50 -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
dac93d7936
FS-5527 --resolve
2013-06-28 10:42:06 -05:00
Moises Silva
5324063f44
Added support for blind transfer notification of negative responses
2013-06-26 23:17:49 -04: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
William King
9ace496fe3
full_contact must be freed by sofia. There isn't a chance of this having blown anything up, but Coverity is right that this should be initialized with NULL to be safe against future refactors.
2013-05-18 19:13:18 -07:00
William King
f718a0572f
Alice meet rabit hole. There is a leak here on every invite that comes back from a status 180 when the other side is not FS, but you have presence enabled. Thanks to Coverity scan for location this condition. This 'might' not have been leaking if sofia was automatically freeing this when the sofia object was destroyed, but all other locations where sip_header_as_string where called they were all followed by a su_free, so I assume not.
2013-05-18 16:35:03 -07:00
Anthony Minessale
ea881b191f
media/srtp refactoring pass
2013-05-17 15:39:30 -05:00
William King
8d7aa3ff65
FS-5441: --resolve
2013-05-17 12:39:17 -07:00
Anthony Minessale
1eae2a1941
FS-5410 --resolve
2013-05-13 13:15:33 -05:00
Anthony Minessale
bb6b02f2d6
FS-5403 --resolve
2013-05-10 09:59:02 -05:00
Anthony Minessale
16690e491d
FS-5399 --resolve
2013-05-09 14:05:09 -05:00
Anthony Minessale
283e5f5f6a
FS-5365 --resolve
2013-05-03 13:14:01 -05:00
Anthony Minessale
44840fc97a
fix regression in sofia profile param for t38-passthru
2013-05-02 22:36:39 -05:00
Anthony Minessale
9ef0323499
FS-5355 --resolve
2013-04-29 10:09:14 -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
b0cdad5d5d
add geolocation header parser
2013-04-18 16:44:40 -05:00
Anthony Minessale
54d47599e9
FS-5318 update
2013-04-17 17:51:11 -05:00
Anthony Minessale
cb9d41dd0e
FS-5318 --resolve
2013-04-17 15:59:48 -05:00
Anthony Minessale
c9a49b0ff3
debug
2013-04-09 21:42:32 -05:00
Anthony Minessale
a67505ba74
FS-4934
2013-04-09 21:38:11 -05:00
Anthony Minessale
e245e81c3b
sla barg cid regression
2013-04-05 16:41:51 -05:00
Anthony Minessale
b934891f49
sla cid tweaks
2013-04-05 00:38:57 -05:00
Anthony Minessale
3cc441485b
revert
2013-04-05 00:38:09 -05:00
Anthony Minessale
900f2aab74
sla cid tweaks
...
Conflicts:
src/mod/endpoints/mod_sofia/sofia_glue.c
2013-04-05 00:36:44 -05:00
Anthony Minessale
e35b087f51
remove depricated vars causing issues
2013-04-02 21:12:14 -05:00
Anthony Minessale
2207b87769
do some more caller-id cleanup
2013-04-01 23:03:14 -05:00
Anthony Minessale
dd878da49d
clean up proxy media mode
2013-03-31 21:27:27 -05:00
Anthony Minessale
68055eab2b
support tls dir options properly
2013-03-31 21:27:26 -05:00
Anthony Minessale
a4e0bae4c7
fix cert dir specification when tls is not configured (note, you probably need to move your certs for wss after this commit)
2013-03-31 21:27:26 -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
75c95fa98e
MILESTONE: working audio and no reference to rtp_session in all of sofia
2013-03-31 21:27:15 -05:00
Anthony Minessale
caee4cbf46
replace
2013-03-31 21:27:15 -05:00
Anthony Minessale
92ddf47293
expose some rtp func via media handle
2013-03-31 21:27:15 -05:00
Anthony Minessale
faaf642d5c
calls both ways still gotta push more into the core
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
Anthony Minessale
e747229f5e
typo
2013-03-31 21:27:13 -05:00
Anthony Minessale
0a246d1cb4
pull srtp negotiation stuff into the core stage 1
2013-03-31 21:27:13 -05:00
Anthony Minessale
330f68d946
convert rtp flags to arrays
2013-03-31 21:27:13 -05:00
Anthony Minessale
592993ecda
baseline
2013-03-31 21:27:13 -05:00
Anthony Minessale
dd1e61e0d4
part 2 of other cid patch
2013-03-30 15:39:49 -05:00
Anthony Minessale
dcb4beb12f
update caller_id not callee_id when getting a display update from an inbound leg
2013-03-29 22:07:35 -05:00
Brian West
49138460a3
fix
2013-03-29 17:55:50 -05:00
Anthony Minessale
3bb6acf066
FS-5223
2013-03-26 15:44:26 -05:00
Anthony Minessale
a65a03a7dd
revert unintended change
2013-03-21 13:05:35 -05:00
Anthony Minessale
3034de6e79
FS-5155
2013-03-08 08:24:50 -06:00
Anthony Minessale
d9d238b183
FS-5139 --resolve
2013-03-05 13:33:07 -06:00
Anthony Minessale
fc1316601b
FS-5118 take 2
2013-02-27 09:04:55 -06:00
Anthony Minessale
8987e96744
add dedicated mutex for select based sql stuff
2013-02-25 15:42:26 -06:00
Anthony Minessale
dd3bd238c5
limit simo reg processing threads to 25 and add param to raise it
2013-02-21 12:26:30 -06:00
Anthony Minessale
18cd797065
cleanup
2013-02-18 13:54:34 -06:00
William King
fca349941e
Adding ability to require authentication for sip messages on a sofia profile.
2013-02-04 12:00:28 -06:00
Stefan Knoblich
ecc3f31373
mod_sofia: Follow-up fix for FS-5009 to avoid NULL-ptr dereference
...
Commit f913670e
changed switch_core_session_sprintf() args
from sip->sip_to to sip->sip_from, but didn't update the enclosing if()
clause protecting the code from dereferencing NULL pointers.
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2013-01-14 15:01:39 +01:00
Anthony Minessale
f913670e27
FS-5009
2013-01-10 12:44:35 -06:00
Anthony Minessale
80c2465a75
FS-5009
2013-01-10 10:32:54 -06:00
Raymond Chandler
c7c4bda847
fix pnp
2013-01-09 18:18:07 -05:00
Brian West
b8dfbbe129
FS-4994 --resolve
2013-01-07 13:41:08 -06:00
Anthony Minessale
eef506bcb0
FS-4985 --resolve
2013-01-07 11:43:26 -06:00
Anthony Minessale
298772184f
FS-4978 --resolve this is fine besides one minor change to only consider this path when we are doing passthru
2013-01-07 11:14:51 -06:00
Anthony Minessale
f2428b08f9
FS-4779 --resolve
2013-01-07 10:27:28 -06:00
Eliot Gable
6b9570cbf0
Add some additional info on transfer so callee_id_name and number are available in this scenario.
2013-01-03 23:09:19 +00:00
Anthony Minessale
7ba3dadcd8
FS-4859 regression
2012-12-10 13:52:25 -06:00
Anthony Minessale
1cebb320f8
FS-4859
2012-12-07 10:29:44 -06:00
Anthony Minessale
a7fafb2039
FS-4913 revert this breaks normal calls so nevermind
2012-12-06 12:22:31 -06:00
Anthony Minessale
8e5012e4d6
FS-4913 try this patch
2012-12-06 10:44:52 -06:00
Anthony Minessale
7744b62a62
add cr
2012-12-04 10:58:51 -06:00
Anthony Minessale
d31be4fbcb
FS-4813 --resolve
2012-12-04 07:46:31 -06:00
Anthony Minessale
4e3bb1a1e6
rtp and signal parsing adjustments
2012-11-30 13:54:47 -06:00
Michael Jerris
b4d7c2ab2c
FS-4882: fix potential seg
2012-11-29 16:49:05 -05:00
Anthony Minessale
395b7a9799
FS-4882 --resolve
2012-11-29 12:59:33 -06:00
Anthony Minessale
d4f8a79299
try to improve audio stream sync
2012-11-28 23:12:35 -06:00
Anthony Minessale
1f06fe909c
FS-4859 correction
2012-11-21 11:49:35 -06:00
Anthony Minessale
294a6016b8
FS-4859
2012-11-21 10:32:41 -06:00
Anthony Minessale
812d876414
FS-4856 --resolve
2012-11-21 09:11:04 -06:00
Anthony Minessale
43b094f139
fix some sql order issues
2012-11-16 20:09:43 -06:00
Eliot Gable
893cd7beb7
Add att_xfer_destination_number variable to indicate the original destination number of the attended transfer leg on REFER for semi-attended transfer scenarios.
2012-11-15 20:37:52 +00:00
William King
8f0b7e69de
Handle routing loop detection properly so that the delivery confirmation handling is more accurate.
2012-11-13 18:18:40 -08:00
Anthony Minessale
082085fc5a
FS-4824 --resolve
2012-11-11 09:09:22 -06:00
Anthony Minessale
f60962ae87
fix some contention issues under really high load...That doesn't mean you need to push it this hard and bug me about it =p
2012-11-07 12:10:50 -06:00
Anthony Minessale
8e3f6d21f9
FS-4796 --resolve
2012-11-06 08:51:38 -06:00
Anthony Minessale
e884de5b07
add NUTAG_RETRY_AFTER_ENABLE() tag to lib sofia and use it in mod_sofia to disable processing retry-after headers on a per-call basis
2012-11-02 13:54:54 -05:00
Anthony Minessale
3e94242c4b
FS-4779 try this instead
2012-11-01 09:14:34 -05:00
Anthony Minessale
5ca8cf7d8e
call destroy not stop in sofia profile
2012-10-31 08:59:31 -05:00
Anthony Minessale
23bb963d17
FS-4779 I don't have this labbed up to try so can you try this patch and repost logs if it doesn't work
2012-10-31 08:52:00 -05:00
Anthony Minessale
3595c528ae
reset rtpip index on reload
2012-10-30 14:22:31 -05:00
Anthony Minessale
4b5cdd87f1
refactor
2012-10-29 11:46:32 -05:00
Anthony Minessale
f657a3787b
fix regression from config refactor in rescan behaviour to pick up new gateways
2012-10-29 08:23:21 -05:00
Anthony Minessale
96550e893e
finish off sql optimization
2012-10-27 12:27:00 -05:00
Anthony Minessale
16d41e463c
get rid of little caesars
2012-10-25 15:09:09 -05:00
Anthony Minessale
b29412054a
fold reconfig_sofia into config_sofia so we don't have 2 difft config funcs
2012-10-25 12:30:08 -05:00
Anthony Minessale
68e0b7e859
optimize sofia sql by using new core transaction processor we will no longer support databases that do not support transactions
2012-10-25 11:31:47 -05:00
Anthony Minessale
b8bef3eeb3
remove code
2012-10-19 17:09:33 -04:00
Anthony Minessale
7b7254ac93
fix sofia recovery on srtp legs
2012-10-19 15:49:22 -05:00
Brian West
fbb99f60b4
really fix FS-3726 this time
2012-10-18 15:56:06 -05:00
Anthony Minessale
a20aec182a
add rtp_manual_video_rtp_bugs
2012-10-16 18:43:00 -04:00
Anthony Minessale
2369ffa989
sofia: on apply-inbound-acl you can now specify <list name>:<pass context>:<fail context>
2012-10-12 17:05:15 -04:00
Anthony Minessale
a800a5fc5c
FS-4708 add <param name="NDLB-allow-crypto-in-avp" value="true"/> to your sofia profile and it should set the header
2012-10-11 10:36:07 -05:00
Anthony Minessale
b1c90dff53
FS-4669 ok this FS console trace demonstrates your problem, try this patch
2012-10-10 13:46:13 -05:00
Anthony Minessale
e1fe289672
refactor db stuff to use single string dsn to avoid code duplication and introduce switch_sql_queue_manager api to create transactional sql queues to aggregate a bunch of sql stmts into transactions
2012-10-09 20:20:32 -05:00
Eliot Gable
1fe96ac38c
Handle building on different PGSQL versions and update error message in Sofia.
2012-10-09 18:42:23 +00:00
Eliot Gable
5cb354dddc
Initial core-pgsql support based on native libpq; FS starts and stops without errors using core-pgsql.
2012-10-08 20:33:57 +00:00
Anthony Minessale
6d01ad5e38
some more priority tweaks
2012-10-03 14:10:22 -05:00
Anthony Minessale
51bdf8522a
FS-4677 --resolve
2012-10-02 12:22:03 -05:00