freeswitch | FreeSWITCH mirror | TCP library
kandi X-RAY | freeswitch Summary
kandi X-RAY | freeswitch Summary
FreeSWITCH mirror (not automatically updated)
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of freeswitch
freeswitch Key Features
freeswitch Examples and Code Snippets
Community Discussions
Trending Discussions on freeswitch
QUESTION
I've got a js Freeswitch script where caller has to call another number after a digit.
I've just made a bridge in this way
ANSWER
Answered 2021-May-23 at 14:40QUESTION
I'm trying to get rid of controlling audio played via session.streamFile() in Freeswitch. For this I tried the 3rd example of this documentation.
Almost everything here is working, but the DTMF 1 (seek:-500) doesn't seek back. It always starts from the beginning (like seek:0). What could be the reason here? I'm using exactly the example.
Code:
...ANSWER
Answered 2021-May-16 at 14:32Meanwhile I found the reason. It belongs to the samplerate. Freeswitch prefers wav's with a samplerate of 16000. Others are working too, but makeing trouble with seeking etc.
QUESTION
I know that Kamailio works as a SIP Proxy and I also know that Asterisk/FreeSWITCH or other similar products can do what I'm asking here, but still wondering if it's possible to use Kamailio to answer a call or originate a call?
Let's say, "User ---> Kamailio", Kamailio answer the call with "200 OK to INVITE", and then play an announcement "Thank you for using Kamailio", then BYE the call?
I can't find any related information so I guess the answer is no, but still want to double check.
Many thanks in advance.
...ANSWER
Answered 2021-Feb-27 at 22:59You can answer and play message if you use kamailio with mediaproxy.
Mediaproxy docs have some samples.
Originate is problematic and unreasonable in most cases, but there is https://www.kamailio.org/docs/modules/devel/modules/rtimer.html
Much simple method is use SIPP or perl/python sip module(external), after that rewrite call in kamailio as you wish.
QUESTION
I have installed bigbluebutton on my serverand it was working properly but suddenly microphone can not connect anymore and after a while being stucked in "echo test" i'll get 1006 error and i have tested:
...ANSWER
Answered 2020-Aug-30 at 16:52run the command:
sudo nano /etc/bigbluebutton/nginx/sip.nginx
something like this will open:
QUESTION
I have following dialplan:
...ANSWER
Answered 2020-Aug-05 at 10:06I managed it doing by LUA. Here my XML config:
QUESTION
I am quite new to freeswitch and want my directory currently hardcoded in XML config files on the server to be in a relational database. I found this tutorial:
https://saevolgo.blogspot.com/2012/07/freeswitch-with-sip-users-in-mysql-mod.html
But this seems very outdated as the GIT repository used does not exist anymore. Can anyone let me know the XML I have to fill so that it gets the users from database instead of other XML files? Per default it does this:
...ANSWER
Answered 2020-Jul-27 at 19:46The FreeSWITCH Database Handler allows you to connect to databases from your Lua script:
https://freeswitch.org/confluence/display/FREESWITCH/Lua+FreeSWITCH+Dbh
Here is example for using Database handler with user directory
https://asterisk-pbx.ru/wiki/blog/freeswitch_directory_mysql_storage_with_lua_dbh
QUESTION
The documentation for originate_retries says
Number of retries before giving up on originating a call (default is 0).
Because of this I would expect that:
originate_retries=0
= 1 calloriginate_retries=1
= 2 calls (1 try and 1 retry)originate_retries=2
= 3 calls (1 try and 2 retries)originate_retries=3
= 4 calls (1 try and 3 retries)
But in my testing I get:
originate_retries=0
= 1 calloriginate_retries=1
= 1 calloriginate_retries=2
= 2 callsoriginate_retries=3
= 3 calls
My originate command is:
...ANSWER
Answered 2020-Apr-23 at 14:47In Freeswitch source file switch_ivr_originate.c you can see implementation of this.
Variable retries
is initialized with value of 1.
When you originate call it will check if value is greater than 0 and less than 101.
QUESTION
Description I'm running Kamailio 5.2.0, whenever I relay an invite via Kamailio, my original contact header is changed from the original:
...ANSWER
Answered 2020-Apr-01 at 08:42Apparently the topoh module was masking my headers, so I used this info - https://www.kamailio.org/docs/modules/devel/modules/topoh.html#idm1051179588 - to make an exception for this particular route.
QUESTION
All the FreeSwitch documentations are given assuming you have installed Debian. So for CentOs or any RHEL distribution users are having a problem.
When I tried to follow the mod_python documentation given by FreeSwitch, I am getting errors. Now, How can I install mod_python or any other modules?
...ANSWER
Answered 2020-Jan-27 at 09:33In CentOs for installing any software, search the yum repo.
Like here, I ran
yum search freeswitch
I got all the FreeSwitch modules. Now find your required modules and install.
Like here for mod_python
module, I typed
yum install freeswitch-python.x86_64
Now, type cd /etc/freeswitch/autoload_configs/
and edit modules.conf.xml
Add and save the file and exit.
Now, use
fs_cli
command and type reloadxml
.
After this restart your linux system and again type fs_cli
and type module_exists mod_python
.
This should show true. If so, that means mod_python installation is successful.
QUESTION
I installed FreeSwitch 1.6.20 and trying to use mod_python module as described on the FreeSwitch Documentation. During this, I did not find the modules.conf file. So mod_python is not installing. I am using CentOS 7.
Any help will be appreciated. Thank you.
...ANSWER
Answered 2020-Jan-23 at 12:02In short: "There is no modules.conf
file in FreeSWITCH."
As described in https://freeswitch.org/confluence/display/FREESWITCH/Configuring+FreeSWITCH
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install freeswitch
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page