Commit Graph
3717 Commits
Author SHA1 Message Date
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
Anthony Minessale 67b56343a2 FS-10823: [mod_sofia] curly brackets on SDP header causes FS to crash #resolve 2018-07-24 07:21:34 +00:00
Bob McCarthy bdfc02f227 FS-10808 [mod_sofia] Fix memory leak in SLA 2018-05-02 14:06:01 -06:00
Hunyadvári Péter bec68edb16 FS-8893: [mod_sofia] Add variables to sofia::register/unregister events 2018-04-03 10:42:04 +02:00
Hunyadvári Péter 069da397f5 Improve recording transfer
Use the same method everywhere
Move the bug without stopping and starting the recording over
It was broken in some circumstances and also some settings were lost

FS-8900 --resolve
2018-03-20 09:20:37 +01:00
Stephane Alnet 159c4ce95d FS-6816 [mod_sofia] Set empty callee id if _undef_
In some scenarios (e.g. MetaSwitch interop) the `display` field of callee-id should be left empty instead of being overwritten with the number.
As is done in other places, we allow for `_undef_` to mean "leave the field empty".
2018-02-02 10:19:03 +01:00
Anthony Minessale 4fabca25ef FS-10792: [mod_sofia] when behind 1-to-1 NAT, console logs invalid handle #resolve 2017-11-15 13:04:15 -06:00
Andrey Volk ea8c3be8ec FS-10541: [Build-System] Move OpenSSL to props with BaseDir on windows. 2017-10-07 22:50:48 +03:00
Hristo Trendev 9d4c26825f FS-10617: [mod_sofia] Nightmare transfer: expose remote server's channel UUIDs as variables.
Currently there is no easy way for ESL and dial plan users to easily correlate
the channel UUID of the call legs involved in a nightmare transfer. This patch
adds two new channel variables, which are set to the remote server call leg
UUIDs (transfer_refer_from, transfer_refer_for).

The UUIDs are passed from the remote server in custom headers (X-FS-Refer-From
and X-FS-Refer-For).
2017-08-28 13:38:45 +02:00
lazedo aea2db043e FS-10592: [mod_sofia] add sofia_profile_url to b channel 2017-08-17 20:32:13 +01:00
lazedo da96699c1e FS-10592: [mod_sofia] add sofia_profile_url to channel vars 2017-08-15 22:33:37 +01:00
Mike Jerris 719937ff8f Merge pull request #1306 in FS/freeswitch from ~HRISTO/freeswitch:FS-10407-set-some-redirect-channel-variables to master
* commit '1d15e411f9f5b6c8883cda47534cc1e9c3a77f95':
  FS-10407: [mod_sofia] Set redirect variables when outbound_redirect_fatal is true
2017-07-06 21:15:07 +00:00
Anthony Minessale db47792558 FS-10447: [freeswitch-core] Manual video refresh mode #resolve 2017-06-29 16:57:18 -05:00
Mike Jerris 1729eb108f FS-10439: [mod_sofia] fix small leak when receiving REFER message 2017-06-29 13:23:03 -05:00
Hristo Trendev 1d15e411f9 FS-10407: [mod_sofia] Set redirect variables when outbound_redirect_fatal is true
In case of outbound_redirect_fatal=true none of the redirect variables are
set. This makes it impossible for ESL applications to extract any information
related to the "302 Moved Temporarily" reply.
2017-06-21 09:25:23 +02:00