FreeSWITCH is a Software Defined Telecom Stack enabling the digital transformation from proprietary telecom switches to a versatile software implementation that runs on any commodity hardware. From a Raspberry PI to a multi-core server, FreeSWITCH can unlock the telecommunications potential of any device.
Go to file
Dragos Oancea 71cb7b97cf [unit-tests ] Attempt to mitigate sofia bug with TCP.
"
------------------------------------------------------------------------
SIP/2.0 407 Proxy Authentication Required
Via: SIP/2.0/TCP 192.168.192.2:5080;branch=z9hG4bKeS0Dvget9vFBe
From: sut <sip:1001@192.168.192.2:5080;transport=tcp>;tag=gBpey2Q8jrmNc
To: sipp <sip:1001@127.0.0.1:5062;transport=tcp>;tag=1
Call-ID: 1-18918@192.168.192.2
CSeq: 76919576 BYE
Proxy-Authenticate: Digest algorithm=MD5, realm="freeswitch.org", nonce="69d327e5"
Content-Length: 0

tport.c:3055 tport_deliver() tport_deliver(0x6150000b7280): msg 0x6190003e9480 (394 bytes) from tcp/192.168.192.2:5062/sip next=(nil)
nta.c:3378 agent_recv_response() nta: received 407 Proxy Authentication Required for BYE (76919576)
nta.c:3445 agent_recv_response() nta: 407 Proxy Authentication Required is going to a transaction
nta.c:9697 outgoing_estimate_delay() nta_outgoing: RTT is 2.961 ms
tport.c:4253 tport_release() tport_release(0x6150000b8680): 0x6190003e8a80 by 0x613000093200 with 0x6190003e9480
auth_digest.c:114 auth_digest_challenge_get() auth_digest_challenge_get(): got 4
nua_stack.c:301 nua_stack_event() nua(0x61200019ec40): event r_bye 407 Proxy Authentication Required
nta.c:8829 outgoing_free() nta: outgoing_free(0x613000093200)
tport.c:2316 tport_set_secondary_timer() tport(0x6150000b8680): reset timer
tport.c:2316 tport_set_secondary_timer() tport(0x6150000b7280): reset timer
tport.c:2316 tport_set_secondary_timer() tport(0x6150000b7280): reset timer
nua_stack.c:389 nua_application_event() nua: nua_application_event: entering
nua.c:1170 nua_handle_unref_user() nua nua_handle_unref_user(0x61200019ec40): entering
nua_stack.c:558 nua_signal() nua(0x61200019ec40): sent signal r_handle_unref
nua.c:1157 nua_unref_user() nua: nua_unref_user: entering
nua.c:365 nua_handle_magic() nua: nua_handle_magic: entering
nua_stack.c:558 nua_signal() nua((nil)): sent signal r_unref
nua_stack.c:599 nua_stack_signal() nua(0x61200019ec40): recv signal r_handle_unref
nua.c:1170 nua_handle_unref_user() nua nua_handle_unref_user(0x61200019ec40): entering
nua_stack.c:599 nua_stack_signal() nua((nil)): recv signal r_unref
nua_stack.c:558 nua_signal() nua(0x61200019ec40): sent signal r_handle_unref
nua_stack.c:599 nua_stack_signal() nua(0x61200019ec40): recv signal r_handle_unref
nua.c:1157 nua_unref_user() nua: nua_unref_user: entering
nua_stack.c:558 nua_signal() nua((nil)): sent signal r_unref
nua_stack.c:599 nua_stack_signal() nua((nil)): recv signal r_unref
8d95eac1-d89d-4619-aaa1-0720ea649626 2023-12-19 00:45:36.203584 36.67% [DEBUG] switch_core_state_machine.c:59 sofia/external/1001@127.0.0.1:5062 Standard HANGUP, cause: NORMAL_CLEARING
"

It looks there's no event coming to the unit-test because the flow is not reaching mod_sofia.
2023-12-19 04:15:26 +02:00
.github/ISSUE_TEMPLATE
build version bump 2023-08-13 23:20:20 +03:00
clients/flex
cmake_modules
conf [timezones] Update timezones to version 2023c. 2023-09-05 12:46:13 -04:00
debian [Build-System] Add Debian 12 Bookworm support 2023-07-25 20:47:11 +03:00
docker updates for the Debian Dockerfile (#2234) 2023-09-09 12:38:50 -04:00
docs
dtd
fonts
fscomm
htdocs
images
libs [libvpx] Fix bug with smaller width bigger size 2023-10-06 00:42:10 +03:00
scripts [contrib/timezone-gen] Fix timezone gen (#2215) 2023-09-05 23:11:01 +03:00
src [unit-tests ] Attempt to mitigate sofia bug with TCP. 2023-12-19 04:15:26 +02:00
support-d
tests/unit [unit-tests] fix sipp tests (decrease SIP timers, increase wait before unit-test shut-down, so it does not report false memory leaks) 2023-12-19 04:09:27 +02:00
w32 [mod_av] Add FFmpeg 5.1.3 support on Windows. 2023-07-18 19:38:06 +03:00
web
yum
.clang-format
.drone.yml
.gitattributes
.gitconfig
.gitignore
.mailmap
Freeswitch.2017.sln
Freeswitch.2017.sln.bat
INSTALL
LICENSE
Makefile.am
README.md misc readme updates (#2235) 2023-09-09 12:26:04 -04:00
SECURITY.md
acinclude.m4
bootstrap.sh
cc.sh
cluecon.tmpl
cluecon2.tmpl
cluecon2_small.tmpl
cluecon_small.tmpl
configure.ac version bump 2023-08-13 23:20:20 +03:00
devel-bootstrap.sh
freeswitch-config-rayo.spec
freeswitch-sounds-en-ca-june.spec
freeswitch-sounds-en-us-allison.spec
freeswitch-sounds-en-us-callie.spec
freeswitch-sounds-fr-ca-june.spec
freeswitch-sounds-music.spec
freeswitch-sounds-pt-BR-karina.spec
freeswitch-sounds-ru-RU-elena.spec
freeswitch-sounds-sv-se-jakob.spec
freeswitch.spec
msbuild.cmd
swig_common.i

README.md

FreeSWITCH

FreeSWITCH is a Software Defined Telecom Stack enabling the digital transformation from proprietary telecom switches to a versatile software implementation that runs on any commodity hardware. From a Raspberry PI to a multi-core server, FreeSWITCH can unlock the telecommunications potential of any device. Combined with our hosted cloud platform, SignalWire, FreeSWITCH can interconnect with the outside world and scale to any size.

Visit https://signalwire.com or https://github.com/signalwire for more info.

Getting Started

FreeSWITCH is available on Github in source code format. You can checkout the development branch and build for many popular platforms including Linux, Windows, MacOSX and BSD. There is an issue tracker and pull request system available as part of the repo online.

See https://developer.signalwire.com/freeswitch/FreeSWITCH-Explained/ for more detailed instructions.

Additional Help

If you need assistance or have an interest in using a commercially supported build, you can contact coreteam@freeswitch.com to learn about professional services to support your project.

Voice-over-IP services - SIP / SMS - App Integrations

SignalWire is the primary sponsor of the FreeSWITCH project and was founded by the original developers of FreeSWITCH. SignalWire provides scalable services to enhance and scale your project such as SMS, SIP, Serverless Application hosting as well as programmable telecom. mod_signalwire which is distributed in this code base allows you to instantly pair with SignalWire and extend your FreeSWITCH.

Documentation

The main index for documentation is available at:

Release notes:

Install from packages

Step by step tutorials to install FreeSWITCH from packages:

Build from source

Example Dockerfiles to build FreeSWITCH and dependencies from source:

Step by step tutorials to build FreeSWITCH with provided dependency packages:

Downloads

Contributions

GitHub pull requests are the recommended way to contribute to the FreeSWITCH source code:

Community

Slack is our chat system where the developers, the FreeSWITCH team, and the most active users are present. This is the place to get answers faster and chat with other users in real time. All you need to do is enter your email and verify it on the Slack signup page and you are ready to join in the discussion!

Slack Community:

Mailing list (ARCHIVED):

Thank you for using FreeSWITCH!