5928 Commits

Author SHA1 Message Date
Mariah Yang
d654faa5a9 FS-11903: Fix errors reported by PVS-Studio Static Code Analyzer for mod_sofia 2019-07-18 22:22:56 +04:00
Liyang
6f9ee4216c FS-11903: [mod_sofia] fix warnV547 Expression 'sip->sip_via' is always true. 2019-07-18 21:27:10 +04:00
Brian West
b23d887586 FS-11654: [core] add media_timeout, media_hold_timeout and video vs audio variants 2019-07-18 00:54:37 +04:00
Mike Jerris
7906a2054a FS-11919: [core] add api compatibility for switch_rtp_new 2019-07-17 16:43:34 -04:00
Luis Azedo
302b409815 FS-11848 [core] add user_data to event_channel_bind
* also adds a convenience switch_event_channel_deliver for already in thread
2019-07-17 16:02:12 -04:00
Seven Du
23e050618d FS-11721 fix data length of stripped html 2019-07-17 23:26:05 +04:00
Chris Rienzo
613a3340da FS-11805 [mod_sofia] set default session timeout for outbound calls before overriding it with NAT detection. 2019-07-17 23:11:03 +04:00
Mike Jerris
e7dda1b027 Revert "FS-9490: [mod_sofia] add filter to SIP messages that match a regexp."
This reverts commit 53dbe5d84a9c3624804a2b9259433f4d525425f8.

This previous patch made logger function not reentrant so reverting until we can get a fix without that issue
2019-07-17 22:57:55 +04:00
Chris Rienzo
681b7e28ab FS-11785 [mod_sofia] fix scan-build issues 2019-07-17 21:49:50 +04:00
Chris Rienzo
0bd5b557e5 FS-11785 [mod_rtc] fix dead assignment 2019-07-17 21:49:41 +04:00
Chris Rienzo
e09e84b088 FS-11784 [mod_sofia] quiet the codec negotiation error log. It's something that is not necessarily a FS issue. 2019-07-17 20:14:33 +04:00
Sergey Khripchenko
84aab26e65 FS-11745 Add "auto-jitterbuffer-msec" param to verto.conf.xml file 2019-07-17 20:12:04 +04:00
Anthony Minessale
b8a8765991 FS-11713: [core] fix video upgrade from b to a 2019-07-17 20:07:30 +04:00
Mike Jerris
a9e634b664 FS-11557: [mod_sofia] add support for RFC 7989 Session-ID header
(enable with sofia profile param rfc-7989=true)

FS-11557 [mod_sofia, mod_conference, core] Add support for re-INVITE when setting Session-ID in conference after call has been answered.

FS-11557 [mod_conference] Missed a spot where APP_SESSION_ID needed to be set.

FS-11557: set session id for outbound (initial requests)

FS-11557: [mod_sofia] rename vars and functions "session id" -> "session uuid" to reflect the real meaning for rfc7989.

FS-11557: fix bug - colliding chan var names (session_id)

FS-11557: check nil session uuid

FS-11557 : replace CS_NEW with CS_INIT for when originating calls, generate new uuid.

FS-11557: handle inbound (UAS mode, one leg)

FS-11557: generic param handling and filter via new sip profile option "rfc-7989-filter", eg:
<param name="rfc-7989-filter" value="logme, sec-agree, privacy" />

FS-11557: renamed chan vars (reflect meaning only for RFC7989)

FS-11557: fallback to RFC7329 - "old" Session-ID

FS-11557: distinguish between request and replies when we read the header
(to provide compatibility with old RFC7329 - section 11 of RFC7989)
FS-11557: change more vars/consts names

FS-11557: move compat flag on the channel.

FS-11557: add Session-ID header in REFER

FS-11557: needs extra condition on received initial request

FS-11557: handle NOTIFY

FS-11557: support answer() in dialplan - it was sending back a 200 OK with Session-ID invalid, eg: A=NIL;B=X

FS-11557: add Session-ID for NOTIFY (more cases)

FS-11557: handle reply to SIP INFO (add Session-ID header)

FS-11557: handle case of BYE after REFER, when the channel is destroyed already (save the uuid on sofia_private)

FS-11557: handle more SIP reply cases (eg: 202 Accepted , more negative replies)

FS-11557: handle ACK (UAS role)

FS-11557: added "rfc-7989-force-old" profile param - to enforce old rfc7329 for the UAC role. default off.
enabled with "<param name="rfc-7989-force-old" value="true" />".

FS-11557: fallback to rfc7329 fixes.

FS-11557: set flag CF_RFC7329_COMPAT on partner channel where needed

FS-11557: fix crash (mod_conference)
2019-07-17 19:13:41 +04:00
Brian West
0c13b704fc FS-10913: [mod_sofia] do not mark pre_answer unless status is less than 200 2019-07-17 01:49:13 +04:00
Mike Jerris
99b3162ffc FS-11680: [mod_sofia] dont treat registers from websockets received over a proxy over non websockets as nat. We should be sending to the route set and not locking on to send all requests to the websocket directly in this case 2019-07-16 23:26:20 +04:00
Mike Jerris
8a809624cb FS-11498 build sofia into convenience lib to build mod_sofia and test code 2019-07-16 22:52:53 +04:00
Seven Du
cc66bcabfd FS-11498 fix url cut off 2019-07-16 22:26:32 +04:00
Andrey Volk
4ae1f1278b FS-11903: Fix errors reported by PVS-Studio Static Code Analyzer for mod_verto 2019-07-15 23:39:25 +04:00
Andrey Volk
c474824aa9 FS-11903: Fix errors reported by PVS-Studio Static Code Analyzer for mod_rtc 2019-07-15 23:39:24 +04:00
Andrey Volk
a7477ed0e2 FS-11911: Fix build on Debian Buster 2019-07-15 22:23:25 +04:00
David Grant
3695681cf6 FS-11859 [mod_verto] mod_verto.c log for MCAST Data Sent changed to if (verto_globals.debug > 0) and other LOG_ALERT changed to LOG_DEBUG triggered by verto_globals.debug 2019-07-09 23:31:55 -05:00
Mike Jerris
8e129b913d FS-11906: [mod_sofia] fix NDLB-allow-bad-iananame profile param 2019-06-27 15:30:43 -04:00
Andrey Volk
0d895c50f5 FS-11421: [mod_sofia] Cleanup. 2019-06-21 20:58:12 +04:00
Chris Rienzo
e47879604c FS-11824 [mod_sofia] map SIP 607 to SWITCH_CAUSE_CALL_REJECTED 2019-06-06 11:52:07 -04:00
Chris Rienzo
0a6d87edfe FS-11824 [sofia-sip,mod_sofia,core] Added cause codes that map to SIP 600,603,604,606,607 2019-06-06 11:51:51 -04:00
Mike Jerris
a255bd3d62 FS-11668: [verto] Fix polling of secure verto sockets 2019-06-06 11:17:22 -04:00
Sergey Khripchenko
8dd5373db4 FS-11467: [mod_verto] Properly handle poll() EINTR and separate poll()==0 / timeout case 2019-06-06 11:17:00 -04:00
Sergey Khripchenko
1000d1d8c8 FS-11467: [mod_verto] decreased logging level for log lines that are not errors/warnings 2019-06-06 11:16:52 -04:00
Piotr Gregor
118dd796f3 FS-11421: [core,mod_sofia] Fix rtp_pass_codecs_on_stream_change to process all sdp settings in the re-invite -- add new filter_codecs app and fix some races and negotiation bugs #resolve 2019-06-06 11:08:52 -04:00
Mike Jerris
d61126ca82 FS-11814: [mod_sofia] fix regression in fs_path handling on BYE 2019-06-04 15:46:36 -04:00
Luis Azedo
23fbd60991 FS-11847 [mod_loopback] unregister from reloadxml 2019-05-16 13:52:33 +01:00
Mike Jerris
84ee84930c Merge pull request #1717 in FS/freeswitch from ~LAZEDO/freeswitch:bug/FS-11825 to master
* commit '669ea988340056ea313bdb718a5c93e2bcf3cf4c':
  FS-11825 [mod_sofia] use proper flag in blind auth 403 reply
2019-05-09 16:13:21 -05:00
Aron Podrigal
acaf903a91 FS-11159: [mod_sofia] Set transport based on our next hop, so if route_uri is present, use it. 2019-05-09 14:44:34 -06:00
Luis Azedo
669ea98834 FS-11825 [mod_sofia] use proper flag in blind auth 403 reply 2019-05-02 01:56:12 +01:00
lazedo
2b2f11d699 FS-11790 [mod_loopback] set correct values for Connecting-Legs 2019-04-18 03:39:06 +01:00
lazedo
8ca01da5a0 FS-11747 [mod_loopback] add option to not bowout on inner bridge 2019-04-02 17:01:36 +01:00
Mike Jerris
f4a7274195 Merge pull request #1682 in FS/freeswitch from ~LAZEDO/freeswitch:proxy-token-acl-port to master
* commit '6ceb9885d4bd10763b982255af732e3e6a8936ee':
  FS-9956 [mod_sofia] retain user lookup in blind & acl auth
  FS-11025 [mod_sofia] use ports for acl check
  FS-11025 [core] allow/check ports in network lists
  FS-10746 [mod_sofia] allow authoritative proxy to provide token
2019-03-26 17:21:02 -05:00
lazedo
6ceb9885d4 FS-9956 [mod_sofia] retain user lookup in blind & acl auth
* retains lookup to be used after caller context is created and
switch_ivr_set_user_xml is called
2019-03-26 22:16:28 +00:00
lazedo
aca0798700 FS-9942 [mod_sofia] allow intercept for other channels 2019-03-26 21:16:11 +00:00
Mike Jerris
ba4b2dc5b7 Merge pull request #1515 in FS/freeswitch from ~LAZEDO/freeswitch:feature/FS-11135 to master
* commit '7fd7ea9a5d70a4795f780c0d89057370e7a92856':
  FS-11135 [mod_loopback] runtime behaviour controlled by configuration
2019-03-26 15:36:05 -05:00
Luis Azedo
254b739b96 FS-11025 [mod_sofia] use ports for acl check
* optionally use port for acl check
* optionally lookup acl token from header
* optionally processed auth only by acl
2019-03-06 11:56:06 +00:00
Luis Azedo
46c1b4217c FS-10746 [mod_sofia] allow authoritative proxy to provide token 2019-03-06 11:55:59 +00:00
lazedo
7fd7ea9a5d FS-11135 [mod_loopback] runtime behaviour controlled by configuration 2019-03-06 03:59:17 +00:00
Andrey Volk
3d7bc78dfa FS-11607: [mod_sofia] Fix Windows build regression by adding missing sofia_json_api.c to the build. 2019-02-12 20:56:52 +04:00
Mike Jerris
e961cf72df Merge pull request #1370 in FS/freeswitch from ~LAZEDO/freeswitch:feature/FS-10598 to master
* commit '2fa6afed6fcf422575d79bf6483b5697a32acf2a':
  FS-10598: [mod_sofia] add replaces header call_id and params to channel variables
2019-02-12 15:53:00 +00:00
Luis Azedo
2fa6afed6f FS-10598: [mod_sofia] add replaces header call_id and params to channel
variables
2019-02-12 15:43:45 +00:00
Mike Jerris
720863188c Merge pull request #1654 in FS/freeswitch from ~LAZEDO/freeswitch:feature/FS-11607 to master
* commit '614bc42e2ce07492ec8410d4046521a4a6ed6cac':
  [FS-11607] [mod_sofia] add a json api to collect info
2019-02-12 15:16:55 +00:00
lazedo
614bc42e2c [FS-11607] [mod_sofia] add a json api to collect info 2019-01-30 23:44:42 +00:00
Mike Jerris
ea30fde496 FS-11637: [mod_verto] Fix crash on root login when no root-password is configured 2019-01-30 09:40:51 -05:00