1520 Commits

Author SHA1 Message Date
Mike Jerris
bbad395866 Merge pull request #174 in FS/freeswitch from ~FLAVIO/freeswitch:origin/bugfix/FS-7196 to master
* commit 'f135232ef5ab3f53f76cfa8ec2a1225f7700de90':
  FS-7196: add recording_follow_transfer support for semi attended transfers
2015-06-01 13:52:05 -05:00
Mike Jerris
bd02432d03 Merge pull request #232 in FS/freeswitch from ~ITALOROSSI/freeswitch:bugfix/FS-7242-delayed-bye-after-REFER to master
* commit 'beeea0172411f6274effdac8b90f970fa317b159':
  FS-7242 Waiting for state CS_PARK when receiving REFER.
2015-06-01 13:10:43 -05:00
Artur Zaprzała
0c4f85111f FS-7337: Add support for Remote-Party-ID header in UPDATE request. 2015-06-01 12:25:13 -05:00
Michael Jerris
200199e05f CID:1023990: remove unused code 2015-05-28 12:47:23 -05:00
Michael Jerris
9fc8772aef FS-7463: revert commits c2c04632f35c b33563138b09 and 6bf74877b5f0. Future pull requests should be verified that they compile before submitting. 2015-05-14 13:55:32 -04:00
Luis Azedo
64c7fee8ca conditionally allow intercept of replaced call-id when processing replaces header
without this change one leg calls inhaled could not be picked because there is no bridge_uuid.

FS-7463 #resolve
2015-05-14 17:43:09 -05:00
Anthony Minessale II
c2c04632f3 Merge pull request #241 in FS/freeswitch from ~LAZEDO/freeswitch-fs-7463:FS-7463 to master
* commit 'b33563138b0953693dbe0d32a439c533ea8b4316':
  conditionally allow intercept of replaced call-id when processing replaces header
2015-05-14 11:37:51 -05:00
Brian
518d74a4bc FS-7492 fix copy paste typo 2015-04-30 07:35:40 -05:00
Luis Azedo
b33563138b conditionally allow intercept of replaced call-id when processing replaces header
without this change one leg calls inhaled could not be picked because there is no bridge_uuid.

FS-7463 #resolve
2015-04-22 20:11:12 +01:00
Italo Rossi
beeea01724 FS-7242 Waiting for state CS_PARK when receiving REFER. 2015-04-07 22:11:27 -03:00
William King
ed0a434b95 Fail the call with 502 bad gateway if the outbound leg returns a redirect with an invalid URI.
FS-7385 #resolve
2015-03-25 12:46:59 -07:00
Mike Jerris
d562bc601a Merge pull request #201 in FS/freeswitch from ~SJTHOMASON/freeswitch:bugfix/FS-7308-cannot-disable-sofia-sla-sql-query to master
* commit 'cc61f11fb7001ad7a7882e6591b3e89740dce2e9':
  FS-7308: [mod_sofia] Only log SLA SQL query SQL when debugging is enabled
2015-02-20 13:12:40 -06:00
Spencer Thomason
74e8db736f FS-7309: [mod_sofia] Allow removal of User-Agent header
In certain deployments it might be desirable to remove the User-Agent header from the SIP message.
Set the sofia profile parameter "user-agent-string" to "none" to suppress this header.
2015-02-20 08:36:44 -08:00
Spencer Thomason
cc61f11fb7 FS-7308: [mod_sofia] Only log SLA SQL query SQL when debugging is enabled 2015-02-19 15:52:44 -08:00
Michael Jerris
302a339fdf FS-7294: Enable -Werror when building with clang compiler #resolve 2015-02-17 12:20:33 -05:00
Rajesh Panicker
5db8a0c16b FS-7228 - Max Register Refresh before the Register is challenged for credentials 2015-02-06 10:16:36 -08:00
Flavio Grossi
f135232ef5 FS-7196: add recording_follow_transfer support for semi attended transfers 2015-02-02 15:48:26 +01:00
Anthony Minessale
bad5dc3022 FS-7037 #resolve 2014-12-01 15:10:00 -06:00
Anthony Minessale
5bbef7f1e5 FS-7015 #comment please test 2014-11-25 17:02:10 -06:00
Brian West
5127b64df8 FS-7014: [mod_sofia] don't touch the tech_pvt when a call has just ended, leaving us with a null tech_pvt 2014-11-18 10:22:13 -06:00
Michael Jerris
82aa33140e FS-6531: #resolve set to tag on auto answer notify to make grandstream happy, even tho they could have matched the dialog fine off the from tag like every other phone does. 2014-11-12 21:37:14 -06:00
Brian West
9e9c4378de Merge branch 'master' of ssh://stash.freeswitch.org:7999/fs/freeswitch 2014-11-06 18:26:28 -06:00
Anthony Minessale
415f82fe93 FS-6954 #resolve #comment please test 2014-11-06 18:26:16 -06:00
Anthony Minessale
f66f2cae8c FS-6890 #comment please test 2014-11-06 17:13:02 -06:00
Brian West
1190e59adf FS-6965 #resolve 2014-11-06 09:47:54 -06:00
Brian West
3b9f0c32e6 FS-6927 #comment allow sub millisecond resolution for option ping times 2014-10-29 16:01:28 -05:00
Anthony Minessale
443ab8a8db FS-5949 #resolve 2014-10-28 13:38:06 -05:00
Brian West
f1ee4ba4d7 Merge branch 'master' of ssh://stash.freeswitch.org:7999/fs/freeswitch 2014-10-16 17:03:57 -05:00
Brian West
15e9e68064 FS-6927 #resolve #comment This display option ping times in the gateway status on sofia status gateways or individual gateway status output 2014-10-16 17:03:37 -05:00
Anthony Minessale
2e10407336 actual fix for commit cff5209ca3582994dae1353372e2f91b345ab959 which was in the wrong place 2014-10-16 16:04:15 -05:00
Anthony Minessale
3bdbdd4abf revert cff5209ca3582994dae1353372e2f91b345ab959 2014-10-16 14:39:59 -05:00
Matteo Brancaleoni
beb1d17921 FS-6400 Improve sip ping generation by distributing them across an interval 2014-10-14 14:24:21 +02:00
Anthony Minessale
cff5209ca3 fix leak of nua handle due to reference counting that must be between 3 to 7 years old. Effects all calls with auth/challenge on INVITE 2014-10-13 18:06:32 -05:00
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