Chris Rienzo
681b7e28ab
FS-11785 [mod_sofia] fix scan-build issues
2019-07-17 21:49:50 +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
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
a7477ed0e2
FS-11911: Fix build on Debian Buster
2019-07-15 22:23:25 +04: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
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
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
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
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
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
Luis Azedo
185ddcb860
FS-11026 [mod_sofia] set proxy on bye if available
2019-01-14 17:05:21 +00:00
Chris Rienzo
604690b5c8
FS-11583 [mod_sofia] fix crash when missing address in register event
2018-12-26 15:51:41 -05:00
Chris Rienzo
cae7f0fa2f
FS-11562 [mod_sofia] fire register state event on changing registrar IP
2018-12-10 21:53:13 -05:00
Seven Du
9911004b52
FS-11562 #resolve add register ip and port to gateway register state change events
2018-12-10 10:22:20 -05:00
António Silva
8ca7a5492d
FS-11512 [mod_sofia] #resolve missing privacy header on display update
2018-11-29 09:54:24 +01:00
António Silva
221d728e62
FS-11118 #resolve mod_sofia send display update to Grandstream family user-agent
2018-11-21 16:04:29 +01:00
Mike Jerris
1547815f58
Merge pull request #1433 in FS/freeswitch from ~LAZEDO/freeswitch:feature/FS-10745 to master
...
* commit 'f8335607c244ac5fea04f2ae3188e59f3284c3ca':
FS-10745 [mod_sofia] provide more context to transferor event
2018-11-20 20:59:36 +00:00
Christian Schmidt
69ec4aadab
FS-11508: [mod_sofia] Make max-registrations-per-extension use extension instead of username
2018-11-08 12:45:45 +01:00
Mike Jerris
da49b042ba
FS-11506: [mod_sofia] Handle multiple History-Info headers in MESSAGE
2018-11-06 20:56:11 +00:00
Brian West
9e8ae18f95
FS-11471: [mod_sofia] revert changes to send PAI for polycom 4.x versions differently, seems polycom has now fixed this
2018-10-22 11:00:33 -05:00
Luis Azedo
f8335607c2
FS-10745 [mod_sofia] provide more context to transferor event
2018-10-01 15:13:58 +01:00
Mike Jerris
a4db3a4355
Merge pull request #1491 in FS/freeswitch from ~HUNYI/freeswitch:feature/FS-8900-improve-record_follow_transfer to master
...
* commit '069da397f5b9e7adb10c2c9d8d03f83d195dae37':
Improve recording transfer
2018-09-05 22:34:38 +00:00
Anthony Minessale
d3e320ef56
FS-11346: [core] add api to pass pre-parsed values instead of dial strings to switch_ivr_originate
...
SWITCH_DECLARE(switch_status_t) switch_dial_handle_create(switch_dial_handle_t **handle);
SWITCH_DECLARE(void) switch_dial_handle_destroy(switch_dial_handle_t **handle);
SWITCH_DECLARE(void) switch_dial_handle_add_leg_list(switch_dial_handle_t *handle, switch_dial_leg_list_t **leg_listP);
SWITCH_DECLARE(void) switch_dial_leg_list_add_leg(switch_dial_leg_list_t *parent, const char *dial_string, switch_dial_leg_t **legP);
SWITCH_DECLARE(void) switch_dial_handle_add_global_var(switch_dial_handle_t *handle, const char *var, const char *val);
SWITCH_DECLARE(void) switch_dial_handle_add_global_var_printf(switch_dial_handle_t *handle, const char *var, const char *fmt, ...);
SWITCH_DECLARE(switch_status_t) switch_dial_handle_add_leg_var(switch_dial_leg_t *leg, const char *var, const char *val);
SWITCH_DECLARE(switch_status_t) switch_dial_handle_add_leg_var_printf(switch_dial_leg_t *leg, const char *var, const char *fmt, ...);
SWITCH_DECLARE(int) switch_dial_handle_get_peers(switch_dial_handle_t *handle, int idx, char **array, int max);
SWITCH_DECLARE(int) switch_dial_handle_get_vars(switch_dial_handle_t *handle, int idx, switch_event_t **array, int max);
SWITCH_DECLARE(switch_event_t *) switch_dial_handle_get_global_vars(switch_dial_handle_t *handle);
SWITCH_DECLARE(switch_event_t *) switch_dial_leg_get_vars(switch_dial_leg_t *leg);
SWITCH_DECLARE(int) switch_dial_handle_get_total(switch_dial_handle_t *handle);
SWITCH_DECLARE(void) switch_ivr_orig_and_bridge(switch_core_session_t *session, const char *data, switch_dial_handle_t *dh);
add switch_dial_handle_t *dh to end of args for switch_ivr_originate
2018-08-22 18:20:13 +00:00
Andrey Volk
671da28796
FS-11263: [Build-System] Move FreeSWITCH build system to Visual Studio 2017 on Windows.
2018-07-24 07:21:55 +00:00
Mike Jerris
b496635a8c
FS-11038: [mod_sofia] fix crash in gwlist api command
2018-07-24 07:21:40 +00:00
Brian West
a14dcfef3d
FS-10913: [mod_sofia] ignore_early_media=ring_ready not transitioning #resolve
2018-07-24 07:21:40 +00:00
Brian West
027ae79516
FS-10913: [mod_sofia] ignore_early_media=ring_ready not transitioning #resolve
2018-07-24 07:21:40 +00:00
Mike Jerris
94a094c5ef
FS-10926: [mod_sofia] fix crash from malformed as-feature-event subscribe messae with malformed xml
2018-07-24 07:21:39 +00:00
Brian West
adb813e089
FS-10880: [mod_sofia] SIP INFO DTMF method not working on b-leg #resolve
2018-07-24 07:21:39 +00:00
Brian West
433c2b6b89
FS-10899: [core] 3pcc-mode=proxy is proxying SDP in the 200OK with late offer invites #resolve
2018-07-24 07:21:39 +00:00
Brian West
352cc3526d
FS-10903: [mod_sofia,mod_valet_parking] Fix Issue with subscriptions and Valet Parking #resolve
2018-07-24 07:21:39 +00:00
Brian West
31d9584f59
FS-10840: [mod_sofia] max-registrations-per-extension parameter is not multi-tennant
2018-07-24 07:21:37 +00:00