From tfred31 at yahoo.com Wed Apr 1 00:25:01 2015 From: tfred31 at yahoo.com (T Fred Farmington) Date: Tue, 31 Mar 2015 13:25:01 -0700 Subject: [Freeswitch-users] Error Creating SIP UA for ...... Message-ID: <1427833501.71680.YahooMailBasic@web160202.mail.bf1.yahoo.com> Newest challenge.... I built a new Windows Server box having the same single network configuration (IP address, etc.) as a previously working FreeSWITCH server which was running on a Virtual server (Win Server 2008). Just in case it should matter, this new box is running Win Server 2012. I next Installed FreeSWITCH onto the new physical server. Then I copied all of the files from the working FreeSWITCH installation running on a Windows Virtual workstation to a new physical box and over-wrote all of the files under the FreeSWITCH 'root' directory. After copying these files I changed the network address of the Virtual Server so as to prevent network conflicts. And then I shut down the Virtual Server. On the new physical server I attempted to Start Up FreeSWITCH. The FS Service started fine, but looking at FS_CLI, I began getting error messages. I have configured the physical server's network card to Not use IP_V6 at all - the same as it was in the Virtual server. And in the FS conf/sip_profiles/internal_ipv6 & conf/sip_profiles/external_ipv6 directories I have no xml files And no where was there a definition of local_ip_v6 in either the working Virtual server nor in the new physical server. The error messages are: Error Creating SIP UA for profile: external-ipv6....... Error Creating SIP UA for profile: internal-ipv6....... The likely causes for this are.... 1. Another application is already listening on the specific address 2. The IP the profile is attempting to bind to is not local to this system Questions: * This is a brand new server box only running FS, so I can't imagine there being something else listening to the address. If so how would I know? * Since no IP for ipv6 was configured on the network card, nor within the FS xml files on the working Virtual server and the same exists on the new server box - what is going on? Thanks, TF From andrew.keil at visytel.com Wed Apr 1 03:03:55 2015 From: andrew.keil at visytel.com (Andrew Keil) Date: Tue, 31 Mar 2015 23:03:55 +0000 Subject: [Freeswitch-users] Re- Freetdm version inside FreeSWITCH Message-ID: To FreeSWITCH users, I am not sure if this should be posted inside the developers mailing list, however I thought I would start here first. Currently I am setting up a FreeSWITCH system (using the current production release version) in the UK which will be running off BT (British Telecom) and use both SIP and ISDN30e. The ISDN side will use Sangoma A104DE cards (which I have just purchased and I am testing currently). Now the fun begins... I came across an Open Circuit alarm issue, which Sangoma are investigating, which then caused an unmapped debug message to happen (correctly from inside FreeSWITCH ftmod_wanpipe.c). Sangoma then suggested I run: ftp://ftp.sangoma.com/linux/custom/freetdm/freetdm-1.9.0.tar.gz {since this has a temporary fix to skip open circuit alarms and let FreeSWITCH continue to run with no DEBUG messages, also it adds a header (ftmod_wanpipe_defines.h) to enable mapping of alarm status values to plain English - instead of the current unmapped message} Which brings me to my primary question: Sangoma have advised me that they manage freetdm and I should use their version. However when I look at the source to ftmod_wanpipe.c (for example) their version (freetdm-1.9.0) has the following header: Copyright (c) 2007-2012, Anthony Minessale II vs. FreeSWITCH current version: Copyright (c) 2007-2014, Anthony Minessale II. Obviously there are other additions/changes done by Sangoma (including the Open Circuit alarm skipping). So what is FreeSWITCH's point of view on this? Do you merge the changes every months from Sangoma's freetdm or simply expect the freetdm component to be overwritten by Sangoma's current version prior to FreeSWITCH being built? My main aim is to have a reasonably well supported system and not come across issues that have already been found and fixed by either Sangoma or FreeSWITCH. Thanks in advance for any feedback on this, as I just want to make sure I am using an agreed best version of freetdm. Andrew Keil Visytel Pty Ltd -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150331/0c4ca401/attachment-0001.html From abalashov at evaristesys.com Wed Apr 1 08:14:01 2015 From: abalashov at evaristesys.com (Alex Balashov) Date: Wed, 01 Apr 2015 00:14:01 -0400 Subject: [Freeswitch-users] Announcement: Kamailio becomes systemd-rtc-server Message-ID: <551B7089.3020801@evaristesys.com> For immediate release: ATLANTA, GA (1 April 2015)--Evariste Systems LLC, an Atlanta-based software vendor specialising in Kamailio-based service delivery solutions for the VoIP ITSP market, is pleased to announce that it, in collaboration with Red Hat Software and Ringfree Communications, has finalised the absorption of the Kamailio SIP Server into the 'systemd' system management platform for Linux. The new component shall be called 'systemd-rtc-server', or 'Systemd Real-Time Communication Server'. Alex Balashov, principal of Evariste and leader of the tri-vendor collaboration effort, will officially announce the handover of the reigns of the Kamailio project to the personal leadership of Lennart Poettering at the upcoming Systemd Real Time Communications World conference, to be held in Berlin on 27-29 May of this year. John Knight, Director of GNOME 3 Integration and part-time usability consultant at Ringfree Communications, based in Hendersonville, North Carolina, summarised the triumphs of the long-standing integration effort. Remarked Knight: "The industry has recognised for years that a SIP proxy is a basic building block in the 'init' subsystem of any Linux host. In this age of multimedia communication with voice and video, it was a travesty that systemd handled time synchronisation, network configuration, login management, logging, and console, but not SIP message routing." Sean McCord, a veteran partner at Atlanta-based integrator CyCORE & Docker, was quick to concur: "SIP calls are much easier to troubleshoot with binary logs. Combined with packet captures of TLS-encrypted WebRTC calls, systemd-journald is the ultimate call setup troubleshooting methodology of the responsive, kinetic enterprise." To support the integration of Kamailio into the ecosystem of every major Linux distribution, Evariste has released new 'dbus_api' and 'pulseaudio' modules for the project. Balashov stated, "We fully expect to use the D-Bus API to achieve gnome-session integration with systemd-rtc-server-usrloc, but we aren't going to leave Windows users behind; KamailioSvcHost.exe will support Domain Controller policies for G.722 in Active Directory forests." Despite an aggressive delivery timeline by the tri-vendor consortium behind systemd-rtc-server, industry commentators have widely lambasted the fact that it took so long for Kamailio to become integrated into systemd. Fred Posner, solutions architect at The Palner Group in Fort Lauderdale, Florida, recently wrote in a widely-publicised blog post: "sr-dev have been keeping their heads in the sand for too long. For years now, it has been completely obvious and self-evident to anyone with half a brain that all kinds of VoIP software should be included in systemd. It's a basic building block of the whole OS, having absorbed functionality previously provided by all kinds of packages like util-linux and wireless-tools." John Knight of Ringfree accepted the criticism readily, but advocated a forward-thinking orientation focused on breaking with the uncertainty of the past: "In the absence of a SIP component for routing calls to the PSTN, some people thought, 'systemd has no clear direction apart from the whims of its developers, and is a perpetually moving goal post.' Well, a SIP server should put an end to that whole discussion; that's exactly what was missing, and now that we have systemd-rtc-server, we've eliminated all doubts about the coherence, conceptual integrity and finality of systemd." -- Alex Balashov | Principal | Evariste Systems LLC 303 Perimeter Center North, Suite 300 Atlanta, GA 30346 United States Tel: +1-800-250-5920 (toll-free) / +1-678-954-0671 (direct) Web: http://www.evaristesys.com/, http://www.csrpswitch.com/ From max at nysolutions.com Wed Apr 1 08:36:17 2015 From: max at nysolutions.com (Moishe Grunstein) Date: Wed, 1 Apr 2015 04:36:17 +0000 Subject: [Freeswitch-users] Announcement: Kamailio becomes systemd-rtc-server In-Reply-To: <551B7089.3020801@evaristesys.com> References: <551B7089.3020801@evaristesys.com> Message-ID: Is it April first already wow, which time zone are you at? Thanks, Moishe Grunstein Tornado Computer Systems, Inc. 212.400.7650 888.IPPBX.US Service Request Email: support at nysolutions.com Computer Networking * Managed Services * IP Video Surveillance * Network Assessments * Web Solutions * Voice over IP * Disaster Recovery * Network Security * Site Surveys * CMS -----Original Message----- From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Alex Balashov Sent: Wednesday, April 1, 2015 12:14 AM To: freeswitch-users at lists.freeswitch.org Subject: [Freeswitch-users] Announcement: Kamailio becomes systemd-rtc-server For immediate release: ATLANTA, GA (1 April 2015)--Evariste Systems LLC, an Atlanta-based software vendor specialising in Kamailio-based service delivery solutions for the VoIP ITSP market, is pleased to announce that it, in collaboration with Red Hat Software and Ringfree Communications, has finalised the absorption of the Kamailio SIP Server into the 'systemd' system management platform for Linux. The new component shall be called 'systemd-rtc-server', or 'Systemd Real-Time Communication Server'. Alex Balashov, principal of Evariste and leader of the tri-vendor collaboration effort, will officially announce the handover of the reigns of the Kamailio project to the personal leadership of Lennart Poettering at the upcoming Systemd Real Time Communications World conference, to be held in Berlin on 27-29 May of this year. John Knight, Director of GNOME 3 Integration and part-time usability consultant at Ringfree Communications, based in Hendersonville, North Carolina, summarised the triumphs of the long-standing integration effort. Remarked Knight: "The industry has recognised for years that a SIP proxy is a basic building block in the 'init' subsystem of any Linux host. In this age of multimedia communication with voice and video, it was a travesty that systemd handled time synchronisation, network configuration, login management, logging, and console, but not SIP message routing." Sean McCord, a veteran partner at Atlanta-based integrator CyCORE & Docker, was quick to concur: "SIP calls are much easier to troubleshoot with binary logs. Combined with packet captures of TLS-encrypted WebRTC calls, systemd-journald is the ultimate call setup troubleshooting methodology of the responsive, kinetic enterprise." To support the integration of Kamailio into the ecosystem of every major Linux distribution, Evariste has released new 'dbus_api' and 'pulseaudio' modules for the project. Balashov stated, "We fully expect to use the D-Bus API to achieve gnome-session integration with systemd-rtc-server-usrloc, but we aren't going to leave Windows users behind; KamailioSvcHost.exe will support Domain Controller policies for G.722 in Active Directory forests." Despite an aggressive delivery timeline by the tri-vendor consortium behind systemd-rtc-server, industry commentators have widely lambasted the fact that it took so long for Kamailio to become integrated into systemd. Fred Posner, solutions architect at The Palner Group in Fort Lauderdale, Florida, recently wrote in a widely-publicised blog post: "sr-dev have been keeping their heads in the sand for too long. For years now, it has been completely obvious and self-evident to anyone with half a brain that all kinds of VoIP software should be included in systemd. It's a basic building block of the whole OS, having absorbed functionality previously provided by all kinds of packages like util-linux and wireless-tools." John Knight of Ringfree accepted the criticism readily, but advocated a forward-thinking orientation focused on breaking with the uncertainty of the past: "In the absence of a SIP component for routing calls to the PSTN, some people thought, 'systemd has no clear direction apart from the whims of its developers, and is a perpetually moving goal post.' Well, a SIP server should put an end to that whole discussion; that's exactly what was missing, and now that we have systemd-rtc-server, we've eliminated all doubts about the coherence, conceptual integrity and finality of systemd." -- Alex Balashov | Principal | Evariste Systems LLC 303 Perimeter Center North, Suite 300 Atlanta, GA 30346 United States Tel: +1-800-250-5920 (toll-free) / +1-678-954-0671 (direct) Web: http://www.evaristesys.com/, http://www.csrpswitch.com/ _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org From mishehu at freeswitch.org Wed Apr 1 10:49:13 2015 From: mishehu at freeswitch.org (I put the Who? in Mishehu) Date: Wed, 01 Apr 2015 01:49:13 -0500 Subject: [Freeswitch-users] Announcement: Kamailio becomes systemd-rtc-server In-Reply-To: <551B7089.3020801@evaristesys.com> References: <551B7089.3020801@evaristesys.com> Message-ID: <551B94E9.1070008@freeswitch.org> I want systemd to launch upstart which will in turn launch djb daemontools which will then launch runit to launch FreeSWITCH and monitor it. Yo dawg, heard you like daemon supervision... -- Yossi Neiman On 03/31/2015 11:14 PM, Alex Balashov wrote: > For immediate release: > > ATLANTA, GA (1 April 2015)--Evariste Systems LLC, an Atlanta-based > software vendor specialising in Kamailio-based service delivery > solutions for the VoIP ITSP market, is pleased to announce that it, in > collaboration with Red Hat Software and Ringfree Communications, has > finalised the absorption of the Kamailio SIP Server into the 'systemd' > system management platform for Linux. The new component shall be called > 'systemd-rtc-server', or 'Systemd Real-Time Communication Server'. > > Alex Balashov, principal of Evariste and leader of the tri-vendor > collaboration effort, will officially announce the handover of the > reigns of the Kamailio project to the personal leadership of Lennart > Poettering at the upcoming Systemd Real Time Communications World > conference, to be held in Berlin on 27-29 May of this year. > > John Knight, Director of GNOME 3 Integration and part-time usability > consultant at Ringfree Communications, based in Hendersonville, North > Carolina, summarised the triumphs of the long-standing integration effort. > > Remarked Knight: > > "The industry has recognised for years that a SIP proxy is a basic > building block in the 'init' subsystem of any Linux host. In this age of > multimedia communication with voice and video, it was a travesty that > systemd handled time synchronisation, network configuration, login > management, logging, and console, but not SIP message routing." > > Sean McCord, a veteran partner at Atlanta-based integrator CyCORE & > Docker, was quick to concur: > > "SIP calls are much easier to troubleshoot with binary logs. Combined > with packet captures of TLS-encrypted WebRTC calls, systemd-journald is > the ultimate call setup troubleshooting methodology of the responsive, > kinetic enterprise." > > To support the integration of Kamailio into the ecosystem of every major > Linux distribution, Evariste has released new 'dbus_api' and > 'pulseaudio' modules for the project. > > Balashov stated, "We fully expect to use the D-Bus API to achieve > gnome-session integration with systemd-rtc-server-usrloc, but we aren't > going to leave Windows users behind; KamailioSvcHost.exe will support > Domain Controller policies for G.722 in Active Directory forests." > > Despite an aggressive delivery timeline by the tri-vendor consortium > behind systemd-rtc-server, industry commentators have widely lambasted > the fact that it took so long for Kamailio to become integrated into > systemd. Fred Posner, solutions architect at The Palner Group in Fort > Lauderdale, Florida, recently wrote in a widely-publicised blog post: > > "sr-dev have been keeping their heads in the sand for too long. For > years now, it has been completely obvious and self-evident to anyone > with half a brain that all kinds of VoIP software should be included in > systemd. It's a basic building block of the whole OS, having absorbed > functionality previously provided by all kinds of packages like > util-linux and wireless-tools." > > John Knight of Ringfree accepted the criticism readily, but advocated a > forward-thinking orientation focused on breaking with the uncertainty of > the past: > > "In the absence of a SIP component for routing calls to the PSTN, some > people thought, 'systemd has no clear direction apart from the whims of > its developers, and is a perpetually moving goal post.' Well, a SIP > server should put an end to that whole discussion; that's exactly what > was missing, and now that we have systemd-rtc-server, we've eliminated > all doubts about the coherence, conceptual integrity and finality of > systemd." > > From andrew at cassidywebservices.co.uk Wed Apr 1 12:40:52 2015 From: andrew at cassidywebservices.co.uk (Andrew Cassidy) Date: Wed, 1 Apr 2015 09:40:52 +0100 Subject: [Freeswitch-users] Caller ID prefix missing In-Reply-To: References: Message-ID: Oh right! sorry! Try this for the bridge: It forcibly sets the callee details to the original number then is instructed to ignore display updates from the gateway. On 31 March 2015 at 20:37, Paul Atreides wrote: > Hi Andrew, > > I think my description was not so good. My gateway accepts 012456789 but I > want the user to dial 001234567. > Can I remove the leading 0 and still tell the sip client that the user > dialed with the extra 0? > > > On Tue, Mar 31, 2015 at 6:04 PM, Andrew Cassidy < > andrew at cassidywebservices.co.uk> wrote: > >> change $1 to $0 or 0$1 >> >> On 31 March 2015 at 16:29, Paul Atreides >> wrote: >> >>> Hi, >>> >>> when I place a call over the gateway to the PTSN I see the dialed number >>> without >>> the leading 0 prefix in the history of my Grandstream GXP2140. Is there >>> a way >>> to add the 0 back again? >>> >>> Thank you >>> >>> >>> >>> >>> >> data="effective_caller_id_number=${outbound_caller_id_number}"/> >>> >> data="effective_caller_id_name=${outbound_caller_id_name}"/> >>> >>> >>> >>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> >> -- >> *Andrew Cassidy BSc (Hons) MBCS SSCA* >> Managing Director >> >> >> *T *03300 100 960 *F >> *03300 100 961 >> *E *andrew at cassidywebservices.co.uk >> *W *www.cassidywebservices.co.uk >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- *Andrew Cassidy BSc (Hons) MBCS SSCA* Managing Director *T *03300 100 960 *F *03300 100 961 *E *andrew at cassidywebservices.co.uk *W *www.cassidywebservices.co.uk -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150401/dcc939da/attachment-0001.html From varghesepaul87 at gmail.com Wed Apr 1 03:33:33 2015 From: varghesepaul87 at gmail.com (Varghese Paul) Date: Tue, 31 Mar 2015 16:33:33 -0700 Subject: [Freeswitch-users] Transfer/shift calls from one freeswitch to other freeswitch box Message-ID: Hi all, Is it possible to transfer/forward calls from one freeswitch box to other box ?. Use case: We wanted to do some maintenance on one freeswitch server and thinking to transfer/shift the current calls in one server to other server. Is there any way to route the calls to other freeswitch server without hanging up the call?. I know we should send Re-INVITE to other users for modifying the RTP IP + RTP port number for the new Freeswitch IP. Is it possible to achieve in freeswitch ? Regards Varghese Paul -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150331/03d1d8a4/attachment.html From doancea at orange-vallee.net Wed Apr 1 12:42:51 2015 From: doancea at orange-vallee.net (doancea) Date: Wed, 01 Apr 2015 10:42:51 +0200 Subject: [Freeswitch-users] OPUS at 48 khz vs OPUS at 8 khz Message-ID: <323c1e7ffa82aa233924eae5a8caea01@orange-vallee.net> Hi All, We've noticed a high load on our transcoding servers when doing OPUS<->PCMA transcoding. All our client software is using opus at 48khz, but inside the audio payload we have narrowband audio (forced with OPUS_SET_BANDWIDTH(OPUS_BANDWIDTH_NARROWBAND) ) . Questions : 1. How can we avoid resampling ? We've noticed this log line showing twice for each call: 29128b92-d842-11e4-877f-9bd23fac7445 2015-04-01 07:39:14.798759 [NOTICE] switch_core_io.c:1287 Activating write resampler If we modify the client software to use opus at 8khz and leave freeswitch as it we have very bad audio (nothing intelligible). But If we modify the client software to use opus at 8khz and change mod_opus.c in freeswitch so it would use only OPUS at 8khz then we have proper audio. 2. We have noticed that there is a "samplerate" param in fmtp (which is not in this RFC: https://tools.ietf.org/html/draft-spittka-payload-rtp-opus-03 ) it's used only for configuring the decoder. Why only for the decoder ? If "samplerate" is set then it's passed to opus_encoder_create() , but not to opus_decoder_create(). 3. How about using sprop-maxcapturerate to set the sample rate of the decoder ? Regards, Dragos Oancea From paul.atreides83 at googlemail.com Wed Apr 1 13:09:21 2015 From: paul.atreides83 at googlemail.com (Paul Atreides) Date: Wed, 1 Apr 2015 11:09:21 +0200 Subject: [Freeswitch-users] Caller ID prefix missing In-Reply-To: References: Message-ID: Thanks :) On Wed, Apr 1, 2015 at 10:40 AM, Andrew Cassidy < andrew at cassidywebservices.co.uk> wrote: > Oh right! sorry! > > Try this for the bridge: > > data="{origination_callee_id_name=$0,origination_callee_id_number=$0, > ignore_display_updates=true}sofia/gateway/isdn/$1"/> > > It forcibly sets the callee details to the original number then is > instructed to ignore display updates from the gateway. > > On 31 March 2015 at 20:37, Paul Atreides > wrote: > >> Hi Andrew, >> >> I think my description was not so good. My gateway accepts 012456789 but >> I want the user to dial 001234567. >> Can I remove the leading 0 and still tell the sip client that the user >> dialed with the extra 0? >> >> >> On Tue, Mar 31, 2015 at 6:04 PM, Andrew Cassidy < >> andrew at cassidywebservices.co.uk> wrote: >> >>> change $1 to $0 or 0$1 >>> >>> On 31 March 2015 at 16:29, Paul Atreides >> > wrote: >>> >>>> Hi, >>>> >>>> when I place a call over the gateway to the PTSN I see the dialed >>>> number without >>>> the leading 0 prefix in the history of my Grandstream GXP2140. Is there >>>> a way >>>> to add the 0 back again? >>>> >>>> Thank you >>>> >>>> >>>> >>>> >>>> >>> data="effective_caller_id_number=${outbound_caller_id_number}"/> >>>> >>> data="effective_caller_id_name=${outbound_caller_id_name}"/> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> >>> -- >>> *Andrew Cassidy BSc (Hons) MBCS SSCA* >>> Managing Director >>> >>> >>> *T *03300 100 960 *F >>> *03300 100 961 >>> *E *andrew at cassidywebservices.co.uk >>> *W *www.cassidywebservices.co.uk >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > *Andrew Cassidy BSc (Hons) MBCS SSCA* > Managing Director > > > *T *03300 100 960 *F > *03300 100 961 > *E *andrew at cassidywebservices.co.uk > *W *www.cassidywebservices.co.uk > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150401/28ffaff3/attachment.html From marino.mileti at alice.it Wed Apr 1 13:40:01 2015 From: marino.mileti at alice.it (Marino Mileti) Date: Wed, 1 Apr 2015 11:40:01 +0200 Subject: [Freeswitch-users] Video frame capture Message-ID: <005901d06c5f$d4a6d2a0$7df477e0$@mileti@alice.it> Hi guys, i'm trying to implement something like "preview" feature on video mailbox; just a simple picture of a frame of .fsv file. Unfortunately i've no idea regarding .fsv file J Is it possible to "extract" an image from .fsv file? Any type of help is very appreciated J Many thanks Marino Maria Mileti marino.mileti at alice.it cid:006a01cb6b0e$67eecdae$_CDOSYS2.0Reduce your energy consumption and keep polar bears on ice! --- Questa e-mail ? priva di virus e malware perch? ? attiva la protezione avast! Antivirus. http://www.avast.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150401/c17e391e/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/jpeg Size: 691 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150401/c17e391e/attachment-0001.jpe From paul.atreides83 at googlemail.com Wed Apr 1 19:50:42 2015 From: paul.atreides83 at googlemail.com (Paul Atreides) Date: Wed, 1 Apr 2015 17:50:42 +0200 Subject: [Freeswitch-users] Intercept caller number Message-ID: Hi, when I do a global intecept then I dont see the original caller number in the display. I see the dialplan number for the intercept instead. How can I replace it with the original caller number? Thank you -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150401/8dd02090/attachment.html From william.suffill at gmail.com Wed Apr 1 19:59:21 2015 From: william.suffill at gmail.com (William Suffill) Date: Wed, 1 Apr 2015 11:59:21 -0400 Subject: [Freeswitch-users] Video frame capture In-Reply-To: <551bbd23.c249320a.0252.fffff858SMTPIN_ADDED_BROKEN@mx.google.com> References: <551bbd23.c249320a.0252.fffff858SMTPIN_ADDED_BROKEN@mx.google.com> Message-ID: ffmpeg seems to be a common option to export frames as images from FLV among other formats. That might work in your case here as well Something like http://stackoverflow.com/questions/3827611/ffmpeg-to-capture-screenshot-from-a-video-file-in-a-fine-time-unit On Wed, Apr 1, 2015 at 5:40 AM, Marino Mileti wrote: > Hi guys, > > > > i'm trying to implement something like "preview" feature on video mailbox; > just a simple picture of a frame of .fsv file. > > Unfortunately i've no idea regarding .fsv file J > > > > Is it possible to "extract" an image from .fsv file? > > > > Any type of help is very appreciated J > > > > Many thanks > > *Marino Maria Mileti* > > *marino.mileti at alice.it * > > > > *[image: cid:006a01cb6b0e$67eecdae$_CDOSYS2.0]**Reduce your energy > consumption and keep polar bears on ice!* > > > > > ------------------------------ > > > Questa e-mail ? priva di virus e malware perch? ? attiva la protezione avast! > Antivirus . > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150401/53c658d8/attachment.html From lazy.charles at gmail.com Wed Apr 1 20:08:12 2015 From: lazy.charles at gmail.com (Charles Wang) Date: Thu, 2 Apr 2015 00:08:12 +0800 Subject: [Freeswitch-users] FreeTDM and OpenR2 2.x Message-ID: Hi all, I want to build the freeswitch(v1.4.18) supported MFC-R2, And try to download the openr2-1.3.3.tar.gz. # tar zxvf openr2-1.3.3.tar.gz # cd openr2-1.3.3 # ./configure --prefix=/usr # make && make install # ldconfig After I configure freeswitch with command: ./configure --with-libpri --enable-debug I can find the message below: <<>> Modules and optional features checking for openr2_context_set_io_type in -lopenr2... no checking whether to build ftmod_r2... no checking for wat_version in -lwat... no checking whether to build ftmod_wat... no <<>> Digium libpri checking whether libpri is usable... yes checking whether libpri is too old... no checking whether libpri has BRI support... yes checking whether libpri has AOC event support... yes checking whether libpri has pri_maintenance_service()... yes <<>> Sangoma Wanpipe checking for sangoma_span_chan_toif in -lsangoma... no checking whether to build ftmod_wanpipe... no <<>> Sangoma ISDN stack checking for sng_isdn_init in -lsng_isdn... no checking whether to build ftmod_sangoma_isdn... no <<>> Sangoma SS7 stack checking for sng_isup_init_gen in -lsng_ss7... no checking whether to build ftmod_sangoma_ss7... no <<>> zlib checking for compress in -lz... yes checking whether zlib is installed... yes <<>> ftmod_misdn (Linux mISDN I/O plugin) checking for mISDN/mISDNif.h... no configure: mISDN/mISDNif.h not found <<>> Creating output files configure: creating ./config.status config.status: creating Makefile config.status: creating freetdm.pc config.status: creating mod_freetdm/Makefile config.status: executing depfiles commands config.status: executing libtool commands ============================ FreeTDM configuration ============================ + Modules Signalling: ftmod_analog....................... yes ftmod_analog_em.................... yes ftmod_isdn......................... no ftmod_libpri....................... yes ftmod_sangoma_isdn................. no ftmod_sangoma_ss7.................. no ftmod_r2........................... no ftmod_gsm.......................... no ftmod_pritap....................... no I/O: ftmod_zt........................... yes ftmod_wanpipe...................... no ftmod_misdn........................ no =============================================================================== In another word, is openr2 is not supported the freeswitch? After reading the README file, I found I should use openr2 2.X for freeswitch. But where to get the openr2 2.X ? -- Best Regards Charles -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150402/f9a5177c/attachment.html From mike at jerris.com Thu Apr 2 00:34:25 2015 From: mike at jerris.com (Michael Jerris) Date: Wed, 1 Apr 2015 16:34:25 -0400 Subject: [Freeswitch-users] Re- Freetdm version inside FreeSWITCH In-Reply-To: References: Message-ID: <4E435EC8-832C-4155-82D1-C784B20504A3@jerris.com> Sangoma has direct commit access to our tree to commit these changes. In the past they pushed the changes directly in on a regular basis, you would have to ask them in what way they have changed this approach. > On Mar 31, 2015, at 7:03 PM, Andrew Keil wrote: > > To FreeSWITCH users, > > I am not sure if this should be posted inside the developers mailing list, however I thought I would start here first. > > Currently I am setting up a FreeSWITCH system (using the current production release version) in the UK which will be running off BT (British Telecom) and use both SIP and ISDN30e. > > The ISDN side will use Sangoma A104DE cards (which I have just purchased and I am testing currently). > > Now the fun begins? > > I came across an Open Circuit alarm issue, which Sangoma are investigating, which then caused an unmapped debug message to happen (correctly from inside FreeSWITCH ftmod_wanpipe.c). > > Sangoma then suggested I run: ftp://ftp.sangoma.com/linux/custom/freetdm/freetdm-1.9.0.tar.gz > > {since this has a temporary fix to skip open circuit alarms and let FreeSWITCH continue to run with no DEBUG messages, also it adds a header (ftmod_wanpipe_defines.h) to enable mapping of alarm status values to plain English ? instead of the current unmapped message} > > Which brings me to my primary question: > > Sangoma have advised me that they manage freetdm and I should use their version. However when I look at the source to ftmod_wanpipe.c (for example) their version (freetdm-1.9.0) has the following header: Copyright (c) 2007-2012, Anthony Minessale II vs. FreeSWITCH current version: Copyright (c) 2007-2014, Anthony Minessale II. Obviously there are other additions/changes done by Sangoma (including the Open Circuit alarm skipping). > > So what is FreeSWITCH?s point of view on this? Do you merge the changes every months from Sangoma?s freetdm or simply expect the freetdm component to be overwritten by Sangoma?s current version prior to FreeSWITCH being built? > > My main aim is to have a reasonably well supported system and not come across issues that have already been found and fixed by either Sangoma or FreeSWITCH. > > Thanks in advance for any feedback on this, as I just want to make sure I am using an agreed best version of freetdm. > > Andrew Keil > Visytel Pty Ltd > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150401/fe544cf6/attachment-0001.html From apventer at gmail.com Wed Apr 1 18:51:53 2015 From: apventer at gmail.com (Andries Venter) Date: Wed, 1 Apr 2015 16:51:53 +0200 Subject: [Freeswitch-users] Codecs (Again!) Message-ID: I am using Freeswitch (1.4.8) as an SBC between our company PABX and our ISP's Trunk (also terminating on an SBC). My problem is that I need G729 in some cases and PCMA in others (the majority). The setup looks more or less like this: Our PABX (192.168.102.215)=>(192.168.102.102)Our SBC (10.17.159.10)=>(10.17.159.9)ISP SBC=>Rest of the world Since we use private addresses, Freeswitch must do RTP proxying. No transcoding must be done!!! I have set global_codec_prefs to "PCMA,G729". Then everything to destination supporting PCMA works. When trying to connect to a G729-only PABX, the call fails. Leg A is setup as follows 192.168.102.215.5060 > 192.168.102.102.5090: SIP, length: 933 INVITE sip:0873611337 at 192.168.102.102:5090;transport=udp SIP/2.0 To: From: "JGD Winson" ;tag=snl_iFGEOrlLLf Call-ID: SEC11-a64a8c0-1e64a8c0-1-9lz36fM4mXAo CSeq: 1235 INVITE Contact: Via: SIP/2.0/UDP 192.168.102.215:5060 ;branch=z9hG4bKSEC-a64a8c0-1e64a8c0-1-5nUh73XkOk Content-Type: application/sdp Content-Length: 288 X-Siemens-Call-Type: ST-insecure Accept-Language: en;q=0.0 Allow: REGISTER, INVITE, ACK, BYE, CANCEL, NOTIFY, REFER, INFO Date: Wed, 01 Apr 2015 14:30:15 GMT Max-Forwards: 69 v=0 o=MxSIP 0 105140472 IN IP4 10.11.32.226 s=SIP Call c=IN IP4 10.11.32.226 t=0 0 m=audio 5014 RTP/AVP 8 0 18 101 a=rtpmap:8 PCMA/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:18 G729/8000 a=rtpmap:101 telephone-event/8000 a=silenceSupp:off - - - - a=fmtp:18 annexb=no a=fmtp:101 0-15 192.168.102.102.5090 > 192.168.102.215.5060: SIP, length: 396 SIP/2.0 100 Trying Via: SIP/2.0/UDP 192.168.102.215:5060 ;branch=z9hG4bKSEC-a64a8c0-1e64a8c0-1-5nUh73XkOk From: "JGD Winson" ;tag=snl_iFGEOrlLLf To: Call-ID: SEC11-a64a8c0-1e64a8c0-1-9lz36fM4mXAo CSeq: 1235 INVITE User-Agent: FreeSWITCH-mod_sofia/1.4.18+git~20150312T185523Z~4eed221b69~64bit Content-Length: 0 192.168.102.102.5090 > 192.168.102.215.5060: SIP, length: 1201 SIP/2.0 200 OK Via: SIP/2.0/UDP 192.168.102.215:5060 ;branch=z9hG4bKSEC-a64a8c0-1e64a8c0-1-5nUh73XkOk From: "JGD Winson" ;tag=snl_iFGEOrlLLf To: ;tag=BytX6X1t7HytF Call-ID: SEC11-a64a8c0-1e64a8c0-1-9lz36fM4mXAo CSeq: 1235 INVITE Contact: User-Agent: FreeSWITCH-mod_sofia/1.4.18+git~20150312T185523Z~4eed221b69~64bit Accept: application/sdp Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE Supported: timer, path, replaces Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer Content-Type: application/sdp Content-Disposition: session Content-Length: 226 Remote-Party-ID: "0873611337" ;party=calling;privacy=off;screen=no v=0 o=FreeSWITCH 1427881297 1427881298 IN IP4 192.168.102.102 s=FreeSWITCH c=IN IP4 192.168.102.102 t=0 0 m=audio 17318 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 When I change my global_codec_prefs to "G729,PCMA", G729 is offered to our PABX by Freeswitch, then to the ISP and then it works to destinations supporting G729. It fails to destinations not supporting G729. Now Leg A is setup as follows: 192.168.102.215.5060 > 192.168.102.102.5090: SIP, length: 934 INVITE sip:0873611337 at 192.168.102.102:5090;transport=udp SIP/2.0 To: From: "JGD Winson" ;tag=snl_8NZMvB3KNA Call-ID: SEC11-a64a8c0-1e64a8c0-1-k6bGtU73W2Vm CSeq: 1235 INVITE Contact: Via: SIP/2.0/UDP 192.168.102.215:5060 ;branch=z9hG4bKSEC-a64a8c0-1e64a8c0-1-ZO003uQGh0 Content-Type: application/sdp Content-Length: 289 X-Siemens-Call-Type: ST-insecure Accept-Language: en;q=0.0 Allow: REGISTER, INVITE, ACK, BYE, CANCEL, NOTIFY, REFER, INFO Date: Wed, 01 Apr 2015 14:27:51 GMT Max-Forwards: 69 v=0 o=MxSIP 0 1224193414 IN IP4 10.11.32.226 s=SIP Call c=IN IP4 10.11.32.226 t=0 0 m=audio 5014 RTP/AVP 8 0 18 101 a=rtpmap:8 PCMA/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:18 G729/8000 a=rtpmap:101 telephone-event/8000 a=silenceSupp:off - - - - a=fmtp:18 annexb=no a=fmtp:101 0-15 192.168.102.102.5090 > 192.168.102.215.5060: SIP, length: 396 SIP/2.0 100 Trying Via: SIP/2.0/UDP 192.168.102.215:5060 ;branch=z9hG4bKSEC-a64a8c0-1e64a8c0-1-ZO003uQGh0 From: "JGD Winson" ;tag=snl_8NZMvB3KNA To: Call-ID: SEC11-a64a8c0-1e64a8c0-1-k6bGtU73W2Vm CSeq: 1235 INVITE User-Agent: FreeSWITCH-mod_sofia/1.4.18+git~20150312T185523Z~4eed221b69~64bit Content-Length: 0 192.168.102.102.5090 > 192.168.102.215.5060: SIP, length: 1224 SIP/2.0 200 OK Via: SIP/2.0/UDP 192.168.102.215:5060 ;branch=z9hG4bKSEC-a64a8c0-1e64a8c0-1-ZO003uQGh0 From: "JGD Winson" ;tag=snl_8NZMvB3KNA To: ;tag=g2eKXDUB6y4Hr Call-ID: SEC11-a64a8c0-1e64a8c0-1-k6bGtU73W2Vm CSeq: 1235 INVITE Contact: User-Agent: FreeSWITCH-mod_sofia/1.4.18+git~20150312T185523Z~4eed221b69~64bit Accept: application/sdp Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE Supported: timer, path, replaces Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer Content-Type: application/sdp Content-Disposition: session Content-Length: 249 Remote-Party-ID: "0873611337" ;party=calling;privacy=off;screen=no v=0 o=FreeSWITCH 1427866745 1427866746 IN IP4 192.168.102.102 s=FreeSWITCH c=IN IP4 192.168.102.102 t=0 0 m=audio 31726 RTP/AVP 18 101 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 I have tried various (hopefully all) combinations of inbound-codec-negotiation (generous, greedy and scrooge) and inbound-late-negotiation (true, false). Nothing does what I want. I believe Freeswitch needs to negotiate the codecs with the endpoint and choose one from my list. However, it seems to grab the first one in my list before checking the endpoint. Then it offers only that codec to the endpoint, which of course ignores / rejects it! What can I do? Regards Andries -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150401/7326d561/attachment.html From mike at jerris.com Thu Apr 2 00:37:31 2015 From: mike at jerris.com (Michael Jerris) Date: Wed, 1 Apr 2015 16:37:31 -0400 Subject: [Freeswitch-users] Video frame capture In-Reply-To: <551bbd49.025b2a0a.146f.fffffabbSMTPIN_ADDED_BROKEN@mx.google.com> References: <551bbd49.025b2a0a.146f.fffffabbSMTPIN_ADDED_BROKEN@mx.google.com> Message-ID: <226E713E-BF80-4A11-81C3-3BA44262375A@jerris.com> The video support in 1.4 is pretty basic. 1.6 is going to add quite a bit of video support, you probably need to wait for that to do anything useful with video. > On Apr 1, 2015, at 5:40 AM, Marino Mileti wrote: > > Hi guys, > > i'm trying to implement something like "preview" feature on video mailbox; just a simple picture of a frame of .fsv file. > Unfortunately i've no idea regarding .fsv file J > > Is it possible to "extract" an image from .fsv file? > > Any type of help is very appreciated J > > Many thanks > Marino Maria Mileti > marino.mileti at alice.it > > Reduce your energy consumption and keep polar bears on ice! > > > > > Questa e-mail ? priva di virus e malware perch? ? attiva la protezione avast! Antivirus . > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150401/c6ef6a61/attachment-0001.html From fernando at softov.com.br Thu Apr 2 01:17:31 2015 From: fernando at softov.com.br (Luiz Fernando Softov) Date: Wed, 1 Apr 2015 17:17:31 -0400 Subject: [Freeswitch-users] Transfer/shift calls from one freeswitch to other freeswitch box Message-ID: You can use gateway... Lets Say you have two Freeswitchs A 192.168.1.10 and B 192.168.2.10 In FS A you have a extension 1001, and in FS B extension 2001 In FS A, you need a gateway in external profile, to connect with FS B, its like: You can read more in https://wiki.freeswitch.org/wiki/Clarification:gateways https://freeswitch.org/confluence/display/FREESWITCH/Gateways+Configuration Then when you make a call in FS A, in your dialplan, you need to make a bridge using gateway Now when you make a Call, to 2XXX, you shoud receive a call in FS-B In FS B, you need to have extension 2000, used by gateway to register and to make calls And of course, extension 2001. If you want to receive Caller ID 1001 of FS A dont use variables in extension 2000.xml It's a way to do this. -- Luiz Fernando Softov http://www.softov.com.br fernando at softov.com.br -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150401/b3294f34/attachment.html From varghesepaul87 at gmail.com Thu Apr 2 01:18:51 2015 From: varghesepaul87 at gmail.com (Varghese Paul) Date: Wed, 1 Apr 2015 14:18:51 -0700 Subject: [Freeswitch-users] Transfer/shift calls from one freeswitch to other freeswitch box In-Reply-To: References: Message-ID: Hi all, Can anyone give me some idea about how can i do nightmare transfer in freeswitch ?. Regards Varghese Paul On Tue, Mar 31, 2015 at 4:33 PM, Varghese Paul wrote: > Hi all, > > Is it possible to transfer/forward calls from one freeswitch box to other > box ?. > > Use case: We wanted to do some maintenance on one freeswitch server and > thinking to transfer/shift the current calls in one server to other server. > Is there any way to route the calls to other freeswitch server without > hanging up the call?. I know we should send Re-INVITE to other users for > modifying the RTP IP + RTP port number for the new Freeswitch IP. > > Is it possible to achieve in freeswitch ? > > Regards > > Varghese Paul > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150401/d83d4155/attachment.html From varghesepaul87 at gmail.com Thu Apr 2 01:30:53 2015 From: varghesepaul87 at gmail.com (Varghese Paul) Date: Wed, 1 Apr 2015 14:30:53 -0700 Subject: [Freeswitch-users] Transfer/shift calls from one freeswitch to other freeswitch box In-Reply-To: References: Message-ID: Hi Luiz, Thanks for your answer. But my use case is different. I don't want to bridge calls b/w two freeswitch boxes. I wanted to shift/replace the call in Freeswitch A to Freeswitch B. As I stated in my previous mail I wanted to achieve this use case for maintaining the Freeswitch servers in production. I am running freeswitch as a conference server and I wanted to transfer this conference into other conference server for restart/reboot the serivces in the machine. >>>>>>CONFERENCE_A ----> Freeswitch A Box --->> Transfer this call/conference to other Freeswitch Box B ---> Do the maintance in Freeswitch Box A I am not sure whether I can achieve this in Freeswitch. Regards Varghese Paul On Wed, Apr 1, 2015 at 2:17 PM, Luiz Fernando Softov wrote: > You can use gateway... > > Lets Say you have two Freeswitchs A 192.168.1.10 and B 192.168.2.10 > > In FS A you have a extension 1001, and in FS B extension 2001 > > > In FS A, you need a gateway in external profile, to connect with FS B, its > like: > > > > > > > > > > > You can read more in > > https://wiki.freeswitch.org/wiki/Clarification:gateways > > https://freeswitch.org/confluence/display/FREESWITCH/Gateways+Configuration > > > Then when you make a call in FS A, in your dialplan, you need to make a > bridge using gateway > > > > > > > > > > Now when you make a Call, to 2XXX, you shoud receive a call in FS-B > > In FS B, you need to have extension 2000, used by gateway to register and > to make calls > And of course, extension 2001. > > If you want to receive Caller ID 1001 of FS A > > dont use variables in extension 2000.xml > > > > > > It's a way to do this. > > > -- > Luiz Fernando Softov > http://www.softov.com.br > fernando at softov.com.br > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150401/5b944acb/attachment.html From ahmed at netelsat.net Thu Apr 2 01:48:04 2015 From: ahmed at netelsat.net (Ahmed Sboor) Date: Thu, 2 Apr 2015 02:48:04 +0500 Subject: [Freeswitch-users] Codecs (Again!) In-Reply-To: References: Message-ID: Hi Andries , You should again look on https://wiki.freeswitch.org/wiki/Codec_Negotiation And i think easiest way is using *absolute_codec_string *before briding to "G729" only PABX. Ahmed On Wed, Apr 1, 2015 at 7:51 PM, Andries Venter wrote: > I am using Freeswitch (1.4.8) as an SBC between our company PABX and our > ISP's Trunk (also terminating on an SBC). > > My problem is that I need G729 in some cases and PCMA in others (the > majority). > > > > The setup looks more or less like this: > > Our PABX (192.168.102.215)=>(192.168.102.102)Our SBC > (10.17.159.10)=>(10.17.159.9)ISP SBC=>Rest of the world > > > > Since we use private addresses, Freeswitch must do RTP proxying. No > transcoding must be done!!! > > > > I have set global_codec_prefs to "PCMA,G729". Then everything to > destination supporting PCMA works. When trying to connect to a G729-only > PABX, the call fails. Leg A is setup as follows > > > > 192.168.102.215.5060 > 192.168.102.102.5090: SIP, length: 933 > > INVITE sip:0873611337 at 192.168.102.102:5090;transport=udp SIP/2.0 > > To: > > From: "JGD Winson" >;tag=snl_iFGEOrlLLf > > Call-ID: SEC11-a64a8c0-1e64a8c0-1-9lz36fM4mXAo > > CSeq: 1235 INVITE > > Contact: > > > Via: SIP/2.0/UDP 192.168.102.215:5060 > ;branch=z9hG4bKSEC-a64a8c0-1e64a8c0-1-5nUh73XkOk > > Content-Type: application/sdp > > Content-Length: 288 > > X-Siemens-Call-Type: ST-insecure > > Accept-Language: en;q=0.0 > > Allow: REGISTER, INVITE, ACK, BYE, CANCEL, NOTIFY, REFER, INFO > > Date: Wed, 01 Apr 2015 14:30:15 GMT > > Max-Forwards: 69 > > > > v=0 > > o=MxSIP 0 105140472 IN IP4 10.11.32.226 > > s=SIP Call > > c=IN IP4 10.11.32.226 > > t=0 0 > > m=audio 5014 RTP/AVP 8 0 18 101 > > a=rtpmap:8 PCMA/8000 > > a=rtpmap:0 PCMU/8000 > > a=rtpmap:18 G729/8000 > > a=rtpmap:101 telephone-event/8000 > > a=silenceSupp:off - - - - > > a=fmtp:18 annexb=no > > a=fmtp:101 0-15 > > > > 192.168.102.102.5090 > 192.168.102.215.5060: SIP, length: 396 > > SIP/2.0 100 Trying > > Via: SIP/2.0/UDP 192.168.102.215:5060 > ;branch=z9hG4bKSEC-a64a8c0-1e64a8c0-1-5nUh73XkOk > > From: "JGD Winson" >;tag=snl_iFGEOrlLLf > > To: > > Call-ID: SEC11-a64a8c0-1e64a8c0-1-9lz36fM4mXAo > > CSeq: 1235 INVITE > > User-Agent: > FreeSWITCH-mod_sofia/1.4.18+git~20150312T185523Z~4eed221b69~64bit > > Content-Length: 0 > > > > 192.168.102.102.5090 > 192.168.102.215.5060: SIP, length: 1201 > > SIP/2.0 200 OK > > Via: SIP/2.0/UDP 192.168.102.215:5060 > ;branch=z9hG4bKSEC-a64a8c0-1e64a8c0-1-5nUh73XkOk > > From: "JGD Winson" >;tag=snl_iFGEOrlLLf > > To: ;tag=BytX6X1t7HytF > > Call-ID: SEC11-a64a8c0-1e64a8c0-1-9lz36fM4mXAo > > CSeq: 1235 INVITE > > Contact: > > User-Agent: > FreeSWITCH-mod_sofia/1.4.18+git~20150312T185523Z~4eed221b69~64bit > > Accept: application/sdp > > Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, > REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE > > Supported: timer, path, replaces > > Allow-Events: talk, hold, conference, presence, as-feature-event, > dialog, line-seize, call-info, sla, include-session-description, > presence.winfo, message-summary, refer > > Content-Type: application/sdp > > Content-Disposition: session > > Content-Length: 226 > > Remote-Party-ID: "0873611337" >;party=calling;privacy=off;screen=no > > > > v=0 > > o=FreeSWITCH 1427881297 1427881298 IN IP4 192.168.102.102 > > s=FreeSWITCH > > c=IN IP4 192.168.102.102 > > t=0 0 > > m=audio 17318 RTP/AVP 8 101 > > a=rtpmap:8 PCMA/8000 > > a=rtpmap:101 telephone-event/8000 > > a=fmtp:101 0-16 > > a=ptime:20 > > > > > > When I change my global_codec_prefs to "G729,PCMA", G729 is offered to our > PABX by Freeswitch, then to the ISP and then it works to destinations > supporting G729. It fails to destinations not supporting G729. Now Leg > A is setup as follows: > > > > 192.168.102.215.5060 > 192.168.102.102.5090: SIP, length: 934 > > INVITE sip:0873611337 at 192.168.102.102:5090;transport=udp SIP/2.0 > > To: > > From: "JGD Winson" >;tag=snl_8NZMvB3KNA > > Call-ID: SEC11-a64a8c0-1e64a8c0-1-k6bGtU73W2Vm > > CSeq: 1235 INVITE > > Contact: > > > Via: SIP/2.0/UDP 192.168.102.215:5060 > ;branch=z9hG4bKSEC-a64a8c0-1e64a8c0-1-ZO003uQGh0 > > Content-Type: application/sdp > > Content-Length: 289 > > X-Siemens-Call-Type: ST-insecure > > Accept-Language: en;q=0.0 > > Allow: REGISTER, INVITE, ACK, BYE, CANCEL, NOTIFY, REFER, INFO > > Date: Wed, 01 Apr 2015 14:27:51 GMT > > Max-Forwards: 69 > > > > v=0 > > o=MxSIP 0 1224193414 IN IP4 10.11.32.226 > > s=SIP Call > > c=IN IP4 10.11.32.226 > > t=0 0 > > m=audio 5014 RTP/AVP 8 0 18 101 > > a=rtpmap:8 PCMA/8000 > > a=rtpmap:0 PCMU/8000 > > a=rtpmap:18 G729/8000 > > a=rtpmap:101 telephone-event/8000 > > a=silenceSupp:off - - - - > > a=fmtp:18 annexb=no > > a=fmtp:101 0-15 > > > > 192.168.102.102.5090 > 192.168.102.215.5060: SIP, length: 396 > > SIP/2.0 100 Trying > > Via: SIP/2.0/UDP 192.168.102.215:5060 > ;branch=z9hG4bKSEC-a64a8c0-1e64a8c0-1-ZO003uQGh0 > > From: "JGD Winson" >;tag=snl_8NZMvB3KNA > > To: > > Call-ID: SEC11-a64a8c0-1e64a8c0-1-k6bGtU73W2Vm > > CSeq: 1235 INVITE > > User-Agent: > FreeSWITCH-mod_sofia/1.4.18+git~20150312T185523Z~4eed221b69~64bit > > Content-Length: 0 > > > > 192.168.102.102.5090 > 192.168.102.215.5060: SIP, length: 1224 > > SIP/2.0 200 OK > > Via: SIP/2.0/UDP 192.168.102.215:5060 > ;branch=z9hG4bKSEC-a64a8c0-1e64a8c0-1-ZO003uQGh0 > > From: "JGD Winson" >;tag=snl_8NZMvB3KNA > > To: ;tag=g2eKXDUB6y4Hr > > Call-ID: SEC11-a64a8c0-1e64a8c0-1-k6bGtU73W2Vm > > CSeq: 1235 INVITE > > Contact: > > User-Agent: > FreeSWITCH-mod_sofia/1.4.18+git~20150312T185523Z~4eed221b69~64bit > > Accept: application/sdp > > Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, > REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE > > Supported: timer, path, replaces > > Allow-Events: talk, hold, conference, presence, as-feature-event, > dialog, line-seize, call-info, sla, include-session-description, > presence.winfo, message-summary, refer > > Content-Type: application/sdp > > Content-Disposition: session > > Content-Length: 249 > > Remote-Party-ID: "0873611337" >;party=calling;privacy=off;screen=no > > > > v=0 > > o=FreeSWITCH 1427866745 1427866746 IN IP4 192.168.102.102 > > s=FreeSWITCH > > c=IN IP4 192.168.102.102 > > t=0 0 > > m=audio 31726 RTP/AVP 18 101 > > a=rtpmap:18 G729/8000 > > a=fmtp:18 annexb=no > > a=rtpmap:101 telephone-event/8000 > > a=fmtp:101 0-16 > > a=ptime:20 > > > > I have tried various (hopefully all) combinations of > inbound-codec-negotiation (generous, greedy and scrooge) and > inbound-late-negotiation (true, false). Nothing does what I want. > > > > I believe Freeswitch needs to negotiate the codecs with the endpoint and > choose one from my list. However, it seems to grab the first one in my > list before checking the endpoint. Then it offers only that codec to the > endpoint, which of course ignores / rejects it! > > > > What can I do? > > Regards > Andries > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150402/ad49eb8d/attachment-0001.html From andrew.keil at visytel.com Thu Apr 2 02:07:14 2015 From: andrew.keil at visytel.com (Andrew Keil) Date: Wed, 1 Apr 2015 22:07:14 +0000 Subject: [Freeswitch-users] Re- Freetdm version inside FreeSWITCH In-Reply-To: <4E435EC8-832C-4155-82D1-C784B20504A3@jerris.com> References: <4E435EC8-832C-4155-82D1-C784B20504A3@jerris.com> Message-ID: Michael, I will definitely ask them next week. Andrew From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Michael Jerris Sent: Thursday, 2 April 2015 7:34 AM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Re- Freetdm version inside FreeSWITCH Sangoma has direct commit access to our tree to commit these changes. In the past they pushed the changes directly in on a regular basis, you would have to ask them in what way they have changed this approach. On Mar 31, 2015, at 7:03 PM, Andrew Keil > wrote: To FreeSWITCH users, I am not sure if this should be posted inside the developers mailing list, however I thought I would start here first. Currently I am setting up a FreeSWITCH system (using the current production release version) in the UK which will be running off BT (British Telecom) and use both SIP and ISDN30e. The ISDN side will use Sangoma A104DE cards (which I have just purchased and I am testing currently). Now the fun begins? I came across an Open Circuit alarm issue, which Sangoma are investigating, which then caused an unmapped debug message to happen (correctly from inside FreeSWITCH ftmod_wanpipe.c). Sangoma then suggested I run: ftp://ftp.sangoma.com/linux/custom/freetdm/freetdm-1.9.0.tar.gz {since this has a temporary fix to skip open circuit alarms and let FreeSWITCH continue to run with no DEBUG messages, also it adds a header (ftmod_wanpipe_defines.h) to enable mapping of alarm status values to plain English ? instead of the current unmapped message} Which brings me to my primary question: Sangoma have advised me that they manage freetdm and I should use their version. However when I look at the source to ftmod_wanpipe.c (for example) their version (freetdm-1.9.0) has the following header: Copyright (c) 2007-2012, Anthony Minessale II vs. FreeSWITCH current version: Copyright (c) 2007-2014, Anthony Minessale II. Obviously there are other additions/changes done by Sangoma (including the Open Circuit alarm skipping). So what is FreeSWITCH?s point of view on this? Do you merge the changes every months from Sangoma?s freetdm or simply expect the freetdm component to be overwritten by Sangoma?s current version prior to FreeSWITCH being built? My main aim is to have a reasonably well supported system and not come across issues that have already been found and fixed by either Sangoma or FreeSWITCH. Thanks in advance for any feedback on this, as I just want to make sure I am using an agreed best version of freetdm. Andrew Keil Visytel Pty Ltd -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150401/0acfb76a/attachment.html From ing.antonyam at gmail.com Thu Apr 2 02:31:10 2015 From: ing.antonyam at gmail.com (Ing. Antonyam ) Date: Wed, 1 Apr 2015 16:31:10 -0600 Subject: [Freeswitch-users] Error Mod_lua. In-Reply-To: References: Message-ID: Hi I change of permisi?n and Now i have this error: 2015-04-01 10:39:34.860517 [ERR] mod_lua.cpp:203 ...itch/scripts/resources/functions/database_handle.lua:5: attempt to index global 'database' (a nil value) stack traceback: ...itch/scripts/resources/functions/database_handle.lua:5: in function 'database_handle' ...ml_handler/resources/scripts/directory/directory.lua:113: in main chunk [C]: in function 'dofile' ...r/local/freeswitch/scripts/app/xml_handler/index.lua:110: in main chunk /usr/local/freeswitch/scripts/app.lua:50: in main chunk 2015-04-01 10:39:34.860530 [ERR] mod_lua.cpp:269 LUA script parse/ejecutes Regatas. > El 31/03/2015, a las 13:35, Steven Ayre escribi?: > > It's probably a file permission problem. Linux returns the same 'no such file' error for both missing files and permission errors. > > Does the 'freeswitch' user have +r on the file and +rx on every directory component in the path - either through user (u), group (g) or other (o)? > >> On 31 March 2015 at 20:21, Antony Aguirre Morales wrote: >> Hi, >> >> Install fusionpbx to manage freeswitch, perform the configuration of lua module enable these lines in lua.conf.xml >> >> >> >> >> I am using the script for the configuration that comes in the pbx in the following path: >> >> / var / www / html / fusionpbx / resources / install / scripts >> >> copy them to the following path freeswitch: >> >> / usr / local / freeswitch / scripts / >> >> but when you start freeswitch shows me the following errors have some idea: >> >> 2015-03-31 07:47:15.386121 [ERR] mod_lua.cpp:203 cannot open /usr/local/freeswitch/scripts/resources/config.lua: No such file or directory >> stack traceback: >> [C]: in function 'dofile' >> /usr/local/freeswitch/scripts/app.lua:30: in main chunk >> 2015-03-31 07:47:15.386121 [ERR] mod_lua.cpp:269 LUA script parse/execute error! >> 2015-03-31 07:47:15.386121 [ERR] mod_lua.cpp:203 cannot open /usr/local/freeswitch/scripts/resources/config.lua: No such file or directory >> stack traceback: >> [C]: in function 'dofile' >> /usr/local/freeswitch/scripts/app.lua:30: in main chunk >> 2015-03-31 07:47:15.386121 [ERR] mod_lua.cpp:269 LUA script parse/execute error! >> 2015-03-31 07:47:15.386121 [ERR] mod_lua.cpp:203 cannot open /usr/local/freeswitch/scripts/resources/config.lua: No such file or directory >> stack traceback: >> [C]: in function 'dofile' >> /usr/local/freeswitch/scripts/app.lua:30: in main chunk >> 2015-03-31 07:47:15.386121 [ERR] mod_lua.cpp:269 LUA script parse/execute error! >> >> Regards. >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150401/ab83869f/attachment-0001.html From ssinyagin at gmail.com Thu Apr 2 03:12:19 2015 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Thu, 2 Apr 2015 01:12:19 +0200 Subject: [Freeswitch-users] Transfer/shift calls from one freeswitch to other freeswitch box In-Reply-To: References: Message-ID: even with point-to-point calls, this looks quite difficult, but for a running conference -- rather unfeasible. You can stop sending new calls to the server 1 hour before maintenance, and just drop the remaining calls. This would be cheap and quite acceptable for most use cases. On Wed, Apr 1, 2015 at 11:30 PM, Varghese Paul wrote: > Hi Luiz, > > Thanks for your answer. But my use case is different. I don't want to bridge > calls b/w two freeswitch boxes. I wanted to shift/replace the call in > Freeswitch A to Freeswitch B. > > As I stated in my previous mail I wanted to achieve this use case for > maintaining the Freeswitch servers in production. I am running freeswitch as > a conference server and I wanted to transfer this conference into other > conference server for restart/reboot the serivces in the machine. > >>>>>>>CONFERENCE_A ----> Freeswitch A Box --->> Transfer this >>>>>>> call/conference to other Freeswitch Box B ---> Do the maintance in >>>>>>> Freeswitch Box A > > I am not sure whether I can achieve this in Freeswitch. > > Regards > > Varghese Paul > > On Wed, Apr 1, 2015 at 2:17 PM, Luiz Fernando Softov > wrote: >> >> You can use gateway... >> >> Lets Say you have two Freeswitchs A 192.168.1.10 and B 192.168.2.10 >> >> In FS A you have a extension 1001, and in FS B extension 2001 >> >> >> In FS A, you need a gateway in external profile, to connect with FS B, its >> like: >> >> >> >> >> >> >> >> >> >> >> You can read more in >> >> https://wiki.freeswitch.org/wiki/Clarification:gateways >> >> >> https://freeswitch.org/confluence/display/FREESWITCH/Gateways+Configuration >> >> >> Then when you make a call in FS A, in your dialplan, you need to make a >> bridge using gateway >> >> >> >> >> > data="sofia/gateway/gateway-fs-b/${destination_number}"/> >> >> >> >> >> Now when you make a Call, to 2XXX, you shoud receive a call in FS-B >> >> In FS B, you need to have extension 2000, used by gateway to register and >> to make calls >> And of course, extension 2001. >> >> If you want to receive Caller ID 1001 of FS A >> >> dont use variables in extension 2000.xml >> >> >> >> >> >> It's a way to do this. >> >> >> -- >> Luiz Fernando Softov >> http://www.softov.com.br >> fernando at softov.com.br >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org From varghesepaul87 at gmail.com Thu Apr 2 03:26:39 2015 From: varghesepaul87 at gmail.com (Varghese Paul) Date: Wed, 1 Apr 2015 16:26:39 -0700 Subject: [Freeswitch-users] Transfer/shift calls from one freeswitch to other freeswitch box In-Reply-To: References: Message-ID: Hi Stanish, That is exactly we are doing right now. But since it is conference server we should wait more time for channels to hangup. So thinking to shift those calls to other server for a faster maintain process (less than a day atleast) . If freeswitch can transfer the call like (BLIND/ATTENDED transfer) to other server ( we should send REINVITE to all the parties for RTP modification) then we can achieve this. I am checking is there any option in freeswitch or we should develop something on top of freeswitch to transfer the call to other freeswitch box Regards Varghese Paul On Wed, Apr 1, 2015 at 4:12 PM, Stanislav Sinyagin wrote: > even with point-to-point calls, this looks quite difficult, but for a > running conference -- rather unfeasible. > > You can stop sending new calls to the server 1 hour before > maintenance, and just drop the remaining calls. This would be cheap > and quite acceptable for most use cases. > > > > > On Wed, Apr 1, 2015 at 11:30 PM, Varghese Paul > wrote: > > Hi Luiz, > > > > Thanks for your answer. But my use case is different. I don't want to > bridge > > calls b/w two freeswitch boxes. I wanted to shift/replace the call in > > Freeswitch A to Freeswitch B. > > > > As I stated in my previous mail I wanted to achieve this use case for > > maintaining the Freeswitch servers in production. I am running > freeswitch as > > a conference server and I wanted to transfer this conference into other > > conference server for restart/reboot the serivces in the machine. > > > >>>>>>>CONFERENCE_A ----> Freeswitch A Box --->> Transfer this > >>>>>>> call/conference to other Freeswitch Box B ---> Do the maintance in > >>>>>>> Freeswitch Box A > > > > I am not sure whether I can achieve this in Freeswitch. > > > > Regards > > > > Varghese Paul > > > > On Wed, Apr 1, 2015 at 2:17 PM, Luiz Fernando Softov > > wrote: > >> > >> You can use gateway... > >> > >> Lets Say you have two Freeswitchs A 192.168.1.10 and B 192.168.2.10 > >> > >> In FS A you have a extension 1001, and in FS B extension 2001 > >> > >> > >> In FS A, you need a gateway in external profile, to connect with FS B, > its > >> like: > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> You can read more in > >> > >> https://wiki.freeswitch.org/wiki/Clarification:gateways > >> > >> > >> > https://freeswitch.org/confluence/display/FREESWITCH/Gateways+Configuration > >> > >> > >> Then when you make a call in FS A, in your dialplan, you need to make a > >> bridge using gateway > >> > >> > >> > >> > >> >> data="sofia/gateway/gateway-fs-b/${destination_number}"/> > >> > >> > >> > >> > >> Now when you make a Call, to 2XXX, you shoud receive a call in FS-B > >> > >> In FS B, you need to have extension 2000, used by gateway to register > and > >> to make calls > >> And of course, extension 2001. > >> > >> If you want to receive Caller ID 1001 of FS A > >> > >> dont use variables in extension 2000.xml > >> > >> > >> > >> > >> > >> It's a way to do this. > >> > >> > >> -- > >> Luiz Fernando Softov > >> http://www.softov.com.br > >> fernando at softov.com.br > >> > >> > _________________________________________________________________________ > >> Professional FreeSWITCH Consulting Services: > >> consulting at freeswitch.org > >> http://www.freeswitchsolutions.com > >> > >> Official FreeSWITCH Sites > >> http://www.freeswitch.org > >> http://confluence.freeswitch.org > >> http://www.cluecon.com > >> > >> FreeSWITCH-users mailing list > >> FreeSWITCH-users at lists.freeswitch.org > >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >> http://www.freeswitch.org > > > > > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150401/5c3da10d/attachment.html From krice at freeswitch.org Thu Apr 2 04:24:16 2015 From: krice at freeswitch.org (Ken Rice) Date: Thu, 02 Apr 2015 00:24:16 +0000 Subject: [Freeswitch-users] Happy April 1st Message-ID: <551c8c3016173_da0352132c148ed@resque-worker-ip-10-154-7-32.mail> New Post on freeswitch.org from anthm check it out at http://ift.tt/1F4FlvZ Happy April 1st Spring is in the air and so is FreeSWITCH 1.6! Don?t forget to make plans for ClueCon 2015 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150402/f94e48cc/attachment.html From mike at jerris.com Thu Apr 2 06:49:27 2015 From: mike at jerris.com (Michael Jerris) Date: Wed, 1 Apr 2015 22:49:27 -0400 Subject: [Freeswitch-users] Happy April 1st In-Reply-To: <551c8c3016173_da0352132c148ed@resque-worker-ip-10-154-7-32.mail> References: <551c8c3016173_da0352132c148ed@resque-worker-ip-10-154-7-32.mail> Message-ID: <1F08FD3E-9C45-4681-950D-D8B5B528276D@jerris.com> Exciting new features... > On Apr 1, 2015, at 8:24 PM, Ken Rice wrote: > > New Post on freeswitch.org from anthm > check it out at http://ift.tt/1F4FlvZ > Happy April 1st > Spring is in the air and so is FreeSWITCH 1.6! Don?t forget to make plans for ClueCon 2015 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150401/ff80e726/attachment-0001.html From apventer at gmail.com Thu Apr 2 11:05:33 2015 From: apventer at gmail.com (Andries Venter) Date: Thu, 2 Apr 2015 09:05:33 +0200 Subject: [Freeswitch-users] Codecs (Again!) In-Reply-To: References: Message-ID: I tried the settings for late negotiation without success (before I mailed the list!). I had an action application="answer" statement in my dialplan. This seems to override the whole negotiation process! After I removed that, the negotiation is done properly. Thank you Ahmed for the suggestion, even if it did not really solve the problem. On Wed, Apr 1, 2015 at 11:48 PM, Ahmed Sboor wrote: > Hi Andries , > You should again look on > https://wiki.freeswitch.org/wiki/Codec_Negotiation > > And i think easiest way is using *absolute_codec_string *before briding > to "G729" only PABX. > > Ahmed > > > On Wed, Apr 1, 2015 at 7:51 PM, Andries Venter wrote: > >> I am using Freeswitch (1.4.8) as an SBC between our company PABX and our >> ISP's Trunk (also terminating on an SBC). >> >> My problem is that I need G729 in some cases and PCMA in others (the >> majority). >> >> >> >> The setup looks more or less like this: >> >> Our PABX (192.168.102.215)=>(192.168.102.102)Our SBC >> (10.17.159.10)=>(10.17.159.9)ISP SBC=>Rest of the world >> >> >> >> Since we use private addresses, Freeswitch must do RTP proxying. No >> transcoding must be done!!! >> >> >> >> I have set global_codec_prefs to "PCMA,G729". Then everything to >> destination supporting PCMA works. When trying to connect to a >> G729-only PABX, the call fails. Leg A is setup as follows >> >> >> >> 192.168.102.215.5060 > 192.168.102.102.5090: SIP, length: 933 >> >> INVITE sip:0873611337 at 192.168.102.102:5090;transport=udp SIP/2.0 >> >> To: >> >> From: "JGD Winson" > >;tag=snl_iFGEOrlLLf >> >> Call-ID: SEC11-a64a8c0-1e64a8c0-1-9lz36fM4mXAo >> >> CSeq: 1235 INVITE >> >> Contact: < >> sip:anonymous at 192.168.102.215:5060;maddr=192.168.102.215> >> >> Via: SIP/2.0/UDP 192.168.102.215:5060 >> ;branch=z9hG4bKSEC-a64a8c0-1e64a8c0-1-5nUh73XkOk >> >> Content-Type: application/sdp >> >> Content-Length: 288 >> >> X-Siemens-Call-Type: ST-insecure >> >> Accept-Language: en;q=0.0 >> >> Allow: REGISTER, INVITE, ACK, BYE, CANCEL, NOTIFY, REFER, INFO >> >> Date: Wed, 01 Apr 2015 14:30:15 GMT >> >> Max-Forwards: 69 >> >> >> >> v=0 >> >> o=MxSIP 0 105140472 IN IP4 10.11.32.226 >> >> s=SIP Call >> >> c=IN IP4 10.11.32.226 >> >> t=0 0 >> >> m=audio 5014 RTP/AVP 8 0 18 101 >> >> a=rtpmap:8 PCMA/8000 >> >> a=rtpmap:0 PCMU/8000 >> >> a=rtpmap:18 G729/8000 >> >> a=rtpmap:101 telephone-event/8000 >> >> a=silenceSupp:off - - - - >> >> a=fmtp:18 annexb=no >> >> a=fmtp:101 0-15 >> >> >> >> 192.168.102.102.5090 > 192.168.102.215.5060: SIP, length: 396 >> >> SIP/2.0 100 Trying >> >> Via: SIP/2.0/UDP 192.168.102.215:5060 >> ;branch=z9hG4bKSEC-a64a8c0-1e64a8c0-1-5nUh73XkOk >> >> From: "JGD Winson" > >;tag=snl_iFGEOrlLLf >> >> To: >> >> Call-ID: SEC11-a64a8c0-1e64a8c0-1-9lz36fM4mXAo >> >> CSeq: 1235 INVITE >> >> User-Agent: >> FreeSWITCH-mod_sofia/1.4.18+git~20150312T185523Z~4eed221b69~64bit >> >> Content-Length: 0 >> >> >> >> 192.168.102.102.5090 > 192.168.102.215.5060: SIP, length: 1201 >> >> SIP/2.0 200 OK >> >> Via: SIP/2.0/UDP 192.168.102.215:5060 >> ;branch=z9hG4bKSEC-a64a8c0-1e64a8c0-1-5nUh73XkOk >> >> From: "JGD Winson" > >;tag=snl_iFGEOrlLLf >> >> To: ;tag=BytX6X1t7HytF >> >> Call-ID: SEC11-a64a8c0-1e64a8c0-1-9lz36fM4mXAo >> >> CSeq: 1235 INVITE >> >> Contact: >> >> User-Agent: >> FreeSWITCH-mod_sofia/1.4.18+git~20150312T185523Z~4eed221b69~64bit >> >> Accept: application/sdp >> >> Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, >> REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE >> >> Supported: timer, path, replaces >> >> Allow-Events: talk, hold, conference, presence, >> as-feature-event, dialog, line-seize, call-info, sla, >> include-session-description, presence.winfo, message-summary, refer >> >> Content-Type: application/sdp >> >> Content-Disposition: session >> >> Content-Length: 226 >> >> Remote-Party-ID: "0873611337" > >;party=calling;privacy=off;screen=no >> >> >> >> v=0 >> >> o=FreeSWITCH 1427881297 1427881298 IN IP4 192.168.102.102 >> >> s=FreeSWITCH >> >> c=IN IP4 192.168.102.102 >> >> t=0 0 >> >> m=audio 17318 RTP/AVP 8 101 >> >> a=rtpmap:8 PCMA/8000 >> >> a=rtpmap:101 telephone-event/8000 >> >> a=fmtp:101 0-16 >> >> a=ptime:20 >> >> >> >> >> >> When I change my global_codec_prefs to "G729,PCMA", G729 is offered to >> our PABX by Freeswitch, then to the ISP and then it works to destinations >> supporting G729. It fails to destinations not supporting G729. Now Leg >> A is setup as follows: >> >> >> >> 192.168.102.215.5060 > 192.168.102.102.5090: SIP, length: 934 >> >> INVITE sip:0873611337 at 192.168.102.102:5090;transport=udp SIP/2.0 >> >> To: >> >> From: "JGD Winson" > >;tag=snl_8NZMvB3KNA >> >> Call-ID: SEC11-a64a8c0-1e64a8c0-1-k6bGtU73W2Vm >> >> CSeq: 1235 INVITE >> >> Contact: < >> sip:anonymous at 192.168.102.215:5060;maddr=192.168.102.215> >> >> Via: SIP/2.0/UDP 192.168.102.215:5060 >> ;branch=z9hG4bKSEC-a64a8c0-1e64a8c0-1-ZO003uQGh0 >> >> Content-Type: application/sdp >> >> Content-Length: 289 >> >> X-Siemens-Call-Type: ST-insecure >> >> Accept-Language: en;q=0.0 >> >> Allow: REGISTER, INVITE, ACK, BYE, CANCEL, NOTIFY, REFER, INFO >> >> Date: Wed, 01 Apr 2015 14:27:51 GMT >> >> Max-Forwards: 69 >> >> >> >> v=0 >> >> o=MxSIP 0 1224193414 IN IP4 10.11.32.226 >> >> s=SIP Call >> >> c=IN IP4 10.11.32.226 >> >> t=0 0 >> >> m=audio 5014 RTP/AVP 8 0 18 101 >> >> a=rtpmap:8 PCMA/8000 >> >> a=rtpmap:0 PCMU/8000 >> >> a=rtpmap:18 G729/8000 >> >> a=rtpmap:101 telephone-event/8000 >> >> a=silenceSupp:off - - - - >> >> a=fmtp:18 annexb=no >> >> a=fmtp:101 0-15 >> >> >> >> 192.168.102.102.5090 > 192.168.102.215.5060: SIP, length: 396 >> >> SIP/2.0 100 Trying >> >> Via: SIP/2.0/UDP 192.168.102.215:5060 >> ;branch=z9hG4bKSEC-a64a8c0-1e64a8c0-1-ZO003uQGh0 >> >> From: "JGD Winson" > >;tag=snl_8NZMvB3KNA >> >> To: >> >> Call-ID: SEC11-a64a8c0-1e64a8c0-1-k6bGtU73W2Vm >> >> CSeq: 1235 INVITE >> >> User-Agent: >> FreeSWITCH-mod_sofia/1.4.18+git~20150312T185523Z~4eed221b69~64bit >> >> Content-Length: 0 >> >> >> >> 192.168.102.102.5090 > 192.168.102.215.5060: SIP, length: 1224 >> >> SIP/2.0 200 OK >> >> Via: SIP/2.0/UDP 192.168.102.215:5060 >> ;branch=z9hG4bKSEC-a64a8c0-1e64a8c0-1-ZO003uQGh0 >> >> From: "JGD Winson" > >;tag=snl_8NZMvB3KNA >> >> To: ;tag=g2eKXDUB6y4Hr >> >> Call-ID: SEC11-a64a8c0-1e64a8c0-1-k6bGtU73W2Vm >> >> CSeq: 1235 INVITE >> >> Contact: >> >> User-Agent: >> FreeSWITCH-mod_sofia/1.4.18+git~20150312T185523Z~4eed221b69~64bit >> >> Accept: application/sdp >> >> Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, >> REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE >> >> Supported: timer, path, replaces >> >> Allow-Events: talk, hold, conference, presence, >> as-feature-event, dialog, line-seize, call-info, sla, >> include-session-description, presence.winfo, message-summary, refer >> >> Content-Type: application/sdp >> >> Content-Disposition: session >> >> Content-Length: 249 >> >> Remote-Party-ID: "0873611337" > >;party=calling;privacy=off;screen=no >> >> >> >> v=0 >> >> o=FreeSWITCH 1427866745 1427866746 IN IP4 192.168.102.102 >> >> s=FreeSWITCH >> >> c=IN IP4 192.168.102.102 >> >> t=0 0 >> >> m=audio 31726 RTP/AVP 18 101 >> >> a=rtpmap:18 G729/8000 >> >> a=fmtp:18 annexb=no >> >> a=rtpmap:101 telephone-event/8000 >> >> a=fmtp:101 0-16 >> >> a=ptime:20 >> >> >> >> I have tried various (hopefully all) combinations of >> inbound-codec-negotiation (generous, greedy and scrooge) and >> inbound-late-negotiation (true, false). Nothing does what I want. >> >> >> >> I believe Freeswitch needs to negotiate the codecs with the endpoint and >> choose one from my list. However, it seems to grab the first one in my >> list before checking the endpoint. Then it offers only that codec to >> the endpoint, which of course ignores / rejects it! >> >> >> >> What can I do? >> >> Regards >> Andries >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150402/b5fb1dbf/attachment-0001.html From vma at 440hz.fr Thu Apr 2 12:43:33 2015 From: vma at 440hz.fr (Vallimamod Abdullah) Date: Thu, 2 Apr 2015 10:43:33 +0200 Subject: [Freeswitch-users] Transfer/shift calls from one freeswitch to other freeswitch box In-Reply-To: References: Message-ID: <868D25CF-AA04-465F-AC20-E0BE432EA98E@440hz.fr> Hi, You may use sofia recover from the other box, provided you have a shared db. Have a look at https://wiki.freeswitch.org/wiki/Freeswitch_HA#Failover_to_a_Second_Server Best Regards, Vallimamod . > On 01 Apr 2015, at 01:33, Varghese Paul wrote: > > Hi all, > > Is it possible to transfer/forward calls from one freeswitch box to other box ?. > > Use case: We wanted to do some maintenance on one freeswitch server and thinking to transfer/shift the current calls in one server to other server. Is there any way to route the calls to other freeswitch server without hanging up the call?. I know we should send Re-INVITE to other users for modifying the RTP IP + RTP port number for the new Freeswitch IP. > > Is it possible to achieve in freeswitch ? > > Regards > > Varghese Paul > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150402/cc7860e6/attachment.html From ahmed at netelsat.net Thu Apr 2 12:55:26 2015 From: ahmed at netelsat.net (Ahmed Sboor) Date: Thu, 2 Apr 2015 13:55:26 +0500 Subject: [Freeswitch-users] Codecs (Again!) In-Reply-To: References: Message-ID: Actually we had same issues with few soft switches and we resolved it by using separate profiles at all , though absolute codec string also worked perfect . Am Glad its done and thanks for sharing the cause of problem. On Thu, Apr 2, 2015 at 12:05 PM, Andries Venter wrote: > I tried the settings for late negotiation without success (before I mailed > the list!). I had an action application="answer" statement in my > dialplan. This seems to override the whole negotiation process! After I > removed that, the negotiation is done properly. > Thank you Ahmed for the suggestion, even if it did not really solve the > problem. > > On Wed, Apr 1, 2015 at 11:48 PM, Ahmed Sboor wrote: > >> Hi Andries , >> You should again look on >> https://wiki.freeswitch.org/wiki/Codec_Negotiation >> >> And i think easiest way is using *absolute_codec_string *before briding >> to "G729" only PABX. >> >> Ahmed >> >> >> On Wed, Apr 1, 2015 at 7:51 PM, Andries Venter >> wrote: >> >>> I am using Freeswitch (1.4.8) as an SBC between our company PABX and our >>> ISP's Trunk (also terminating on an SBC). >>> >>> My problem is that I need G729 in some cases and PCMA in others (the >>> majority). >>> >>> >>> >>> The setup looks more or less like this: >>> >>> Our PABX (192.168.102.215)=>(192.168.102.102)Our SBC >>> (10.17.159.10)=>(10.17.159.9)ISP SBC=>Rest of the world >>> >>> >>> >>> Since we use private addresses, Freeswitch must do RTP proxying. No >>> transcoding must be done!!! >>> >>> >>> >>> I have set global_codec_prefs to "PCMA,G729". Then everything to >>> destination supporting PCMA works. When trying to connect to a >>> G729-only PABX, the call fails. Leg A is setup as follows >>> >>> >>> >>> 192.168.102.215.5060 > 192.168.102.102.5090: SIP, length: 933 >>> >>> INVITE sip:0873611337 at 192.168.102.102:5090;transport=udp SIP/2.0 >>> >>> To: >>> >>> From: "JGD Winson" >> >;tag=snl_iFGEOrlLLf >>> >>> Call-ID: SEC11-a64a8c0-1e64a8c0-1-9lz36fM4mXAo >>> >>> CSeq: 1235 INVITE >>> >>> Contact: < >>> sip:anonymous at 192.168.102.215:5060;maddr=192.168.102.215> >>> >>> Via: SIP/2.0/UDP 192.168.102.215:5060 >>> ;branch=z9hG4bKSEC-a64a8c0-1e64a8c0-1-5nUh73XkOk >>> >>> Content-Type: application/sdp >>> >>> Content-Length: 288 >>> >>> X-Siemens-Call-Type: ST-insecure >>> >>> Accept-Language: en;q=0.0 >>> >>> Allow: REGISTER, INVITE, ACK, BYE, CANCEL, NOTIFY, REFER, INFO >>> >>> Date: Wed, 01 Apr 2015 14:30:15 GMT >>> >>> Max-Forwards: 69 >>> >>> >>> >>> v=0 >>> >>> o=MxSIP 0 105140472 IN IP4 10.11.32.226 >>> >>> s=SIP Call >>> >>> c=IN IP4 10.11.32.226 >>> >>> t=0 0 >>> >>> m=audio 5014 RTP/AVP 8 0 18 101 >>> >>> a=rtpmap:8 PCMA/8000 >>> >>> a=rtpmap:0 PCMU/8000 >>> >>> a=rtpmap:18 G729/8000 >>> >>> a=rtpmap:101 telephone-event/8000 >>> >>> a=silenceSupp:off - - - - >>> >>> a=fmtp:18 annexb=no >>> >>> a=fmtp:101 0-15 >>> >>> >>> >>> 192.168.102.102.5090 > 192.168.102.215.5060: SIP, length: 396 >>> >>> SIP/2.0 100 Trying >>> >>> Via: SIP/2.0/UDP 192.168.102.215:5060 >>> ;branch=z9hG4bKSEC-a64a8c0-1e64a8c0-1-5nUh73XkOk >>> >>> From: "JGD Winson" >> >;tag=snl_iFGEOrlLLf >>> >>> To: >>> >>> Call-ID: SEC11-a64a8c0-1e64a8c0-1-9lz36fM4mXAo >>> >>> CSeq: 1235 INVITE >>> >>> User-Agent: >>> FreeSWITCH-mod_sofia/1.4.18+git~20150312T185523Z~4eed221b69~64bit >>> >>> Content-Length: 0 >>> >>> >>> >>> 192.168.102.102.5090 > 192.168.102.215.5060: SIP, length: 1201 >>> >>> SIP/2.0 200 OK >>> >>> Via: SIP/2.0/UDP 192.168.102.215:5060 >>> ;branch=z9hG4bKSEC-a64a8c0-1e64a8c0-1-5nUh73XkOk >>> >>> From: "JGD Winson" >> >;tag=snl_iFGEOrlLLf >>> >>> To: >> >;tag=BytX6X1t7HytF >>> >>> Call-ID: SEC11-a64a8c0-1e64a8c0-1-9lz36fM4mXAo >>> >>> CSeq: 1235 INVITE >>> >>> Contact: >>> >>> User-Agent: >>> FreeSWITCH-mod_sofia/1.4.18+git~20150312T185523Z~4eed221b69~64bit >>> >>> Accept: application/sdp >>> >>> Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, >>> UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE >>> >>> Supported: timer, path, replaces >>> >>> Allow-Events: talk, hold, conference, presence, >>> as-feature-event, dialog, line-seize, call-info, sla, >>> include-session-description, presence.winfo, message-summary, refer >>> >>> Content-Type: application/sdp >>> >>> Content-Disposition: session >>> >>> Content-Length: 226 >>> >>> Remote-Party-ID: "0873611337" >> >;party=calling;privacy=off;screen=no >>> >>> >>> >>> v=0 >>> >>> o=FreeSWITCH 1427881297 1427881298 IN IP4 192.168.102.102 >>> >>> s=FreeSWITCH >>> >>> c=IN IP4 192.168.102.102 >>> >>> t=0 0 >>> >>> m=audio 17318 RTP/AVP 8 101 >>> >>> a=rtpmap:8 PCMA/8000 >>> >>> a=rtpmap:101 telephone-event/8000 >>> >>> a=fmtp:101 0-16 >>> >>> a=ptime:20 >>> >>> >>> >>> >>> >>> When I change my global_codec_prefs to "G729,PCMA", G729 is offered to >>> our PABX by Freeswitch, then to the ISP and then it works to destinations >>> supporting G729. It fails to destinations not supporting G729. Now >>> Leg A is setup as follows: >>> >>> >>> >>> 192.168.102.215.5060 > 192.168.102.102.5090: SIP, length: 934 >>> >>> INVITE sip:0873611337 at 192.168.102.102:5090;transport=udp SIP/2.0 >>> >>> To: >>> >>> From: "JGD Winson" >> >;tag=snl_8NZMvB3KNA >>> >>> Call-ID: SEC11-a64a8c0-1e64a8c0-1-k6bGtU73W2Vm >>> >>> CSeq: 1235 INVITE >>> >>> Contact: < >>> sip:anonymous at 192.168.102.215:5060;maddr=192.168.102.215> >>> >>> Via: SIP/2.0/UDP 192.168.102.215:5060 >>> ;branch=z9hG4bKSEC-a64a8c0-1e64a8c0-1-ZO003uQGh0 >>> >>> Content-Type: application/sdp >>> >>> Content-Length: 289 >>> >>> X-Siemens-Call-Type: ST-insecure >>> >>> Accept-Language: en;q=0.0 >>> >>> Allow: REGISTER, INVITE, ACK, BYE, CANCEL, NOTIFY, REFER, INFO >>> >>> Date: Wed, 01 Apr 2015 14:27:51 GMT >>> >>> Max-Forwards: 69 >>> >>> >>> >>> v=0 >>> >>> o=MxSIP 0 1224193414 IN IP4 10.11.32.226 >>> >>> s=SIP Call >>> >>> c=IN IP4 10.11.32.226 >>> >>> t=0 0 >>> >>> m=audio 5014 RTP/AVP 8 0 18 101 >>> >>> a=rtpmap:8 PCMA/8000 >>> >>> a=rtpmap:0 PCMU/8000 >>> >>> a=rtpmap:18 G729/8000 >>> >>> a=rtpmap:101 telephone-event/8000 >>> >>> a=silenceSupp:off - - - - >>> >>> a=fmtp:18 annexb=no >>> >>> a=fmtp:101 0-15 >>> >>> >>> >>> 192.168.102.102.5090 > 192.168.102.215.5060: SIP, length: 396 >>> >>> SIP/2.0 100 Trying >>> >>> Via: SIP/2.0/UDP 192.168.102.215:5060 >>> ;branch=z9hG4bKSEC-a64a8c0-1e64a8c0-1-ZO003uQGh0 >>> >>> From: "JGD Winson" >> >;tag=snl_8NZMvB3KNA >>> >>> To: >>> >>> Call-ID: SEC11-a64a8c0-1e64a8c0-1-k6bGtU73W2Vm >>> >>> CSeq: 1235 INVITE >>> >>> User-Agent: >>> FreeSWITCH-mod_sofia/1.4.18+git~20150312T185523Z~4eed221b69~64bit >>> >>> Content-Length: 0 >>> >>> >>> >>> 192.168.102.102.5090 > 192.168.102.215.5060: SIP, length: 1224 >>> >>> SIP/2.0 200 OK >>> >>> Via: SIP/2.0/UDP 192.168.102.215:5060 >>> ;branch=z9hG4bKSEC-a64a8c0-1e64a8c0-1-ZO003uQGh0 >>> >>> From: "JGD Winson" >> >;tag=snl_8NZMvB3KNA >>> >>> To: >> >;tag=g2eKXDUB6y4Hr >>> >>> Call-ID: SEC11-a64a8c0-1e64a8c0-1-k6bGtU73W2Vm >>> >>> CSeq: 1235 INVITE >>> >>> Contact: >>> >>> User-Agent: >>> FreeSWITCH-mod_sofia/1.4.18+git~20150312T185523Z~4eed221b69~64bit >>> >>> Accept: application/sdp >>> >>> Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, >>> UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE >>> >>> Supported: timer, path, replaces >>> >>> Allow-Events: talk, hold, conference, presence, >>> as-feature-event, dialog, line-seize, call-info, sla, >>> include-session-description, presence.winfo, message-summary, refer >>> >>> Content-Type: application/sdp >>> >>> Content-Disposition: session >>> >>> Content-Length: 249 >>> >>> Remote-Party-ID: "0873611337" >> >;party=calling;privacy=off;screen=no >>> >>> >>> >>> v=0 >>> >>> o=FreeSWITCH 1427866745 1427866746 IN IP4 192.168.102.102 >>> >>> s=FreeSWITCH >>> >>> c=IN IP4 192.168.102.102 >>> >>> t=0 0 >>> >>> m=audio 31726 RTP/AVP 18 101 >>> >>> a=rtpmap:18 G729/8000 >>> >>> a=fmtp:18 annexb=no >>> >>> a=rtpmap:101 telephone-event/8000 >>> >>> a=fmtp:101 0-16 >>> >>> a=ptime:20 >>> >>> >>> >>> I have tried various (hopefully all) combinations of >>> inbound-codec-negotiation (generous, greedy and scrooge) and >>> inbound-late-negotiation (true, false). Nothing does what I want. >>> >>> >>> >>> I believe Freeswitch needs to negotiate the codecs with the endpoint and >>> choose one from my list. However, it seems to grab the first one in my >>> list before checking the endpoint. Then it offers only that codec to >>> the endpoint, which of course ignores / rejects it! >>> >>> >>> >>> What can I do? >>> >>> Regards >>> Andries >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150402/90991518/attachment-0001.html From vma at 440hz.fr Thu Apr 2 12:56:05 2015 From: vma at 440hz.fr (Vallimamod Abdullah) Date: Thu, 2 Apr 2015 10:56:05 +0200 Subject: [Freeswitch-users] Re- Freetdm version inside FreeSWITCH In-Reply-To: <4E435EC8-832C-4155-82D1-C784B20504A3@jerris.com> References: <4E435EC8-832C-4155-82D1-C784B20504A3@jerris.com> Message-ID: <5566D3C5-E97F-4011-9262-61AD38DCA04B@440hz.fr> Hi, I have the same issue as Andrew with ftmod_sangoma_ss7: the last commit from sangoma is from May 1st, 2014. So that would be great! Thank you, Vallimamod . > On 01 Apr 2015, at 22:34, Michael Jerris wrote: > > Sangoma has direct commit access to our tree to commit these changes. In the past they pushed the changes directly in on a regular basis, you would have to ask them in what way they have changed this approach. > > >> On Mar 31, 2015, at 7:03 PM, Andrew Keil wrote: >> >> To FreeSWITCH users, >> >> I am not sure if this should be posted inside the developers mailing list, however I thought I would start here first. >> >> Currently I am setting up a FreeSWITCH system (using the current production release version) in the UK which will be running off BT (British Telecom) and use both SIP and ISDN30e. >> >> The ISDN side will use Sangoma A104DE cards (which I have just purchased and I am testing currently). >> >> Now the fun begins? >> >> I came across an Open Circuit alarm issue, which Sangoma are investigating, which then caused an unmapped debug message to happen (correctly from inside FreeSWITCH ftmod_wanpipe.c). >> >> Sangoma then suggested I run: ftp://ftp.sangoma.com/linux/custom/freetdm/freetdm-1.9.0.tar.gz >> >> {since this has a temporary fix to skip open circuit alarms and let FreeSWITCH continue to run with no DEBUG messages, also it adds a header (ftmod_wanpipe_defines.h) to enable mapping of alarm status values to plain English ? instead of the current unmapped message} >> >> Which brings me to my primary question: >> >> Sangoma have advised me that they manage freetdm and I should use their version. However when I look at the source to ftmod_wanpipe.c (for example) their version (freetdm-1.9.0) has the following header: Copyright (c) 2007-2012, Anthony Minessale II vs. FreeSWITCH current version: Copyright (c) 2007-2014, Anthony Minessale II. Obviously there are other additions/changes done by Sangoma (including the Open Circuit alarm skipping). >> >> So what is FreeSWITCH?s point of view on this? Do you merge the changes every months from Sangoma?s freetdm or simply expect the freetdm component to be overwritten by Sangoma?s current version prior to FreeSWITCH being built? >> >> My main aim is to have a reasonably well supported system and not come across issues that have already been found and fixed by either Sangoma or FreeSWITCH. >> >> Thanks in advance for any feedback on this, as I just want to make sure I am using an agreed best version of freetdm. >> >> Andrew Keil >> Visytel Pty Ltd From denis at ringme.ru Thu Apr 2 13:09:48 2015 From: denis at ringme.ru (=?UTF-8?B?0JTQtdC90LjRgQ==?=) Date: Thu, 02 Apr 2015 12:09:48 +0300 Subject: [Freeswitch-users] Happy April 1st In-Reply-To: <551c8c3016173_da0352132c148ed@resque-worker-ip-10-154-7-32.mail> References: <551c8c3016173_da0352132c148ed@resque-worker-ip-10-154-7-32.mail> Message-ID: <551D075C.9020702@ringme.ru> On 02.04.2015 03:24, Ken Rice wrote: > New Post on freeswitch.org from anthm > check it out at http://ift.tt/1F4FlvZ > Happy April 1st Good feature, why not? On videochats - must have ))) From steveayre at gmail.com Thu Apr 2 14:10:44 2015 From: steveayre at gmail.com (Steven Ayre) Date: Thu, 2 Apr 2015 11:10:44 +0100 Subject: [Freeswitch-users] Error Mod_lua. In-Reply-To: References: Message-ID: 2015-04-01 10:39:34.860517 [ERR] mod_lua.cpp:203 ...itch/scripts/resources/functions/database_handle.lua:5: attempt to index global 'database' (a nil value) That means you're trying to use a variable named database that has not yet been set. On 1 April 2015 at 23:31, Ing. Antonyam wrote: > Hi > > I change of permisi?n and Now i have this error: > > 2015-04-01 10:39:34.860517 [ERR] mod_lua.cpp:203 > ...itch/scripts/resources/functions/database_handle.lua:5: attempt to index > global 'database' (a nil value) > stack traceback: > ...itch/scripts/resources/functions/database_handle.lua:5: in function > 'database_handle' > ...ml_handler/resources/scripts/directory/directory.lua:113: in main chunk > [C]: in function 'dofile' > ...r/local/freeswitch/scripts/app/xml_handler/index.lua:110: in main chunk > /usr/local/freeswitch/scripts/app.lua:50: in main chunk > 2015-04-01 10:39:34.860530 [ERR] mod_lua.cpp:269 LUA script parse/ejecutes > > Regatas. > > El 31/03/2015, a las 13:35, Steven Ayre escribi?: > > It's probably a file permission problem. Linux returns the same 'no such > file' error for both missing files and permission errors. > > Does the 'freeswitch' user have +r on the file and +rx on every directory > component in the path - either through user (u), group (g) or other (o)? > > On 31 March 2015 at 20:21, Antony Aguirre Morales > wrote: > >> Hi, >> >> Install fusionpbx to manage freeswitch, perform the configuration of lua >> module enable these lines in lua.conf.xml >> >> >> >> >> I am using the script for the configuration that comes in the pbx in the >> following path: >> >> / var / www / html / fusionpbx / resources / install / scripts >> >> copy them to the following path freeswitch: >> >> / usr / local / freeswitch / scripts / >> >> but when you start freeswitch shows me the following errors have some >> idea: >> >> 2015-03-31 07:47:15.386121 [ERR] mod_lua.cpp:203 cannot open >> /usr/local/freeswitch/scripts/resources/config.lua: No such file or >> directory >> stack traceback: >> [C]: in function 'dofile' >> /usr/local/freeswitch/scripts/app.lua:30: in main chunk >> 2015-03-31 07:47:15.386121 [ERR] mod_lua.cpp:269 LUA script parse/execute >> error! >> 2015-03-31 07:47:15.386121 [ERR] mod_lua.cpp:203 cannot open >> /usr/local/freeswitch/scripts/resources/config.lua: No such file or >> directory >> stack traceback: >> [C]: in function 'dofile' >> /usr/local/freeswitch/scripts/app.lua:30: in main chunk >> 2015-03-31 07:47:15.386121 [ERR] mod_lua.cpp:269 LUA script parse/execute >> error! >> 2015-03-31 07:47:15.386121 [ERR] mod_lua.cpp:203 cannot open >> /usr/local/freeswitch/scripts/resources/config.lua: No such file or >> directory >> stack traceback: >> [C]: in function 'dofile' >> /usr/local/freeswitch/scripts/app.lua:30: in main chunk >> 2015-03-31 07:47:15.386121 [ERR] mod_lua.cpp:269 LUA script parse/execute >> error! >> >> Regards. >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150402/0a416224/attachment.html From hagayl at machshevet.com Thu Apr 2 14:01:35 2015 From: hagayl at machshevet.com (Hagay Levi) Date: Thu, 2 Apr 2015 13:01:35 +0300 Subject: [Freeswitch-users] the condtion fail when ${dialed_extension} =1001 but not fail when =1011 Message-ID: I asked in freeswitch.org/jira in this link : https://freeswitch.org/jira/browse/FS-7335 , And ?talo Ross suggested me to send email to freeswitch-users mailing list. *Thanks in advance* -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150402/8f40dd1a/attachment.html From fl at workmansoft.com Thu Apr 2 18:59:45 2015 From: fl at workmansoft.com (Fredrik Larsson) Date: Thu, 2 Apr 2015 16:59:45 +0200 Subject: [Freeswitch-users] Originate_timeout longer than 5 minutes? Message-ID: Hi, I am sending originate_timeout=600 on ESL but it always terminates after 5 minutes e.g. 300 seconds. I have tried to find out if there is some hardcoded max variable but I can't find it. Do anyone know if there is some other variable I can change to get higher value or is this per design? Regards, Fredrik -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150402/065ccd70/attachment-0001.html From omortimer at gmail.com Thu Apr 2 19:32:31 2015 From: omortimer at gmail.com (Oz Mortimer) Date: Thu, 2 Apr 2015 16:32:31 +0100 Subject: [Freeswitch-users] Originate_timeout longer than 5 minutes? In-Reply-To: References: Message-ID: <0820A3EA-98F5-493F-A625-ED74745268A6@gmail.com> Its probably your RTP timeout in sip_profiles - wrote: > Hi, > > I am sending originate_timeout=600 on ESL but it always terminates after 5 > minutes e.g. 300 seconds. > I have tried to find out if there is some hardcoded max variable but I > can't find it. > Do anyone know if there is some other variable I can change to get higher > value or is this per design? > > Regards, Fredrik > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150402/cb7a103e/attachment.html From andrew at cassidywebservices.co.uk Thu Apr 2 20:32:09 2015 From: andrew at cassidywebservices.co.uk (Andrew Cassidy) Date: Thu, 2 Apr 2015 17:32:09 +0100 Subject: [Freeswitch-users] Originate_timeout longer than 5 minutes? In-Reply-To: References: Message-ID: Where are you sending this too? It's also possible the remote end is terminating the call. On 2 April 2015 at 17:26, Stanislav Sinyagin wrote: > Just curious, in what use case you would need that? > On Apr 2, 2015 5:24 PM, "Fredrik Larsson" wrote: > >> Hi, >> >> I am sending originate_timeout=600 on ESL but it always terminates after >> 5 minutes e.g. 300 seconds. >> I have tried to find out if there is some hardcoded max variable but I >> can't find it. >> Do anyone know if there is some other variable I can change to get higher >> value or is this per design? >> >> Regards, Fredrik >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- *Andrew Cassidy BSc (Hons) MBCS SSCA* Managing Director *T *03300 100 960 *F *03300 100 961 *E *andrew at cassidywebservices.co.uk *W *www.cassidywebservices.co.uk -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150402/b4db6b4b/attachment.html From t.mahe at b-and-c.net Thu Apr 2 21:08:48 2015 From: t.mahe at b-and-c.net (=?windows-1252?Q?Tristan_Mah=E9?=) Date: Thu, 02 Apr 2015 10:08:48 -0700 Subject: [Freeswitch-users] WebRTC video conference In-Reply-To: References: Message-ID: <551D77A0.2000200@b-and-c.net> Currently you already have video conferences, it'll display the active speaker video to other members. You may have forgotten to allow the codec. Freeswitch source is under massive changes now to add video features, expect it in 1.6 for transcode. Le 02/04/2015 09:16, Adam Ben-Ayoun a ?crit : > Hi guys, > > We are currently using Freeswitch as an MCU for audio only using > WebRTC on the client. We want to add support for video (using VP8) > such that in any point in time there is either no video or video is > streaming from one member to all the others. Is there a way to achieve > this using only Freeswitch? > > Thanks, > Adam > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150402/c1f97b93/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 473 bytes Desc: OpenPGP digital signature Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150402/c1f97b93/attachment-0001.bin From nasida at live.ru Thu Apr 2 21:17:52 2015 From: nasida at live.ru (Yuriy Nasida) Date: Thu, 2 Apr 2015 20:17:52 +0300 Subject: [Freeswitch-users] unexpected segfault with latest debian and libmyodbc.so In-Reply-To: References: , , Message-ID: I have updated unixodbc to 2.3 (from source) and looks like it fixed the problem. Thanks guys! Date: Fri, 27 Mar 2015 17:39:55 -0500 From: anthony.minessale at gmail.com To: freeswitch-users at lists.freeswitch.org Subject: Re: [Freeswitch-users] unexpected segfault with latest debian and libmyodbc.so We actually recommend Threading=0 for postgres and mysql for the most part. On Fri, Mar 27, 2015 at 7:48 AM, ?talo Rossi wrote: I have seen a lot of threading issues with mysql + odbc, make sure you're using unixodbc >= 2.3. If you're using an older version you can set Threading = 2 in your /etc/odbcinst.ini as a workaround, but this is *not* recommended for production/high volume, upgrade as soon as possible. On Fri, Mar 27, 2015 at 9:41 AM, Yuriy Nasida wrote: Hi guys, I just got unexpected segfault I try to understand if anybody had similar problems. Mar 26 07:00:19 kernel: [226389.252971] freeswitch[7972]: segfault at 500 ip 00007fd3a8362252 sp 00007fd34a7d9f70 error 4 in libmyodbc.so[7fd3a8340000+3c000] # lsb_release -a Distributor ID: Debian Description: Debian GNU/Linux 7.8 (wheezy) Release: 7.8 Codename: wheezy freeswitch at internal> version FreeSWITCH Version 1.4.15+git~20141229T185951Z~507a0f22c5~64bit (git 507a0f2 2014-12-29 18:59:51Z 64bit) # apt-cache show libmyodbc Package: libmyodbc Source: myodbc Version: 5.1.10-2+deb7u1 Please advice, Thanks. _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -- ?talo Rossi _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -- Anthony Minessale II ? @anthmfs ? @FreeSWITCH ? ? http://freeswitch.org/ ? http://cluecon.com/ ? http://twitter.com/FreeSWITCH? irc.freenode.net #freeswitch ? http://freeswitch.org/g+ ClueCon Weekly Development Call ? sip:888 at conference.freeswitch.org ? +19193869900 https://www.youtube.com/watch?v=9XXgW34t40s _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150402/34bc079d/attachment.html From adam.ben.ayoun1 at gmail.com Thu Apr 2 21:18:39 2015 From: adam.ben.ayoun1 at gmail.com (Adam Ben-Ayoun) Date: Thu, 2 Apr 2015 20:18:39 +0300 Subject: [Freeswitch-users] WebRTC video conference In-Reply-To: <551D77A0.2000200@b-and-c.net> References: <551D77A0.2000200@b-and-c.net> Message-ID: Sounds good. My question is if it's enough configurable so that we can apply different logic to when to enable video from a single user to all the others. On Thursday, April 2, 2015, Tristan Mah? wrote: > Currently you already have video conferences, it'll display the active > speaker video to other members. > > You may have forgotten to allow the codec. > > Freeswitch source is under massive changes now to add video features, > expect it in 1.6 for transcode. > > > Le 02/04/2015 09:16, Adam Ben-Ayoun a ?crit : > > Hi guys, > > We are currently using Freeswitch as an MCU for audio only using WebRTC > on the client. We want to add support for video (using VP8) such that in > any point in time there is either no video or video is streaming from one > member to all the others. Is there a way to achieve this using only > Freeswitch? > > Thanks, > Adam > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com > > Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com > > FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150402/8a02b4a5/attachment.html From mike at jerris.com Thu Apr 2 21:23:53 2015 From: mike at jerris.com (Michael Jerris) Date: Thu, 2 Apr 2015 13:23:53 -0400 Subject: [Freeswitch-users] WebRTC video conference In-Reply-To: References: <551D77A0.2000200@b-and-c.net> Message-ID: Take a look at https://freeswitch.org/confluence/display/FREESWITCH/mod_conference which has already been updated for 1.6 features. Let us know if you still have any questions after seeing all that you can do. Mike > On Apr 2, 2015, at 1:18 PM, Adam Ben-Ayoun wrote: > > Sounds good. My question is if it's enough configurable so that we can apply different logic to when to enable video from a single user to all the others. > > On Thursday, April 2, 2015, Tristan Mah? > wrote: > Currently you already have video conferences, it'll display the active speaker video to other members. > > You may have forgotten to allow the codec. > > Freeswitch source is under massive changes now to add video features, expect it in 1.6 for transcode. > > > Le 02/04/2015 09:16, Adam Ben-Ayoun a ?crit : >> Hi guys, >> >> We are currently using Freeswitch as an MCU for audio only using WebRTC on the client. We want to add support for video (using VP8) such that in any point in time there is either no video or video is streaming from one member to all the others. Is there a way to achieve this using only Freeswitch? >> >> Thanks, >> Adam -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150402/a128489c/attachment.html From anthony.minessale at gmail.com Thu Apr 2 21:26:15 2015 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Thu, 2 Apr 2015 12:26:15 -0500 Subject: [Freeswitch-users] WebRTC video conference In-Reply-To: References: <551D77A0.2000200@b-and-c.net> Message-ID: See here for a preview. https://www.youtube.com/watch?v=TbUm2Vt6uWk On Thu, Apr 2, 2015 at 12:23 PM, Michael Jerris wrote: > Take a look at > https://freeswitch.org/confluence/display/FREESWITCH/mod_conference which > has already been updated for 1.6 features. Let us know if you still have > any questions after seeing all that you can do. > > Mike > > On Apr 2, 2015, at 1:18 PM, Adam Ben-Ayoun > wrote: > > Sounds good. My question is if it's enough configurable so that we can > apply different logic to when to enable video from a single user to all the > others. > > On Thursday, April 2, 2015, Tristan Mah? wrote: > >> Currently you already have video conferences, it'll display the active >> speaker video to other members. >> >> You may have forgotten to allow the codec. >> >> Freeswitch source is under massive changes now to add video features, >> expect it in 1.6 for transcode. >> >> >> Le 02/04/2015 09:16, Adam Ben-Ayoun a ?crit : >> >> Hi guys, >> >> We are currently using Freeswitch as an MCU for audio only using WebRTC >> on the client. We want to add support for video (using VP8) such that in >> any point in time there is either no video or video is streaming from one >> member to all the others. Is there a way to achieve this using only >> Freeswitch? >> >> Thanks, >> Adam >> >> > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Anthony Minessale II ? @anthmfs ? @FreeSWITCH ? ? http://freeswitch.org/ ? http://cluecon.com/ ? http://twitter.com/FreeSWITCH ? irc.freenode.net #freeswitch ? *http://freeswitch.org/g+ * ClueCon Weekly Development Call ? sip:888 at conference.freeswitch.org ? +19193869900 https://www.youtube.com/watch?v=9XXgW34t40s -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150402/910aef7c/attachment-0001.html From ssinyagin at gmail.com Thu Apr 2 21:47:53 2015 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Thu, 2 Apr 2015 19:47:53 +0200 Subject: [Freeswitch-users] Originate_timeout longer than 5 minutes? In-Reply-To: References: Message-ID: It could be a SIP related timeout. But needs more details on what's going on on the network side. A packet trace would be helpful. On Apr 2, 2015 5:24 PM, "Fredrik Larsson" wrote: > Hi, > > I am sending originate_timeout=600 on ESL but it always terminates after 5 > minutes e.g. 300 seconds. > I have tried to find out if there is some hardcoded max variable but I > can't find it. > Do anyone know if there is some other variable I can change to get higher > value or is this per design? > > Regards, Fredrik > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150402/86e24e74/attachment.html From varghesepaul87 at gmail.com Thu Apr 2 21:57:10 2015 From: varghesepaul87 at gmail.com (Varghese Paul) Date: Thu, 2 Apr 2015 10:57:10 -0700 Subject: [Freeswitch-users] Originate_timeout longer than 5 minutes? In-Reply-To: References: Message-ID: Hi , Enable sofia sip trace and paste the console log. command : sofia global siptrace on Regards Paul On Thu, Apr 2, 2015 at 10:47 AM, Stanislav Sinyagin wrote: > It could be a SIP related timeout. But needs more details on what's going > on on the network side. A packet trace would be helpful. > > On Apr 2, 2015 5:24 PM, "Fredrik Larsson" wrote: > >> Hi, >> >> I am sending originate_timeout=600 on ESL but it always terminates after >> 5 minutes e.g. 300 seconds. >> I have tried to find out if there is some hardcoded max variable but I >> can't find it. >> Do anyone know if there is some other variable I can change to get higher >> value or is this per design? >> >> Regards, Fredrik >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150402/6cb76a83/attachment.html From fl at workmansoft.com Thu Apr 2 22:54:44 2015 From: fl at workmansoft.com (Fredrik Larsson) Date: Thu, 2 Apr 2015 20:54:44 +0200 Subject: [Freeswitch-users] Originate_timeout longer than 5 minutes? In-Reply-To: References: Message-ID: Thanks for the tips I get a 504 gateway timeout about the same time the call is dropped. I am providing a callback solution that forwards the call to a PBX. Is there any way to send some kind of keep alive to the PBX so it doesn't give me timeout? Regards, Fredrik *Fredrik Larsson* Phone: +46 708 65 68 20 Web: www.workmansoft.com 2015-04-02 19:57 GMT+02:00 Varghese Paul : > Hi , > > Enable sofia sip trace and paste the console log. > > command : sofia global siptrace on > > Regards > > Paul > > On Thu, Apr 2, 2015 at 10:47 AM, Stanislav Sinyagin > wrote: > >> It could be a SIP related timeout. But needs more details on what's going >> on on the network side. A packet trace would be helpful. >> >> On Apr 2, 2015 5:24 PM, "Fredrik Larsson" wrote: >> >>> Hi, >>> >>> I am sending originate_timeout=600 on ESL but it always terminates after >>> 5 minutes e.g. 300 seconds. >>> I have tried to find out if there is some hardcoded max variable but I >>> can't find it. >>> Do anyone know if there is some other variable I can change to get >>> higher value or is this per design? >>> >>> Regards, Fredrik >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150402/85a4073f/attachment.html From italorossib at gmail.com Thu Apr 2 23:19:13 2015 From: italorossib at gmail.com (=?UTF-8?B?w410YWxvIFJvc3Np?=) Date: Thu, 2 Apr 2015 16:19:13 -0300 Subject: [Freeswitch-users] unexpected segfault with latest debian and libmyodbc.so In-Reply-To: References: Message-ID: Great! :) On Thu, Apr 2, 2015 at 2:17 PM, Yuriy Nasida wrote: > I have updated unixodbc to 2.3 (from source) and looks like it fixed the > problem. Thanks guys! > > > ------------------------------ > Date: Fri, 27 Mar 2015 17:39:55 -0500 > From: anthony.minessale at gmail.com > To: freeswitch-users at lists.freeswitch.org > Subject: Re: [Freeswitch-users] unexpected segfault with latest debian and > libmyodbc.so > > > We actually recommend Threading=0 for postgres and mysql for the most part. > > > On Fri, Mar 27, 2015 at 7:48 AM, ?talo Rossi > wrote: > > I have seen a lot of threading issues with mysql + odbc, make sure you're > using unixodbc >= 2.3. > > If you're using an older version you can set Threading = 2 in your > /etc/odbcinst.ini as a workaround, but this is *not* recommended for > production/high volume, upgrade as soon as possible. > > On Fri, Mar 27, 2015 at 9:41 AM, Yuriy Nasida wrote: > > Hi guys, > > I just got unexpected segfault I try to understand if anybody had similar > problems. > > *Mar 26 07:00:19 kernel: [226389.252971] freeswitch[7972]: segfault at 500 > ip 00007fd3a8362252 sp 00007fd34a7d9f70 error 4 in > libmyodbc.so[7fd3a8340000+3c000]* > > > # lsb_release -a > Distributor ID: Debian > Description: Debian GNU/Linux 7.8 (wheezy) > Release: 7.8 > Codename: wheezy > > freeswitch at internal> version > FreeSWITCH Version 1.4.15+git~20141229T185951Z~507a0f22c5~64bit (git > 507a0f2 2014-12-29 18:59:51Z 64bit) > > # apt-cache show libmyodbc > Package: libmyodbc > Source: myodbc > Version: 5.1.10-2+deb7u1 > > Please advice, > Thanks. > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > > -- > ?talo Rossi > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > > -- > Anthony Minessale II ? @anthmfs ? @FreeSWITCH ? > > ? http://freeswitch.org/ ? http://cluecon.com/ ? > http://twitter.com/FreeSWITCH > ? irc.freenode.net #freeswitch ? *http://freeswitch.org/g+ > * > > ClueCon Weekly Development Call > [image: ?????? ???????] sip:888 at conference.freeswitch.org [image: ?????? > ???????] +19193869900 > > https://www.youtube.com/watch?v=9XXgW34t40s > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: consulting at freeswitch.org > http://www.freeswitchsolutions.com Official FreeSWITCH Sites > http://www.freeswitch.org http://confluence.freeswitch.org > http://www.cluecon.com FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- ?talo Rossi -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150402/0e92adfa/attachment-0001.html From fl at workmansoft.com Thu Apr 2 23:21:42 2015 From: fl at workmansoft.com (Fredrik Larsson) Date: Thu, 2 Apr 2015 21:21:42 +0200 Subject: [Freeswitch-users] Originate_timeout longer than 5 minutes? In-Reply-To: References: Message-ID: This is the log as well: 2015-04-02 21:16:28.729469 [DEBUG] mod_httapi.c:1218 Process Tag: [playback] 66eb8d8c-51f1-4a96-af26-a76fd65f86c9 2015-04-02 21:16:28.729469 [DEBUG] switch_ivr_play_say.c:1314 Codec Activated L16 at 8000hz 1 channels 20ms ..\..\sofia-sip\libsofia-sip-ua\tport\tport.c:2749 tport_wakeup_pri() tport_wakeup_pri(02632630): events IN ..\..\sofia-sip\libsofia-sip-ua\tport\tport.c:2864 tport_recv_event() tport_recv_event(02632630) ..\..\sofia-sip\libsofia-sip-ua\tport\tport.c:3205 tport_recv_iovec() tport(02632630) msg 03CE6898 from (udp/10.98.7.37:5070) has 472 bytes, veclen = 1 recv 472 bytes from udp/[10.44.33.16]:5060 at 19:16:28.991477: ------------------------------------------------------------------------ SIP/2.0 504 Gateway Timeout Via: SIP/2.0/UDP 10.98.7.37:5070;rport;branch=z9hG4bK3KvmXjNUaD61e From: "wm98991155" ;tag=3BU8reyaX4m6g Call-ID: e82eb3a4-540e-1233-2385-33f7f366dd04 CSeq: 73664880 INVITE Allow: INVITE,ACK,CANCEL,OPTIONS,BYE,INFO,NOTIFY,UPDATE Supported: timer Server: IP Office 9.0.5.0 build 972 Reason: Q.850;cause=102;text="Recovery on timer expiry" To: ;tag=5c965d7da3a12d47 Content-Length: 0 ------------------------------------------------------------------------ ..\..\sofia-sip\libsofia-sip-ua\tport\tport.c:3023 tport_deliver() tport(02632630): msg 03CE6898 (472 bytes) from udp/10.44.33.16:5070/sip next=00000000 ..\..\sofia-sip\libsofia-sip-ua\nta\nta.c:3299 agent_recv_response() nta: received 504 Gateway Timeout for INVITE (73664880) ..\..\sofia-sip\libsofia-sip-ua\nta\nta.c:3366 agent_recv_response() nta: 504 Gateway Timeout is going to a transaction ..\..\sofia-sip\libsofia-sip-ua\tport\tport.c:4222 tport_release() tport(02632630): 03CE6078 by 027C4748 with 03CE6898 ..\..\sofia-sip\libsofia-sip-ua\tport\tport.c:3257 tport_tsend() tport_tsend(02632630) tpn = UDP/10.44.33.16:5060 ..\..\sofia-sip\libsofia-sip-ua\tport\tport.c:4680 tport_by_addrinfo() tport(02632630): not found by name UDP/10.44.33.16:5060 send 323 bytes to udp/[10.44.33.16]:5060 at 19:16:28.991477: ------------------------------------------------------------------------ ACK sip:9999 at 10.44.33.16 SIP/2.0 Via: SIP/2.0/UDP 10.98.7.37:5070;rport;branch=z9hG4bK3KvmXjNUaD61e Max-Forwards: 70 From: "wm98991155" ;tag=3BU8reyaX4m6g To: ;tag=5c965d7da3a12d47 Call-ID: e82eb3a4-540e-1233-2385-33f7f366dd04 CSeq: 73664880 ACK Content-Length: 0 ------------------------------------------------------------------------ ..\..\sofia-sip\libsofia-sip-ua\nta\nta.c:8304 outgoing_send() nta: sent ACK (73664880) to UDP/10.44.33.16:5060 285c3556-b081-4ac7-bd62-b82129f4f362 2015-04-02 21:16:28.989475 [DEBUG] switch_core_session.c:1053 Send signal sofia/internal/9999 at 10.44.33.16 [BREAK] ..\..\sofia-sip\libsofia-sip-ua\nua\nua_session.c:4139 signal_call_state_change() nua(01D997F0): call state changed: proceeding -> init 285c3556-b081-4ac7-bd62-b82129f4f362 2015-04-02 21:16:28.989475 [DEBUG] switch_core_session.c:1053 Send signal sofia/internal/9999 at 10.44.33.16 [BREAK] 285c3556-b081-4ac7-bd62-b82129f4f362 2015-04-02 21:16:28.989475 [DEBUG] switch_core_session.c:1053 Send signal sofia/internal/9999 at 10.44.33.16 [BREAK] ..\..\sofia-sip\libsofia-sip-ua\nua\nua_dialog.c:397 nua_dialog_usage_remove_at() nua(01D997F0): removing session usage 285c3556-b081-4ac7-bd62-b82129f4f362 2015-04-02 21:16:28.989475 [DEBUG] sofia.c:5840 Remote Reason: 102 285c3556-b081-4ac7-bd62-b82129f4f362 2015-04-02 21:16:28.989475 [DEBUG] sofia.c:6614 Channel sofia/internal/9999 at 10.44.33.16 entering state [terminated][504] 285c3556-b081-4ac7-bd62-b82129f4f362 2015-04-02 21:16:28.989475 [NOTICE] sofia.c:7529 Hangup sofia/internal/9999 at 10.44.33.16 [CS_CONSUME_MEDIA] [RECOVERY_ON_TIMER_EXPIRE] 285c3556-b081-4ac7-bd62-b82129f4f362 2015-04-02 21:16:28.989475 [DEBUG] switch_channel.c:3222 Send signal sofia/internal/9999 at 10.44.33.16 [KILL] 285c3556-b081-4ac7-bd62-b82129f4f362 2015-04-02 21:16:28.989475 [DEBUG] switch_core_session.c:1388 Send signal sofia/internal/9999 at 10.44.33.16 [BREAK] ..\..\sofia-sip\libsofia-sip-ua\nua\nua_stack.c:529 nua_signal() nua(01D997F0): sent signal r_destroy 285c3556-b081-4ac7-bd62-b82129f4f362 2015-04-02 21:16:28.989475 [DEBUG] switch_core_state_machine.c:472 (sofia/internal/9999 at 10.44.33.16) Running State Change CS_HANGUP 285c3556-b081-4ac7-bd62-b82129f4f362 2015-04-02 21:16:28.989475 [DEBUG] switch_core_state_machine.c:735 (sofia/internal/9999 at 10.44.33.16) Callstate Change RINGING -> HANGUP 285c3556-b081-4ac7-bd62-b82129f4f362 2015-04-02 21:16:28.989475 [DEBUG] switch_core_state_machine.c:737 (sofia/internal/9999 at 10.44.33.16) State HANGUP 285c3556-b081-4ac7-bd62-b82129f4f362 2015-04-02 21:16:28.989475 [DEBUG] mod_sofia.c:413 Channel sofia/internal/9999 at 10.44.33.16 hanging up, cause: RECOVERY_ON_TIMER_EXPIRE 285c3556-b081-4ac7-bd62-b82129f4f362 2015-04-02 21:16:28.989475 [DEBUG] switch_core_state_machine.c:60 sofia/internal/9999 at 10.44.33.16 Standard HANGUP, cause: RECOVERY_ON_TIMER_EXPIRE 285c3556-b081-4ac7-bd62-b82129f4f362 2015-04-02 21:16:28.989475 [DEBUG] switch_core_state_machine.c:737 (sofia/internal/9999 at 10.44.33.16) State HANGUP going to sleep 285c3556-b081-4ac7-bd62-b82129f4f362 2015-04-02 21:16:28.989475 [DEBUG] switch_core_state_machine.c:504 (sofia/internal/9999 at 10.44.33.16) State Change CS_HANGUP -> CS_REPORTING 285c3556-b081-4ac7-bd62-b82129f4f362 2015-04-02 21:16:28.989475 [DEBUG] switch_core_session.c:1388 Send signal sofia/internal/9999 at 10.44.33.16 [BREAK] 285c3556-b081-4ac7-bd62-b82129f4f362 2015-04-02 21:16:28.989475 [DEBUG] switch_core_state_machine.c:472 (sofia/internal/9999 at 10.44.33.16) Running State Change CS_REPORTING 285c3556-b081-4ac7-bd62-b82129f4f362 2015-04-02 21:16:28.989475 [DEBUG] switch_core_state_machine.c:823 (sofia/internal/9999 at 10.44.33.16) State REPORTING 285c3556-b081-4ac7-bd62-b82129f4f362 2015-04-02 21:16:28.989475 [DEBUG] switch_core_state_machine.c:104 sofia/internal/9999 at 10.44.33.16 Standard REPORTING, cause: RECOVERY_ON_TIMER_EXPIRE 285c3556-b081-4ac7-bd62-b82129f4f362 2015-04-02 21:16:28.989475 [DEBUG] switch_core_state_machine.c:823 (sofia/internal/9999 at 10.44.33.16) State REPORTING going to sleep 285c3556-b081-4ac7-bd62-b82129f4f362 2015-04-02 21:16:28.989475 [DEBUG] switch_core_state_machine.c:498 (sofia/internal/9999 at 10.44.33.16) State Change CS_REPORTING -> CS_DESTROY 285c3556-b081-4ac7-bd62-b82129f4f362 2015-04-02 21:16:28.989475 [DEBUG] switch_core_session.c:1388 Send signal sofia/internal/9999 at 10.44.33.16 [BREAK] 285c3556-b081-4ac7-bd62-b82129f4f362 2015-04-02 21:16:28.989475 [DEBUG] switch_core_session.c:1615 Session 3 (sofia/internal/9999 at 10.44.33.16) Locked, Waiting on external entities 2015-04-02 21:16:28.989475 [DEBUG] switch_ivr_originate.c:3695 Originate Resulted in Error Cause: 102 [RECOVERY_ON_TIMER_EXPIRE] 285c3556-b081-4ac7-bd62-b82129f4f362 2015-04-02 21:16:28.989475 [NOTICE] switch_core_session.c:1633 Session 3 (sofia/internal/9999 at 10.44.33.16) Ended 285c3556-b081-4ac7-bd62-b82129f4f362 2015-04-02 21:16:28.989475 [NOTICE] switch_core_session.c:1637 Close Channel sofia/internal/9999 at 10.44.33.16 [CS_DESTROY] 285c3556-b081-4ac7-bd62-b82129f4f362 2015-04-02 21:16:28.989475 [DEBUG] switch_core_state_machine.c:626 (sofia/internal/9999 at 10.44.33.16) Running State Change CS_DESTROY 285c3556-b081-4ac7-bd62-b82129f4f362 2015-04-02 21:16:28.989475 [DEBUG] switch_core_state_machine.c:636 (sofia/internal/9999 at 10.44.33.16) State DESTROY 285c3556-b081-4ac7-bd62-b82129f4f362 2015-04-02 21:16:28.989475 [DEBUG] mod_sofia.c:323 sofia/internal/9999 at 10.44.33.16 SOFIA DESTROY 285c3556-b081-4ac7-bd62-b82129f4f362 2015-04-02 21:16:28.989475 [DEBUG] switch_core_state_machine.c:111 sofia/internal/9999 at 10.44.33.16 Standard DESTROY 285c3556-b081-4ac7-bd62-b82129f4f362 2015-04-02 21:16:28.989475 [DEBUG] switch_core_state_machine.c:636 (sofia/internal/9999 at 10.44.33.16) State DESTROY going to sleep -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150402/bbc731a3/attachment.html From varghesepaul87 at gmail.com Thu Apr 2 23:46:56 2015 From: varghesepaul87 at gmail.com (Varghese Paul) Date: Thu, 2 Apr 2015 12:46:56 -0700 Subject: [Freeswitch-users] Originate_timeout longer than 5 minutes? In-Reply-To: References: Message-ID: Hi Fredick, Your PBX is giving 504 Gateway timeout and not sure how it will solve the issue by sending the keep-alive. Once the call answered if you want to send any KEEP alive for the particular call you can use SIP session timer. enable-timer This enables or disables support for RFC 4028 SIP Session Timers. session-timeout session timers for all call to expire after the specified seconds Then it will send another invite (re-invite). If not specified defaults to 30 minutes. Some gateways may reject values less than 30 minutes. This values refers to Session-Expires in RFC 4028 (The time at which an element will consider the session timed out, if no successful session refresh transaction occurs beforehand) But for your problem I strongly recommend you to check the issue in your PBX side where we are getting 504 error. Regards Paul On Thu, Apr 2, 2015 at 12:21 PM, Fredrik Larsson wrote: > This is the log as well: > > 2015-04-02 21:16:28.729469 [DEBUG] mod_httapi.c:1218 Process Tag: > [playback] > 66eb8d8c-51f1-4a96-af26-a76fd65f86c9 2015-04-02 21:16:28.729469 [DEBUG] > switch_ivr_play_say.c:1314 Codec Activated L16 at 8000hz 1 channels 20ms > ..\..\sofia-sip\libsofia-sip-ua\tport\tport.c:2749 tport_wakeup_pri() > tport_wakeup_pri(02632630): events IN > ..\..\sofia-sip\libsofia-sip-ua\tport\tport.c:2864 tport_recv_event() > tport_recv_event(02632630) > ..\..\sofia-sip\libsofia-sip-ua\tport\tport.c:3205 tport_recv_iovec() > tport(02632630) msg 03CE6898 from (udp/10.98.7.37:5070) has 472 bytes, > veclen = 1 > recv 472 bytes from udp/[10.44.33.16]:5060 at 19:16:28.991477: > ------------------------------------------------------------------------ > SIP/2.0 504 Gateway Timeout > Via: SIP/2.0/UDP 10.98.7.37:5070;rport;branch=z9hG4bK3KvmXjNUaD61e > From: "wm98991155" ;tag=3BU8reyaX4m6g > Call-ID: e82eb3a4-540e-1233-2385-33f7f366dd04 > CSeq: 73664880 INVITE > Allow: INVITE,ACK,CANCEL,OPTIONS,BYE,INFO,NOTIFY,UPDATE > Supported: timer > Server: IP Office 9.0.5.0 build 972 > Reason: Q.850;cause=102;text="Recovery on timer expiry" > To: ;tag=5c965d7da3a12d47 > Content-Length: 0 > > ------------------------------------------------------------------------ > ..\..\sofia-sip\libsofia-sip-ua\tport\tport.c:3023 tport_deliver() > tport(02632630): msg 03CE6898 (472 bytes) from udp/10.44.33.16:5070/sip > next=00000000 > ..\..\sofia-sip\libsofia-sip-ua\nta\nta.c:3299 agent_recv_response() nta: > received 504 Gateway Timeout for INVITE (73664880) > ..\..\sofia-sip\libsofia-sip-ua\nta\nta.c:3366 agent_recv_response() nta: > 504 Gateway Timeout is going to a transaction > ..\..\sofia-sip\libsofia-sip-ua\tport\tport.c:4222 tport_release() > tport(02632630): 03CE6078 by 027C4748 with 03CE6898 > ..\..\sofia-sip\libsofia-sip-ua\tport\tport.c:3257 tport_tsend() > tport_tsend(02632630) tpn = UDP/10.44.33.16:5060 > ..\..\sofia-sip\libsofia-sip-ua\tport\tport.c:4680 tport_by_addrinfo() > tport(02632630): not found by name UDP/10.44.33.16:5060 > send 323 bytes to udp/[10.44.33.16]:5060 at 19:16:28.991477: > ------------------------------------------------------------------------ > ACK sip:9999 at 10.44.33.16 SIP/2.0 > Via: SIP/2.0/UDP 10.98.7.37:5070;rport;branch=z9hG4bK3KvmXjNUaD61e > Max-Forwards: 70 > From: "wm98991155" ;tag=3BU8reyaX4m6g > To: ;tag=5c965d7da3a12d47 > Call-ID: e82eb3a4-540e-1233-2385-33f7f366dd04 > CSeq: 73664880 ACK > Content-Length: 0 > > ------------------------------------------------------------------------ > ..\..\sofia-sip\libsofia-sip-ua\nta\nta.c:8304 outgoing_send() nta: sent > ACK (73664880) to UDP/10.44.33.16:5060 > 285c3556-b081-4ac7-bd62-b82129f4f362 2015-04-02 21:16:28.989475 [DEBUG] > switch_core_session.c:1053 Send signal sofia/internal/9999 at 10.44.33.16 > [BREAK] > ..\..\sofia-sip\libsofia-sip-ua\nua\nua_session.c:4139 > signal_call_state_change() nua(01D997F0): call state changed: proceeding -> > init > 285c3556-b081-4ac7-bd62-b82129f4f362 2015-04-02 21:16:28.989475 [DEBUG] > switch_core_session.c:1053 Send signal sofia/internal/9999 at 10.44.33.16 > [BREAK] > 285c3556-b081-4ac7-bd62-b82129f4f362 2015-04-02 21:16:28.989475 [DEBUG] > switch_core_session.c:1053 Send signal sofia/internal/9999 at 10.44.33.16 > [BREAK] > ..\..\sofia-sip\libsofia-sip-ua\nua\nua_dialog.c:397 > nua_dialog_usage_remove_at() nua(01D997F0): removing session usage > 285c3556-b081-4ac7-bd62-b82129f4f362 2015-04-02 21:16:28.989475 [DEBUG] > sofia.c:5840 Remote Reason: 102 > 285c3556-b081-4ac7-bd62-b82129f4f362 2015-04-02 21:16:28.989475 [DEBUG] > sofia.c:6614 Channel sofia/internal/9999 at 10.44.33.16 entering state > [terminated][504] > 285c3556-b081-4ac7-bd62-b82129f4f362 2015-04-02 21:16:28.989475 [NOTICE] > sofia.c:7529 Hangup sofia/internal/9999 at 10.44.33.16 [CS_CONSUME_MEDIA] > [RECOVERY_ON_TIMER_EXPIRE] > 285c3556-b081-4ac7-bd62-b82129f4f362 2015-04-02 21:16:28.989475 [DEBUG] > switch_channel.c:3222 Send signal sofia/internal/9999 at 10.44.33.16 [KILL] > 285c3556-b081-4ac7-bd62-b82129f4f362 2015-04-02 21:16:28.989475 [DEBUG] > switch_core_session.c:1388 Send signal sofia/internal/9999 at 10.44.33.16 > [BREAK] > ..\..\sofia-sip\libsofia-sip-ua\nua\nua_stack.c:529 nua_signal() > nua(01D997F0): sent signal r_destroy > 285c3556-b081-4ac7-bd62-b82129f4f362 2015-04-02 21:16:28.989475 [DEBUG] > switch_core_state_machine.c:472 (sofia/internal/9999 at 10.44.33.16) Running > State Change CS_HANGUP > 285c3556-b081-4ac7-bd62-b82129f4f362 2015-04-02 21:16:28.989475 [DEBUG] > switch_core_state_machine.c:735 (sofia/internal/9999 at 10.44.33.16) > Callstate Change RINGING -> HANGUP > 285c3556-b081-4ac7-bd62-b82129f4f362 2015-04-02 21:16:28.989475 [DEBUG] > switch_core_state_machine.c:737 (sofia/internal/9999 at 10.44.33.16) State > HANGUP > 285c3556-b081-4ac7-bd62-b82129f4f362 2015-04-02 21:16:28.989475 [DEBUG] > mod_sofia.c:413 Channel sofia/internal/9999 at 10.44.33.16 hanging up, > cause: RECOVERY_ON_TIMER_EXPIRE > 285c3556-b081-4ac7-bd62-b82129f4f362 2015-04-02 21:16:28.989475 [DEBUG] > switch_core_state_machine.c:60 sofia/internal/9999 at 10.44.33.16 Standard > HANGUP, cause: RECOVERY_ON_TIMER_EXPIRE > 285c3556-b081-4ac7-bd62-b82129f4f362 2015-04-02 21:16:28.989475 [DEBUG] > switch_core_state_machine.c:737 (sofia/internal/9999 at 10.44.33.16) State > HANGUP going to sleep > 285c3556-b081-4ac7-bd62-b82129f4f362 2015-04-02 21:16:28.989475 [DEBUG] > switch_core_state_machine.c:504 (sofia/internal/9999 at 10.44.33.16) State > Change CS_HANGUP -> CS_REPORTING > 285c3556-b081-4ac7-bd62-b82129f4f362 2015-04-02 21:16:28.989475 [DEBUG] > switch_core_session.c:1388 Send signal sofia/internal/9999 at 10.44.33.16 > [BREAK] > 285c3556-b081-4ac7-bd62-b82129f4f362 2015-04-02 21:16:28.989475 [DEBUG] > switch_core_state_machine.c:472 (sofia/internal/9999 at 10.44.33.16) Running > State Change CS_REPORTING > 285c3556-b081-4ac7-bd62-b82129f4f362 2015-04-02 21:16:28.989475 [DEBUG] > switch_core_state_machine.c:823 (sofia/internal/9999 at 10.44.33.16) State > REPORTING > 285c3556-b081-4ac7-bd62-b82129f4f362 2015-04-02 21:16:28.989475 [DEBUG] > switch_core_state_machine.c:104 sofia/internal/9999 at 10.44.33.16 Standard > REPORTING, cause: RECOVERY_ON_TIMER_EXPIRE > 285c3556-b081-4ac7-bd62-b82129f4f362 2015-04-02 21:16:28.989475 [DEBUG] > switch_core_state_machine.c:823 (sofia/internal/9999 at 10.44.33.16) State > REPORTING going to sleep > 285c3556-b081-4ac7-bd62-b82129f4f362 2015-04-02 21:16:28.989475 [DEBUG] > switch_core_state_machine.c:498 (sofia/internal/9999 at 10.44.33.16) State > Change CS_REPORTING -> CS_DESTROY > 285c3556-b081-4ac7-bd62-b82129f4f362 2015-04-02 21:16:28.989475 [DEBUG] > switch_core_session.c:1388 Send signal sofia/internal/9999 at 10.44.33.16 > [BREAK] > 285c3556-b081-4ac7-bd62-b82129f4f362 2015-04-02 21:16:28.989475 [DEBUG] > switch_core_session.c:1615 Session 3 (sofia/internal/9999 at 10.44.33.16) > Locked, Waiting on external entities > 2015-04-02 21:16:28.989475 [DEBUG] switch_ivr_originate.c:3695 Originate > Resulted in Error Cause: 102 [RECOVERY_ON_TIMER_EXPIRE] > 285c3556-b081-4ac7-bd62-b82129f4f362 2015-04-02 21:16:28.989475 [NOTICE] > switch_core_session.c:1633 Session 3 (sofia/internal/9999 at 10.44.33.16) > Ended > 285c3556-b081-4ac7-bd62-b82129f4f362 2015-04-02 21:16:28.989475 [NOTICE] > switch_core_session.c:1637 Close Channel sofia/internal/9999 at 10.44.33.16 > [CS_DESTROY] > 285c3556-b081-4ac7-bd62-b82129f4f362 2015-04-02 21:16:28.989475 [DEBUG] > switch_core_state_machine.c:626 (sofia/internal/9999 at 10.44.33.16) Running > State Change CS_DESTROY > 285c3556-b081-4ac7-bd62-b82129f4f362 2015-04-02 21:16:28.989475 [DEBUG] > switch_core_state_machine.c:636 (sofia/internal/9999 at 10.44.33.16) State > DESTROY > 285c3556-b081-4ac7-bd62-b82129f4f362 2015-04-02 21:16:28.989475 [DEBUG] > mod_sofia.c:323 sofia/internal/9999 at 10.44.33.16 SOFIA DESTROY > 285c3556-b081-4ac7-bd62-b82129f4f362 2015-04-02 21:16:28.989475 [DEBUG] > switch_core_state_machine.c:111 sofia/internal/9999 at 10.44.33.16 Standard > DESTROY > 285c3556-b081-4ac7-bd62-b82129f4f362 2015-04-02 21:16:28.989475 [DEBUG] > switch_core_state_machine.c:636 (sofia/internal/9999 at 10.44.33.16) State > DESTROY going to sleep > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150402/7f717cd4/attachment-0001.html From adam.ben.ayoun1 at gmail.com Thu Apr 2 23:54:12 2015 From: adam.ben.ayoun1 at gmail.com (Adam Ben-Ayoun) Date: Thu, 2 Apr 2015 22:54:12 +0300 Subject: [Freeswitch-users] WebRTC video conference In-Reply-To: References: <551D77A0.2000200@b-and-c.net> Message-ID: Both demonstration and new configuration parameters/API look awesome. When is this going to be available? Any way to get the 1.6-to-be code (is it on master)? On 2 April 2015 at 20:26, Anthony Minessale wrote: > See here for a preview. > > https://www.youtube.com/watch?v=TbUm2Vt6uWk > > > On Thu, Apr 2, 2015 at 12:23 PM, Michael Jerris wrote: > >> Take a look at >> https://freeswitch.org/confluence/display/FREESWITCH/mod_conference >> which has already been updated for 1.6 features. Let us know if you still >> have any questions after seeing all that you can do. >> >> Mike >> >> On Apr 2, 2015, at 1:18 PM, Adam Ben-Ayoun >> wrote: >> >> Sounds good. My question is if it's enough configurable so that we can >> apply different logic to when to enable video from a single user to all the >> others. >> >> On Thursday, April 2, 2015, Tristan Mah? wrote: >> >>> Currently you already have video conferences, it'll display the active >>> speaker video to other members. >>> >>> You may have forgotten to allow the codec. >>> >>> Freeswitch source is under massive changes now to add video features, >>> expect it in 1.6 for transcode. >>> >>> >>> Le 02/04/2015 09:16, Adam Ben-Ayoun a ?crit : >>> >>> Hi guys, >>> >>> We are currently using Freeswitch as an MCU for audio only using >>> WebRTC on the client. We want to add support for video (using VP8) such >>> that in any point in time there is either no video or video is streaming >>> from one member to all the others. Is there a way to achieve this using >>> only Freeswitch? >>> >>> Thanks, >>> Adam >>> >>> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > Anthony Minessale II ? @anthmfs ? @FreeSWITCH ? > > ? http://freeswitch.org/ ? http://cluecon.com/ ? > http://twitter.com/FreeSWITCH > ? irc.freenode.net #freeswitch ? *http://freeswitch.org/g+ > * > > ClueCon Weekly Development Call > ? sip:888 at conference.freeswitch.org ? +19193869900 > > https://www.youtube.com/watch?v=9XXgW34t40s > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150402/3e74fa66/attachment.html From mike at jerris.com Fri Apr 3 00:39:25 2015 From: mike at jerris.com (Michael Jerris) Date: Thu, 2 Apr 2015 16:39:25 -0400 Subject: [Freeswitch-users] WebRTC video conference In-Reply-To: References: <551D77A0.2000200@b-and-c.net> Message-ID: It's still off in some feature branches currently (fs-video2). Getting the dependencies right is a little tricky at the moment, we are working on that and getting the dependency packages into a repo that you can easily install them from and sane detection of when you don't have the right dependencies. There will be an announcement soon when it is all merged into master. From the point that we merge it to master, it will go through some beta stages where you will be able to build it from master and test and provide beta feedback before final release. We will also have pre-release packages available to FreeSWITCH Advantage customers who wish to play with the technology preview with the convenience of pre-packaged builds. Mike > On Apr 2, 2015, at 3:54 PM, Adam Ben-Ayoun wrote: > > Both demonstration and new configuration parameters/API look awesome. When is this going to be available? Any way to get the 1.6-to-be code (is it on master)? > > On 2 April 2015 at 20:26, Anthony Minessale > wrote: > See here for a preview. > > https://www.youtube.com/watch?v=TbUm2Vt6uWk > > > On Thu, Apr 2, 2015 at 12:23 PM, Michael Jerris > wrote: > Take a look at https://freeswitch.org/confluence/display/FREESWITCH/mod_conference which has already been updated for 1.6 features. Let us know if you still have any questions after seeing all that you can do. > > Mike > >> On Apr 2, 2015, at 1:18 PM, Adam Ben-Ayoun > wrote: >> >> Sounds good. My question is if it's enough configurable so that we can apply different logic to when to enable video from a single user to all the others. >> >> On Thursday, April 2, 2015, Tristan Mah? > wrote: >> Currently you already have video conferences, it'll display the active speaker video to other members. >> >> You may have forgotten to allow the codec. >> >> Freeswitch source is under massive changes now to add video features, expect it in 1.6 for transcode. >> >> >> Le 02/04/2015 09:16, Adam Ben-Ayoun a ?crit : >>> Hi guys, >>> >>> We are currently using Freeswitch as an MCU for audio only using WebRTC on the client. We want to add support for video (using VP8) such that in any point in time there is either no video or video is streaming from one member to all the others. Is there a way to achieve this using only Freeswitch? >>> >>> Thanks, >>> Adam > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150402/60195888/attachment.html From adam.ben.ayoun1 at gmail.com Fri Apr 3 00:51:34 2015 From: adam.ben.ayoun1 at gmail.com (Adam Ben-Ayoun) Date: Thu, 2 Apr 2015 23:51:34 +0300 Subject: [Freeswitch-users] WebRTC video conference In-Reply-To: References: <551D77A0.2000200@b-and-c.net> Message-ID: We aim to complete our video features in about 3 months from now, do you think it's feasible if we decide to go with Freeswitch for video and wait for the features (basically, we have no prob to compile it from master even if it's not officially released yet)? Thanks! On 2 April 2015 at 23:39, Michael Jerris wrote: > It's still off in some feature branches currently (fs-video2). Getting > the dependencies right is a little tricky at the moment, we are working on > that and getting the dependency packages into a repo that you can easily > install them from and sane detection of when you don't have the right > dependencies. There will be an announcement soon when it is all merged > into master. From the point that we merge it to master, it will go through > some beta stages where you will be able to build it from master and test > and provide beta feedback before final release. We will also have > pre-release packages available to FreeSWITCH Advantage customers who wish > to play with the technology preview with the convenience of pre-packaged > builds. > > Mike > > On Apr 2, 2015, at 3:54 PM, Adam Ben-Ayoun > wrote: > > Both demonstration and new configuration parameters/API look awesome. When > is this going to be available? Any way to get the 1.6-to-be code (is it on > master)? > > On 2 April 2015 at 20:26, Anthony Minessale > wrote: > >> See here for a preview. >> >> https://www.youtube.com/watch?v=TbUm2Vt6uWk >> >> >> On Thu, Apr 2, 2015 at 12:23 PM, Michael Jerris wrote: >> >>> Take a look at >>> https://freeswitch.org/confluence/display/FREESWITCH/mod_conference >>> which has already been updated for 1.6 features. Let us know if you still >>> have any questions after seeing all that you can do. >>> >>> Mike >>> >>> On Apr 2, 2015, at 1:18 PM, Adam Ben-Ayoun >>> wrote: >>> >>> Sounds good. My question is if it's enough configurable so that we can >>> apply different logic to when to enable video from a single user to all the >>> others. >>> >>> On Thursday, April 2, 2015, Tristan Mah? wrote: >>> >>>> Currently you already have video conferences, it'll display the active >>>> speaker video to other members. >>>> >>>> You may have forgotten to allow the codec. >>>> >>>> Freeswitch source is under massive changes now to add video features, >>>> expect it in 1.6 for transcode. >>>> >>>> >>>> Le 02/04/2015 09:16, Adam Ben-Ayoun a ?crit : >>>> >>>> Hi guys, >>>> >>>> We are currently using Freeswitch as an MCU for audio only using >>>> WebRTC on the client. We want to add support for video (using VP8) such >>>> that in any point in time there is either no video or video is streaming >>>> from one member to all the others. Is there a way to achieve this using >>>> only Freeswitch? >>>> >>>> Thanks, >>>> Adam >>>> >>>> >>> > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150402/563cfd3f/attachment-0001.html From mike at jerris.com Fri Apr 3 01:23:23 2015 From: mike at jerris.com (Michael Jerris) Date: Thu, 2 Apr 2015 17:23:23 -0400 Subject: [Freeswitch-users] WebRTC video conference In-Reply-To: References: <551D77A0.2000200@b-and-c.net> Message-ID: <4DC57E43-DA09-4385-B5B8-6337376F3819@jerris.com> As I said, its in a public branch that you can look at now. I would not expect any feedback helping set it up or figure out required dependencies until we finish the work necessary to merge it to master. > On Apr 2, 2015, at 4:51 PM, Adam Ben-Ayoun wrote: > > We aim to complete our video features in about 3 months from now, do you think it's feasible if we decide to go with Freeswitch for video and wait for the features (basically, we have no prob to compile it from master even if it's not officially released yet)? > > Thanks! > > On 2 April 2015 at 23:39, Michael Jerris > wrote: > It's still off in some feature branches currently (fs-video2). Getting the dependencies right is a little tricky at the moment, we are working on that and getting the dependency packages into a repo that you can easily install them from and sane detection of when you don't have the right dependencies. There will be an announcement soon when it is all merged into master. From the point that we merge it to master, it will go through some beta stages where you will be able to build it from master and test and provide beta feedback before final release. We will also have pre-release packages available to FreeSWITCH Advantage customers who wish to play with the technology preview with the convenience of pre-packaged builds. > > Mike > >> On Apr 2, 2015, at 3:54 PM, Adam Ben-Ayoun > wrote: >> >> Both demonstration and new configuration parameters/API look awesome. When is this going to be available? Any way to get the 1.6-to-be code (is it on master)? >> >> On 2 April 2015 at 20:26, Anthony Minessale > wrote: >> See here for a preview. >> >> https://www.youtube.com/watch?v=TbUm2Vt6uWk >> >> >> On Thu, Apr 2, 2015 at 12:23 PM, Michael Jerris > wrote: >> Take a look at https://freeswitch.org/confluence/display/FREESWITCH/mod_conference which has already been updated for 1.6 features. Let us know if you still have any questions after seeing all that you can do. >> >> Mike >> >>> On Apr 2, 2015, at 1:18 PM, Adam Ben-Ayoun > wrote: >>> >>> Sounds good. My question is if it's enough configurable so that we can apply different logic to when to enable video from a single user to all the others. >>> >>> On Thursday, April 2, 2015, Tristan Mah? > wrote: >>> Currently you already have video conferences, it'll display the active speaker video to other members. >>> >>> You may have forgotten to allow the codec. >>> >>> Freeswitch source is under massive changes now to add video features, expect it in 1.6 for transcode. >>> >>> >>> Le 02/04/2015 09:16, Adam Ben-Ayoun a ?crit : >>>> Hi guys, >>>> >>>> We are currently using Freeswitch as an MCU for audio only using WebRTC on the client. We want to add support for video (using VP8) such that in any point in time there is either no video or video is streaming from one member to all the others. Is there a way to achieve this using only Freeswitch? >>>> >>>> Thanks, >>>> Adam >> -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150402/572fa1d4/attachment.html From adam.ben.ayoun1 at gmail.com Fri Apr 3 14:14:27 2015 From: adam.ben.ayoun1 at gmail.com (Adam Ben-Ayoun) Date: Fri, 3 Apr 2015 13:14:27 +0300 Subject: [Freeswitch-users] Freeswitch basic VP8 passthrough Message-ID: Hi guys, I am trying to setup a simple WebRTC video conference using VP8 with mod_conference, while audio conferencing works fine, I am not able to setup a video conference using clients like SIPjs, basically, I am opening 2 clients and expect to see video streaming to each side. I did the following: 1. Added the following config to my conference profile in conference.conf.xml: 2. Added VP8 to vars.xml: Any idea? P.S The client seem to pass the video params correctly in the SDP, but Freeswitch still responses with the following SDP: v=0 o=FreeSWITCH 1428032845 1428032846 IN IP4 X.X.X.X s=FreeSWITCH c=IN IP4 52.1.148.244 t=0 0 a=msid-semantic: WMS QyrjMP4wDDWQeK1hU3mBsJvovhMMWjKD m=audio 23118 UDP/TLS/RTP/SAVPF 111 126 106 a=rtpmap:111 opus/48000/2 a=fmtp:111 useinbandfec=1; minptime=10 a=rtpmap:126 telephone-event/8000 a=rtpmap:106 CN/8000 a=ptime:20 a=fingerprint:sha-256 83:F4:57:6D:F9:40:C7:E8:28:6D:59:AE:5F:08:23:3E:9E:17:1E:2F:D8:A9:D5:E7:DB:13:92:B5:DE:4A:66:CA a=rtcp-mux a=rtcp:23118 IN IP4 X.X.X.X a=ssrc:3173617819 cname:I1MkHHGaasQf3InN a=ssrc:3173617819 msid:QyrjMP4wDDWQeK1hU3mBsJvovhMMWjKD a0 a=ssrc:3173617819 mslabel:QyrjMP4wDDWQeK1hU3mBsJvovhMMWjKD a=ssrc:3173617819 label:QyrjMP4wDDWQeK1hU3mBsJvovhMMWjKDa0 a=ice-ufrag:CzeU8A9uHL6uVHXu a=ice-pwd:zzF67b78uOeomr1PR6zQwzb4 a=candidate:8368394426 1 udp 659136 X.X.X.X 23118 typ host generation 0 m=video 0 UDP/TLS/RTP/SAVPF 19 Thanks! Adam -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150403/dcedb9a0/attachment.html From adam.ben.ayoun1 at gmail.com Fri Apr 3 16:23:02 2015 From: adam.ben.ayoun1 at gmail.com (Adam Ben-Ayoun) Date: Fri, 3 Apr 2015 15:23:02 +0300 Subject: [Freeswitch-users] Freeswitch basic VP8 passthrough In-Reply-To: References: Message-ID: Sorry about that... I assumed that if mod_vp8 is uncommented in conf/autoload_configs/modules.conf.xml then it's actually compiled... After looking at the src I compiled I see that mod_vp8 is commented out, I will compile it and try again. Thanks! On 3 April 2015 at 13:14, Adam Ben-Ayoun wrote: > Hi guys, > > I am trying to setup a simple WebRTC video conference using VP8 with > mod_conference, while audio conferencing works fine, I am not able to setup > a video conference using clients like SIPjs, basically, I am opening 2 > clients and expect to see video streaming to each side. > > I did the following: > 1. Added the following config to my conference profile in > conference.conf.xml: > > > > 2. Added VP8 to vars.xml: > > > Any idea? > > P.S The client seem to pass the video params correctly in the SDP, but > Freeswitch still responses with the following SDP: > v=0 > o=FreeSWITCH 1428032845 1428032846 IN IP4 X.X.X.X > s=FreeSWITCH > c=IN IP4 52.1.148.244 > t=0 0 > a=msid-semantic: WMS QyrjMP4wDDWQeK1hU3mBsJvovhMMWjKD > m=audio 23118 UDP/TLS/RTP/SAVPF 111 126 106 > a=rtpmap:111 opus/48000/2 > a=fmtp:111 useinbandfec=1; minptime=10 > a=rtpmap:126 telephone-event/8000 > a=rtpmap:106 CN/8000 > a=ptime:20 > a=fingerprint:sha-256 > 83:F4:57:6D:F9:40:C7:E8:28:6D:59:AE:5F:08:23:3E:9E:17:1E:2F:D8:A9:D5:E7:DB:13:92:B5:DE:4A:66:CA > a=rtcp-mux > a=rtcp:23118 IN IP4 X.X.X.X > a=ssrc:3173617819 cname:I1MkHHGaasQf3InN > a=ssrc:3173617819 msid:QyrjMP4wDDWQeK1hU3mBsJvovhMMWjKD a0 > a=ssrc:3173617819 mslabel:QyrjMP4wDDWQeK1hU3mBsJvovhMMWjKD > a=ssrc:3173617819 label:QyrjMP4wDDWQeK1hU3mBsJvovhMMWjKDa0 > a=ice-ufrag:CzeU8A9uHL6uVHXu > a=ice-pwd:zzF67b78uOeomr1PR6zQwzb4 > a=candidate:8368394426 1 udp 659136 X.X.X.X 23118 typ host generation 0 > m=video 0 UDP/TLS/RTP/SAVPF 19 > > > > Thanks! > Adam > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150403/43d26760/attachment.html From gfs at etherway.ru Fri Apr 3 14:30:09 2015 From: gfs at etherway.ru (=?UTF-8?B?0JPRg9GB0YLQsNCy0L4g0KHQuNC70LLQsA==?=) Date: Fri, 3 Apr 2015 13:30:09 +0300 Subject: [Freeswitch-users] Freeswitch and Freeradius integration Message-ID: Hi folks! Im getting some errors trying to enable AAA on my freeswitch with freeradius. I am getting the following errors: - When I start freeswitch: [ERR] mod_xml_radius.c:678 Failed to load radius handle for registration authentication - When I make a call: 2015-04-03 13:22:55.840618 [ERR] mod_xml_radius.c:566 Failed to load radius handle for digest invite authentication 2015-04-03 13:22:55.840618 [ERR] mod_xml_radius.c:879 Failed to create new accounting_start handle for call: 64b32ec2-d9eb-11e4-9c8c-85505819ce7f I can I solve this problem? My xml_radius.conf bellow: -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150403/259f76a8/attachment-0001.html From bordmi at rarus.ru Fri Apr 3 16:36:51 2015 From: bordmi at rarus.ru (=?UTF-8?B?0JHQvtGA0LjRgdC+0LIsINCU0LzQuNGC0YDQuNC5IC8gRG1pdHJpeSBCb3Jpc292?=) Date: Fri, 3 Apr 2015 15:36:51 +0300 Subject: [Freeswitch-users] Freeswitch and Freeradius integration In-Reply-To: References: Message-ID: Do you have freeraius-ng installed in your system? 2015-04-03 13:30 GMT+03:00 ??????? ????? : > Hi folks! > > Im getting some errors trying to enable AAA on my freeswitch with > freeradius. > I am getting the following errors: > > - When I start freeswitch: > [ERR] mod_xml_radius.c:678 Failed to load radius handle for registration > authentication > > - When I make a call: > 2015-04-03 13:22:55.840618 [ERR] mod_xml_radius.c:566 Failed to load > radius handle for digest invite authentication > 2015-04-03 13:22:55.840618 [ERR] mod_xml_radius.c:879 Failed to create new > accounting_start handle for call: 64b32ec2-d9eb-11e4-9c8c-85505819ce7f > > I can I solve this problem? > > My xml_radius.conf bellow: > > > > > > > > > > value="/usr/src/freeswitch-1.2.23/src/mod/xml_int/mod_xml_radius/dictionaries/dictionary"/> > > > > format="src-gw-ip=%s"/> > format="src-gw-name=%s"/> > format="%s"/> > format="request-type=number"/> > > format="%s"/> > > format="%s"/> > > > format="%s"/> > > > format="MD5"/> > > > format="%s"/> > > > > > > > > > value="/usr/src/freeswitch-1.2.23/src/mod/xml_int/mod_xml_radius/dictionaries/dictionary"/> > > > > format="request-type=user"/> > format="src-gw-ip=%s"/> > format="src-gw-name=%s"/> > > format="%s"/> > > > format="%s"/> > > > format="MD5"/> > > > > > > > > > > > > value="/usr/src/freeswitch-1.2.23/src/mod/xml_int/mod_xml_radius/dictionaries/dictionary"/> > > > > variable="originating_leg_uuid" format="%s"/> > format="h323-call-id=%s"/> > format="src-gw-ip=%s"/> > format="src-gw-name=%s"/> > format="src-number-in=%s" /> > format="dst-number-in=%s" /> > > format="%s"/> > > > > > > > > > value="/usr/share/freeradius/dictionary.cisco"/> > > > > > > > > > > > > value="/usr/src/freeswitch-1.2.23/src/mod/xml_int/mod_xml_radius/dictionaries/dictionary"/> > > > > variable="h323-call-origin" default="answer" format="%s"/> > variable="originating_leg_uuid" format="%s"/> > format="h323-call-id=%s"/> > variable="sip_contact_host" format="src-gw-ip=%s"/> > variable_secondary="ani" format="src-gw-name=%s"/> > variable_secondary="ani" format="src-number-in=%s" /> > variable_secondary="ani" format="src-number-out=%s" /> > variable_secondary="ani" format="%s"/> > format="dst-gw-ip=%s"/> > variable="destination_number" format="dst-gw-name=%s"/> > variable="destination_number" format="dst-number-in=%s" /> > variable="destination_number" format="dst-number-out=%s" /> > format="%s"/> > > > > > > > > > > value="/usr/src/freeswitch-1.2.23/src/mod/xml_int/mod_xml_radius/dictionaries/dictionary"/> > > > > variable="h323-call-origin" default="answer" format="%s"/> > variable="originating_leg_uuid" format="%s"/> > format="h323-call-id=%s"/> > variable="sip_contact_host" format="src-gw-ip=%s"/> > variable_secondary="ani" format="src-gw-name=%s"/> > variable_secondary="ani" format="src-number-in=%s" /> > variable_secondary="ani" format="src-number-out=%s" /> > variable_secondary="ani" format="%s"/> > format="dst-gw-ip=%s"/> > variable_secondary="dialed_extension" format="dst-gw-name=%s"/> > variable_secondary="dialed_extension" format="dst-number-in=%s" /> > format="%s"/> > > > > > > variable_secondary="progressmsec" variable="progress_mediamsec" > format="pdd-time=%s"/> > variable="destination_number" format="dst-number-out=%s"/> > > > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- with best regards, Dmitriy Borisov -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150403/84912031/attachment-0001.html From silvagustavo at yandex.ru Fri Apr 3 16:46:09 2015 From: silvagustavo at yandex.ru (Gustavo Silva) Date: Fri, 03 Apr 2015 15:46:09 +0300 Subject: [Freeswitch-users] Freeswitch and Freeradius integration In-Reply-To: References: Message-ID: <20150403124609.5853254.82000.104@yandex.ru> An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150403/3d33c539/attachment-0002.html From silvagustavo at yandex.ru Fri Apr 3 16:46:09 2015 From: silvagustavo at yandex.ru (Gustavo Silva) Date: Fri, 03 Apr 2015 15:46:09 +0300 Subject: [Freeswitch-users] Freeswitch and Freeradius integration In-Reply-To: References: Message-ID: <20150403124609.5853254.82000.104@yandex.ru> An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150403/3d33c539/attachment-0003.html From bordmi at rarus.ru Fri Apr 3 17:07:45 2015 From: bordmi at rarus.ru (=?UTF-8?B?0JHQvtGA0LjRgdC+0LIsINCU0LzQuNGC0YDQuNC5IC8gRG1pdHJpeSBCb3Jpc292?=) Date: Fri, 3 Apr 2015 16:07:45 +0300 Subject: [Freeswitch-users] Freeswitch and Freeradius integration In-Reply-To: <20150403124609.5853254.82000.104@yandex.ru> References: <20150403124609.5853254.82000.104@yandex.ru> Message-ID: Do you have installed freeradius-client on the same machine which freeswitch is installed on? 2015-04-03 15:46 GMT+03:00 Gustavo Silva : > I have freeradius server and freeradius client. I don't know what > freeradius-ng is about. > > I forgot to mention, the OS is debian 7 > > Sent from my BlackBerry 10 smartphone. > *From: *???????, ??????? / Dmitriy Borisov > *Sent: *???????, 3 ?????? 2015 ?., 15:40 > *To: *FreeSWITCH Users Help > *Reply To: *FreeSWITCH Users Help > *Subject: *Re: [Freeswitch-users] Freeswitch and Freeradius integration > > Do you have freeraius-ng installed in your system? > > 2015-04-03 13:30 GMT+03:00 ??????? ????? : > >> Hi folks! >> >> Im getting some errors trying to enable AAA on my freeswitch with >> freeradius. >> I am getting the following errors: >> >> - When I start freeswitch: >> [ERR] mod_xml_radius.c:678 Failed to load radius handle for registration >> authentication >> >> - When I make a call: >> 2015-04-03 13:22:55.840618 [ERR] mod_xml_radius.c:566 Failed to load >> radius handle for digest invite authentication >> 2015-04-03 13:22:55.840618 [ERR] mod_xml_radius.c:879 Failed to create >> new accounting_start handle for call: 64b32ec2-d9eb-11e4-9c8c-85505819ce7f >> >> I can I solve this problem? >> >> My xml_radius.conf bellow: >> >> >> >> >> >> >> >> >> >> > value="/usr/src/freeswitch-1.2.23/src/mod/xml_int/mod_xml_radius/dictionaries/dictionary"/> >> >> >> >> > format="src-gw-ip=%s"/> >> > format="src-gw-name=%s"/> >> > format="%s"/> >> > format="request-type=number"/> >> >> > format="%s"/> >> >> > format="%s"/> >> >> >> > format="%s"/> >> >> >> > format="MD5"/> >> >> >> > format="%s"/> >> >> >> >> >> >> >> >> >> > value="/usr/src/freeswitch-1.2.23/src/mod/xml_int/mod_xml_radius/dictionaries/dictionary"/> >> >> >> >> > format="request-type=user"/> >> > format="src-gw-ip=%s"/> >> > format="src-gw-name=%s"/> >> >> > format="%s"/> >> >> >> > format="%s"/> >> >> >> > format="MD5"/> >> >> >> > format="%s"/> >> >> >> >> >> >> >> >> >> > value="/usr/src/freeswitch-1.2.23/src/mod/xml_int/mod_xml_radius/dictionaries/dictionary"/> >> >> >> >> > variable="originating_leg_uuid" format="%s"/> >> > format="h323-call-id=%s"/> >> > format="src-gw-ip=%s"/> >> > format="src-gw-name=%s"/> >> > format="src-number-in=%s" /> >> > format="dst-number-in=%s" /> >> >> > format="%s"/> >> >> >> >> >> >> >> >> >> > value="/usr/share/freeradius/dictionary.cisco"/> >> >> >> >> >> >> >> >> >> >> >> >> > value="/usr/src/freeswitch-1.2.23/src/mod/xml_int/mod_xml_radius/dictionaries/dictionary"/> >> >> >> >> > variable="h323-call-origin" default="answer" format="%s"/> >> > variable="originating_leg_uuid" format="%s"/> >> > format="h323-call-id=%s"/> >> > variable="sip_contact_host" format="src-gw-ip=%s"/> >> > variable_secondary="ani" format="src-gw-name=%s"/> >> > variable_secondary="ani" format="src-number-in=%s" /> >> > variable_secondary="ani" format="src-number-out=%s" /> >> > variable_secondary="ani" format="%s"/> >> > format="dst-gw-ip=%s"/> >> > variable="destination_number" format="dst-gw-name=%s"/> >> > variable="destination_number" format="dst-number-in=%s" /> >> > variable="destination_number" format="dst-number-out=%s" /> >> > format="%s"/> >> >> >> >> >> >> >> >> >> >> > value="/usr/src/freeswitch-1.2.23/src/mod/xml_int/mod_xml_radius/dictionaries/dictionary"/> >> >> >> >> > variable="h323-call-origin" default="answer" format="%s"/> >> > variable="originating_leg_uuid" format="%s"/> >> > format="h323-call-id=%s"/> >> > variable="sip_contact_host" format="src-gw-ip=%s"/> >> > variable_secondary="ani" format="src-gw-name=%s"/> >> > variable_secondary="ani" format="src-number-in=%s" /> >> > variable_secondary="ani" format="src-number-out=%s" /> >> > variable_secondary="ani" format="%s"/> >> > format="dst-gw-ip=%s"/> >> > variable_secondary="dialed_extension" format="dst-gw-name=%s"/> >> > variable_secondary="dialed_extension" format="dst-number-in=%s" /> >> > format="%s"/> >> >> >> >> >> >> > variable_secondary="progressmsec" variable="progress_mediamsec" >> format="pdd-time=%s"/> >> > variable="destination_number" format="dst-number-out=%s"/> >> >> >> >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > with best regards, > Dmitriy Borisov > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- with best regards, Dmitriy Borisov -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150403/055c76e5/attachment-0001.html From silvagustavo at yandex.ru Fri Apr 3 17:12:57 2015 From: silvagustavo at yandex.ru (Gustavo Silva) Date: Fri, 03 Apr 2015 16:12:57 +0300 Subject: [Freeswitch-users] Freeswitch and Freeradius integration In-Reply-To: References: <20150403124609.5853254.82000.104@yandex.ru> Message-ID: <20150403131257.5853254.4910.107@yandex.ru> An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150403/cab388b6/attachment.html From silvagustavo at yandex.ru Fri Apr 3 17:12:57 2015 From: silvagustavo at yandex.ru (Gustavo Silva) Date: Fri, 03 Apr 2015 16:12:57 +0300 Subject: [Freeswitch-users] Freeswitch and Freeradius integration In-Reply-To: References: <20150403124609.5853254.82000.104@yandex.ru> Message-ID: <20150403131257.5853254.4910.107@yandex.ru> An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150403/cab388b6/attachment-0003.html From bordmi at rarus.ru Fri Apr 3 17:24:19 2015 From: bordmi at rarus.ru (=?UTF-8?B?0JHQvtGA0LjRgdC+0LIsINCU0LzQuNGC0YDQuNC5IC8gRG1pdHJpeSBCb3Jpc292?=) Date: Fri, 3 Apr 2015 16:24:19 +0300 Subject: [Freeswitch-users] Freeswitch and Freeradius integration In-Reply-To: <20150403131257.5853254.4910.107@yandex.ru> References: <20150403124609.5853254.82000.104@yandex.ru> <20150403131257.5853254.4910.107@yandex.ru> Message-ID: Check correction of the radiusclient.conf file 2015-04-03 16:12 GMT+03:00 Gustavo Silva : > Yes, I did! > > Sent from my BlackBerry 10 smartphone. > *From: *???????, ??????? / Dmitriy Borisov > *Sent: *???????, 3 ?????? 2015 ?., 16:11 > *To: *FreeSWITCH Users Help > *Reply To: *FreeSWITCH Users Help > *Subject: *Re: [Freeswitch-users] Freeswitch and Freeradius integration > > Do you have installed freeradius-client on the same machine which > freeswitch is installed on? > > 2015-04-03 15:46 GMT+03:00 Gustavo Silva : > >> I have freeradius server and freeradius client. I don't know what >> freeradius-ng is about. >> >> I forgot to mention, the OS is debian 7 >> >> Sent from my BlackBerry 10 smartphone. >> *From: *???????, ??????? / Dmitriy Borisov >> *Sent: *???????, 3 ?????? 2015 ?., 15:40 >> *To: *FreeSWITCH Users Help >> *Reply To: *FreeSWITCH Users Help >> *Subject: *Re: [Freeswitch-users] Freeswitch and Freeradius integration >> >> Do you have freeraius-ng installed in your system? >> >> 2015-04-03 13:30 GMT+03:00 ??????? ????? : >> >>> Hi folks! >>> >>> Im getting some errors trying to enable AAA on my freeswitch with >>> freeradius. >>> I am getting the following errors: >>> >>> - When I start freeswitch: >>> [ERR] mod_xml_radius.c:678 Failed to load radius handle for registration >>> authentication >>> >>> - When I make a call: >>> 2015-04-03 13:22:55.840618 [ERR] mod_xml_radius.c:566 Failed to load >>> radius handle for digest invite authentication >>> 2015-04-03 13:22:55.840618 [ERR] mod_xml_radius.c:879 Failed to create >>> new accounting_start handle for call: 64b32ec2-d9eb-11e4-9c8c-85505819ce7f >>> >>> I can I solve this problem? >>> >>> My xml_radius.conf bellow: >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >> value="/usr/src/freeswitch-1.2.23/src/mod/xml_int/mod_xml_radius/dictionaries/dictionary"/> >>> >>> >>> >>> >> format="src-gw-ip=%s"/> >>> >> format="src-gw-name=%s"/> >>> >> format="%s"/> >>> >> format="request-type=number"/> >>> >> format="%s"/> >>> >> format="%s"/> >>> >>> >> format="%s"/> >>> >>> >>> >> format="%s"/> >>> >>> >> format="%s"/> >>> >> format="MD5"/> >>> >>> >> format="%s"/> >>> >> format="%s"/> >>> >>> >>> >>> >>> >>> >>> >>> >>> >> value="/usr/src/freeswitch-1.2.23/src/mod/xml_int/mod_xml_radius/dictionaries/dictionary"/> >>> >>> >>> >>> >> format="request-type=user"/> >>> >> format="src-gw-ip=%s"/> >>> >> format="src-gw-name=%s"/> >>> >>> >> format="%s"/> >>> >>> >>> >> format="%s"/> >>> >>> >> format="%s"/> >>> >> format="MD5"/> >>> >>> >> format="%s"/> >>> >> format="%s"/> >>> >>> >>> >>> >>> >>> >>> >>> >>> >> value="/usr/src/freeswitch-1.2.23/src/mod/xml_int/mod_xml_radius/dictionaries/dictionary"/> >>> >>> >>> >>> >> variable_secondary="uuid" variable="originating_leg_uuid" format="%s"/> >>> >> format="h323-call-id=%s"/> >>> >> variable="sip_network_ip" format="src-gw-ip=%s"/> >>> >> format="src-gw-name=%s"/> >>> >> format="src-number-in=%s" /> >>> >> format="dst-number-in=%s" /> >>> >> format="%s"/> >>> >> format="%s"/> >>> >>> >>> >>> >>> >>> >>> >>> >>> >> value="/usr/share/freeradius/dictionary.cisco"/> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >> value="/usr/src/freeswitch-1.2.23/src/mod/xml_int/mod_xml_radius/dictionaries/dictionary"/> >>> >>> >>> >>> >> variable="h323-call-origin" default="answer" format="%s"/> >>> >> variable_secondary="uuid" variable="originating_leg_uuid" format="%s"/> >>> >> format="h323-call-id=%s"/> >>> >> variable="sip_contact_host" format="src-gw-ip=%s"/> >>> >> variable_secondary="ani" format="src-gw-name=%s"/> >>> >> variable_secondary="ani" format="src-number-in=%s" /> >>> >> variable_secondary="ani" format="src-number-out=%s" /> >>> >> variable_secondary="ani" format="%s"/> >>> >> format="dst-gw-ip=%s"/> >>> >> variable="destination_number" format="dst-gw-name=%s"/> >>> >> variable="destination_number" format="dst-number-in=%s" /> >>> >> variable="destination_number" format="dst-number-out=%s" /> >>> >> format="%s"/> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >> value="/usr/src/freeswitch-1.2.23/src/mod/xml_int/mod_xml_radius/dictionaries/dictionary"/> >>> >>> >>> >>> >> variable="h323-call-origin" default="answer" format="%s"/> >>> >> variable_secondary="uuid" variable="originating_leg_uuid" format="%s"/> >>> >> format="h323-call-id=%s"/> >>> >> variable="sip_contact_host" format="src-gw-ip=%s"/> >>> >> variable_secondary="ani" format="src-gw-name=%s"/> >>> >> variable_secondary="ani" format="src-number-in=%s" /> >>> >> variable_secondary="ani" format="src-number-out=%s" /> >>> >> variable_secondary="ani" format="%s"/> >>> >> format="dst-gw-ip=%s"/> >>> >> variable_secondary="dialed_extension" format="dst-gw-name=%s"/> >>> >> variable_secondary="dialed_extension" format="dst-number-in=%s" /> >>> >> format="%s"/> >>> >>> >>> >>> >>> >>> >> variable_secondary="progressmsec" variable="progress_mediamsec" >>> format="pdd-time=%s"/> >>> >> variable="destination_number" format="dst-number-out=%s"/> >>> >>> >>> >>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> >> -- >> with best regards, >> Dmitriy Borisov >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > with best regards, > Dmitriy Borisov > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- with best regards, Dmitriy Borisov -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150403/30754bfd/attachment-0001.html From silvagustavo at yandex.ru Fri Apr 3 17:40:59 2015 From: silvagustavo at yandex.ru (Gustavo Silva) Date: Fri, 03 Apr 2015 16:40:59 +0300 Subject: [Freeswitch-users] Freeswitch and Freeradius integration In-Reply-To: References: <20150403124609.5853254.82000.104@yandex.ru> <20150403131257.5853254.4910.107@yandex.ru> Message-ID: <20150403134059.5853254.81066.111@yandex.ru> An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150403/81f63453/attachment-0001.html From krice at freeswitch.org Fri Apr 3 18:01:06 2015 From: krice at freeswitch.org (Ken Rice) Date: Fri, 03 Apr 2015 14:01:06 +0000 Subject: [Freeswitch-users] FreeSWITCH Friday FreeForAll Reminder! Message-ID: <551e9d22e0f0c_9addaa73281262d@resque-worker-ip-10-97-164-59.mail> FreeSWITCHers, Do not forget to join us at 2PM CST for the FreeSWITCH Friday FreeFor All Visit http://ift.tt/1n3h0Pf and Click Call 888 with your WebRTC enabled Browser and headset, Call sip:888 at conference.freeswitch.org or see http://ift.tt/1prwIZL for access info! -- Ken FreeSWITCH.org ClueCon.com OSTAG.org irc.freenode.net #freeswitch Twitter: @FreeSWITCH @ClueCon -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150403/c5924b42/attachment.html From bordmi at rarus.ru Fri Apr 3 18:15:33 2015 From: bordmi at rarus.ru (=?UTF-8?B?0JHQvtGA0LjRgdC+0LIsINCU0LzQuNGC0YDQuNC5IC8gRG1pdHJpeSBCb3Jpc292?=) Date: Fri, 3 Apr 2015 17:15:33 +0300 Subject: [Freeswitch-users] Freeswitch and Freeradius integration In-Reply-To: <20150403134059.5853254.81066.111@yandex.ru> References: <20150403124609.5853254.82000.104@yandex.ru> <20150403131257.5853254.4910.107@yandex.ru> <20150403134059.5853254.81066.111@yandex.ru> Message-ID: Check correction of all configuration for freeradius. Test connection to your RADIUS server with radtest command 2015-04-03 16:40 GMT+03:00 Gustavo Silva : > What should I check there? The authserver and acctserver are set as > localhost. > > Sent from my BlackBerry 10 smartphone. > *From: *???????, ??????? / Dmitriy Borisov > *Sent: *???????, 3 ?????? 2015 ?., 16:29 > *To: *FreeSWITCH Users Help > *Reply To: *FreeSWITCH Users Help > *Subject: *Re: [Freeswitch-users] Freeswitch and Freeradius integration > > Check correction of the radiusclient.conf file > > 2015-04-03 16:12 GMT+03:00 Gustavo Silva : > >> Yes, I did! >> >> Sent from my BlackBerry 10 smartphone. >> *From: *???????, ??????? / Dmitriy Borisov >> *Sent: *???????, 3 ?????? 2015 ?., 16:11 >> *To: *FreeSWITCH Users Help >> *Reply To: *FreeSWITCH Users Help >> *Subject: *Re: [Freeswitch-users] Freeswitch and Freeradius integration >> >> Do you have installed freeradius-client on the same machine which >> freeswitch is installed on? >> >> 2015-04-03 15:46 GMT+03:00 Gustavo Silva : >> >>> I have freeradius server and freeradius client. I don't know what >>> freeradius-ng is about. >>> >>> I forgot to mention, the OS is debian 7 >>> >>> Sent from my BlackBerry 10 smartphone. >>> *From: *???????, ??????? / Dmitriy Borisov >>> *Sent: *???????, 3 ?????? 2015 ?., 15:40 >>> *To: *FreeSWITCH Users Help >>> *Reply To: *FreeSWITCH Users Help >>> *Subject: *Re: [Freeswitch-users] Freeswitch and Freeradius integration >>> >>> Do you have freeraius-ng installed in your system? >>> >>> 2015-04-03 13:30 GMT+03:00 ??????? ????? : >>> >>>> Hi folks! >>>> >>>> Im getting some errors trying to enable AAA on my freeswitch with >>>> freeradius. >>>> I am getting the following errors: >>>> >>>> - When I start freeswitch: >>>> [ERR] mod_xml_radius.c:678 Failed to load radius handle for >>>> registration authentication >>>> >>>> - When I make a call: >>>> 2015-04-03 13:22:55.840618 [ERR] mod_xml_radius.c:566 Failed to load >>>> radius handle for digest invite authentication >>>> 2015-04-03 13:22:55.840618 [ERR] mod_xml_radius.c:879 Failed to create >>>> new accounting_start handle for call: 64b32ec2-d9eb-11e4-9c8c-85505819ce7f >>>> >>>> I can I solve this problem? >>>> >>>> My xml_radius.conf bellow: >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>> value="/usr/src/freeswitch-1.2.23/src/mod/xml_int/mod_xml_radius/dictionaries/dictionary"/> >>>> >>>> >>>> >>>> >>> format="src-gw-ip=%s"/> >>>> >>> variable="sip_from_user" format="src-gw-name=%s"/> >>>> >>> format="%s"/> >>>> >>> format="request-type=number"/> >>>> >>> format="%s"/> >>>> >>> format="%s"/> >>>> >>>> >>> format="%s"/> >>>> >>>> >>>> >>> format="%s"/> >>>> >>>> >>> format="%s"/> >>>> >>> format="MD5"/> >>>> >>>> >>> format="%s"/> >>>> >>> format="%s"/> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>> value="/usr/src/freeswitch-1.2.23/src/mod/xml_int/mod_xml_radius/dictionaries/dictionary"/> >>>> >>>> >>>> >>>> >>> format="request-type=user"/> >>>> >>> format="src-gw-ip=%s"/> >>>> >>> variable="sip_from_user" format="src-gw-name=%s"/> >>>> >>>> >>> format="%s"/> >>>> >>>> >>>> >>> format="%s"/> >>>> >>>> >>> format="%s"/> >>>> >>> format="MD5"/> >>>> >>>> >>> format="%s"/> >>>> >>> format="%s"/> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>> value="/usr/src/freeswitch-1.2.23/src/mod/xml_int/mod_xml_radius/dictionaries/dictionary"/> >>>> >>>> >>>> >>>> >>> variable_secondary="uuid" variable="originating_leg_uuid" format="%s"/> >>>> >>> format="h323-call-id=%s"/> >>>> >>> variable="sip_network_ip" format="src-gw-ip=%s"/> >>>> >>> variable="sip_from_user" format="src-gw-name=%s"/> >>>> >>> variable="sip_from_user" format="src-number-in=%s" /> >>>> >>> format="dst-number-in=%s" /> >>>> >>> format="%s"/> >>>> >>> format="%s"/> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>> value="/usr/share/freeradius/dictionary.cisco"/> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>> value="/usr/src/freeswitch-1.2.23/src/mod/xml_int/mod_xml_radius/dictionaries/dictionary"/> >>>> >>>> >>>> >>>> >>> variable="h323-call-origin" default="answer" format="%s"/> >>>> >>> variable_secondary="uuid" variable="originating_leg_uuid" format="%s"/> >>>> >>> format="h323-call-id=%s"/> >>>> >>> variable="sip_contact_host" format="src-gw-ip=%s"/> >>>> >>> variable="sip_from_user" variable_secondary="ani" format="src-gw-name=%s"/> >>>> >>> variable="sip_from_user" variable_secondary="ani" format="src-number-in=%s" >>>> /> >>>> >>> variable="sip_from_user" variable_secondary="ani" >>>> format="src-number-out=%s" /> >>>> >>> variable_secondary="ani" format="%s"/> >>>> >>> format="dst-gw-ip=%s"/> >>>> >>> variable="destination_number" format="dst-gw-name=%s"/> >>>> >>> variable="destination_number" format="dst-number-in=%s" /> >>>> >>> variable="destination_number" format="dst-number-out=%s" /> >>>> >>> format="%s"/> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>> value="/usr/src/freeswitch-1.2.23/src/mod/xml_int/mod_xml_radius/dictionaries/dictionary"/> >>>> >>>> >>>> >>>> >>> variable="h323-call-origin" default="answer" format="%s"/> >>>> >>> variable_secondary="uuid" variable="originating_leg_uuid" format="%s"/> >>>> >>> format="h323-call-id=%s"/> >>>> >>> variable="sip_contact_host" format="src-gw-ip=%s"/> >>>> >>> variable="sip_from_user" variable_secondary="ani" format="src-gw-name=%s"/> >>>> >>> variable="sip_from_user" variable_secondary="ani" format="src-number-in=%s" >>>> /> >>>> >>> variable="sip_from_user" variable_secondary="ani" >>>> format="src-number-out=%s" /> >>>> >>> variable_secondary="ani" format="%s"/> >>>> >>> format="dst-gw-ip=%s"/> >>>> >>> variable_secondary="dialed_extension" format="dst-gw-name=%s"/> >>>> >>> variable_secondary="dialed_extension" format="dst-number-in=%s" /> >>>> >>> format="%s"/> >>>> >>>> >>>> >>>> >>>> >>>> >>> variable_secondary="progressmsec" variable="progress_mediamsec" >>>> format="pdd-time=%s"/> >>>> >>> variable="destination_number" format="dst-number-out=%s"/> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> >>> -- >>> with best regards, >>> Dmitriy Borisov >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> >> -- >> with best regards, >> Dmitriy Borisov >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > with best regards, > Dmitriy Borisov > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- with best regards, Dmitriy Borisov -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150403/90eeee04/attachment-0001.html From silvagustavo at yandex.ru Fri Apr 3 18:31:59 2015 From: silvagustavo at yandex.ru (Gustavo Silva) Date: Fri, 03 Apr 2015 17:31:59 +0300 Subject: [Freeswitch-users] Freeswitch and Freeradius integration In-Reply-To: References: <20150403124609.5853254.82000.104@yandex.ru> <20150403131257.5853254.4910.107@yandex.ru> <20150403134059.5853254.81066.111@yandex.ru> Message-ID: <20150403143159.5853254.81968.115@yandex.ru> An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150403/15ef5574/attachment-0001.html From silvagustavo at yandex.ru Fri Apr 3 18:31:59 2015 From: silvagustavo at yandex.ru (Gustavo Silva) Date: Fri, 03 Apr 2015 17:31:59 +0300 Subject: [Freeswitch-users] Freeswitch and Freeradius integration In-Reply-To: References: <20150403124609.5853254.82000.104@yandex.ru> <20150403131257.5853254.4910.107@yandex.ru> <20150403134059.5853254.81066.111@yandex.ru> Message-ID: <20150403143159.5853254.81968.115@yandex.ru> An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150403/15ef5574/attachment-0003.html From bordmi at rarus.ru Fri Apr 3 18:38:31 2015 From: bordmi at rarus.ru (=?UTF-8?B?0JHQvtGA0LjRgdC+0LIsINCU0LzQuNGC0YDQuNC5IC8gRG1pdHJpeSBCb3Jpc292?=) Date: Fri, 3 Apr 2015 17:38:31 +0300 Subject: [Freeswitch-users] Freeswitch and Freeradius integration In-Reply-To: <20150403143159.5853254.81968.115@yandex.ru> References: <20150403124609.5853254.82000.104@yandex.ru> <20150403131257.5853254.4910.107@yandex.ru> <20150403134059.5853254.81066.111@yandex.ru> <20150403143159.5853254.81968.115@yandex.ru> Message-ID: Usage: radtest [OPTIONS] user passwd radius-server[:port] nas-port-number secret [ppphint] [nasname] -d RADIUS_DIR Set radius directory -t Set authentication method type can be pap, chap, mschap, or eap-md5 -x Enable debug output -4 Use IPv4 for the NAS address (default) -6 Use IPv6 for the NAS address 2015-04-03 17:31 GMT+03:00 Gustavo Silva : > I know only the radtest test. Is there something else to test? Radtest > show me connection accept. > > > > > > Sent from my BlackBerry 10 smartphone. > *From: *???????, ??????? / Dmitriy Borisov > *Sent: *???????, 3 ?????? 2015 ?., 17:19 > *To: *FreeSWITCH Users Help > *Reply To: *FreeSWITCH Users Help > *Subject: *Re: [Freeswitch-users] Freeswitch and Freeradius integration > > Check correction of all configuration for freeradius. Test connection to > your RADIUS server with radtest command > > 2015-04-03 16:40 GMT+03:00 Gustavo Silva : > >> What should I check there? The authserver and acctserver are set as >> localhost. >> >> Sent from my BlackBerry 10 smartphone. >> *From: *???????, ??????? / Dmitriy Borisov >> *Sent: *???????, 3 ?????? 2015 ?., 16:29 >> *To: *FreeSWITCH Users Help >> *Reply To: *FreeSWITCH Users Help >> *Subject: *Re: [Freeswitch-users] Freeswitch and Freeradius integration >> >> Check correction of the radiusclient.conf file >> >> 2015-04-03 16:12 GMT+03:00 Gustavo Silva : >> >>> Yes, I did! >>> >>> Sent from my BlackBerry 10 smartphone. >>> *From: *???????, ??????? / Dmitriy Borisov >>> *Sent: *???????, 3 ?????? 2015 ?., 16:11 >>> *To: *FreeSWITCH Users Help >>> *Reply To: *FreeSWITCH Users Help >>> *Subject: *Re: [Freeswitch-users] Freeswitch and Freeradius integration >>> >>> Do you have installed freeradius-client on the same machine which >>> freeswitch is installed on? >>> >>> 2015-04-03 15:46 GMT+03:00 Gustavo Silva : >>> >>>> I have freeradius server and freeradius client. I don't know what >>>> freeradius-ng is about. >>>> >>>> I forgot to mention, the OS is debian 7 >>>> >>>> Sent from my BlackBerry 10 smartphone. >>>> *From: *???????, ??????? / Dmitriy Borisov >>>> *Sent: *???????, 3 ?????? 2015 ?., 15:40 >>>> *To: *FreeSWITCH Users Help >>>> *Reply To: *FreeSWITCH Users Help >>>> *Subject: *Re: [Freeswitch-users] Freeswitch and Freeradius integration >>>> >>>> Do you have freeraius-ng installed in your system? >>>> >>>> 2015-04-03 13:30 GMT+03:00 ??????? ????? : >>>> >>>>> Hi folks! >>>>> >>>>> Im getting some errors trying to enable AAA on my freeswitch with >>>>> freeradius. >>>>> I am getting the following errors: >>>>> >>>>> - When I start freeswitch: >>>>> [ERR] mod_xml_radius.c:678 Failed to load radius handle for >>>>> registration authentication >>>>> >>>>> - When I make a call: >>>>> 2015-04-03 13:22:55.840618 [ERR] mod_xml_radius.c:566 Failed to load >>>>> radius handle for digest invite authentication >>>>> 2015-04-03 13:22:55.840618 [ERR] mod_xml_radius.c:879 Failed to create >>>>> new accounting_start handle for call: 64b32ec2-d9eb-11e4-9c8c-85505819ce7f >>>>> >>>>> I can I solve this problem? >>>>> >>>>> My xml_radius.conf bellow: >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>> value="/usr/src/freeswitch-1.2.23/src/mod/xml_int/mod_xml_radius/dictionaries/dictionary"/> >>>>> >>>>> >>>>> >>>>> >>>> format="src-gw-ip=%s"/> >>>>> >>>> variable="sip_from_user" format="src-gw-name=%s"/> >>>>> >>>> format="%s"/> >>>>> >>>> format="request-type=number"/> >>>>> >>>> format="%s"/> >>>>> >>>> format="%s"/> >>>>> >>>>> >>>> format="%s"/> >>>>> >>>> format="%s"/> >>>>> >>>> format="%s"/> >>>>> >>>> format="%s"/> >>>>> >>>>> >>>> format="%s"/> >>>>> >>>> format="MD5"/> >>>>> >>>>> >>>> format="%s"/> >>>>> >>>> format="%s"/> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>> value="/usr/src/freeswitch-1.2.23/src/mod/xml_int/mod_xml_radius/dictionaries/dictionary"/> >>>>> >>>>> >>>>> >>>>> >>>> format="request-type=user"/> >>>>> >>>> format="src-gw-ip=%s"/> >>>>> >>>> variable="sip_from_user" format="src-gw-name=%s"/> >>>>> >>>>> >>>> format="%s"/> >>>>> >>>> format="%s"/> >>>>> >>>> format="%s"/> >>>>> >>>> format="%s"/> >>>>> >>>>> >>>> format="%s"/> >>>>> >>>> format="MD5"/> >>>>> >>>>> >>>> format="%s"/> >>>>> >>>> format="%s"/> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>> value="/usr/src/freeswitch-1.2.23/src/mod/xml_int/mod_xml_radius/dictionaries/dictionary"/> >>>>> >>>>> >>>>> >>>>> >>>> variable_secondary="uuid" variable="originating_leg_uuid" format="%s"/> >>>>> >>>> format="h323-call-id=%s"/> >>>>> >>>> variable="sip_network_ip" format="src-gw-ip=%s"/> >>>>> >>>> variable="sip_from_user" format="src-gw-name=%s"/> >>>>> >>>> variable="sip_from_user" format="src-number-in=%s" /> >>>>> >>>> format="dst-number-in=%s" /> >>>>> >>>> format="%s"/> >>>>> >>>> format="%s"/> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>> value="/usr/share/freeradius/dictionary.cisco"/> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>> value="/usr/src/freeswitch-1.2.23/src/mod/xml_int/mod_xml_radius/dictionaries/dictionary"/> >>>>> >>>>> >>>>> >>>>> >>>> variable="h323-call-origin" default="answer" format="%s"/> >>>>> >>>> variable_secondary="uuid" variable="originating_leg_uuid" format="%s"/> >>>>> >>>> format="h323-call-id=%s"/> >>>>> >>>> variable="sip_contact_host" format="src-gw-ip=%s"/> >>>>> >>>> variable="sip_from_user" variable_secondary="ani" format="src-gw-name=%s"/> >>>>> >>>> variable="sip_from_user" variable_secondary="ani" format="src-number-in=%s" >>>>> /> >>>>> >>>> variable="sip_from_user" variable_secondary="ani" >>>>> format="src-number-out=%s" /> >>>>> >>>> variable_secondary="ani" format="%s"/> >>>>> >>>> format="dst-gw-ip=%s"/> >>>>> >>>> variable="destination_number" format="dst-gw-name=%s"/> >>>>> >>>> variable="destination_number" format="dst-number-in=%s" /> >>>>> >>>> variable="destination_number" format="dst-number-out=%s" /> >>>>> >>>> format="%s"/> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>> value="/usr/src/freeswitch-1.2.23/src/mod/xml_int/mod_xml_radius/dictionaries/dictionary"/> >>>>> >>>>> >>>>> >>>>> >>>> variable="h323-call-origin" default="answer" format="%s"/> >>>>> >>>> variable_secondary="uuid" variable="originating_leg_uuid" format="%s"/> >>>>> >>>> format="h323-call-id=%s"/> >>>>> >>>> variable="sip_contact_host" format="src-gw-ip=%s"/> >>>>> >>>> variable="sip_from_user" variable_secondary="ani" format="src-gw-name=%s"/> >>>>> >>>> variable="sip_from_user" variable_secondary="ani" format="src-number-in=%s" >>>>> /> >>>>> >>>> variable="sip_from_user" variable_secondary="ani" >>>>> format="src-number-out=%s" /> >>>>> >>>> variable_secondary="ani" format="%s"/> >>>>> >>>> format="dst-gw-ip=%s"/> >>>>> >>>> variable_secondary="dialed_extension" format="dst-gw-name=%s"/> >>>>> >>>> variable_secondary="dialed_extension" format="dst-number-in=%s" /> >>>>> >>>> format="%s"/> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>> variable_secondary="progressmsec" variable="progress_mediamsec" >>>>> format="pdd-time=%s"/> >>>>> >>>> variable="destination_number" format="dst-number-out=%s"/> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>>> >>>> -- >>>> with best regards, >>>> Dmitriy Borisov >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> >>> -- >>> with best regards, >>> Dmitriy Borisov >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> >> -- >> with best regards, >> Dmitriy Borisov >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > with best regards, > Dmitriy Borisov > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- with best regards, Dmitriy Borisov -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150403/7fba5d8b/attachment-0001.html From silvagustavo at yandex.ru Fri Apr 3 18:43:21 2015 From: silvagustavo at yandex.ru (Gustavo Silva) Date: Fri, 03 Apr 2015 17:43:21 +0300 Subject: [Freeswitch-users] Freeswitch and Freeradius integration In-Reply-To: References: <20150403124609.5853254.82000.104@yandex.ru> <20150403131257.5853254.4910.107@yandex.ru> <20150403134059.5853254.81066.111@yandex.ru> <20150403143159.5853254.81968.115@yandex.ru> Message-ID: <20150403144321.5853254.4357.118@yandex.ru> An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150403/25acafdf/attachment-0002.html From silvagustavo at yandex.ru Fri Apr 3 18:43:21 2015 From: silvagustavo at yandex.ru (Gustavo Silva) Date: Fri, 03 Apr 2015 17:43:21 +0300 Subject: [Freeswitch-users] Freeswitch and Freeradius integration In-Reply-To: References: <20150403124609.5853254.82000.104@yandex.ru> <20150403131257.5853254.4910.107@yandex.ru> <20150403134059.5853254.81066.111@yandex.ru> <20150403143159.5853254.81968.115@yandex.ru> Message-ID: <20150403144321.5853254.4357.118@yandex.ru> An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150403/25acafdf/attachment-0003.html From silvagustavo at yandex.ru Fri Apr 3 19:51:38 2015 From: silvagustavo at yandex.ru (Gustavo Silva) Date: Fri, 03 Apr 2015 18:51:38 +0300 Subject: [Freeswitch-users] Freeswitch and Freeradius integration In-Reply-To: <20150403144321.5853254.4357.118@yandex.ru> References: <20150403144321.5853254.4357.118@yandex.ru> Message-ID: <20150403155138.5853254.88286.120@yandex.ru> An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150403/59830c6d/attachment-0002.html From silvagustavo at yandex.ru Fri Apr 3 19:51:38 2015 From: silvagustavo at yandex.ru (Gustavo Silva) Date: Fri, 03 Apr 2015 18:51:38 +0300 Subject: [Freeswitch-users] Freeswitch and Freeradius integration In-Reply-To: <20150403144321.5853254.4357.118@yandex.ru> References: <20150403144321.5853254.4357.118@yandex.ru> Message-ID: <20150403155138.5853254.88286.120@yandex.ru> An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150403/59830c6d/attachment-0003.html From shabbirabbasi92 at gmail.com Fri Apr 3 22:50:29 2015 From: shabbirabbasi92 at gmail.com (Shabbir abbasi) Date: Fri, 3 Apr 2015 23:50:29 +0500 Subject: [Freeswitch-users] suggest best codecs to use with freeswitch for good voice quality ?? Message-ID: for this setup skype --> freeswitch(mod_skypopen --> mod_sofia) ---> asterisk(chan_sip --> chan_dongle[Huawei E169] ) on same machine suggest best codecs to use with freeswitch and asterisk for good voice quality ?? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150403/5dc051d3/attachment.html From steveayre at gmail.com Sat Apr 4 02:04:53 2015 From: steveayre at gmail.com (Steven Ayre) Date: Fri, 3 Apr 2015 23:04:53 +0100 Subject: [Freeswitch-users] suggest best codecs to use with freeswitch for good voice quality ?? In-Reply-To: References: Message-ID: Rather than using asterisk + chan_dongle, perhaps look at mod_gsmopen? It'll be a simpler setup. On 3 April 2015 at 19:50, Shabbir abbasi wrote: > for this setup > skype --> freeswitch(mod_skypopen --> mod_sofia) ---> > asterisk(chan_sip --> chan_dongle[Huawei E169] ) on same machine > > suggest best codecs to use with freeswitch and asterisk for good voice > quality ?? > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150403/c9d23120/attachment.html From ssinyagin at gmail.com Sat Apr 4 04:16:51 2015 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Sat, 4 Apr 2015 02:16:51 +0200 Subject: [Freeswitch-users] KVM vs. XEN virtualization Message-ID: hi, Here are some test results which might be interesting: I've set up a test FreeSWITCH server at digitalocean (they use KVM), and originated test calls to some ITSP accounts. Each call played a test sound file (voice samples from ITU: http://www.itu.int/net/itu-t/sigdb/genaudio/AudioForm-g.aspx?val=1000050 ), and on the receiving end another FreeSWITCH server was recording the received session. The receiving server was on a XEN VM. Both servers talked G711 to their corresponding ITSP accounts. Then I compared the source audio and received audio in Audacity editor. The tests showed that the received voice wave shifts 20ms from the original sound every few seconds, randomly back and forward. This skewing was always present, regardless of ITSP and time of day. Then I moved the sending server to a XEN VM, and the waves appeared almost perfectly synchronized (there was a 5ms skew in one test, and I guess it's related to transcoding buffer, as the sound was obviously transcoded). The effect was always visible with a 30-second sample, and I also made additional tests with 2-minute samples. It would also be interesting to test this from a VmWare VM. If someone wants to run such a test, feel free to contact me directly. cheers, stan From gkuri at ieee.org Sat Apr 4 04:46:57 2015 From: gkuri at ieee.org (Gabriel Kuri) Date: Fri, 3 Apr 2015 17:46:57 -0700 Subject: [Freeswitch-users] bridge_answer_timeout Message-ID: I can't seem to get bridge_answer_timeout to work. I have bridge_answer_timeout=10 and ignore_early_media=false set in the dialplan, but it just seems to get ignored and it rings the first extension (100) indefinitely like bridge_answer_timeout isn't getting set. It should ring extension 100 for 10 seconds, then ring extension 102 for 10 seconds, then send the call to voicemail. Here's the dialplan, any ideas?
Thanks ... -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150403/c827284c/attachment.html From shabbirabbasi92 at gmail.com Sat Apr 4 07:47:01 2015 From: shabbirabbasi92 at gmail.com (Shabbir abbasi) Date: Sat, 4 Apr 2015 08:47:01 +0500 Subject: [Freeswitch-users] suggest best codecs to use with freeswitch for good voice quality ?? In-Reply-To: References: Message-ID: i have tried mod_gsmopen it has many problems, and at same machine chan_dongle with asterisk working fine, mod_gsmopen is marking device as dead after some time and don't try again to connect to device untill you manualy issue command "gsm reload" or reload mod_gsmopen and some time it says that module is in use and shutdown whole freeswitch,i spent whole day but it is not working fine like chan_dongle, On Sat, Apr 4, 2015 at 3:04 AM, Steven Ayre wrote: > Rather than using asterisk + chan_dongle, perhaps look at mod_gsmopen? > It'll be a simpler setup. > > On 3 April 2015 at 19:50, Shabbir abbasi > wrote: > >> for this setup >> skype --> freeswitch(mod_skypopen --> mod_sofia) ---> >> asterisk(chan_sip --> chan_dongle[Huawei E169] ) on same machine >> >> suggest best codecs to use with freeswitch and asterisk for good voice >> quality ?? >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150404/cbd5bffa/attachment.html From s.safarov at gmail.com Sat Apr 4 09:47:55 2015 From: s.safarov at gmail.com (Sergey Safarov) Date: Sat, 04 Apr 2015 05:47:55 +0000 Subject: [Freeswitch-users] KVM vs. XEN virtualization In-Reply-To: References: Message-ID: Stanislav, I use vmware esxi. I am not have problems like you has described. On Sat, Apr 4, 2015, 03:18 Stanislav Sinyagin wrote: > hi, > > Here are some test results which might be interesting: > > I've set up a test FreeSWITCH server at digitalocean (they use KVM), > and originated test calls to some ITSP accounts. Each call played a > test sound file (voice samples from ITU: > http://www.itu.int/net/itu-t/sigdb/genaudio/AudioForm-g.aspx?val=1000050 > ), and on the receiving end another FreeSWITCH server was recording > the received session. The receiving server was on a XEN VM. Both > servers talked G711 to their corresponding ITSP accounts. > > Then I compared the source audio and received audio in Audacity editor. > > The tests showed that the received voice wave shifts 20ms from the > original sound every few seconds, randomly back and forward. This > skewing was always present, regardless of ITSP and time of day. > > Then I moved the sending server to a XEN VM, and the waves appeared > almost perfectly synchronized (there was a 5ms skew in one test, and I > guess it's related to transcoding buffer, as the sound was obviously > transcoded). > > The effect was always visible with a 30-second sample, and I also made > additional tests with 2-minute samples. > > It would also be interesting to test this from a VmWare VM. If someone > wants to run such a test, feel free to contact me directly. > > > cheers, > stan > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150404/d9a6d3db/attachment-0001.html From regis.freeswitch.org at tornad.net Sat Apr 4 14:45:16 2015 From: regis.freeswitch.org at tornad.net (Regis M) Date: Sat, 4 Apr 2015 12:45:16 +0200 Subject: [Freeswitch-users] KVM vs. XEN virtualization In-Reply-To: References: Message-ID: Hi, It's a very interresting test and conclusion. I will try to build a similar environnement on my freeswitch to check some system :) thanks 2015-04-04 2:16 GMT+02:00 Stanislav Sinyagin : > hi, > > Here are some test results which might be interesting: > > I've set up a test FreeSWITCH server at digitalocean (they use KVM), > and originated test calls to some ITSP accounts. Each call played a > test sound file (voice samples from ITU: > http://www.itu.int/net/itu-t/sigdb/genaudio/AudioForm-g.aspx?val=1000050 > ), and on the receiving end another FreeSWITCH server was recording > the received session. The receiving server was on a XEN VM. Both > servers talked G711 to their corresponding ITSP accounts. > > Then I compared the source audio and received audio in Audacity editor. > > The tests showed that the received voice wave shifts 20ms from the > original sound every few seconds, randomly back and forward. This > skewing was always present, regardless of ITSP and time of day. > > Then I moved the sending server to a XEN VM, and the waves appeared > almost perfectly synchronized (there was a 5ms skew in one test, and I > guess it's related to transcoding buffer, as the sound was obviously > transcoded). > > The effect was always visible with a 30-second sample, and I also made > additional tests with 2-minute samples. > > It would also be interesting to test this from a VmWare VM. If someone > wants to run such a test, feel free to contact me directly. > > > cheers, > stan > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150404/f49e7319/attachment.html From ssinyagin at gmail.com Sat Apr 4 14:53:58 2015 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Sat, 4 Apr 2015 12:53:58 +0200 Subject: [Freeswitch-users] KVM vs. XEN virtualization In-Reply-To: References: Message-ID: Important is to send the media through two independent carriers - then you can be sure that your clock is compared against a high quality one. On Apr 4, 2015 12:46 PM, "Regis M" wrote: > Hi, > > It's a very interresting test and conclusion. > > I will try to build a similar environnement on my freeswitch to check some > system :) > > thanks > > > > 2015-04-04 2:16 GMT+02:00 Stanislav Sinyagin : > >> hi, >> >> Here are some test results which might be interesting: >> >> I've set up a test FreeSWITCH server at digitalocean (they use KVM), >> and originated test calls to some ITSP accounts. Each call played a >> test sound file (voice samples from ITU: >> http://www.itu.int/net/itu-t/sigdb/genaudio/AudioForm-g.aspx?val=1000050 >> ), and on the receiving end another FreeSWITCH server was recording >> the received session. The receiving server was on a XEN VM. Both >> servers talked G711 to their corresponding ITSP accounts. >> >> Then I compared the source audio and received audio in Audacity editor. >> >> The tests showed that the received voice wave shifts 20ms from the >> original sound every few seconds, randomly back and forward. This >> skewing was always present, regardless of ITSP and time of day. >> >> Then I moved the sending server to a XEN VM, and the waves appeared >> almost perfectly synchronized (there was a 5ms skew in one test, and I >> guess it's related to transcoding buffer, as the sound was obviously >> transcoded). >> >> The effect was always visible with a 30-second sample, and I also made >> additional tests with 2-minute samples. >> >> It would also be interesting to test this from a VmWare VM. If someone >> wants to run such a test, feel free to contact me directly. >> >> >> cheers, >> stan >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150404/80899b9e/attachment.html From regis.freeswitch.org at tornad.net Sat Apr 4 15:03:35 2015 From: regis.freeswitch.org at tornad.net (Regis M) Date: Sat, 4 Apr 2015 13:03:35 +0200 Subject: [Freeswitch-users] KVM vs. XEN virtualization In-Reply-To: References: Message-ID: How do you check wavs together in audacity ? Can you send me 2 samples wav (send... and recorded) so I could see the 20ms diff that you exposed... Is there a way to automate the result checking, so it could help to monitor itsp quality 2015-04-04 12:53 GMT+02:00 Stanislav Sinyagin : > Important is to send the media through two independent carriers - then you > can be sure that your clock is compared against a high quality one. > On Apr 4, 2015 12:46 PM, "Regis M" > wrote: > >> Hi, >> >> It's a very interresting test and conclusion. >> >> I will try to build a similar environnement on my freeswitch to check >> some system :) >> >> thanks >> >> >> >> 2015-04-04 2:16 GMT+02:00 Stanislav Sinyagin : >> >>> hi, >>> >>> Here are some test results which might be interesting: >>> >>> I've set up a test FreeSWITCH server at digitalocean (they use KVM), >>> and originated test calls to some ITSP accounts. Each call played a >>> test sound file (voice samples from ITU: >>> http://www.itu.int/net/itu-t/sigdb/genaudio/AudioForm-g.aspx?val=1000050 >>> ), and on the receiving end another FreeSWITCH server was recording >>> the received session. The receiving server was on a XEN VM. Both >>> servers talked G711 to their corresponding ITSP accounts. >>> >>> Then I compared the source audio and received audio in Audacity editor. >>> >>> The tests showed that the received voice wave shifts 20ms from the >>> original sound every few seconds, randomly back and forward. This >>> skewing was always present, regardless of ITSP and time of day. >>> >>> Then I moved the sending server to a XEN VM, and the waves appeared >>> almost perfectly synchronized (there was a 5ms skew in one test, and I >>> guess it's related to transcoding buffer, as the sound was obviously >>> transcoded). >>> >>> The effect was always visible with a 30-second sample, and I also made >>> additional tests with 2-minute samples. >>> >>> It would also be interesting to test this from a VmWare VM. If someone >>> wants to run such a test, feel free to contact me directly. >>> >>> >>> cheers, >>> stan >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150404/cdb7d42c/attachment-0001.html From ssinyagin at gmail.com Sat Apr 4 18:26:31 2015 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Sat, 4 Apr 2015 16:26:31 +0200 Subject: [Freeswitch-users] KVM vs. XEN virtualization In-Reply-To: References: Message-ID: On Sat, Apr 4, 2015 at 1:03 PM, Regis M wrote: > How do you check wavs together in audacity ? you just open two WAV files, align their starting position, and visually check the waves. If there's a problem, you would see that after few seconds, the waves are not aligned any more. > Can you send me 2 samples wav (send... and recorded) so I could see the 20ms > diff that you exposed... > > Is there a way to automate the result checking, so it could help to monitor > itsp quality Here https://github.com/openpreserve/scape-xcorrsound/issues/17 this is a link to a tool which compares two sound files at the wave level. You can also see the sound samples in the ticket. The problem is, that currently this tool does not detect such slipping frames. I will also write a detailed article with examples, during the weekend. > > > 2015-04-04 12:53 GMT+02:00 Stanislav Sinyagin : >> >> Important is to send the media through two independent carriers - then you >> can be sure that your clock is compared against a high quality one. >> >> On Apr 4, 2015 12:46 PM, "Regis M" >> wrote: >>> >>> Hi, >>> >>> It's a very interresting test and conclusion. >>> >>> I will try to build a similar environnement on my freeswitch to check >>> some system :) >>> >>> thanks >>> >>> >>> >>> 2015-04-04 2:16 GMT+02:00 Stanislav Sinyagin : >>>> >>>> hi, >>>> >>>> Here are some test results which might be interesting: >>>> >>>> I've set up a test FreeSWITCH server at digitalocean (they use KVM), >>>> and originated test calls to some ITSP accounts. Each call played a >>>> test sound file (voice samples from ITU: >>>> http://www.itu.int/net/itu-t/sigdb/genaudio/AudioForm-g.aspx?val=1000050 >>>> ), and on the receiving end another FreeSWITCH server was recording >>>> the received session. The receiving server was on a XEN VM. Both >>>> servers talked G711 to their corresponding ITSP accounts. >>>> >>>> Then I compared the source audio and received audio in Audacity editor. >>>> >>>> The tests showed that the received voice wave shifts 20ms from the >>>> original sound every few seconds, randomly back and forward. This >>>> skewing was always present, regardless of ITSP and time of day. >>>> >>>> Then I moved the sending server to a XEN VM, and the waves appeared >>>> almost perfectly synchronized (there was a 5ms skew in one test, and I >>>> guess it's related to transcoding buffer, as the sound was obviously >>>> transcoded). >>>> >>>> The effect was always visible with a 30-second sample, and I also made >>>> additional tests with 2-minute samples. >>>> >>>> It would also be interesting to test this from a VmWare VM. If someone >>>> wants to run such a test, feel free to contact me directly. >>>> >>>> >>>> cheers, >>>> stan >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org From rtreleaven at bunnykick.ca Sat Apr 4 20:13:14 2015 From: rtreleaven at bunnykick.ca (Russell Treleaven) Date: Sat, 4 Apr 2015 12:13:14 -0400 Subject: [Freeswitch-users] suggest best codecs to use with freeswitch for good voice quality ?? In-Reply-To: References: Message-ID: probably the best you can do is limit the number of transcodings and/or resamplings skype uses silk freeswitch core uses L16 sip session uses asterisk core uses ? audio is presented to the dongle as ? cellular network uses gsm if ? = L16 then make the sip session use L16 use the loopback interface so that MTU is not an issue On Fri, Apr 3, 2015 at 2:50 PM, Shabbir abbasi wrote: > for this setup > skype --> freeswitch(mod_skypopen --> mod_sofia) ---> > asterisk(chan_sip --> chan_dongle[Huawei E169] ) on same machine > > suggest best codecs to use with freeswitch and asterisk for good voice > quality ?? > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150404/0bdf0d12/attachment.html From shabbirabbasi92 at gmail.com Sat Apr 4 20:40:18 2015 From: shabbirabbasi92 at gmail.com (Shabbir abbasi) Date: Sat, 4 Apr 2015 21:40:18 +0500 Subject: [Freeswitch-users] suggest best codecs to use with freeswitch for good voice quality ?? In-Reply-To: References: Message-ID: thank you for reply it is freeswitch.conf and here is asterisk sip.con disallow=all allow=ulaw allow=alaw what i need to change ?? On Sat, Apr 4, 2015 at 9:13 PM, Russell Treleaven wrote: > probably the best you can do is limit the number of transcodings and/or > resamplings > > skype uses silk > freeswitch core uses L16 > sip session uses > asterisk core uses ? > audio is presented to the dongle as ? > cellular network uses gsm > > if ? = L16 then make the sip session use L16 > use the loopback interface so that MTU is not an issue > > > On Fri, Apr 3, 2015 at 2:50 PM, Shabbir abbasi > wrote: > >> for this setup >> skype --> freeswitch(mod_skypopen --> mod_sofia) ---> >> asterisk(chan_sip --> chan_dongle[Huawei E169] ) on same machine >> >> suggest best codecs to use with freeswitch and asterisk for good voice >> quality ?? >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150404/3d869b52/attachment-0001.html From rtreleaven at bunnykick.ca Sat Apr 4 22:01:00 2015 From: rtreleaven at bunnykick.ca (Russell Treleaven) Date: Sat, 4 Apr 2015 14:01:00 -0400 Subject: [Freeswitch-users] suggest best codecs to use with freeswitch for good voice quality ?? In-Reply-To: References: Message-ID: for the freeswitch side for the asterisk side you will have to figure that out yourself. On Sat, Apr 4, 2015 at 12:40 PM, Shabbir abbasi wrote: > thank you for reply > it is freeswitch.conf > > > > > > > > > > > > > > > > > > > > > > > > > > > > value="$${global_codec_prefs}"/> > value="$${global_codec_prefs}"/> > > > > > > > > > > > > > > > > > > > and here is asterisk sip.con > disallow=all > allow=ulaw > allow=alaw > > what i need to change ?? > > On Sat, Apr 4, 2015 at 9:13 PM, Russell Treleaven > wrote: > >> probably the best you can do is limit the number of transcodings and/or >> resamplings >> >> skype uses silk >> freeswitch core uses L16 >> sip session uses >> asterisk core uses ? >> audio is presented to the dongle as ? >> cellular network uses gsm >> >> if ? = L16 then make the sip session use L16 >> use the loopback interface so that MTU is not an issue >> >> >> On Fri, Apr 3, 2015 at 2:50 PM, Shabbir abbasi > > wrote: >> >>> for this setup >>> skype --> freeswitch(mod_skypopen --> mod_sofia) ---> >>> asterisk(chan_sip --> chan_dongle[Huawei E169] ) on same machine >>> >>> suggest best codecs to use with freeswitch and asterisk for good voice >>> quality ?? >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150404/2f79f864/attachment.html From rtreleaven at bunnykick.ca Sat Apr 4 22:11:49 2015 From: rtreleaven at bunnykick.ca (Russell Treleaven) Date: Sat, 4 Apr 2015 14:11:49 -0400 Subject: [Freeswitch-users] suggest best codecs to use with freeswitch for good voice quality ?? In-Reply-To: References: Message-ID: Since one of the legs is GSM the best you can hope for is slightly worse than GSM because you are transcoding. On Sat, Apr 4, 2015 at 2:01 PM, Russell Treleaven wrote: > for the freeswitch side > > > for the asterisk side > you will have to figure that out yourself. > > > > On Sat, Apr 4, 2015 at 12:40 PM, Shabbir abbasi > wrote: > >> thank you for reply >> it is freeswitch.conf >> > data="sound_prefix=$${sounds_dir}/en/us/callie"/> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> > value="$${global_codec_prefs}"/> >> > value="$${global_codec_prefs}"/> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> and here is asterisk sip.con >> disallow=all >> allow=ulaw >> allow=alaw >> >> what i need to change ?? >> >> On Sat, Apr 4, 2015 at 9:13 PM, Russell Treleaven < >> rtreleaven at bunnykick.ca> wrote: >> >>> probably the best you can do is limit the number of transcodings and/or >>> resamplings >>> >>> skype uses silk >>> freeswitch core uses L16 >>> sip session uses >>> asterisk core uses ? >>> audio is presented to the dongle as ? >>> cellular network uses gsm >>> >>> if ? = L16 then make the sip session use L16 >>> use the loopback interface so that MTU is not an issue >>> >>> >>> On Fri, Apr 3, 2015 at 2:50 PM, Shabbir abbasi < >>> shabbirabbasi92 at gmail.com> wrote: >>> >>>> for this setup >>>> skype --> freeswitch(mod_skypopen --> mod_sofia) ---> >>>> asterisk(chan_sip --> chan_dongle[Huawei E169] ) on same machine >>>> >>>> suggest best codecs to use with freeswitch and asterisk for good >>>> voice quality ?? >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150404/08595ddb/attachment-0001.html From adam.ben.ayoun1 at gmail.com Sat Apr 4 21:08:19 2015 From: adam.ben.ayoun1 at gmail.com (Adam Ben-Ayoun) Date: Sat, 4 Apr 2015 20:08:19 +0300 Subject: [Freeswitch-users] Freeswitch video conference (broadcast) Message-ID: Hi guys, I have a conference configured with conference-flags and member-flags set to video-bridge and I am using SIPjs as a WebRTC client to test the setup. My goal is to broadcast from one client to all the rest. This seems to work fine with 2 clients, meaning, one client gets video from the other client, now, when I am adding a 3rd client, it doesn't get video (verified with chrome://webrtc-internals). Any idea? Am I missing something? Thanks! Adam -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150404/c25c0053/attachment.html From ssinyagin at gmail.com Sun Apr 5 04:37:55 2015 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Sun, 5 Apr 2015 02:37:55 +0200 Subject: [Freeswitch-users] KVM vs. XEN virtualization In-Reply-To: References: Message-ID: here we go: https://txlab.wordpress.com/2015/04/05/testing-rtp-clock-precision-on-a-virtual-machine/ On Sat, Apr 4, 2015 at 4:26 PM, Stanislav Sinyagin wrote: > On Sat, Apr 4, 2015 at 1:03 PM, Regis M wrote: >> How do you check wavs together in audacity ? > > you just open two WAV files, align their starting position, and > visually check the waves. If there's a problem, you would see that > after few seconds, the waves are not aligned any more. > >> Can you send me 2 samples wav (send... and recorded) so I could see the 20ms >> diff that you exposed... >> >> Is there a way to automate the result checking, so it could help to monitor >> itsp quality > > Here > https://github.com/openpreserve/scape-xcorrsound/issues/17 > this is a link to a tool which compares two sound files at the wave > level. You can also see the sound samples in the ticket. > The problem is, that currently this tool does not detect such slipping frames. > > I will also write a detailed article with examples, during the weekend. > > > > > >> >> >> 2015-04-04 12:53 GMT+02:00 Stanislav Sinyagin : >>> >>> Important is to send the media through two independent carriers - then you >>> can be sure that your clock is compared against a high quality one. >>> >>> On Apr 4, 2015 12:46 PM, "Regis M" >>> wrote: >>>> >>>> Hi, >>>> >>>> It's a very interresting test and conclusion. >>>> >>>> I will try to build a similar environnement on my freeswitch to check >>>> some system :) >>>> >>>> thanks >>>> >>>> >>>> >>>> 2015-04-04 2:16 GMT+02:00 Stanislav Sinyagin : >>>>> >>>>> hi, >>>>> >>>>> Here are some test results which might be interesting: >>>>> >>>>> I've set up a test FreeSWITCH server at digitalocean (they use KVM), >>>>> and originated test calls to some ITSP accounts. Each call played a >>>>> test sound file (voice samples from ITU: >>>>> http://www.itu.int/net/itu-t/sigdb/genaudio/AudioForm-g.aspx?val=1000050 >>>>> ), and on the receiving end another FreeSWITCH server was recording >>>>> the received session. The receiving server was on a XEN VM. Both >>>>> servers talked G711 to their corresponding ITSP accounts. >>>>> >>>>> Then I compared the source audio and received audio in Audacity editor. >>>>> >>>>> The tests showed that the received voice wave shifts 20ms from the >>>>> original sound every few seconds, randomly back and forward. This >>>>> skewing was always present, regardless of ITSP and time of day. >>>>> >>>>> Then I moved the sending server to a XEN VM, and the waves appeared >>>>> almost perfectly synchronized (there was a 5ms skew in one test, and I >>>>> guess it's related to transcoding buffer, as the sound was obviously >>>>> transcoded). >>>>> >>>>> The effect was always visible with a 30-second sample, and I also made >>>>> additional tests with 2-minute samples. >>>>> >>>>> It would also be interesting to test this from a VmWare VM. If someone >>>>> wants to run such a test, feel free to contact me directly. >>>>> >>>>> >>>>> cheers, >>>>> stan >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org From regis.freeswitch.org at tornad.net Sun Apr 5 12:42:52 2015 From: regis.freeswitch.org at tornad.net (Regis M) Date: Sun, 5 Apr 2015 10:42:52 +0200 Subject: [Freeswitch-users] KVM vs. XEN virtualization In-Reply-To: References: Message-ID: nice work !!! Thanks for sharing. 2015-04-05 2:37 GMT+02:00 Stanislav Sinyagin : > here we go: > > https://txlab.wordpress.com/2015/04/05/testing-rtp-clock-precision-on-a-virtual-machine/ > > > > On Sat, Apr 4, 2015 at 4:26 PM, Stanislav Sinyagin > wrote: > > On Sat, Apr 4, 2015 at 1:03 PM, Regis M > wrote: > >> How do you check wavs together in audacity ? > > > > you just open two WAV files, align their starting position, and > > visually check the waves. If there's a problem, you would see that > > after few seconds, the waves are not aligned any more. > > > >> Can you send me 2 samples wav (send... and recorded) so I could see the > 20ms > >> diff that you exposed... > >> > >> Is there a way to automate the result checking, so it could help to > monitor > >> itsp quality > > > > Here > > https://github.com/openpreserve/scape-xcorrsound/issues/17 > > this is a link to a tool which compares two sound files at the wave > > level. You can also see the sound samples in the ticket. > > The problem is, that currently this tool does not detect such slipping > frames. > > > > I will also write a detailed article with examples, during the weekend. > > > > > > > > > > > >> > >> > >> 2015-04-04 12:53 GMT+02:00 Stanislav Sinyagin : > >>> > >>> Important is to send the media through two independent carriers - then > you > >>> can be sure that your clock is compared against a high quality one. > >>> > >>> On Apr 4, 2015 12:46 PM, "Regis M" > >>> wrote: > >>>> > >>>> Hi, > >>>> > >>>> It's a very interresting test and conclusion. > >>>> > >>>> I will try to build a similar environnement on my freeswitch to check > >>>> some system :) > >>>> > >>>> thanks > >>>> > >>>> > >>>> > >>>> 2015-04-04 2:16 GMT+02:00 Stanislav Sinyagin : > >>>>> > >>>>> hi, > >>>>> > >>>>> Here are some test results which might be interesting: > >>>>> > >>>>> I've set up a test FreeSWITCH server at digitalocean (they use KVM), > >>>>> and originated test calls to some ITSP accounts. Each call played a > >>>>> test sound file (voice samples from ITU: > >>>>> > http://www.itu.int/net/itu-t/sigdb/genaudio/AudioForm-g.aspx?val=1000050 > >>>>> ), and on the receiving end another FreeSWITCH server was recording > >>>>> the received session. The receiving server was on a XEN VM. Both > >>>>> servers talked G711 to their corresponding ITSP accounts. > >>>>> > >>>>> Then I compared the source audio and received audio in Audacity > editor. > >>>>> > >>>>> The tests showed that the received voice wave shifts 20ms from the > >>>>> original sound every few seconds, randomly back and forward. This > >>>>> skewing was always present, regardless of ITSP and time of day. > >>>>> > >>>>> Then I moved the sending server to a XEN VM, and the waves appeared > >>>>> almost perfectly synchronized (there was a 5ms skew in one test, and > I > >>>>> guess it's related to transcoding buffer, as the sound was obviously > >>>>> transcoded). > >>>>> > >>>>> The effect was always visible with a 30-second sample, and I also > made > >>>>> additional tests with 2-minute samples. > >>>>> > >>>>> It would also be interesting to test this from a VmWare VM. If > someone > >>>>> wants to run such a test, feel free to contact me directly. > >>>>> > >>>>> > >>>>> cheers, > >>>>> stan > >>>>> > >>>>> > >>>>> > _________________________________________________________________________ > >>>>> Professional FreeSWITCH Consulting Services: > >>>>> consulting at freeswitch.org > >>>>> http://www.freeswitchsolutions.com > >>>>> > >>>>> Official FreeSWITCH Sites > >>>>> http://www.freeswitch.org > >>>>> http://confluence.freeswitch.org > >>>>> http://www.cluecon.com > >>>>> > >>>>> FreeSWITCH-users mailing list > >>>>> FreeSWITCH-users at lists.freeswitch.org > >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >>>>> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >>>>> http://www.freeswitch.org > >>>> > >>>> > >>>> > >>>> > _________________________________________________________________________ > >>>> Professional FreeSWITCH Consulting Services: > >>>> consulting at freeswitch.org > >>>> http://www.freeswitchsolutions.com > >>>> > >>>> Official FreeSWITCH Sites > >>>> http://www.freeswitch.org > >>>> http://confluence.freeswitch.org > >>>> http://www.cluecon.com > >>>> > >>>> FreeSWITCH-users mailing list > >>>> FreeSWITCH-users at lists.freeswitch.org > >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >>>> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >>>> http://www.freeswitch.org > >>> > >>> > >>> > _________________________________________________________________________ > >>> Professional FreeSWITCH Consulting Services: > >>> consulting at freeswitch.org > >>> http://www.freeswitchsolutions.com > >>> > >>> Official FreeSWITCH Sites > >>> http://www.freeswitch.org > >>> http://confluence.freeswitch.org > >>> http://www.cluecon.com > >>> > >>> FreeSWITCH-users mailing list > >>> FreeSWITCH-users at lists.freeswitch.org > >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >>> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >>> http://www.freeswitch.org > >> > >> > >> > >> > _________________________________________________________________________ > >> Professional FreeSWITCH Consulting Services: > >> consulting at freeswitch.org > >> http://www.freeswitchsolutions.com > >> > >> Official FreeSWITCH Sites > >> http://www.freeswitch.org > >> http://confluence.freeswitch.org > >> http://www.cluecon.com > >> > >> FreeSWITCH-users mailing list > >> FreeSWITCH-users at lists.freeswitch.org > >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >> http://www.freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150405/79e9c994/attachment-0001.html From brian at freeswitch.org Sun Apr 5 14:06:03 2015 From: brian at freeswitch.org (Brian West) Date: Sun, 5 Apr 2015 05:06:03 -0500 Subject: [Freeswitch-users] KVM vs. XEN virtualization In-Reply-To: References: Message-ID: Correct me if I'm wrong but is sounds like you've described jitter. Did you test with the jitter buffer enabled? On Sunday, April 5, 2015, Regis M wrote: > nice work !!! Thanks for sharing. > > > > 2015-04-05 2:37 GMT+02:00 Stanislav Sinyagin >: > >> here we go: >> >> https://txlab.wordpress.com/2015/04/05/testing-rtp-clock-precision-on-a-virtual-machine/ >> >> >> >> On Sat, Apr 4, 2015 at 4:26 PM, Stanislav Sinyagin > > wrote: >> > On Sat, Apr 4, 2015 at 1:03 PM, Regis M < >> regis.freeswitch.org at tornad.net >> > wrote: >> >> How do you check wavs together in audacity ? >> > >> > you just open two WAV files, align their starting position, and >> > visually check the waves. If there's a problem, you would see that >> > after few seconds, the waves are not aligned any more. >> > >> >> Can you send me 2 samples wav (send... and recorded) so I could see >> the 20ms >> >> diff that you exposed... >> >> >> >> Is there a way to automate the result checking, so it could help to >> monitor >> >> itsp quality >> > >> > Here >> > https://github.com/openpreserve/scape-xcorrsound/issues/17 >> > this is a link to a tool which compares two sound files at the wave >> > level. You can also see the sound samples in the ticket. >> > The problem is, that currently this tool does not detect such slipping >> frames. >> > >> > I will also write a detailed article with examples, during the weekend. >> > >> > >> > >> > >> > >> >> >> >> >> >> 2015-04-04 12:53 GMT+02:00 Stanislav Sinyagin > >: >> >>> >> >>> Important is to send the media through two independent carriers - >> then you >> >>> can be sure that your clock is compared against a high quality one. >> >>> >> >>> On Apr 4, 2015 12:46 PM, "Regis M" > > >> >>> wrote: >> >>>> >> >>>> Hi, >> >>>> >> >>>> It's a very interresting test and conclusion. >> >>>> >> >>>> I will try to build a similar environnement on my freeswitch to check >> >>>> some system :) >> >>>> >> >>>> thanks >> >>>> >> >>>> >> >>>> >> >>>> 2015-04-04 2:16 GMT+02:00 Stanislav Sinyagin > >: >> >>>>> >> >>>>> hi, >> >>>>> >> >>>>> Here are some test results which might be interesting: >> >>>>> >> >>>>> I've set up a test FreeSWITCH server at digitalocean (they use KVM), >> >>>>> and originated test calls to some ITSP accounts. Each call played a >> >>>>> test sound file (voice samples from ITU: >> >>>>> >> http://www.itu.int/net/itu-t/sigdb/genaudio/AudioForm-g.aspx?val=1000050 >> >>>>> ), and on the receiving end another FreeSWITCH server was recording >> >>>>> the received session. The receiving server was on a XEN VM. Both >> >>>>> servers talked G711 to their corresponding ITSP accounts. >> >>>>> >> >>>>> Then I compared the source audio and received audio in Audacity >> editor. >> >>>>> >> >>>>> The tests showed that the received voice wave shifts 20ms from the >> >>>>> original sound every few seconds, randomly back and forward. This >> >>>>> skewing was always present, regardless of ITSP and time of day. >> >>>>> >> >>>>> Then I moved the sending server to a XEN VM, and the waves appeared >> >>>>> almost perfectly synchronized (there was a 5ms skew in one test, >> and I >> >>>>> guess it's related to transcoding buffer, as the sound was obviously >> >>>>> transcoded). >> >>>>> >> >>>>> The effect was always visible with a 30-second sample, and I also >> made >> >>>>> additional tests with 2-minute samples. >> >>>>> >> >>>>> It would also be interesting to test this from a VmWare VM. If >> someone >> >>>>> wants to run such a test, feel free to contact me directly. >> >>>>> >> >>>>> >> >>>>> cheers, >> >>>>> stan >> >>>>> >> >>>>> >> >>>>> >> _________________________________________________________________________ >> >>>>> Professional FreeSWITCH Consulting Services: >> >>>>> consulting at freeswitch.org >> >> >>>>> http://www.freeswitchsolutions.com >> >>>>> >> >>>>> Official FreeSWITCH Sites >> >>>>> http://www.freeswitch.org >> >>>>> http://confluence.freeswitch.org >> >>>>> http://www.cluecon.com >> >>>>> >> >>>>> FreeSWITCH-users mailing list >> >>>>> FreeSWITCH-users at lists.freeswitch.org >> >> >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >>>>> UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> >>>>> http://www.freeswitch.org >> >>>> >> >>>> >> >>>> >> >>>> >> _________________________________________________________________________ >> >>>> Professional FreeSWITCH Consulting Services: >> >>>> consulting at freeswitch.org >> >> >>>> http://www.freeswitchsolutions.com >> >>>> >> >>>> Official FreeSWITCH Sites >> >>>> http://www.freeswitch.org >> >>>> http://confluence.freeswitch.org >> >>>> http://www.cluecon.com >> >>>> >> >>>> FreeSWITCH-users mailing list >> >>>> FreeSWITCH-users at lists.freeswitch.org >> >> >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >>>> UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> >>>> http://www.freeswitch.org >> >>> >> >>> >> >>> >> _________________________________________________________________________ >> >>> Professional FreeSWITCH Consulting Services: >> >>> consulting at freeswitch.org >> >> >>> http://www.freeswitchsolutions.com >> >>> >> >>> Official FreeSWITCH Sites >> >>> http://www.freeswitch.org >> >>> http://confluence.freeswitch.org >> >>> http://www.cluecon.com >> >>> >> >>> FreeSWITCH-users mailing list >> >>> FreeSWITCH-users at lists.freeswitch.org >> >> >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >>> UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> >>> http://www.freeswitch.org >> >> >> >> >> >> >> >> >> _________________________________________________________________________ >> >> Professional FreeSWITCH Consulting Services: >> >> consulting at freeswitch.org >> >> >> http://www.freeswitchsolutions.com >> >> >> >> Official FreeSWITCH Sites >> >> http://www.freeswitch.org >> >> http://confluence.freeswitch.org >> >> http://www.cluecon.com >> >> >> >> FreeSWITCH-users mailing list >> >> FreeSWITCH-users at lists.freeswitch.org >> >> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >> UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> >> http://www.freeswitch.org >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com ClueCon 2015 Call for Speakers | Register TODAY! | Reddit: /r/freeswitch *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150405/ae155b17/attachment.html From ssinyagin at gmail.com Sun Apr 5 14:47:58 2015 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Sun, 5 Apr 2015 12:47:58 +0200 Subject: [Freeswitch-users] KVM vs. XEN virtualization In-Reply-To: References: Message-ID: Yrs, jitter buffer was enabled. Here I'm pretty sure that we deal with the clock skew. On Apr 5, 2015 12:07 PM, "Brian West" wrote: > Correct me if I'm wrong but is sounds like you've described jitter. Did > you test with the jitter buffer enabled? > > On Sunday, April 5, 2015, Regis M wrote: > >> nice work !!! Thanks for sharing. >> >> >> >> 2015-04-05 2:37 GMT+02:00 Stanislav Sinyagin : >> >>> here we go: >>> >>> https://txlab.wordpress.com/2015/04/05/testing-rtp-clock-precision-on-a-virtual-machine/ >>> >>> >>> >>> On Sat, Apr 4, 2015 at 4:26 PM, Stanislav Sinyagin >>> wrote: >>> > On Sat, Apr 4, 2015 at 1:03 PM, Regis M < >>> regis.freeswitch.org at tornad.net> wrote: >>> >> How do you check wavs together in audacity ? >>> > >>> > you just open two WAV files, align their starting position, and >>> > visually check the waves. If there's a problem, you would see that >>> > after few seconds, the waves are not aligned any more. >>> > >>> >> Can you send me 2 samples wav (send... and recorded) so I could see >>> the 20ms >>> >> diff that you exposed... >>> >> >>> >> Is there a way to automate the result checking, so it could help to >>> monitor >>> >> itsp quality >>> > >>> > Here >>> > https://github.com/openpreserve/scape-xcorrsound/issues/17 >>> > this is a link to a tool which compares two sound files at the wave >>> > level. You can also see the sound samples in the ticket. >>> > The problem is, that currently this tool does not detect such slipping >>> frames. >>> > >>> > I will also write a detailed article with examples, during the weekend. >>> > >>> > >>> > >>> > >>> > >>> >> >>> >> >>> >> 2015-04-04 12:53 GMT+02:00 Stanislav Sinyagin : >>> >>> >>> >>> Important is to send the media through two independent carriers - >>> then you >>> >>> can be sure that your clock is compared against a high quality one. >>> >>> >>> >>> On Apr 4, 2015 12:46 PM, "Regis M" >>> >>> wrote: >>> >>>> >>> >>>> Hi, >>> >>>> >>> >>>> It's a very interresting test and conclusion. >>> >>>> >>> >>>> I will try to build a similar environnement on my freeswitch to >>> check >>> >>>> some system :) >>> >>>> >>> >>>> thanks >>> >>>> >>> >>>> >>> >>>> >>> >>>> 2015-04-04 2:16 GMT+02:00 Stanislav Sinyagin : >>> >>>>> >>> >>>>> hi, >>> >>>>> >>> >>>>> Here are some test results which might be interesting: >>> >>>>> >>> >>>>> I've set up a test FreeSWITCH server at digitalocean (they use >>> KVM), >>> >>>>> and originated test calls to some ITSP accounts. Each call played a >>> >>>>> test sound file (voice samples from ITU: >>> >>>>> >>> http://www.itu.int/net/itu-t/sigdb/genaudio/AudioForm-g.aspx?val=1000050 >>> >>>>> ), and on the receiving end another FreeSWITCH server was recording >>> >>>>> the received session. The receiving server was on a XEN VM. Both >>> >>>>> servers talked G711 to their corresponding ITSP accounts. >>> >>>>> >>> >>>>> Then I compared the source audio and received audio in Audacity >>> editor. >>> >>>>> >>> >>>>> The tests showed that the received voice wave shifts 20ms from the >>> >>>>> original sound every few seconds, randomly back and forward. This >>> >>>>> skewing was always present, regardless of ITSP and time of day. >>> >>>>> >>> >>>>> Then I moved the sending server to a XEN VM, and the waves appeared >>> >>>>> almost perfectly synchronized (there was a 5ms skew in one test, >>> and I >>> >>>>> guess it's related to transcoding buffer, as the sound was >>> obviously >>> >>>>> transcoded). >>> >>>>> >>> >>>>> The effect was always visible with a 30-second sample, and I also >>> made >>> >>>>> additional tests with 2-minute samples. >>> >>>>> >>> >>>>> It would also be interesting to test this from a VmWare VM. If >>> someone >>> >>>>> wants to run such a test, feel free to contact me directly. >>> >>>>> >>> >>>>> >>> >>>>> cheers, >>> >>>>> stan >>> >>>>> >>> >>>>> >>> >>>>> >>> _________________________________________________________________________ >>> >>>>> Professional FreeSWITCH Consulting Services: >>> >>>>> consulting at freeswitch.org >>> >>>>> http://www.freeswitchsolutions.com >>> >>>>> >>> >>>>> Official FreeSWITCH Sites >>> >>>>> http://www.freeswitch.org >>> >>>>> http://confluence.freeswitch.org >>> >>>>> http://www.cluecon.com >>> >>>>> >>> >>>>> FreeSWITCH-users mailing list >>> >>>>> FreeSWITCH-users at lists.freeswitch.org >>> >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> >>>>> UNSUBSCRIBE: >>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>> >>>>> http://www.freeswitch.org >>> >>>> >>> >>>> >>> >>>> >>> >>>> >>> _________________________________________________________________________ >>> >>>> Professional FreeSWITCH Consulting Services: >>> >>>> consulting at freeswitch.org >>> >>>> http://www.freeswitchsolutions.com >>> >>>> >>> >>>> Official FreeSWITCH Sites >>> >>>> http://www.freeswitch.org >>> >>>> http://confluence.freeswitch.org >>> >>>> http://www.cluecon.com >>> >>>> >>> >>>> FreeSWITCH-users mailing list >>> >>>> FreeSWITCH-users at lists.freeswitch.org >>> >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> >>>> UNSUBSCRIBE: >>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>> >>>> http://www.freeswitch.org >>> >>> >>> >>> >>> >>> >>> _________________________________________________________________________ >>> >>> Professional FreeSWITCH Consulting Services: >>> >>> consulting at freeswitch.org >>> >>> http://www.freeswitchsolutions.com >>> >>> >>> >>> Official FreeSWITCH Sites >>> >>> http://www.freeswitch.org >>> >>> http://confluence.freeswitch.org >>> >>> http://www.cluecon.com >>> >>> >>> >>> FreeSWITCH-users mailing list >>> >>> FreeSWITCH-users at lists.freeswitch.org >>> >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> >>> UNSUBSCRIBE: >>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>> >>> http://www.freeswitch.org >>> >> >>> >> >>> >> >>> >> >>> _________________________________________________________________________ >>> >> Professional FreeSWITCH Consulting Services: >>> >> consulting at freeswitch.org >>> >> http://www.freeswitchsolutions.com >>> >> >>> >> Official FreeSWITCH Sites >>> >> http://www.freeswitch.org >>> >> http://confluence.freeswitch.org >>> >> http://www.cluecon.com >>> >> >>> >> FreeSWITCH-users mailing list >>> >> FreeSWITCH-users at lists.freeswitch.org >>> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> >> UNSUBSCRIBE: >>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>> >> http://www.freeswitch.org >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> > > -- > > *Brian West* > brian at freeswitch.org > > > *Twitter: @FreeSWITCH , @briankwest* > http://www.freeswitchbook.com > http://www.freeswitchcookbook.com > > ClueCon 2015 Call for Speakers > | Register > TODAY! | Reddit: /r/freeswitch > > > *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) > *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150405/675271e1/attachment-0001.html From ssinyagin at gmail.com Mon Apr 6 03:33:56 2015 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Mon, 6 Apr 2015 01:33:56 +0200 Subject: [Freeswitch-users] KVM vs. XEN virtualization In-Reply-To: References: Message-ID: I made additional tests by sending calls to sipgate.co.uk, and they confirm my results: when sending a call from my Xen server in Switzerland, the received audio is always perfect. But when sending from a Digitalocean host in Amsterdam, I get the slipping frames. I will re-test again during a business day, when the servers are likely to be more busy. On Sun, Apr 5, 2015 at 12:47 PM, Stanislav Sinyagin wrote: > Yrs, jitter buffer was enabled. Here I'm pretty sure that we deal with the > clock skew. > On Apr 5, 2015 12:07 PM, "Brian West" wrote: > >> Correct me if I'm wrong but is sounds like you've described jitter. Did >> you test with the jitter buffer enabled? >> >> On Sunday, April 5, 2015, Regis M >> wrote: >> >>> nice work !!! Thanks for sharing. >>> >>> >>> >>> 2015-04-05 2:37 GMT+02:00 Stanislav Sinyagin : >>> >>>> here we go: >>>> >>>> https://txlab.wordpress.com/2015/04/05/testing-rtp-clock-precision-on-a-virtual-machine/ >>>> >>>> >>>> >>>> On Sat, Apr 4, 2015 at 4:26 PM, Stanislav Sinyagin >>>> wrote: >>>> > On Sat, Apr 4, 2015 at 1:03 PM, Regis M < >>>> regis.freeswitch.org at tornad.net> wrote: >>>> >> How do you check wavs together in audacity ? >>>> > >>>> > you just open two WAV files, align their starting position, and >>>> > visually check the waves. If there's a problem, you would see that >>>> > after few seconds, the waves are not aligned any more. >>>> > >>>> >> Can you send me 2 samples wav (send... and recorded) so I could see >>>> the 20ms >>>> >> diff that you exposed... >>>> >> >>>> >> Is there a way to automate the result checking, so it could help to >>>> monitor >>>> >> itsp quality >>>> > >>>> > Here >>>> > https://github.com/openpreserve/scape-xcorrsound/issues/17 >>>> > this is a link to a tool which compares two sound files at the wave >>>> > level. You can also see the sound samples in the ticket. >>>> > The problem is, that currently this tool does not detect such >>>> slipping frames. >>>> > >>>> > I will also write a detailed article with examples, during the >>>> weekend. >>>> > >>>> > >>>> > >>>> > >>>> > >>>> >> >>>> >> >>>> >> 2015-04-04 12:53 GMT+02:00 Stanislav Sinyagin : >>>> >>> >>>> >>> Important is to send the media through two independent carriers - >>>> then you >>>> >>> can be sure that your clock is compared against a high quality one. >>>> >>> >>>> >>> On Apr 4, 2015 12:46 PM, "Regis M" >>> > >>>> >>> wrote: >>>> >>>> >>>> >>>> Hi, >>>> >>>> >>>> >>>> It's a very interresting test and conclusion. >>>> >>>> >>>> >>>> I will try to build a similar environnement on my freeswitch to >>>> check >>>> >>>> some system :) >>>> >>>> >>>> >>>> thanks >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> 2015-04-04 2:16 GMT+02:00 Stanislav Sinyagin >>> >: >>>> >>>>> >>>> >>>>> hi, >>>> >>>>> >>>> >>>>> Here are some test results which might be interesting: >>>> >>>>> >>>> >>>>> I've set up a test FreeSWITCH server at digitalocean (they use >>>> KVM), >>>> >>>>> and originated test calls to some ITSP accounts. Each call played >>>> a >>>> >>>>> test sound file (voice samples from ITU: >>>> >>>>> >>>> http://www.itu.int/net/itu-t/sigdb/genaudio/AudioForm-g.aspx?val=1000050 >>>> >>>>> ), and on the receiving end another FreeSWITCH server was >>>> recording >>>> >>>>> the received session. The receiving server was on a XEN VM. Both >>>> >>>>> servers talked G711 to their corresponding ITSP accounts. >>>> >>>>> >>>> >>>>> Then I compared the source audio and received audio in Audacity >>>> editor. >>>> >>>>> >>>> >>>>> The tests showed that the received voice wave shifts 20ms from the >>>> >>>>> original sound every few seconds, randomly back and forward. This >>>> >>>>> skewing was always present, regardless of ITSP and time of day. >>>> >>>>> >>>> >>>>> Then I moved the sending server to a XEN VM, and the waves >>>> appeared >>>> >>>>> almost perfectly synchronized (there was a 5ms skew in one test, >>>> and I >>>> >>>>> guess it's related to transcoding buffer, as the sound was >>>> obviously >>>> >>>>> transcoded). >>>> >>>>> >>>> >>>>> The effect was always visible with a 30-second sample, and I also >>>> made >>>> >>>>> additional tests with 2-minute samples. >>>> >>>>> >>>> >>>>> It would also be interesting to test this from a VmWare VM. If >>>> someone >>>> >>>>> wants to run such a test, feel free to contact me directly. >>>> >>>>> >>>> >>>>> >>>> >>>>> cheers, >>>> >>>>> stan >>>> >>>>> >>>> >>>>> >>>> >>>>> >>>> _________________________________________________________________________ >>>> >>>>> Professional FreeSWITCH Consulting Services: >>>> >>>>> consulting at freeswitch.org >>>> >>>>> http://www.freeswitchsolutions.com >>>> >>>>> >>>> >>>>> Official FreeSWITCH Sites >>>> >>>>> http://www.freeswitch.org >>>> >>>>> http://confluence.freeswitch.org >>>> >>>>> http://www.cluecon.com >>>> >>>>> >>>> >>>>> FreeSWITCH-users mailing list >>>> >>>>> FreeSWITCH-users at lists.freeswitch.org >>>> >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> >>>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> >>>>> http://www.freeswitch.org >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> >>>> Professional FreeSWITCH Consulting Services: >>>> >>>> consulting at freeswitch.org >>>> >>>> http://www.freeswitchsolutions.com >>>> >>>> >>>> >>>> Official FreeSWITCH Sites >>>> >>>> http://www.freeswitch.org >>>> >>>> http://confluence.freeswitch.org >>>> >>>> http://www.cluecon.com >>>> >>>> >>>> >>>> FreeSWITCH-users mailing list >>>> >>>> FreeSWITCH-users at lists.freeswitch.org >>>> >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> >>>> http://www.freeswitch.org >>>> >>> >>>> >>> >>>> >>> >>>> _________________________________________________________________________ >>>> >>> Professional FreeSWITCH Consulting Services: >>>> >>> consulting at freeswitch.org >>>> >>> http://www.freeswitchsolutions.com >>>> >>> >>>> >>> Official FreeSWITCH Sites >>>> >>> http://www.freeswitch.org >>>> >>> http://confluence.freeswitch.org >>>> >>> http://www.cluecon.com >>>> >>> >>>> >>> FreeSWITCH-users mailing list >>>> >>> FreeSWITCH-users at lists.freeswitch.org >>>> >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> >>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> >>> http://www.freeswitch.org >>>> >> >>>> >> >>>> >> >>>> >> >>>> _________________________________________________________________________ >>>> >> Professional FreeSWITCH Consulting Services: >>>> >> consulting at freeswitch.org >>>> >> http://www.freeswitchsolutions.com >>>> >> >>>> >> Official FreeSWITCH Sites >>>> >> http://www.freeswitch.org >>>> >> http://confluence.freeswitch.org >>>> >> http://www.cluecon.com >>>> >> >>>> >> FreeSWITCH-users mailing list >>>> >> FreeSWITCH-users at lists.freeswitch.org >>>> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> >> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> >> http://www.freeswitch.org >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >> >> -- >> >> *Brian West* >> brian at freeswitch.org >> >> >> *Twitter: @FreeSWITCH , @briankwest* >> http://www.freeswitchbook.com >> http://www.freeswitchcookbook.com >> >> ClueCon 2015 Call for Speakers >> | Register >> TODAY! | Reddit: /r/freeswitch >> >> >> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) >> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150406/bc3baee1/attachment.html From carlos.ruizdiaz at gmail.com Mon Apr 6 03:52:15 2015 From: carlos.ruizdiaz at gmail.com (=?UTF-8?Q?Carlos_Ruiz_D=C3=ADaz?=) Date: Sun, 5 Apr 2015 17:52:15 -0600 Subject: [Freeswitch-users] KVM vs. XEN virtualization In-Reply-To: References: Message-ID: This makes me wonder whether to stick with DO or migrate to Amazon. Any advice on EC2 quality compared to DO? On Sun, Apr 5, 2015 at 5:33 PM, Stanislav Sinyagin wrote: > I made additional tests by sending calls to sipgate.co.uk, and they > confirm my results: when sending a call from my Xen server in Switzerland, > the received audio is always perfect. But when sending from a Digitalocean > host in Amsterdam, I get the slipping frames. > > I will re-test again during a business day, when the servers are likely to > be more busy. > > > > On Sun, Apr 5, 2015 at 12:47 PM, Stanislav Sinyagin > wrote: > >> Yrs, jitter buffer was enabled. Here I'm pretty sure that we deal with >> the clock skew. >> On Apr 5, 2015 12:07 PM, "Brian West" wrote: >> >>> Correct me if I'm wrong but is sounds like you've described jitter. Did >>> you test with the jitter buffer enabled? >>> >>> On Sunday, April 5, 2015, Regis M >>> wrote: >>> >>>> nice work !!! Thanks for sharing. >>>> >>>> >>>> >>>> 2015-04-05 2:37 GMT+02:00 Stanislav Sinyagin : >>>> >>>>> here we go: >>>>> >>>>> https://txlab.wordpress.com/2015/04/05/testing-rtp-clock-precision-on-a-virtual-machine/ >>>>> >>>>> >>>>> >>>>> On Sat, Apr 4, 2015 at 4:26 PM, Stanislav Sinyagin < >>>>> ssinyagin at gmail.com> wrote: >>>>> > On Sat, Apr 4, 2015 at 1:03 PM, Regis M < >>>>> regis.freeswitch.org at tornad.net> wrote: >>>>> >> How do you check wavs together in audacity ? >>>>> > >>>>> > you just open two WAV files, align their starting position, and >>>>> > visually check the waves. If there's a problem, you would see that >>>>> > after few seconds, the waves are not aligned any more. >>>>> > >>>>> >> Can you send me 2 samples wav (send... and recorded) so I could see >>>>> the 20ms >>>>> >> diff that you exposed... >>>>> >> >>>>> >> Is there a way to automate the result checking, so it could help to >>>>> monitor >>>>> >> itsp quality >>>>> > >>>>> > Here >>>>> > https://github.com/openpreserve/scape-xcorrsound/issues/17 >>>>> > this is a link to a tool which compares two sound files at the wave >>>>> > level. You can also see the sound samples in the ticket. >>>>> > The problem is, that currently this tool does not detect such >>>>> slipping frames. >>>>> > >>>>> > I will also write a detailed article with examples, during the >>>>> weekend. >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> >> >>>>> >> >>>>> >> 2015-04-04 12:53 GMT+02:00 Stanislav Sinyagin >>>> >: >>>>> >>> >>>>> >>> Important is to send the media through two independent carriers - >>>>> then you >>>>> >>> can be sure that your clock is compared against a high quality one. >>>>> >>> >>>>> >>> On Apr 4, 2015 12:46 PM, "Regis M" < >>>>> regis.freeswitch.org at tornad.net> >>>>> >>> wrote: >>>>> >>>> >>>>> >>>> Hi, >>>>> >>>> >>>>> >>>> It's a very interresting test and conclusion. >>>>> >>>> >>>>> >>>> I will try to build a similar environnement on my freeswitch to >>>>> check >>>>> >>>> some system :) >>>>> >>>> >>>>> >>>> thanks >>>>> >>>> >>>>> >>>> >>>>> >>>> >>>>> >>>> 2015-04-04 2:16 GMT+02:00 Stanislav Sinyagin >>>> >: >>>>> >>>>> >>>>> >>>>> hi, >>>>> >>>>> >>>>> >>>>> Here are some test results which might be interesting: >>>>> >>>>> >>>>> >>>>> I've set up a test FreeSWITCH server at digitalocean (they use >>>>> KVM), >>>>> >>>>> and originated test calls to some ITSP accounts. Each call >>>>> played a >>>>> >>>>> test sound file (voice samples from ITU: >>>>> >>>>> >>>>> http://www.itu.int/net/itu-t/sigdb/genaudio/AudioForm-g.aspx?val=1000050 >>>>> >>>>> ), and on the receiving end another FreeSWITCH server was >>>>> recording >>>>> >>>>> the received session. The receiving server was on a XEN VM. Both >>>>> >>>>> servers talked G711 to their corresponding ITSP accounts. >>>>> >>>>> >>>>> >>>>> Then I compared the source audio and received audio in Audacity >>>>> editor. >>>>> >>>>> >>>>> >>>>> The tests showed that the received voice wave shifts 20ms from >>>>> the >>>>> >>>>> original sound every few seconds, randomly back and forward. This >>>>> >>>>> skewing was always present, regardless of ITSP and time of day. >>>>> >>>>> >>>>> >>>>> Then I moved the sending server to a XEN VM, and the waves >>>>> appeared >>>>> >>>>> almost perfectly synchronized (there was a 5ms skew in one test, >>>>> and I >>>>> >>>>> guess it's related to transcoding buffer, as the sound was >>>>> obviously >>>>> >>>>> transcoded). >>>>> >>>>> >>>>> >>>>> The effect was always visible with a 30-second sample, and I >>>>> also made >>>>> >>>>> additional tests with 2-minute samples. >>>>> >>>>> >>>>> >>>>> It would also be interesting to test this from a VmWare VM. If >>>>> someone >>>>> >>>>> wants to run such a test, feel free to contact me directly. >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> cheers, >>>>> >>>>> stan >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> >>>>> Professional FreeSWITCH Consulting Services: >>>>> >>>>> consulting at freeswitch.org >>>>> >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> >>>>> >>>>> Official FreeSWITCH Sites >>>>> >>>>> http://www.freeswitch.org >>>>> >>>>> http://confluence.freeswitch.org >>>>> >>>>> http://www.cluecon.com >>>>> >>>>> >>>>> >>>>> FreeSWITCH-users mailing list >>>>> >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> >>>>> http://www.freeswitch.org >>>>> >>>> >>>>> >>>> >>>>> >>>> >>>>> >>>> >>>>> _________________________________________________________________________ >>>>> >>>> Professional FreeSWITCH Consulting Services: >>>>> >>>> consulting at freeswitch.org >>>>> >>>> http://www.freeswitchsolutions.com >>>>> >>>> >>>>> >>>> Official FreeSWITCH Sites >>>>> >>>> http://www.freeswitch.org >>>>> >>>> http://confluence.freeswitch.org >>>>> >>>> http://www.cluecon.com >>>>> >>>> >>>>> >>>> FreeSWITCH-users mailing list >>>>> >>>> FreeSWITCH-users at lists.freeswitch.org >>>>> >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> >>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> >>>> http://www.freeswitch.org >>>>> >>> >>>>> >>> >>>>> >>> >>>>> _________________________________________________________________________ >>>>> >>> Professional FreeSWITCH Consulting Services: >>>>> >>> consulting at freeswitch.org >>>>> >>> http://www.freeswitchsolutions.com >>>>> >>> >>>>> >>> Official FreeSWITCH Sites >>>>> >>> http://www.freeswitch.org >>>>> >>> http://confluence.freeswitch.org >>>>> >>> http://www.cluecon.com >>>>> >>> >>>>> >>> FreeSWITCH-users mailing list >>>>> >>> FreeSWITCH-users at lists.freeswitch.org >>>>> >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> >>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> >>> http://www.freeswitch.org >>>>> >> >>>>> >> >>>>> >> >>>>> >> >>>>> _________________________________________________________________________ >>>>> >> Professional FreeSWITCH Consulting Services: >>>>> >> consulting at freeswitch.org >>>>> >> http://www.freeswitchsolutions.com >>>>> >> >>>>> >> Official FreeSWITCH Sites >>>>> >> http://www.freeswitch.org >>>>> >> http://confluence.freeswitch.org >>>>> >> http://www.cluecon.com >>>>> >> >>>>> >> FreeSWITCH-users mailing list >>>>> >> FreeSWITCH-users at lists.freeswitch.org >>>>> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> >> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> >> http://www.freeswitch.org >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>> >>> -- >>> >>> *Brian West* >>> brian at freeswitch.org >>> >>> >>> *Twitter: @FreeSWITCH , @briankwest* >>> http://www.freeswitchbook.com >>> http://www.freeswitchcookbook.com >>> >>> ClueCon 2015 Call for Speakers >>> | Register >>> TODAY! | Reddit: /r/freeswitch >>> >>> >>> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) >>> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Carlos http://caruizdiaz.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150405/36a93801/attachment-0001.html From gassaad at emassembly.com Mon Apr 6 06:39:50 2015 From: gassaad at emassembly.com (George Assaad) Date: Sun, 5 Apr 2015 22:39:50 -0400 Subject: [Freeswitch-users] KVM vs. XEN virtualization In-Reply-To: References: Message-ID: Nobody mentioned OpenVZ, what about it? If anybody has any feedback? On Sun, Apr 5, 2015 at 7:52 PM, Carlos Ruiz D?az wrote: > This makes me wonder whether to stick with DO or migrate to Amazon. > > Any advice on EC2 quality compared to DO? > > On Sun, Apr 5, 2015 at 5:33 PM, Stanislav Sinyagin > wrote: > >> I made additional tests by sending calls to sipgate.co.uk, and they >> confirm my results: when sending a call from my Xen server in Switzerland, >> the received audio is always perfect. But when sending from a Digitalocean >> host in Amsterdam, I get the slipping frames. >> >> I will re-test again during a business day, when the servers are likely >> to be more busy. >> >> >> >> On Sun, Apr 5, 2015 at 12:47 PM, Stanislav Sinyagin >> wrote: >> >>> Yrs, jitter buffer was enabled. Here I'm pretty sure that we deal with >>> the clock skew. >>> On Apr 5, 2015 12:07 PM, "Brian West" wrote: >>> >>>> Correct me if I'm wrong but is sounds like you've described jitter. >>>> Did you test with the jitter buffer enabled? >>>> >>>> On Sunday, April 5, 2015, Regis M >>>> wrote: >>>> >>>>> nice work !!! Thanks for sharing. >>>>> >>>>> >>>>> >>>>> 2015-04-05 2:37 GMT+02:00 Stanislav Sinyagin : >>>>> >>>>>> here we go: >>>>>> >>>>>> https://txlab.wordpress.com/2015/04/05/testing-rtp-clock-precision-on-a-virtual-machine/ >>>>>> >>>>>> >>>>>> >>>>>> On Sat, Apr 4, 2015 at 4:26 PM, Stanislav Sinyagin < >>>>>> ssinyagin at gmail.com> wrote: >>>>>> > On Sat, Apr 4, 2015 at 1:03 PM, Regis M < >>>>>> regis.freeswitch.org at tornad.net> wrote: >>>>>> >> How do you check wavs together in audacity ? >>>>>> > >>>>>> > you just open two WAV files, align their starting position, and >>>>>> > visually check the waves. If there's a problem, you would see that >>>>>> > after few seconds, the waves are not aligned any more. >>>>>> > >>>>>> >> Can you send me 2 samples wav (send... and recorded) so I could >>>>>> see the 20ms >>>>>> >> diff that you exposed... >>>>>> >> >>>>>> >> Is there a way to automate the result checking, so it could help >>>>>> to monitor >>>>>> >> itsp quality >>>>>> > >>>>>> > Here >>>>>> > https://github.com/openpreserve/scape-xcorrsound/issues/17 >>>>>> > this is a link to a tool which compares two sound files at the wave >>>>>> > level. You can also see the sound samples in the ticket. >>>>>> > The problem is, that currently this tool does not detect such >>>>>> slipping frames. >>>>>> > >>>>>> > I will also write a detailed article with examples, during the >>>>>> weekend. >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> >> >>>>>> >> >>>>>> >> 2015-04-04 12:53 GMT+02:00 Stanislav Sinyagin >>>>> >: >>>>>> >>> >>>>>> >>> Important is to send the media through two independent carriers - >>>>>> then you >>>>>> >>> can be sure that your clock is compared against a high quality >>>>>> one. >>>>>> >>> >>>>>> >>> On Apr 4, 2015 12:46 PM, "Regis M" < >>>>>> regis.freeswitch.org at tornad.net> >>>>>> >>> wrote: >>>>>> >>>> >>>>>> >>>> Hi, >>>>>> >>>> >>>>>> >>>> It's a very interresting test and conclusion. >>>>>> >>>> >>>>>> >>>> I will try to build a similar environnement on my freeswitch to >>>>>> check >>>>>> >>>> some system :) >>>>>> >>>> >>>>>> >>>> thanks >>>>>> >>>> >>>>>> >>>> >>>>>> >>>> >>>>>> >>>> 2015-04-04 2:16 GMT+02:00 Stanislav Sinyagin < >>>>>> ssinyagin at gmail.com>: >>>>>> >>>>> >>>>>> >>>>> hi, >>>>>> >>>>> >>>>>> >>>>> Here are some test results which might be interesting: >>>>>> >>>>> >>>>>> >>>>> I've set up a test FreeSWITCH server at digitalocean (they use >>>>>> KVM), >>>>>> >>>>> and originated test calls to some ITSP accounts. Each call >>>>>> played a >>>>>> >>>>> test sound file (voice samples from ITU: >>>>>> >>>>> >>>>>> http://www.itu.int/net/itu-t/sigdb/genaudio/AudioForm-g.aspx?val=1000050 >>>>>> >>>>> ), and on the receiving end another FreeSWITCH server was >>>>>> recording >>>>>> >>>>> the received session. The receiving server was on a XEN VM. Both >>>>>> >>>>> servers talked G711 to their corresponding ITSP accounts. >>>>>> >>>>> >>>>>> >>>>> Then I compared the source audio and received audio in Audacity >>>>>> editor. >>>>>> >>>>> >>>>>> >>>>> The tests showed that the received voice wave shifts 20ms from >>>>>> the >>>>>> >>>>> original sound every few seconds, randomly back and forward. >>>>>> This >>>>>> >>>>> skewing was always present, regardless of ITSP and time of day. >>>>>> >>>>> >>>>>> >>>>> Then I moved the sending server to a XEN VM, and the waves >>>>>> appeared >>>>>> >>>>> almost perfectly synchronized (there was a 5ms skew in one >>>>>> test, and I >>>>>> >>>>> guess it's related to transcoding buffer, as the sound was >>>>>> obviously >>>>>> >>>>> transcoded). >>>>>> >>>>> >>>>>> >>>>> The effect was always visible with a 30-second sample, and I >>>>>> also made >>>>>> >>>>> additional tests with 2-minute samples. >>>>>> >>>>> >>>>>> >>>>> It would also be interesting to test this from a VmWare VM. If >>>>>> someone >>>>>> >>>>> wants to run such a test, feel free to contact me directly. >>>>>> >>>>> >>>>>> >>>>> >>>>>> >>>>> cheers, >>>>>> >>>>> stan >>>>>> >>>>> >>>>>> >>>>> >>>>>> >>>>> >>>>>> _________________________________________________________________________ >>>>>> >>>>> Professional FreeSWITCH Consulting Services: >>>>>> >>>>> consulting at freeswitch.org >>>>>> >>>>> http://www.freeswitchsolutions.com >>>>>> >>>>> >>>>>> >>>>> Official FreeSWITCH Sites >>>>>> >>>>> http://www.freeswitch.org >>>>>> >>>>> http://confluence.freeswitch.org >>>>>> >>>>> http://www.cluecon.com >>>>>> >>>>> >>>>>> >>>>> FreeSWITCH-users mailing list >>>>>> >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>> >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> >>>>> UNSUBSCRIBE: >>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> >>>>> http://www.freeswitch.org >>>>>> >>>> >>>>>> >>>> >>>>>> >>>> >>>>>> >>>> >>>>>> _________________________________________________________________________ >>>>>> >>>> Professional FreeSWITCH Consulting Services: >>>>>> >>>> consulting at freeswitch.org >>>>>> >>>> http://www.freeswitchsolutions.com >>>>>> >>>> >>>>>> >>>> Official FreeSWITCH Sites >>>>>> >>>> http://www.freeswitch.org >>>>>> >>>> http://confluence.freeswitch.org >>>>>> >>>> http://www.cluecon.com >>>>>> >>>> >>>>>> >>>> FreeSWITCH-users mailing list >>>>>> >>>> FreeSWITCH-users at lists.freeswitch.org >>>>>> >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> >>>> UNSUBSCRIBE: >>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> >>>> http://www.freeswitch.org >>>>>> >>> >>>>>> >>> >>>>>> >>> >>>>>> _________________________________________________________________________ >>>>>> >>> Professional FreeSWITCH Consulting Services: >>>>>> >>> consulting at freeswitch.org >>>>>> >>> http://www.freeswitchsolutions.com >>>>>> >>> >>>>>> >>> Official FreeSWITCH Sites >>>>>> >>> http://www.freeswitch.org >>>>>> >>> http://confluence.freeswitch.org >>>>>> >>> http://www.cluecon.com >>>>>> >>> >>>>>> >>> FreeSWITCH-users mailing list >>>>>> >>> FreeSWITCH-users at lists.freeswitch.org >>>>>> >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> >>> UNSUBSCRIBE: >>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> >>> http://www.freeswitch.org >>>>>> >> >>>>>> >> >>>>>> >> >>>>>> >> >>>>>> _________________________________________________________________________ >>>>>> >> Professional FreeSWITCH Consulting Services: >>>>>> >> consulting at freeswitch.org >>>>>> >> http://www.freeswitchsolutions.com >>>>>> >> >>>>>> >> Official FreeSWITCH Sites >>>>>> >> http://www.freeswitch.org >>>>>> >> http://confluence.freeswitch.org >>>>>> >> http://www.cluecon.com >>>>>> >> >>>>>> >> FreeSWITCH-users mailing list >>>>>> >> FreeSWITCH-users at lists.freeswitch.org >>>>>> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> >> UNSUBSCRIBE: >>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> >> http://www.freeswitch.org >>>>>> >>>>>> >>>>>> _________________________________________________________________________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at freeswitch.org >>>>>> http://www.freeswitchsolutions.com >>>>>> >>>>>> Official FreeSWITCH Sites >>>>>> http://www.freeswitch.org >>>>>> http://confluence.freeswitch.org >>>>>> http://www.cluecon.com >>>>>> >>>>>> FreeSWITCH-users mailing list >>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE: >>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>> >>>>> >>>> >>>> -- >>>> >>>> *Brian West* >>>> brian at freeswitch.org >>>> >>>> >>>> *Twitter: @FreeSWITCH , @briankwest* >>>> http://www.freeswitchbook.com >>>> http://www.freeswitchcookbook.com >>>> >>>> ClueCon 2015 Call for Speakers >>>> | Register >>>> TODAY! | Reddit: /r/freeswitch >>>> >>>> >>>> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) >>>> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > Carlos > http://caruizdiaz.com > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150405/3635c94e/attachment-0001.html From gmaruzz at gmail.com Mon Apr 6 06:55:52 2015 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Mon, 6 Apr 2015 04:55:52 +0200 Subject: [Freeswitch-users] KVM vs. XEN virtualization In-Reply-To: References: Message-ID: On Mon, Apr 6, 2015 at 4:39 AM, George Assaad wrote: > Nobody mentioned OpenVZ, what about it? If anybody has any feedback? > OpenVZ (and "containers", LXC, ertc) is the preferred method for "virtualization" of FreeSWITCH. It does not emulate an hardware layer, neither runs multiple kernels sharing (multiplexing) an hardware clock. It runs directly on the iron, and has one only kernel, with real IRQs and timers. As for timing, OpenVZ and LXC give you the same results as bare metal, eg best possible results. -giovanni > > On Sun, Apr 5, 2015 at 7:52 PM, Carlos Ruiz D?az < > carlos.ruizdiaz at gmail.com> wrote: > >> This makes me wonder whether to stick with DO or migrate to Amazon. >> >> Any advice on EC2 quality compared to DO? >> >> On Sun, Apr 5, 2015 at 5:33 PM, Stanislav Sinyagin >> wrote: >> >>> I made additional tests by sending calls to sipgate.co.uk, and they >>> confirm my results: when sending a call from my Xen server in Switzerland, >>> the received audio is always perfect. But when sending from a Digitalocean >>> host in Amsterdam, I get the slipping frames. >>> >>> I will re-test again during a business day, when the servers are likely >>> to be more busy. >>> >>> >>> >>> On Sun, Apr 5, 2015 at 12:47 PM, Stanislav Sinyagin >> > wrote: >>> >>>> Yrs, jitter buffer was enabled. Here I'm pretty sure that we deal with >>>> the clock skew. >>>> On Apr 5, 2015 12:07 PM, "Brian West" wrote: >>>> >>>>> Correct me if I'm wrong but is sounds like you've described jitter. >>>>> Did you test with the jitter buffer enabled? >>>>> >>>>> On Sunday, April 5, 2015, Regis M >>>>> wrote: >>>>> >>>>>> nice work !!! Thanks for sharing. >>>>>> >>>>>> >>>>>> >>>>>> 2015-04-05 2:37 GMT+02:00 Stanislav Sinyagin : >>>>>> >>>>>>> here we go: >>>>>>> >>>>>>> https://txlab.wordpress.com/2015/04/05/testing-rtp-clock-precision-on-a-virtual-machine/ >>>>>>> >>>>>>> >>>>>>> >>>>>>> On Sat, Apr 4, 2015 at 4:26 PM, Stanislav Sinyagin < >>>>>>> ssinyagin at gmail.com> wrote: >>>>>>> > On Sat, Apr 4, 2015 at 1:03 PM, Regis M < >>>>>>> regis.freeswitch.org at tornad.net> wrote: >>>>>>> >> How do you check wavs together in audacity ? >>>>>>> > >>>>>>> > you just open two WAV files, align their starting position, and >>>>>>> > visually check the waves. If there's a problem, you would see that >>>>>>> > after few seconds, the waves are not aligned any more. >>>>>>> > >>>>>>> >> Can you send me 2 samples wav (send... and recorded) so I could >>>>>>> see the 20ms >>>>>>> >> diff that you exposed... >>>>>>> >> >>>>>>> >> Is there a way to automate the result checking, so it could help >>>>>>> to monitor >>>>>>> >> itsp quality >>>>>>> > >>>>>>> > Here >>>>>>> > https://github.com/openpreserve/scape-xcorrsound/issues/17 >>>>>>> > this is a link to a tool which compares two sound files at the wave >>>>>>> > level. You can also see the sound samples in the ticket. >>>>>>> > The problem is, that currently this tool does not detect such >>>>>>> slipping frames. >>>>>>> > >>>>>>> > I will also write a detailed article with examples, during the >>>>>>> weekend. >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> >> >>>>>>> >> >>>>>>> >> 2015-04-04 12:53 GMT+02:00 Stanislav Sinyagin < >>>>>>> ssinyagin at gmail.com>: >>>>>>> >>> >>>>>>> >>> Important is to send the media through two independent carriers >>>>>>> - then you >>>>>>> >>> can be sure that your clock is compared against a high quality >>>>>>> one. >>>>>>> >>> >>>>>>> >>> On Apr 4, 2015 12:46 PM, "Regis M" < >>>>>>> regis.freeswitch.org at tornad.net> >>>>>>> >>> wrote: >>>>>>> >>>> >>>>>>> >>>> Hi, >>>>>>> >>>> >>>>>>> >>>> It's a very interresting test and conclusion. >>>>>>> >>>> >>>>>>> >>>> I will try to build a similar environnement on my freeswitch to >>>>>>> check >>>>>>> >>>> some system :) >>>>>>> >>>> >>>>>>> >>>> thanks >>>>>>> >>>> >>>>>>> >>>> >>>>>>> >>>> >>>>>>> >>>> 2015-04-04 2:16 GMT+02:00 Stanislav Sinyagin < >>>>>>> ssinyagin at gmail.com>: >>>>>>> >>>>> >>>>>>> >>>>> hi, >>>>>>> >>>>> >>>>>>> >>>>> Here are some test results which might be interesting: >>>>>>> >>>>> >>>>>>> >>>>> I've set up a test FreeSWITCH server at digitalocean (they use >>>>>>> KVM), >>>>>>> >>>>> and originated test calls to some ITSP accounts. Each call >>>>>>> played a >>>>>>> >>>>> test sound file (voice samples from ITU: >>>>>>> >>>>> >>>>>>> http://www.itu.int/net/itu-t/sigdb/genaudio/AudioForm-g.aspx?val=1000050 >>>>>>> >>>>> ), and on the receiving end another FreeSWITCH server was >>>>>>> recording >>>>>>> >>>>> the received session. The receiving server was on a XEN VM. >>>>>>> Both >>>>>>> >>>>> servers talked G711 to their corresponding ITSP accounts. >>>>>>> >>>>> >>>>>>> >>>>> Then I compared the source audio and received audio in >>>>>>> Audacity editor. >>>>>>> >>>>> >>>>>>> >>>>> The tests showed that the received voice wave shifts 20ms from >>>>>>> the >>>>>>> >>>>> original sound every few seconds, randomly back and forward. >>>>>>> This >>>>>>> >>>>> skewing was always present, regardless of ITSP and time of day. >>>>>>> >>>>> >>>>>>> >>>>> Then I moved the sending server to a XEN VM, and the waves >>>>>>> appeared >>>>>>> >>>>> almost perfectly synchronized (there was a 5ms skew in one >>>>>>> test, and I >>>>>>> >>>>> guess it's related to transcoding buffer, as the sound was >>>>>>> obviously >>>>>>> >>>>> transcoded). >>>>>>> >>>>> >>>>>>> >>>>> The effect was always visible with a 30-second sample, and I >>>>>>> also made >>>>>>> >>>>> additional tests with 2-minute samples. >>>>>>> >>>>> >>>>>>> >>>>> It would also be interesting to test this from a VmWare VM. If >>>>>>> someone >>>>>>> >>>>> wants to run such a test, feel free to contact me directly. >>>>>>> >>>>> >>>>>>> >>>>> >>>>>>> >>>>> cheers, >>>>>>> >>>>> stan >>>>>>> >>>>> >>>>>>> >>>>> >>>>>>> >>>>> >>>>>>> _________________________________________________________________________ >>>>>>> >>>>> Professional FreeSWITCH Consulting Services: >>>>>>> >>>>> consulting at freeswitch.org >>>>>>> >>>>> http://www.freeswitchsolutions.com >>>>>>> >>>>> >>>>>>> >>>>> Official FreeSWITCH Sites >>>>>>> >>>>> http://www.freeswitch.org >>>>>>> >>>>> http://confluence.freeswitch.org >>>>>>> >>>>> http://www.cluecon.com >>>>>>> >>>>> >>>>>>> >>>>> FreeSWITCH-users mailing list >>>>>>> >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>> >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> >>>>> UNSUBSCRIBE: >>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>> >>>>> http://www.freeswitch.org >>>>>>> >>>> >>>>>>> >>>> >>>>>>> >>>> >>>>>>> >>>> >>>>>>> _________________________________________________________________________ >>>>>>> >>>> Professional FreeSWITCH Consulting Services: >>>>>>> >>>> consulting at freeswitch.org >>>>>>> >>>> http://www.freeswitchsolutions.com >>>>>>> >>>> >>>>>>> >>>> Official FreeSWITCH Sites >>>>>>> >>>> http://www.freeswitch.org >>>>>>> >>>> http://confluence.freeswitch.org >>>>>>> >>>> http://www.cluecon.com >>>>>>> >>>> >>>>>>> >>>> FreeSWITCH-users mailing list >>>>>>> >>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>> >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> >>>> UNSUBSCRIBE: >>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>> >>>> http://www.freeswitch.org >>>>>>> >>> >>>>>>> >>> >>>>>>> >>> >>>>>>> _________________________________________________________________________ >>>>>>> >>> Professional FreeSWITCH Consulting Services: >>>>>>> >>> consulting at freeswitch.org >>>>>>> >>> http://www.freeswitchsolutions.com >>>>>>> >>> >>>>>>> >>> Official FreeSWITCH Sites >>>>>>> >>> http://www.freeswitch.org >>>>>>> >>> http://confluence.freeswitch.org >>>>>>> >>> http://www.cluecon.com >>>>>>> >>> >>>>>>> >>> FreeSWITCH-users mailing list >>>>>>> >>> FreeSWITCH-users at lists.freeswitch.org >>>>>>> >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> >>> UNSUBSCRIBE: >>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>> >>> http://www.freeswitch.org >>>>>>> >> >>>>>>> >> >>>>>>> >> >>>>>>> >> >>>>>>> _________________________________________________________________________ >>>>>>> >> Professional FreeSWITCH Consulting Services: >>>>>>> >> consulting at freeswitch.org >>>>>>> >> http://www.freeswitchsolutions.com >>>>>>> >> >>>>>>> >> Official FreeSWITCH Sites >>>>>>> >> http://www.freeswitch.org >>>>>>> >> http://confluence.freeswitch.org >>>>>>> >> http://www.cluecon.com >>>>>>> >> >>>>>>> >> FreeSWITCH-users mailing list >>>>>>> >> FreeSWITCH-users at lists.freeswitch.org >>>>>>> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> >> UNSUBSCRIBE: >>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>> >> http://www.freeswitch.org >>>>>>> >>>>>>> >>>>>>> _________________________________________________________________________ >>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>> consulting at freeswitch.org >>>>>>> http://www.freeswitchsolutions.com >>>>>>> >>>>>>> Official FreeSWITCH Sites >>>>>>> http://www.freeswitch.org >>>>>>> http://confluence.freeswitch.org >>>>>>> http://www.cluecon.com >>>>>>> >>>>>>> FreeSWITCH-users mailing list >>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> UNSUBSCRIBE: >>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>> http://www.freeswitch.org >>>>>>> >>>>>> >>>>>> >>>>> >>>>> -- >>>>> >>>>> *Brian West* >>>>> brian at freeswitch.org >>>>> >>>>> >>>>> *Twitter: @FreeSWITCH , @briankwest* >>>>> http://www.freeswitchbook.com >>>>> http://www.freeswitchcookbook.com >>>>> >>>>> ClueCon 2015 Call for Speakers >>>>> | Register >>>>> TODAY! | Reddit: /r/freeswitch >>>>> >>>>> >>>>> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) >>>>> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest >>>>> >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> >> -- >> Carlos >> http://caruizdiaz.com >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Sincerely, Giovanni Maruzzelli Cell : +39-347-2665618 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150406/663aebd9/attachment-0001.html From gfs at etherway.ru Mon Apr 6 12:07:13 2015 From: gfs at etherway.ru (=?UTF-8?B?0JPRg9GB0YLQsNCy0L4g0KHQuNC70LLQsA==?=) Date: Mon, 06 Apr 2015 11:07:13 +0300 Subject: [Freeswitch-users] Failed to load radius handle for digest invite authentication Message-ID: <55223EB1.10502@etherway.ru> Hi everyone! How to solve this problem occurring on Freeswitch with the xml_radius module? 2015-04-06 11:48:25.284825 [ERR] mod_xml_radius.c:633 Failed to load radius handle for digest invite authentication 2015-04-06 11:48:25.284825 [ERR] mod_xml_radius.c:946 Failed to create new accounting_start handle for call: 0fcb1214-4941-477b-b329-2d034623c1e9 My freeradius server is getting this parameters(sniffed by wireshark: 192.168.56.1 - softphone, 192.168.56.105 - Freeswitch/radiusclient, 192.168.56.103 - Freeradius server): Radius Protocol Code: Accounting-Request (4) Packet identifier: 0xf9 (249) Length: 240 Authenticator: 19a3f95c13b4811e35b43d5390b29f8a Attribute Value Pairs AVP: l=6 t=Acct-Status-Type(40): Start(1) Acct-Status-Type: Start (1) AVP: l=38 t=Acct-Session-Id(44): 0fcb1214-4941-477b-b329-2d034623c1e9 Acct-Session-Id: 0fcb1214-4941-477b-b329-2d034623c1e9 AVP: l=6 t=User-Name(1): 1002 User-Name: 1002 AVP: l=12 t=Vendor-Specific(26) v=FreeSWITCH(27880) VSA: l=6 t=Freeswitch-Src(4): 1002 Freeswitch-Src: 1002 AVP: l=12 t=Vendor-Specific(26) v=FreeSWITCH(27880) VSA: l=6 t=Freeswitch-CLID(2): 1002 Freeswitch-CLID: 1002 AVP: l=12 t=Vendor-Specific(26) v=FreeSWITCH(27880) VSA: l=6 t=Freeswitch-Dst(5): 1001 Freeswitch-Dst: 1001 AVP: l=11 t=Vendor-Specific(26) v=FreeSWITCH(27880) VSA: l=5 t=Freeswitch-Dialplan(3): XML Freeswitch-Dialplan: XML AVP: l=6 t=Framed-IP-Address(8): 192.168.56.1 Framed-IP-Address: 192.168.56.1 (192.168.56.1) AVP: l=8 t=Vendor-Specific(26) v=FreeSWITCH(27880) VSA: l=2 t=Freeswitch-RDNIS(17): Freeswitch-RDNIS: AVP: l=15 t=Vendor-Specific(26) v=FreeSWITCH(27880) VSA: l=9 t=Freeswitch-Context(18): default Freeswitch-Context: default AVP: l=12 t=Vendor-Specific(26) v=FreeSWITCH(27880) VSA: l=6 t=Freeswitch-Ani(8): 1002 Freeswitch-Ani: 1002 AVP: l=8 t=Vendor-Specific(26) v=FreeSWITCH(27880) VSA: l=2 t=Freeswitch-Aniii(9): Freeswitch-Aniii: AVP: l=17 t=Vendor-Specific(26) v=FreeSWITCH(27880) VSA: l=11 t=Freeswitch-Source(19): mod_sofia Freeswitch-Source: mod_sofia AVP: l=39 t=Vendor-Specific(26) v=FreeSWITCH(27880) VSA: l=33 t=Freeswitch-Callstartdate(20): 2015-04-06T11:48:25.284825+0400 Freeswitch-Callstartdate: 2015-04-06T11:48:25.284825+0400 AVP: l=6 t=NAS-Port(5): 0 NAS-Port: 0 AVP: l=6 t=Acct-Delay-Time(41): 0 Acct-Delay-Time: 0 AVP: l=6 t=NAS-IP-Address(4): 192.168.56.105 NAS-IP-Address: 192.168.56.105 (192.168.56.105) Regards, Gustavo Silva From ewsamuels at gmail.com Mon Apr 6 12:15:19 2015 From: ewsamuels at gmail.com (Errol Samuels) Date: Mon, 6 Apr 2015 09:15:19 +0100 Subject: [Freeswitch-users] KVM vs. XEN virtualization In-Reply-To: References: Message-ID: Good job and Thanks for sharing! KVM at digitalocean.com, Debian 7 64bit, FreeSWITCH 1.4.15: bad precision As someone who has been using KVM for a few years and has just migrated about 20 VMs across to Digital Ocean about 6 weeks ago I admit I am a little concerned about this finding. Just out of curiosity can you tell me the specs of the VM that you tested with and which DO Datacenter? I am using NYC3 so perhaps and I will do some tests as soon as I have some time. With regards to Xen was this at Linode or inhouse? Thanks Errol On Sun, Apr 5, 2015 at 1:37 AM, Stanislav Sinyagin wrote: > here we go: > > https://txlab.wordpress.com/2015/04/05/testing-rtp-clock-precision-on-a-virtual-machine/ > > > > On Sat, Apr 4, 2015 at 4:26 PM, Stanislav Sinyagin > wrote: > > On Sat, Apr 4, 2015 at 1:03 PM, Regis M > wrote: > >> How do you check wavs together in audacity ? > > > > you just open two WAV files, align their starting position, and > > visually check the waves. If there's a problem, you would see that > > after few seconds, the waves are not aligned any more. > > > >> Can you send me 2 samples wav (send... and recorded) so I could see the > 20ms > >> diff that you exposed... > >> > >> Is there a way to automate the result checking, so it could help to > monitor > >> itsp quality > > > > Here > > https://github.com/openpreserve/scape-xcorrsound/issues/17 > > this is a link to a tool which compares two sound files at the wave > > level. You can also see the sound samples in the ticket. > > The problem is, that currently this tool does not detect such slipping > frames. > > > > I will also write a detailed article with examples, during the weekend. > > > > > > > > > > > >> > >> > >> 2015-04-04 12:53 GMT+02:00 Stanislav Sinyagin : > >>> > >>> Important is to send the media through two independent carriers - then > you > >>> can be sure that your clock is compared against a high quality one. > >>> > >>> On Apr 4, 2015 12:46 PM, "Regis M" > >>> wrote: > >>>> > >>>> Hi, > >>>> > >>>> It's a very interresting test and conclusion. > >>>> > >>>> I will try to build a similar environnement on my freeswitch to check > >>>> some system :) > >>>> > >>>> thanks > >>>> > >>>> > >>>> > >>>> 2015-04-04 2:16 GMT+02:00 Stanislav Sinyagin : > >>>>> > >>>>> hi, > >>>>> > >>>>> Here are some test results which might be interesting: > >>>>> > >>>>> I've set up a test FreeSWITCH server at digitalocean (they use KVM), > >>>>> and originated test calls to some ITSP accounts. Each call played a > >>>>> test sound file (voice samples from ITU: > >>>>> > http://www.itu.int/net/itu-t/sigdb/genaudio/AudioForm-g.aspx?val=1000050 > >>>>> ), and on the receiving end another FreeSWITCH server was recording > >>>>> the received session. The receiving server was on a XEN VM. Both > >>>>> servers talked G711 to their corresponding ITSP accounts. > >>>>> > >>>>> Then I compared the source audio and received audio in Audacity > editor. > >>>>> > >>>>> The tests showed that the received voice wave shifts 20ms from the > >>>>> original sound every few seconds, randomly back and forward. This > >>>>> skewing was always present, regardless of ITSP and time of day. > >>>>> > >>>>> Then I moved the sending server to a XEN VM, and the waves appeared > >>>>> almost perfectly synchronized (there was a 5ms skew in one test, and > I > >>>>> guess it's related to transcoding buffer, as the sound was obviously > >>>>> transcoded). > >>>>> > >>>>> The effect was always visible with a 30-second sample, and I also > made > >>>>> additional tests with 2-minute samples. > >>>>> > >>>>> It would also be interesting to test this from a VmWare VM. If > someone > >>>>> wants to run such a test, feel free to contact me directly. > >>>>> > >>>>> > >>>>> cheers, > >>>>> stan > >>>>> > >>>>> > >>>>> > _________________________________________________________________________ > >>>>> Professional FreeSWITCH Consulting Services: > >>>>> consulting at freeswitch.org > >>>>> http://www.freeswitchsolutions.com > >>>>> > >>>>> Official FreeSWITCH Sites > >>>>> http://www.freeswitch.org > >>>>> http://confluence.freeswitch.org > >>>>> http://www.cluecon.com > >>>>> > >>>>> FreeSWITCH-users mailing list > >>>>> FreeSWITCH-users at lists.freeswitch.org > >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >>>>> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >>>>> http://www.freeswitch.org > >>>> > >>>> > >>>> > >>>> > _________________________________________________________________________ > >>>> Professional FreeSWITCH Consulting Services: > >>>> consulting at freeswitch.org > >>>> http://www.freeswitchsolutions.com > >>>> > >>>> Official FreeSWITCH Sites > >>>> http://www.freeswitch.org > >>>> http://confluence.freeswitch.org > >>>> http://www.cluecon.com > >>>> > >>>> FreeSWITCH-users mailing list > >>>> FreeSWITCH-users at lists.freeswitch.org > >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >>>> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >>>> http://www.freeswitch.org > >>> > >>> > >>> > _________________________________________________________________________ > >>> Professional FreeSWITCH Consulting Services: > >>> consulting at freeswitch.org > >>> http://www.freeswitchsolutions.com > >>> > >>> Official FreeSWITCH Sites > >>> http://www.freeswitch.org > >>> http://confluence.freeswitch.org > >>> http://www.cluecon.com > >>> > >>> FreeSWITCH-users mailing list > >>> FreeSWITCH-users at lists.freeswitch.org > >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >>> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >>> http://www.freeswitch.org > >> > >> > >> > >> > _________________________________________________________________________ > >> Professional FreeSWITCH Consulting Services: > >> consulting at freeswitch.org > >> http://www.freeswitchsolutions.com > >> > >> Official FreeSWITCH Sites > >> http://www.freeswitch.org > >> http://confluence.freeswitch.org > >> http://www.cluecon.com > >> > >> FreeSWITCH-users mailing list > >> FreeSWITCH-users at lists.freeswitch.org > >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >> http://www.freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150406/81c43aab/attachment.html From ssinyagin at gmail.com Mon Apr 6 12:40:44 2015 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Mon, 6 Apr 2015 10:40:44 +0200 Subject: [Freeswitch-users] KVM vs. XEN virtualization In-Reply-To: References: Message-ID: I'm using the smallest $5 machines at DO in Amsterdam and London, and Xen is on my colocated physical machine in Zurich. I'm still collecting the statistics. It's all started when I had my call generator at DO, and I noticed regular slipping frames on the receiving side. The calls were definitely going through TDM links, because I know the receiving side. I'm still testing it. Sometimes I get slipping frames from the Xen calls, but never such regular slips as I got with DO. Sometimes on a DO host, the calls run quite fine, but those were on a weekend in the middle of the night. I'll continue testing during the week. What would be good, is to have a KVM machine where the physical host is controlled, so that we can see its overall CPU load during the tests. On Mon, Apr 6, 2015 at 10:15 AM, Errol Samuels wrote: > Good job and Thanks for sharing! > >> KVM at digitalocean.com, Debian 7 64bit, FreeSWITCH 1.4.15: bad precision > > > As someone who has been using KVM for a few years and has just migrated > about 20 VMs across to Digital Ocean about 6 weeks ago I admit I am a little > concerned about this finding. > > Just out of curiosity can you tell me the specs of the VM that you tested > with and which DO Datacenter? I am using NYC3 so perhaps and I will do some > tests as soon as I have some time. > > With regards to Xen was this at Linode or inhouse? > > Thanks > > Errol > > > > On Sun, Apr 5, 2015 at 1:37 AM, Stanislav Sinyagin > wrote: >> >> here we go: >> >> https://txlab.wordpress.com/2015/04/05/testing-rtp-clock-precision-on-a-virtual-machine/ >> >> >> >> On Sat, Apr 4, 2015 at 4:26 PM, Stanislav Sinyagin >> wrote: >> > On Sat, Apr 4, 2015 at 1:03 PM, Regis M >> > wrote: >> >> How do you check wavs together in audacity ? >> > >> > you just open two WAV files, align their starting position, and >> > visually check the waves. If there's a problem, you would see that >> > after few seconds, the waves are not aligned any more. >> > >> >> Can you send me 2 samples wav (send... and recorded) so I could see the >> >> 20ms >> >> diff that you exposed... >> >> >> >> Is there a way to automate the result checking, so it could help to >> >> monitor >> >> itsp quality >> > >> > Here >> > https://github.com/openpreserve/scape-xcorrsound/issues/17 >> > this is a link to a tool which compares two sound files at the wave >> > level. You can also see the sound samples in the ticket. >> > The problem is, that currently this tool does not detect such slipping >> > frames. >> > >> > I will also write a detailed article with examples, during the weekend. >> > >> > >> > >> > >> > >> >> >> >> >> >> 2015-04-04 12:53 GMT+02:00 Stanislav Sinyagin : >> >>> >> >>> Important is to send the media through two independent carriers - then >> >>> you >> >>> can be sure that your clock is compared against a high quality one. >> >>> >> >>> On Apr 4, 2015 12:46 PM, "Regis M" >> >>> wrote: >> >>>> >> >>>> Hi, >> >>>> >> >>>> It's a very interresting test and conclusion. >> >>>> >> >>>> I will try to build a similar environnement on my freeswitch to check >> >>>> some system :) >> >>>> >> >>>> thanks >> >>>> >> >>>> >> >>>> >> >>>> 2015-04-04 2:16 GMT+02:00 Stanislav Sinyagin : >> >>>>> >> >>>>> hi, >> >>>>> >> >>>>> Here are some test results which might be interesting: >> >>>>> >> >>>>> I've set up a test FreeSWITCH server at digitalocean (they use KVM), >> >>>>> and originated test calls to some ITSP accounts. Each call played a >> >>>>> test sound file (voice samples from ITU: >> >>>>> >> >>>>> http://www.itu.int/net/itu-t/sigdb/genaudio/AudioForm-g.aspx?val=1000050 >> >>>>> ), and on the receiving end another FreeSWITCH server was recording >> >>>>> the received session. The receiving server was on a XEN VM. Both >> >>>>> servers talked G711 to their corresponding ITSP accounts. >> >>>>> >> >>>>> Then I compared the source audio and received audio in Audacity >> >>>>> editor. >> >>>>> >> >>>>> The tests showed that the received voice wave shifts 20ms from the >> >>>>> original sound every few seconds, randomly back and forward. This >> >>>>> skewing was always present, regardless of ITSP and time of day. >> >>>>> >> >>>>> Then I moved the sending server to a XEN VM, and the waves appeared >> >>>>> almost perfectly synchronized (there was a 5ms skew in one test, and >> >>>>> I >> >>>>> guess it's related to transcoding buffer, as the sound was obviously >> >>>>> transcoded). >> >>>>> >> >>>>> The effect was always visible with a 30-second sample, and I also >> >>>>> made >> >>>>> additional tests with 2-minute samples. >> >>>>> >> >>>>> It would also be interesting to test this from a VmWare VM. If >> >>>>> someone >> >>>>> wants to run such a test, feel free to contact me directly. >> >>>>> >> >>>>> >> >>>>> cheers, >> >>>>> stan >> >>>>> >> >>>>> >> >>>>> >> >>>>> _________________________________________________________________________ >> >>>>> Professional FreeSWITCH Consulting Services: >> >>>>> consulting at freeswitch.org >> >>>>> http://www.freeswitchsolutions.com >> >>>>> >> >>>>> Official FreeSWITCH Sites >> >>>>> http://www.freeswitch.org >> >>>>> http://confluence.freeswitch.org >> >>>>> http://www.cluecon.com >> >>>>> >> >>>>> FreeSWITCH-users mailing list >> >>>>> FreeSWITCH-users at lists.freeswitch.org >> >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >>>>> >> >>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> >>>>> http://www.freeswitch.org >> >>>> >> >>>> >> >>>> >> >>>> >> >>>> _________________________________________________________________________ >> >>>> Professional FreeSWITCH Consulting Services: >> >>>> consulting at freeswitch.org >> >>>> http://www.freeswitchsolutions.com >> >>>> >> >>>> Official FreeSWITCH Sites >> >>>> http://www.freeswitch.org >> >>>> http://confluence.freeswitch.org >> >>>> http://www.cluecon.com >> >>>> >> >>>> FreeSWITCH-users mailing list >> >>>> FreeSWITCH-users at lists.freeswitch.org >> >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >>>> >> >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> >>>> http://www.freeswitch.org >> >>> >> >>> >> >>> >> >>> _________________________________________________________________________ >> >>> Professional FreeSWITCH Consulting Services: >> >>> consulting at freeswitch.org >> >>> http://www.freeswitchsolutions.com >> >>> >> >>> Official FreeSWITCH Sites >> >>> http://www.freeswitch.org >> >>> http://confluence.freeswitch.org >> >>> http://www.cluecon.com >> >>> >> >>> FreeSWITCH-users mailing list >> >>> FreeSWITCH-users at lists.freeswitch.org >> >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >>> >> >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> >>> http://www.freeswitch.org >> >> >> >> >> >> >> >> >> >> _________________________________________________________________________ >> >> Professional FreeSWITCH Consulting Services: >> >> consulting at freeswitch.org >> >> http://www.freeswitchsolutions.com >> >> >> >> Official FreeSWITCH Sites >> >> http://www.freeswitch.org >> >> http://confluence.freeswitch.org >> >> http://www.cluecon.com >> >> >> >> FreeSWITCH-users mailing list >> >> FreeSWITCH-users at lists.freeswitch.org >> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >> >> >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> >> http://www.freeswitch.org >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org From denis at ringme.ru Mon Apr 6 12:45:18 2015 From: denis at ringme.ru (=?UTF-8?B?0JTQtdC90LjRgQ==?=) Date: Mon, 06 Apr 2015 11:45:18 +0300 Subject: [Freeswitch-users] Transfer/shift calls from one freeswitch to other freeswitch box In-Reply-To: References: Message-ID: <5522479E.5040709@ringme.ru> On 01.04.2015 02:33, Varghese Paul wrote: > Hi all, > > Is it possible to transfer/forward calls from one freeswitch box to > other box ?. > > Use case: We wanted to do some maintenance on one freeswitch server > and thinking to transfer/shift the current calls in one server to > other server. Is there any way to route the calls to other freeswitch > server without hanging up the call?. I know we should send Re-INVITE > to other users for modifying the RTP IP + RTP port number for the new > Freeswitch IP. > > Is it possible to achieve in freeswitch ? > If you have proxy on kamailio/opensips/... you can send reinvite from proxy with new rtp destination. From zvi at lexifone.com Mon Apr 6 14:55:41 2015 From: zvi at lexifone.com (Zvi Agmon) Date: Mon, 6 Apr 2015 13:55:41 +0300 Subject: [Freeswitch-users] Upgrade Freeswitch to v1.4 stable version Message-ID: Hello, I'm trying to figure out what is the correct and best way to upgrade a server running Freeswitch v1.2 to v1.4 stable. I could not find any clear documentation - can you please help? Thanks a lot Zvi Agmon Lexifone email: zvi at lexifone.com Office: +972-4-6817711 Cell: +972-54-4505109 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150406/0dd011a2/attachment.html From s.safarov at gmail.com Mon Apr 6 16:27:30 2015 From: s.safarov at gmail.com (Sergey Safarov) Date: Mon, 6 Apr 2015 15:27:30 +0300 Subject: [Freeswitch-users] KVM vs. XEN virtualization In-Reply-To: References: Message-ID: Errol can you test VM timer with utility https://rt.wiki.kernel.org/index.php/Cyclictest My VM currently have folowing results [root at fs1 ~]# date && /tmp/rt-tests/cyclictest -t42 -p 80 -d 0 -n -i 125 -l 240000 && date Sun Apr 5 07:01:31 GMT 2015 # /dev/cpu_dma_latency set to 0us policy: fifo: loadavg: 2.38 0.93 0.50 1/194 1574 T: 0 ( 1531) P:80 I:125 C: 240000 Min: 2 Act: 12 Avg: 16 Max: 1302 T: 1 ( 1532) P:80 I:125 C: 240000 Min: 2 Act: 15 Avg: 14 Max: 2895 T: 2 ( 1533) P:80 I:125 C: 240000 Min: 3 Act: 10 Avg: 12 Max: 2888 T: 3 ( 1534) P:80 I:125 C: 240000 Min: 1 Act: 16 Avg: 13 Max: 1333 T: 4 ( 1535) P:80 I:125 C: 240000 Min: 2 Act: 20 Avg: 14 Max: 2962 T: 5 ( 1536) P:80 I:125 C: 240000 Min: 1 Act: 12 Avg: 14 Max: 2946 T: 6 ( 1537) P:80 I:125 C: 240000 Min: 2 Act: 10 Avg: 13 Max: 1363 T: 7 ( 1538) P:80 I:125 C: 240000 Min: 2 Act: 12 Avg: 13 Max: 1344 T: 8 ( 1539) P:80 I:125 C: 240000 Min: 3 Act: 12 Avg: 16 Max: 1408 T: 9 ( 1540) P:80 I:125 C: 240000 Min: 1 Act: 8 Avg: 13 Max: 2882 T:10 ( 1541) P:80 I:125 C: 239974 Min: 2 Act: 12 Avg: 13 Max: 2908 On Mon, Apr 6, 2015 at 11:15 AM, Errol Samuels wrote: > Good job and Thanks for sharing! > > KVM at digitalocean.com, Debian 7 64bit, FreeSWITCH 1.4.15: bad precision > > > As someone who has been using KVM for a few years and has just migrated > about 20 VMs across to Digital Ocean about 6 weeks ago I admit I am a > little concerned about this finding. > > Just out of curiosity can you tell me the specs of the VM that you tested > with and which DO Datacenter? I am using NYC3 so perhaps and I will do > some tests as soon as I have some time. > > With regards to Xen was this at Linode or inhouse? > > Thanks > > Errol > > > > On Sun, Apr 5, 2015 at 1:37 AM, Stanislav Sinyagin > wrote: > >> here we go: >> >> https://txlab.wordpress.com/2015/04/05/testing-rtp-clock-precision-on-a-virtual-machine/ >> >> >> >> On Sat, Apr 4, 2015 at 4:26 PM, Stanislav Sinyagin >> wrote: >> > On Sat, Apr 4, 2015 at 1:03 PM, Regis M < >> regis.freeswitch.org at tornad.net> wrote: >> >> How do you check wavs together in audacity ? >> > >> > you just open two WAV files, align their starting position, and >> > visually check the waves. If there's a problem, you would see that >> > after few seconds, the waves are not aligned any more. >> > >> >> Can you send me 2 samples wav (send... and recorded) so I could see >> the 20ms >> >> diff that you exposed... >> >> >> >> Is there a way to automate the result checking, so it could help to >> monitor >> >> itsp quality >> > >> > Here >> > https://github.com/openpreserve/scape-xcorrsound/issues/17 >> > this is a link to a tool which compares two sound files at the wave >> > level. You can also see the sound samples in the ticket. >> > The problem is, that currently this tool does not detect such slipping >> frames. >> > >> > I will also write a detailed article with examples, during the weekend. >> > >> > >> > >> > >> > >> >> >> >> >> >> 2015-04-04 12:53 GMT+02:00 Stanislav Sinyagin : >> >>> >> >>> Important is to send the media through two independent carriers - >> then you >> >>> can be sure that your clock is compared against a high quality one. >> >>> >> >>> On Apr 4, 2015 12:46 PM, "Regis M" >> >>> wrote: >> >>>> >> >>>> Hi, >> >>>> >> >>>> It's a very interresting test and conclusion. >> >>>> >> >>>> I will try to build a similar environnement on my freeswitch to check >> >>>> some system :) >> >>>> >> >>>> thanks >> >>>> >> >>>> >> >>>> >> >>>> 2015-04-04 2:16 GMT+02:00 Stanislav Sinyagin : >> >>>>> >> >>>>> hi, >> >>>>> >> >>>>> Here are some test results which might be interesting: >> >>>>> >> >>>>> I've set up a test FreeSWITCH server at digitalocean (they use KVM), >> >>>>> and originated test calls to some ITSP accounts. Each call played a >> >>>>> test sound file (voice samples from ITU: >> >>>>> >> http://www.itu.int/net/itu-t/sigdb/genaudio/AudioForm-g.aspx?val=1000050 >> >>>>> ), and on the receiving end another FreeSWITCH server was recording >> >>>>> the received session. The receiving server was on a XEN VM. Both >> >>>>> servers talked G711 to their corresponding ITSP accounts. >> >>>>> >> >>>>> Then I compared the source audio and received audio in Audacity >> editor. >> >>>>> >> >>>>> The tests showed that the received voice wave shifts 20ms from the >> >>>>> original sound every few seconds, randomly back and forward. This >> >>>>> skewing was always present, regardless of ITSP and time of day. >> >>>>> >> >>>>> Then I moved the sending server to a XEN VM, and the waves appeared >> >>>>> almost perfectly synchronized (there was a 5ms skew in one test, >> and I >> >>>>> guess it's related to transcoding buffer, as the sound was obviously >> >>>>> transcoded). >> >>>>> >> >>>>> The effect was always visible with a 30-second sample, and I also >> made >> >>>>> additional tests with 2-minute samples. >> >>>>> >> >>>>> It would also be interesting to test this from a VmWare VM. If >> someone >> >>>>> wants to run such a test, feel free to contact me directly. >> >>>>> >> >>>>> >> >>>>> cheers, >> >>>>> stan >> >>>>> >> >>>>> >> >>>>> >> _________________________________________________________________________ >> >>>>> Professional FreeSWITCH Consulting Services: >> >>>>> consulting at freeswitch.org >> >>>>> http://www.freeswitchsolutions.com >> >>>>> >> >>>>> Official FreeSWITCH Sites >> >>>>> http://www.freeswitch.org >> >>>>> http://confluence.freeswitch.org >> >>>>> http://www.cluecon.com >> >>>>> >> >>>>> FreeSWITCH-users mailing list >> >>>>> FreeSWITCH-users at lists.freeswitch.org >> >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >>>>> UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> >>>>> http://www.freeswitch.org >> >>>> >> >>>> >> >>>> >> >>>> >> _________________________________________________________________________ >> >>>> Professional FreeSWITCH Consulting Services: >> >>>> consulting at freeswitch.org >> >>>> http://www.freeswitchsolutions.com >> >>>> >> >>>> Official FreeSWITCH Sites >> >>>> http://www.freeswitch.org >> >>>> http://confluence.freeswitch.org >> >>>> http://www.cluecon.com >> >>>> >> >>>> FreeSWITCH-users mailing list >> >>>> FreeSWITCH-users at lists.freeswitch.org >> >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >>>> UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> >>>> http://www.freeswitch.org >> >>> >> >>> >> >>> >> _________________________________________________________________________ >> >>> Professional FreeSWITCH Consulting Services: >> >>> consulting at freeswitch.org >> >>> http://www.freeswitchsolutions.com >> >>> >> >>> Official FreeSWITCH Sites >> >>> http://www.freeswitch.org >> >>> http://confluence.freeswitch.org >> >>> http://www.cluecon.com >> >>> >> >>> FreeSWITCH-users mailing list >> >>> FreeSWITCH-users at lists.freeswitch.org >> >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >>> UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> >>> http://www.freeswitch.org >> >> >> >> >> >> >> >> >> _________________________________________________________________________ >> >> Professional FreeSWITCH Consulting Services: >> >> consulting at freeswitch.org >> >> http://www.freeswitchsolutions.com >> >> >> >> Official FreeSWITCH Sites >> >> http://www.freeswitch.org >> >> http://confluence.freeswitch.org >> >> http://www.cluecon.com >> >> >> >> FreeSWITCH-users mailing list >> >> FreeSWITCH-users at lists.freeswitch.org >> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >> UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> >> http://www.freeswitch.org >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150406/a88a2e38/attachment-0001.html From ewsamuels at gmail.com Mon Apr 6 16:40:09 2015 From: ewsamuels at gmail.com (Errol Samuels) Date: Mon, 6 Apr 2015 13:40:09 +0100 Subject: [Freeswitch-users] KVM vs. XEN virtualization In-Reply-To: References: Message-ID: Stanislav, If you have a spare box around you could install Proxmox on it since that uses KVM and works great too. regards, Errol On Mon, Apr 6, 2015 at 9:40 AM, Stanislav Sinyagin wrote: > I'm using the smallest $5 machines at DO in Amsterdam and London, and > Xen is on my colocated physical machine in Zurich. > > I'm still collecting the statistics. It's all started when I had my > call generator at DO, and I noticed regular slipping frames on the > receiving side. The calls were definitely going through TDM links, > because I know the receiving side. > > I'm still testing it. Sometimes I get slipping frames from the Xen > calls, but never such regular slips as I got with DO. Sometimes on a > DO host, the calls run quite fine, but those were on a weekend in the > middle of the night. I'll continue testing during the week. > > What would be good, is to have a KVM machine where the physical host > is controlled, so that we can see its overall CPU load during the > tests. > > > > On Mon, Apr 6, 2015 at 10:15 AM, Errol Samuels > wrote: > > Good job and Thanks for sharing! > > > >> KVM at digitalocean.com, Debian 7 64bit, FreeSWITCH 1.4.15: bad > precision > > > > > > As someone who has been using KVM for a few years and has just migrated > > about 20 VMs across to Digital Ocean about 6 weeks ago I admit I am a > little > > concerned about this finding. > > > > Just out of curiosity can you tell me the specs of the VM that you tested > > with and which DO Datacenter? I am using NYC3 so perhaps and I will do > some > > tests as soon as I have some time. > > > > With regards to Xen was this at Linode or inhouse? > > > > Thanks > > > > Errol > > > > > > > > On Sun, Apr 5, 2015 at 1:37 AM, Stanislav Sinyagin > > wrote: > >> > >> here we go: > >> > >> > https://txlab.wordpress.com/2015/04/05/testing-rtp-clock-precision-on-a-virtual-machine/ > >> > >> > >> > >> On Sat, Apr 4, 2015 at 4:26 PM, Stanislav Sinyagin > > >> wrote: > >> > On Sat, Apr 4, 2015 at 1:03 PM, Regis M > >> > wrote: > >> >> How do you check wavs together in audacity ? > >> > > >> > you just open two WAV files, align their starting position, and > >> > visually check the waves. If there's a problem, you would see that > >> > after few seconds, the waves are not aligned any more. > >> > > >> >> Can you send me 2 samples wav (send... and recorded) so I could see > the > >> >> 20ms > >> >> diff that you exposed... > >> >> > >> >> Is there a way to automate the result checking, so it could help to > >> >> monitor > >> >> itsp quality > >> > > >> > Here > >> > https://github.com/openpreserve/scape-xcorrsound/issues/17 > >> > this is a link to a tool which compares two sound files at the wave > >> > level. You can also see the sound samples in the ticket. > >> > The problem is, that currently this tool does not detect such slipping > >> > frames. > >> > > >> > I will also write a detailed article with examples, during the > weekend. > >> > > >> > > >> > > >> > > >> > > >> >> > >> >> > >> >> 2015-04-04 12:53 GMT+02:00 Stanislav Sinyagin : > >> >>> > >> >>> Important is to send the media through two independent carriers - > then > >> >>> you > >> >>> can be sure that your clock is compared against a high quality one. > >> >>> > >> >>> On Apr 4, 2015 12:46 PM, "Regis M" > > >> >>> wrote: > >> >>>> > >> >>>> Hi, > >> >>>> > >> >>>> It's a very interresting test and conclusion. > >> >>>> > >> >>>> I will try to build a similar environnement on my freeswitch to > check > >> >>>> some system :) > >> >>>> > >> >>>> thanks > >> >>>> > >> >>>> > >> >>>> > >> >>>> 2015-04-04 2:16 GMT+02:00 Stanislav Sinyagin >: > >> >>>>> > >> >>>>> hi, > >> >>>>> > >> >>>>> Here are some test results which might be interesting: > >> >>>>> > >> >>>>> I've set up a test FreeSWITCH server at digitalocean (they use > KVM), > >> >>>>> and originated test calls to some ITSP accounts. Each call played > a > >> >>>>> test sound file (voice samples from ITU: > >> >>>>> > >> >>>>> > http://www.itu.int/net/itu-t/sigdb/genaudio/AudioForm-g.aspx?val=1000050 > >> >>>>> ), and on the receiving end another FreeSWITCH server was > recording > >> >>>>> the received session. The receiving server was on a XEN VM. Both > >> >>>>> servers talked G711 to their corresponding ITSP accounts. > >> >>>>> > >> >>>>> Then I compared the source audio and received audio in Audacity > >> >>>>> editor. > >> >>>>> > >> >>>>> The tests showed that the received voice wave shifts 20ms from the > >> >>>>> original sound every few seconds, randomly back and forward. This > >> >>>>> skewing was always present, regardless of ITSP and time of day. > >> >>>>> > >> >>>>> Then I moved the sending server to a XEN VM, and the waves > appeared > >> >>>>> almost perfectly synchronized (there was a 5ms skew in one test, > and > >> >>>>> I > >> >>>>> guess it's related to transcoding buffer, as the sound was > obviously > >> >>>>> transcoded). > >> >>>>> > >> >>>>> The effect was always visible with a 30-second sample, and I also > >> >>>>> made > >> >>>>> additional tests with 2-minute samples. > >> >>>>> > >> >>>>> It would also be interesting to test this from a VmWare VM. If > >> >>>>> someone > >> >>>>> wants to run such a test, feel free to contact me directly. > >> >>>>> > >> >>>>> > >> >>>>> cheers, > >> >>>>> stan > >> >>>>> > >> >>>>> > >> >>>>> > >> >>>>> > _________________________________________________________________________ > >> >>>>> Professional FreeSWITCH Consulting Services: > >> >>>>> consulting at freeswitch.org > >> >>>>> http://www.freeswitchsolutions.com > >> >>>>> > >> >>>>> Official FreeSWITCH Sites > >> >>>>> http://www.freeswitch.org > >> >>>>> http://confluence.freeswitch.org > >> >>>>> http://www.cluecon.com > >> >>>>> > >> >>>>> FreeSWITCH-users mailing list > >> >>>>> FreeSWITCH-users at lists.freeswitch.org > >> >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >> >>>>> > >> >>>>> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >> >>>>> http://www.freeswitch.org > >> >>>> > >> >>>> > >> >>>> > >> >>>> > >> >>>> > _________________________________________________________________________ > >> >>>> Professional FreeSWITCH Consulting Services: > >> >>>> consulting at freeswitch.org > >> >>>> http://www.freeswitchsolutions.com > >> >>>> > >> >>>> Official FreeSWITCH Sites > >> >>>> http://www.freeswitch.org > >> >>>> http://confluence.freeswitch.org > >> >>>> http://www.cluecon.com > >> >>>> > >> >>>> FreeSWITCH-users mailing list > >> >>>> FreeSWITCH-users at lists.freeswitch.org > >> >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >> >>>> > >> >>>> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >> >>>> http://www.freeswitch.org > >> >>> > >> >>> > >> >>> > >> >>> > _________________________________________________________________________ > >> >>> Professional FreeSWITCH Consulting Services: > >> >>> consulting at freeswitch.org > >> >>> http://www.freeswitchsolutions.com > >> >>> > >> >>> Official FreeSWITCH Sites > >> >>> http://www.freeswitch.org > >> >>> http://confluence.freeswitch.org > >> >>> http://www.cluecon.com > >> >>> > >> >>> FreeSWITCH-users mailing list > >> >>> FreeSWITCH-users at lists.freeswitch.org > >> >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >> >>> > >> >>> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >> >>> http://www.freeswitch.org > >> >> > >> >> > >> >> > >> >> > >> >> > _________________________________________________________________________ > >> >> Professional FreeSWITCH Consulting Services: > >> >> consulting at freeswitch.org > >> >> http://www.freeswitchsolutions.com > >> >> > >> >> Official FreeSWITCH Sites > >> >> http://www.freeswitch.org > >> >> http://confluence.freeswitch.org > >> >> http://www.cluecon.com > >> >> > >> >> FreeSWITCH-users mailing list > >> >> FreeSWITCH-users at lists.freeswitch.org > >> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >> >> > >> >> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >> >> http://www.freeswitch.org > >> > >> > _________________________________________________________________________ > >> Professional FreeSWITCH Consulting Services: > >> consulting at freeswitch.org > >> http://www.freeswitchsolutions.com > >> > >> Official FreeSWITCH Sites > >> http://www.freeswitch.org > >> http://confluence.freeswitch.org > >> http://www.cluecon.com > >> > >> FreeSWITCH-users mailing list > >> FreeSWITCH-users at lists.freeswitch.org > >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >> http://www.freeswitch.org > > > > > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150406/1f1f5c49/attachment-0001.html From bordmi at rarus.ru Mon Apr 6 16:40:34 2015 From: bordmi at rarus.ru (=?UTF-8?B?0JHQvtGA0LjRgdC+0LIsINCU0LzQuNGC0YDQuNC5IC8gRG1pdHJpeSBCb3Jpc292?=) Date: Mon, 6 Apr 2015 15:40:34 +0300 Subject: [Freeswitch-users] Failed to load radius handle for digest invite authentication In-Reply-To: <55223EB1.10502@etherway.ru> References: <55223EB1.10502@etherway.ru> Message-ID: Hi, Gustavo! Your problems not in FreeSWITCH configuration or sources but in freeradius-client configuration. Check system logs for radius errors. Radius handle is allocating by freeradius-client library function called by freeswitch mod_xml_radius module (look at mod_xml_radius.c line 633 and 946). 2015-04-06 11:07 GMT+03:00 ??????? ????? : > > Hi everyone! > > How to solve this problem occurring on Freeswitch with the xml_radius > module? > 2015-04-06 11:48:25.284825 [ERR] mod_xml_radius.c:633 Failed to > load radius handle for digest invite authentication > 2015-04-06 11:48:25.284825 [ERR] mod_xml_radius.c:946 Failed to > create new accounting_start handle for call: > 0fcb1214-4941-477b-b329-2d034623c1e9 > > > My freeradius server is getting this parameters(sniffed by wireshark: > 192.168.56.1 - softphone, 192.168.56.105 - Freeswitch/radiusclient, > 192.168.56.103 - Freeradius server): > > > Radius Protocol > Code: Accounting-Request (4) > Packet identifier: 0xf9 (249) > Length: 240 > Authenticator: 19a3f95c13b4811e35b43d5390b29f8a > > Attribute Value Pairs > AVP: l=6 t=Acct-Status-Type(40): Start(1) > Acct-Status-Type: Start (1) > AVP: l=38 t=Acct-Session-Id(44): > 0fcb1214-4941-477b-b329-2d034623c1e9 > Acct-Session-Id: 0fcb1214-4941-477b-b329-2d034623c1e9 > AVP: l=6 t=User-Name(1): 1002 > User-Name: 1002 > AVP: l=12 t=Vendor-Specific(26) v=FreeSWITCH(27880) > VSA: l=6 t=Freeswitch-Src(4): 1002 > Freeswitch-Src: 1002 > AVP: l=12 t=Vendor-Specific(26) v=FreeSWITCH(27880) > VSA: l=6 t=Freeswitch-CLID(2): 1002 > Freeswitch-CLID: 1002 > AVP: l=12 t=Vendor-Specific(26) v=FreeSWITCH(27880) > VSA: l=6 t=Freeswitch-Dst(5): 1001 > Freeswitch-Dst: 1001 > AVP: l=11 t=Vendor-Specific(26) v=FreeSWITCH(27880) > VSA: l=5 t=Freeswitch-Dialplan(3): XML > Freeswitch-Dialplan: XML > AVP: l=6 t=Framed-IP-Address(8): 192.168.56.1 > Framed-IP-Address: 192.168.56.1 (192.168.56.1) > AVP: l=8 t=Vendor-Specific(26) v=FreeSWITCH(27880) > VSA: l=2 t=Freeswitch-RDNIS(17): > Freeswitch-RDNIS: > AVP: l=15 t=Vendor-Specific(26) v=FreeSWITCH(27880) > VSA: l=9 t=Freeswitch-Context(18): default > Freeswitch-Context: default > AVP: l=12 t=Vendor-Specific(26) v=FreeSWITCH(27880) > VSA: l=6 t=Freeswitch-Ani(8): 1002 > Freeswitch-Ani: 1002 > AVP: l=8 t=Vendor-Specific(26) v=FreeSWITCH(27880) > VSA: l=2 t=Freeswitch-Aniii(9): > Freeswitch-Aniii: > AVP: l=17 t=Vendor-Specific(26) v=FreeSWITCH(27880) > VSA: l=11 t=Freeswitch-Source(19): mod_sofia > Freeswitch-Source: mod_sofia > AVP: l=39 t=Vendor-Specific(26) v=FreeSWITCH(27880) > VSA: l=33 t=Freeswitch-Callstartdate(20): > 2015-04-06T11:48:25.284825+0400 > Freeswitch-Callstartdate: 2015-04-06T11:48:25.284825+0400 > AVP: l=6 t=NAS-Port(5): 0 > NAS-Port: 0 > AVP: l=6 t=Acct-Delay-Time(41): 0 > Acct-Delay-Time: 0 > AVP: l=6 t=NAS-IP-Address(4): 192.168.56.105 > NAS-IP-Address: 192.168.56.105 (192.168.56.105) > > > Regards, > Gustavo Silva > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- with best regards, Dmitriy Borisov -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150406/261984b1/attachment.html From royj at yandex.ru Mon Apr 6 17:01:10 2015 From: royj at yandex.ru (royj at yandex.ru) Date: Mon, 06 Apr 2015 16:01:10 +0300 Subject: [Freeswitch-users] Outbound ESL, typical load average Message-ID: <212791428325270@web23m.yandex.ru> Hi all. Is there anyone here, who uses outbound ESL and have 200 and more total channels on FreeSWITCH instance. There is https://freeswitch.org/jira/browse/FS-7400 . Seems like FreeSWITCH is OK, at least developers did not found something abnormal with it. If somebody here, who uses similar configuration, what is your typical load average. Any comments are appreciated. From ssinyagin at gmail.com Mon Apr 6 17:24:30 2015 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Mon, 6 Apr 2015 15:24:30 +0200 Subject: [Freeswitch-users] Upgrade Freeswitch to v1.4 stable version In-Reply-To: References: Message-ID: 1.2 configuration should work in 1.4 without any troubles. If you install from sources, you can simply delete and re-install the target directory, and then roll out the old configuration. If upgrading from binary packages, it should work with just "apt-get upgrade" or "yum update" On Mon, Apr 6, 2015 at 12:55 PM, Zvi Agmon wrote: > Hello, > > I'm trying to figure out what is the correct and best way to upgrade a > server running Freeswitch v1.2 to v1.4 stable. > I could not find any clear documentation - can you please help? > > > Thanks a lot > > Zvi Agmon > Lexifone > email: zvi at lexifone.com > Office: +972-4-6817711 > Cell: +972-54-4505109 > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org From zvi at lexifone.com Mon Apr 6 17:48:26 2015 From: zvi at lexifone.com (Zvi Agmon) Date: Mon, 6 Apr 2015 16:48:26 +0300 Subject: [Freeswitch-users] Upgrade Freeswitch to v1.4 stable version In-Reply-To: References: Message-ID: Stanislav , thanks for the quick response! I want to build from sources but can't get v1.4.stable - is that does not exist any more? And if not - what should I checkout, just v1.4? Thanks Zvi Agmon Best regards Zvi Agmon Lexifone email: zvi at lexifone.com Office: +972-4-6817711 Cell: +972-54-4505109 On Mon, Apr 6, 2015 at 4:24 PM, Stanislav Sinyagin wrote: > 1.2 configuration should work in 1.4 without any troubles. If you > install from sources, you can simply delete and re-install the target > directory, and then roll out the old configuration. > > If upgrading from binary packages, it should work with just "apt-get > upgrade" or "yum update" > > On Mon, Apr 6, 2015 at 12:55 PM, Zvi Agmon wrote: > > Hello, > > > > I'm trying to figure out what is the correct and best way to upgrade a > > server running Freeswitch v1.2 to v1.4 stable. > > I could not find any clear documentation - can you please help? > > > > > > Thanks a lot > > > > Zvi Agmon > > Lexifone > > email: zvi at lexifone.com > > Office: +972-4-6817711 > > Cell: +972-54-4505109 > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150406/8f03d142/attachment.html From gfs at etherway.ru Mon Apr 6 17:57:18 2015 From: gfs at etherway.ru (=?UTF-8?B?0JPRg9GB0YLQsNCy0L4g0KHQuNC70LLQsA==?=) Date: Mon, 06 Apr 2015 16:57:18 +0300 Subject: [Freeswitch-users] Upgrade Freeswitch to v1.4 stable version In-Reply-To: References: Message-ID: <552290BE.9080505@etherway.ru> Have you already tried to download from this source? http://files.freeswitch.org/freeswitch-1.4.18.tar.bz2 On 06.04.2015 16:48, Zvi Agmon wrote: > > Stanislav , thanks for the quick response! > > I want to build from sources but can't get v1.4.stable - is that does > not exist any more? > And if not - what should I checkout, just v1.4? > > Thanks > > Zvi Agmon > > > Best regards > > Zvi Agmon > Lexifone > email: zvi at lexifone.com > Office: +972-4-6817711 > Cell: +972-54-4505109 > > On Mon, Apr 6, 2015 at 4:24 PM, Stanislav Sinyagin > > wrote: > > 1.2 configuration should work in 1.4 without any troubles. If you > install from sources, you can simply delete and re-install the target > directory, and then roll out the old configuration. > > If upgrading from binary packages, it should work with just "apt-get > upgrade" or "yum update" > > On Mon, Apr 6, 2015 at 12:55 PM, Zvi Agmon > wrote: > > Hello, > > > > I'm trying to figure out what is the correct and best way to > upgrade a > > server running Freeswitch v1.2 to v1.4 stable. > > I could not find any clear documentation - can you please help? > > > > > > Thanks a lot > > > > Zvi Agmon > > Lexifone > > email: zvi at lexifone.com > > Office: +972-4-6817711 > > Cell: +972-54-4505109 > > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150406/3b31a201/attachment-0001.html From italorossib at gmail.com Mon Apr 6 18:04:17 2015 From: italorossib at gmail.com (=?UTF-8?B?w410YWxvIFJvc3Np?=) Date: Mon, 6 Apr 2015 11:04:17 -0300 Subject: [Freeswitch-users] Upgrade Freeswitch to v1.4 stable version In-Reply-To: References: Message-ID: Zvi, Just v1.4. On Mon, Apr 6, 2015 at 10:48 AM, Zvi Agmon wrote: > > Stanislav , thanks for the quick response! > > I want to build from sources but can't get v1.4.stable - is that does not > exist any more? > And if not - what should I checkout, just v1.4? > > Thanks > > Zvi Agmon > > > Best regards > > Zvi Agmon > Lexifone > email: zvi at lexifone.com > Office: +972-4-6817711 > Cell: +972-54-4505109 > > On Mon, Apr 6, 2015 at 4:24 PM, Stanislav Sinyagin > wrote: > >> 1.2 configuration should work in 1.4 without any troubles. If you >> install from sources, you can simply delete and re-install the target >> directory, and then roll out the old configuration. >> >> If upgrading from binary packages, it should work with just "apt-get >> upgrade" or "yum update" >> >> On Mon, Apr 6, 2015 at 12:55 PM, Zvi Agmon wrote: >> > Hello, >> > >> > I'm trying to figure out what is the correct and best way to upgrade a >> > server running Freeswitch v1.2 to v1.4 stable. >> > I could not find any clear documentation - can you please help? >> > >> > >> > Thanks a lot >> > >> > Zvi Agmon >> > Lexifone >> > email: zvi at lexifone.com >> > Office: +972-4-6817711 >> > Cell: +972-54-4505109 >> > >> > >> _________________________________________________________________________ >> > Professional FreeSWITCH Consulting Services: >> > consulting at freeswitch.org >> > http://www.freeswitchsolutions.com >> > >> > Official FreeSWITCH Sites >> > http://www.freeswitch.org >> > http://confluence.freeswitch.org >> > http://www.cluecon.com >> > >> > FreeSWITCH-users mailing list >> > FreeSWITCH-users at lists.freeswitch.org >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> > UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> > http://www.freeswitch.org >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- ?talo Rossi -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150406/596d6fc3/attachment.html From paul.atreides83 at googlemail.com Mon Apr 6 18:29:30 2015 From: paul.atreides83 at googlemail.com (Paul Atreides) Date: Mon, 6 Apr 2015 16:29:30 +0200 Subject: [Freeswitch-users] Intercept caller number In-Reply-To: References: Message-ID: Has really nobody else had this problem before? Is there an alternative how to intercept a call and show the right origin number in the display? On Wed, Apr 1, 2015 at 5:50 PM, Paul Atreides < paul.atreides83 at googlemail.com> wrote: > Hi, > > when I do a global intecept then I dont see the original caller number in > the display. I see > the dialplan number for the intercept instead. How can I replace it with > the original caller number? > > Thank you > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150406/2a077f04/attachment.html From ewsamuels at gmail.com Mon Apr 6 18:38:28 2015 From: ewsamuels at gmail.com (Errol Samuels) Date: Mon, 6 Apr 2015 15:38:28 +0100 Subject: [Freeswitch-users] KVM vs. XEN virtualization In-Reply-To: References: Message-ID: Ok Sergey, Here it goes: Test 1 ==== *VM: *Digital Ocean KVM at AMS3 / 2 Cores / 2GB Ram / 40GB SSD *OS:* Debian Wheezy 7.8 64 bit / Linux 3.2.0-4-amd64 x86_64 policy: fifo: loadavg: 6.22 1.53 0.58 1/164 31050 : 195 Max: 42869 T:12 (31021) P:80 I:125 C: 238830 Min: 2 Act: 18 Avg: 196 Max: 42846 T: 0 (31009) P:80 I:125 C: 239000 Min: 2 Act: 12 Avg: 190 Max: 42845 T: 1 (31010) P:80 I:125 C: 239002 Min: 2 Act: 18 Avg: 196 Max: 42866 T: 2 (31011) P:80 I:125 C: 239004 Min: 3 Act: 10 Avg: 191 Max: 42890 T: 3 (31012) P:80 I:125 C: 239004 Min: 3 Act: 8 Avg: 197 Max: 42876 T: 4 (31013) P:80 I:125 C: 239005 Min: 2 Act: 27 Avg: 194 Max: 42846 T: 5 (31014) P:80 I:125 C: 239008 Min: 2 Act: 26 Avg: 196 Max: 42872 T: 6 (31015) P:80 I:125 C: 239013 Min: 2 Act: 12 Avg: 196 Max: 42843 T: 7 (31016) P:80 I:125 C: 239013 Min: 2 Act: 19 Avg: 194 Max: 42848 T: 8 (31017) P:80 I:125 C: 239013 Min: 2 Act: 14 Avg: 190 Max: 42856 T: 9 (31018) P:80 I:125 C: 239014 Min: 2 Act: 14 Avg: 197 Max: 42865 T:10 (31019) P:80 I:125 C: 239016 Min: 2 Act: 9 Avg: 197 Max: 42868 Test 2 ==== *VM: *Linode (Xen) London / 8 Cores (E5-2670 0 @ 2.60GHz) / 4GB Ram *OS:* Ubuntu 12.04.4 LTS / Linux 3.18.5-x86_64-linode52 x86_64 policy: fifo: loadavg: 6.50 1.56 0.55 15/246 30752 97 Max: 1030 T:16 (30726) P:80 I:125 C: 239853 Min: 5 Act: 77 Avg: 97 Max: 1066 T: 0 (30710) P:80 I:125 C: 239946 Min: 5 Act: 63 Avg: 98 Max: 1245 T: 1 (30711) P:80 I:125 C: 239946 Min: 5 Act: 67 Avg: 98 Max: 1091 T: 2 (30712) P:80 I:125 C: 239945 Min: 5 Act: 119 Avg: 97 Max: 1351 T: 3 (30713) P:80 I:125 C: 239945 Min: 5 Act: 99 Avg: 98 Max: 932 T: 4 (30714) P:80 I:125 C: 239945 Min: 5 Act: 35 Avg: 98 Max: 1413 T: 5 (30715) P:80 I:125 C: 239945 Min: 5 Act: 35 Avg: 98 Max: 1407 T: 6 (30716) P:80 I:125 C: 239944 Min: 5 Act: 110 Avg: 97 Max: 1173 T: 7 (30717) P:80 I:125 C: 239947 Min: 5 Act: 85 Avg: 99 Max: 1144 T: 8 (30718) P:80 I:125 C: 239948 Min: 4 Act: 69 Avg: 99 Max: 916 T: 9 (30719) P:80 I:125 C: 239947 Min: 4 Act: 40 Avg: 97 Max: 916 T:10 (30720) P:80 I:125 C: 239948 Min: 5 Act: 61 Avg: 97 Max: 1024 T:11 (30721) P:80 I:125 C: 239946 Min: 6 Act: 84 Avg: 98 Max: 2082 T:12 (30722) P:80 I:125 C: 239947 Min: 4 Act: 40 Avg: 98 Max: 2142 T:13 (30723) P:80 I:125 C: 239946 Min: 5 Act: 49 Avg: 98 Max: 1986 T:14 (30724) P:80 I:125 C: 239946 Min: 4 Act: 113 Avg: 99 Max: 2061 This is with system defaults. regards, Errol On Mon, Apr 6, 2015 at 1:27 PM, Sergey Safarov wrote: > Errol can you test VM timer with utility > https://rt.wiki.kernel.org/index.php/Cyclictest > > My VM currently have folowing results > > [root at fs1 ~]# date && /tmp/rt-tests/cyclictest -t42 -p 80 -d 0 -n -i 125 -l 240000 && date > Sun Apr 5 07:01:31 GMT 2015 > # /dev/cpu_dma_latency set to 0us > policy: fifo: loadavg: 2.38 0.93 0.50 1/194 1574 > > T: 0 ( 1531) P:80 I:125 C: 240000 Min: 2 Act: 12 Avg: 16 Max: 1302 > T: 1 ( 1532) P:80 I:125 C: 240000 Min: 2 Act: 15 Avg: 14 Max: 2895 > T: 2 ( 1533) P:80 I:125 C: 240000 Min: 3 Act: 10 Avg: 12 Max: 2888 > T: 3 ( 1534) P:80 I:125 C: 240000 Min: 1 Act: 16 Avg: 13 Max: 1333 > T: 4 ( 1535) P:80 I:125 C: 240000 Min: 2 Act: 20 Avg: 14 Max: 2962 > T: 5 ( 1536) P:80 I:125 C: 240000 Min: 1 Act: 12 Avg: 14 Max: 2946 > T: 6 ( 1537) P:80 I:125 C: 240000 Min: 2 Act: 10 Avg: 13 Max: 1363 > T: 7 ( 1538) P:80 I:125 C: 240000 Min: 2 Act: 12 Avg: 13 Max: 1344 > T: 8 ( 1539) P:80 I:125 C: 240000 Min: 3 Act: 12 Avg: 16 Max: 1408 > T: 9 ( 1540) P:80 I:125 C: 240000 Min: 1 Act: 8 Avg: 13 Max: 2882 > T:10 ( 1541) P:80 I:125 C: 239974 Min: 2 Act: 12 Avg: 13 Max: 2908 > > > On Mon, Apr 6, 2015 at 11:15 AM, Errol Samuels > wrote: > >> Good job and Thanks for sharing! >> >> KVM at digitalocean.com, Debian 7 64bit, FreeSWITCH 1.4.15: bad precision >> >> >> As someone who has been using KVM for a few years and has just migrated >> about 20 VMs across to Digital Ocean about 6 weeks ago I admit I am a >> little concerned about this finding. >> >> Just out of curiosity can you tell me the specs of the VM that you tested >> with and which DO Datacenter? I am using NYC3 so perhaps and I will do >> some tests as soon as I have some time. >> >> With regards to Xen was this at Linode or inhouse? >> >> Thanks >> >> Errol >> >> >> >> On Sun, Apr 5, 2015 at 1:37 AM, Stanislav Sinyagin >> wrote: >> >>> here we go: >>> >>> https://txlab.wordpress.com/2015/04/05/testing-rtp-clock-precision-on-a-virtual-machine/ >>> >>> >>> >>> On Sat, Apr 4, 2015 at 4:26 PM, Stanislav Sinyagin >>> wrote: >>> > On Sat, Apr 4, 2015 at 1:03 PM, Regis M < >>> regis.freeswitch.org at tornad.net> wrote: >>> >> How do you check wavs together in audacity ? >>> > >>> > you just open two WAV files, align their starting position, and >>> > visually check the waves. If there's a problem, you would see that >>> > after few seconds, the waves are not aligned any more. >>> > >>> >> Can you send me 2 samples wav (send... and recorded) so I could see >>> the 20ms >>> >> diff that you exposed... >>> >> >>> >> Is there a way to automate the result checking, so it could help to >>> monitor >>> >> itsp quality >>> > >>> > Here >>> > https://github.com/openpreserve/scape-xcorrsound/issues/17 >>> > this is a link to a tool which compares two sound files at the wave >>> > level. You can also see the sound samples in the ticket. >>> > The problem is, that currently this tool does not detect such slipping >>> frames. >>> > >>> > I will also write a detailed article with examples, during the weekend. >>> > >>> > >>> > >>> > >>> > >>> >> >>> >> >>> >> 2015-04-04 12:53 GMT+02:00 Stanislav Sinyagin : >>> >>> >>> >>> Important is to send the media through two independent carriers - >>> then you >>> >>> can be sure that your clock is compared against a high quality one. >>> >>> >>> >>> On Apr 4, 2015 12:46 PM, "Regis M" >>> >>> wrote: >>> >>>> >>> >>>> Hi, >>> >>>> >>> >>>> It's a very interresting test and conclusion. >>> >>>> >>> >>>> I will try to build a similar environnement on my freeswitch to >>> check >>> >>>> some system :) >>> >>>> >>> >>>> thanks >>> >>>> >>> >>>> >>> >>>> >>> >>>> 2015-04-04 2:16 GMT+02:00 Stanislav Sinyagin : >>> >>>>> >>> >>>>> hi, >>> >>>>> >>> >>>>> Here are some test results which might be interesting: >>> >>>>> >>> >>>>> I've set up a test FreeSWITCH server at digitalocean (they use >>> KVM), >>> >>>>> and originated test calls to some ITSP accounts. Each call played a >>> >>>>> test sound file (voice samples from ITU: >>> >>>>> >>> http://www.itu.int/net/itu-t/sigdb/genaudio/AudioForm-g.aspx?val=1000050 >>> >>>>> ), and on the receiving end another FreeSWITCH server was recording >>> >>>>> the received session. The receiving server was on a XEN VM. Both >>> >>>>> servers talked G711 to their corresponding ITSP accounts. >>> >>>>> >>> >>>>> Then I compared the source audio and received audio in Audacity >>> editor. >>> >>>>> >>> >>>>> The tests showed that the received voice wave shifts 20ms from the >>> >>>>> original sound every few seconds, randomly back and forward. This >>> >>>>> skewing was always present, regardless of ITSP and time of day. >>> >>>>> >>> >>>>> Then I moved the sending server to a XEN VM, and the waves appeared >>> >>>>> almost perfectly synchronized (there was a 5ms skew in one test, >>> and I >>> >>>>> guess it's related to transcoding buffer, as the sound was >>> obviously >>> >>>>> transcoded). >>> >>>>> >>> >>>>> The effect was always visible with a 30-second sample, and I also >>> made >>> >>>>> additional tests with 2-minute samples. >>> >>>>> >>> >>>>> It would also be interesting to test this from a VmWare VM. If >>> someone >>> >>>>> wants to run such a test, feel free to contact me directly. >>> >>>>> >>> >>>>> >>> >>>>> cheers, >>> >>>>> stan >>> >>>>> >>> >>>>> >>> >>>>> >>> _________________________________________________________________________ >>> >>>>> Professional FreeSWITCH Consulting Services: >>> >>>>> consulting at freeswitch.org >>> >>>>> http://www.freeswitchsolutions.com >>> >>>>> >>> >>>>> Official FreeSWITCH Sites >>> >>>>> http://www.freeswitch.org >>> >>>>> http://confluence.freeswitch.org >>> >>>>> http://www.cluecon.com >>> >>>>> >>> >>>>> FreeSWITCH-users mailing list >>> >>>>> FreeSWITCH-users at lists.freeswitch.org >>> >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> >>>>> UNSUBSCRIBE: >>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>> >>>>> http://www.freeswitch.org >>> >>>> >>> >>>> >>> >>>> >>> >>>> >>> _________________________________________________________________________ >>> >>>> Professional FreeSWITCH Consulting Services: >>> >>>> consulting at freeswitch.org >>> >>>> http://www.freeswitchsolutions.com >>> >>>> >>> >>>> Official FreeSWITCH Sites >>> >>>> http://www.freeswitch.org >>> >>>> http://confluence.freeswitch.org >>> >>>> http://www.cluecon.com >>> >>>> >>> >>>> FreeSWITCH-users mailing list >>> >>>> FreeSWITCH-users at lists.freeswitch.org >>> >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> >>>> UNSUBSCRIBE: >>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>> >>>> http://www.freeswitch.org >>> >>> >>> >>> >>> >>> >>> _________________________________________________________________________ >>> >>> Professional FreeSWITCH Consulting Services: >>> >>> consulting at freeswitch.org >>> >>> http://www.freeswitchsolutions.com >>> >>> >>> >>> Official FreeSWITCH Sites >>> >>> http://www.freeswitch.org >>> >>> http://confluence.freeswitch.org >>> >>> http://www.cluecon.com >>> >>> >>> >>> FreeSWITCH-users mailing list >>> >>> FreeSWITCH-users at lists.freeswitch.org >>> >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> >>> UNSUBSCRIBE: >>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>> >>> http://www.freeswitch.org >>> >> >>> >> >>> >> >>> >> >>> _________________________________________________________________________ >>> >> Professional FreeSWITCH Consulting Services: >>> >> consulting at freeswitch.org >>> >> http://www.freeswitchsolutions.com >>> >> >>> >> Official FreeSWITCH Sites >>> >> http://www.freeswitch.org >>> >> http://confluence.freeswitch.org >>> >> http://www.cluecon.com >>> >> >>> >> FreeSWITCH-users mailing list >>> >> FreeSWITCH-users at lists.freeswitch.org >>> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> >> UNSUBSCRIBE: >>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>> >> http://www.freeswitch.org >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150406/871de145/attachment-0001.html From ssinyagin at gmail.com Mon Apr 6 19:17:59 2015 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Mon, 6 Apr 2015 17:17:59 +0200 Subject: [Freeswitch-users] KVM vs. XEN virtualization In-Reply-To: References: Message-ID: I didn't yet have time to learn this utility - how do we interpret the results? On Apr 6, 2015 4:39 PM, "Errol Samuels" wrote: > Ok Sergey, > > Here it goes: > > Test 1 > ==== > *VM: *Digital Ocean KVM at AMS3 / 2 Cores / 2GB Ram / 40GB SSD > *OS:* Debian Wheezy 7.8 64 bit / Linux 3.2.0-4-amd64 x86_64 > > policy: fifo: loadavg: 6.22 1.53 0.58 1/164 31050 : 195 Max: > 42869 > T:12 (31021) P:80 I:125 C: 238830 Min: 2 Act: 18 Avg: 196 Max: > 42846 > T: 0 (31009) P:80 I:125 C: 239000 Min: 2 Act: 12 Avg: 190 Max: > 42845 > T: 1 (31010) P:80 I:125 C: 239002 Min: 2 Act: 18 Avg: 196 Max: > 42866 > T: 2 (31011) P:80 I:125 C: 239004 Min: 3 Act: 10 Avg: 191 Max: > 42890 > T: 3 (31012) P:80 I:125 C: 239004 Min: 3 Act: 8 Avg: 197 Max: > 42876 > T: 4 (31013) P:80 I:125 C: 239005 Min: 2 Act: 27 Avg: 194 Max: > 42846 > T: 5 (31014) P:80 I:125 C: 239008 Min: 2 Act: 26 Avg: 196 Max: > 42872 > T: 6 (31015) P:80 I:125 C: 239013 Min: 2 Act: 12 Avg: 196 Max: > 42843 > T: 7 (31016) P:80 I:125 C: 239013 Min: 2 Act: 19 Avg: 194 Max: > 42848 > T: 8 (31017) P:80 I:125 C: 239013 Min: 2 Act: 14 Avg: 190 Max: > 42856 > T: 9 (31018) P:80 I:125 C: 239014 Min: 2 Act: 14 Avg: 197 Max: > 42865 > T:10 (31019) P:80 I:125 C: 239016 Min: 2 Act: 9 Avg: 197 Max: > 42868 > > > Test 2 > ==== > *VM: *Linode (Xen) London / 8 Cores (E5-2670 0 @ 2.60GHz) / 4GB Ram > *OS:* Ubuntu 12.04.4 LTS / Linux 3.18.5-x86_64-linode52 x86_64 > > policy: fifo: loadavg: 6.50 1.56 0.55 15/246 30752 97 Max: > 1030 > T:16 (30726) P:80 I:125 C: 239853 Min: 5 Act: 77 Avg: 97 Max: > 1066 > T: 0 (30710) P:80 I:125 C: 239946 Min: 5 Act: 63 Avg: 98 Max: > 1245 > T: 1 (30711) P:80 I:125 C: 239946 Min: 5 Act: 67 Avg: 98 Max: > 1091 > T: 2 (30712) P:80 I:125 C: 239945 Min: 5 Act: 119 Avg: 97 Max: > 1351 > T: 3 (30713) P:80 I:125 C: 239945 Min: 5 Act: 99 Avg: 98 Max: > 932 > T: 4 (30714) P:80 I:125 C: 239945 Min: 5 Act: 35 Avg: 98 Max: > 1413 > T: 5 (30715) P:80 I:125 C: 239945 Min: 5 Act: 35 Avg: 98 Max: > 1407 > T: 6 (30716) P:80 I:125 C: 239944 Min: 5 Act: 110 Avg: 97 Max: > 1173 > T: 7 (30717) P:80 I:125 C: 239947 Min: 5 Act: 85 Avg: 99 Max: > 1144 > T: 8 (30718) P:80 I:125 C: 239948 Min: 4 Act: 69 Avg: 99 Max: > 916 > T: 9 (30719) P:80 I:125 C: 239947 Min: 4 Act: 40 Avg: 97 Max: > 916 > T:10 (30720) P:80 I:125 C: 239948 Min: 5 Act: 61 Avg: 97 Max: > 1024 > T:11 (30721) P:80 I:125 C: 239946 Min: 6 Act: 84 Avg: 98 Max: > 2082 > T:12 (30722) P:80 I:125 C: 239947 Min: 4 Act: 40 Avg: 98 Max: > 2142 > T:13 (30723) P:80 I:125 C: 239946 Min: 5 Act: 49 Avg: 98 Max: > 1986 > T:14 (30724) P:80 I:125 C: 239946 Min: 4 Act: 113 Avg: 99 Max: > 2061 > > This is with system defaults. > > regards, > > Errol > > > > > On Mon, Apr 6, 2015 at 1:27 PM, Sergey Safarov > wrote: > >> Errol can you test VM timer with utility >> https://rt.wiki.kernel.org/index.php/Cyclictest >> >> My VM currently have folowing results >> >> [root at fs1 ~]# date && /tmp/rt-tests/cyclictest -t42 -p 80 -d 0 -n -i 125 -l 240000 && date >> Sun Apr 5 07:01:31 GMT 2015 >> # /dev/cpu_dma_latency set to 0us >> policy: fifo: loadavg: 2.38 0.93 0.50 1/194 1574 >> >> T: 0 ( 1531) P:80 I:125 C: 240000 Min: 2 Act: 12 Avg: 16 Max: 1302 >> T: 1 ( 1532) P:80 I:125 C: 240000 Min: 2 Act: 15 Avg: 14 Max: 2895 >> T: 2 ( 1533) P:80 I:125 C: 240000 Min: 3 Act: 10 Avg: 12 Max: 2888 >> T: 3 ( 1534) P:80 I:125 C: 240000 Min: 1 Act: 16 Avg: 13 Max: 1333 >> T: 4 ( 1535) P:80 I:125 C: 240000 Min: 2 Act: 20 Avg: 14 Max: 2962 >> T: 5 ( 1536) P:80 I:125 C: 240000 Min: 1 Act: 12 Avg: 14 Max: 2946 >> T: 6 ( 1537) P:80 I:125 C: 240000 Min: 2 Act: 10 Avg: 13 Max: 1363 >> T: 7 ( 1538) P:80 I:125 C: 240000 Min: 2 Act: 12 Avg: 13 Max: 1344 >> T: 8 ( 1539) P:80 I:125 C: 240000 Min: 3 Act: 12 Avg: 16 Max: 1408 >> T: 9 ( 1540) P:80 I:125 C: 240000 Min: 1 Act: 8 Avg: 13 Max: 2882 >> T:10 ( 1541) P:80 I:125 C: 239974 Min: 2 Act: 12 Avg: 13 Max: 2908 >> >> >> On Mon, Apr 6, 2015 at 11:15 AM, Errol Samuels >> wrote: >> >>> Good job and Thanks for sharing! >>> >>> KVM at digitalocean.com, Debian 7 64bit, FreeSWITCH 1.4.15: bad >>>> precision >>> >>> >>> As someone who has been using KVM for a few years and has just migrated >>> about 20 VMs across to Digital Ocean about 6 weeks ago I admit I am a >>> little concerned about this finding. >>> >>> Just out of curiosity can you tell me the specs of the VM that you >>> tested with and which DO Datacenter? I am using NYC3 so perhaps and I will >>> do some tests as soon as I have some time. >>> >>> With regards to Xen was this at Linode or inhouse? >>> >>> Thanks >>> >>> Errol >>> >>> >>> >>> On Sun, Apr 5, 2015 at 1:37 AM, Stanislav Sinyagin >>> wrote: >>> >>>> here we go: >>>> >>>> https://txlab.wordpress.com/2015/04/05/testing-rtp-clock-precision-on-a-virtual-machine/ >>>> >>>> >>>> >>>> On Sat, Apr 4, 2015 at 4:26 PM, Stanislav Sinyagin >>>> wrote: >>>> > On Sat, Apr 4, 2015 at 1:03 PM, Regis M < >>>> regis.freeswitch.org at tornad.net> wrote: >>>> >> How do you check wavs together in audacity ? >>>> > >>>> > you just open two WAV files, align their starting position, and >>>> > visually check the waves. If there's a problem, you would see that >>>> > after few seconds, the waves are not aligned any more. >>>> > >>>> >> Can you send me 2 samples wav (send... and recorded) so I could see >>>> the 20ms >>>> >> diff that you exposed... >>>> >> >>>> >> Is there a way to automate the result checking, so it could help to >>>> monitor >>>> >> itsp quality >>>> > >>>> > Here >>>> > https://github.com/openpreserve/scape-xcorrsound/issues/17 >>>> > this is a link to a tool which compares two sound files at the wave >>>> > level. You can also see the sound samples in the ticket. >>>> > The problem is, that currently this tool does not detect such >>>> slipping frames. >>>> > >>>> > I will also write a detailed article with examples, during the >>>> weekend. >>>> > >>>> > >>>> > >>>> > >>>> > >>>> >> >>>> >> >>>> >> 2015-04-04 12:53 GMT+02:00 Stanislav Sinyagin : >>>> >>> >>>> >>> Important is to send the media through two independent carriers - >>>> then you >>>> >>> can be sure that your clock is compared against a high quality one. >>>> >>> >>>> >>> On Apr 4, 2015 12:46 PM, "Regis M" >>> > >>>> >>> wrote: >>>> >>>> >>>> >>>> Hi, >>>> >>>> >>>> >>>> It's a very interresting test and conclusion. >>>> >>>> >>>> >>>> I will try to build a similar environnement on my freeswitch to >>>> check >>>> >>>> some system :) >>>> >>>> >>>> >>>> thanks >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> 2015-04-04 2:16 GMT+02:00 Stanislav Sinyagin >>> >: >>>> >>>>> >>>> >>>>> hi, >>>> >>>>> >>>> >>>>> Here are some test results which might be interesting: >>>> >>>>> >>>> >>>>> I've set up a test FreeSWITCH server at digitalocean (they use >>>> KVM), >>>> >>>>> and originated test calls to some ITSP accounts. Each call played >>>> a >>>> >>>>> test sound file (voice samples from ITU: >>>> >>>>> >>>> http://www.itu.int/net/itu-t/sigdb/genaudio/AudioForm-g.aspx?val=1000050 >>>> >>>>> ), and on the receiving end another FreeSWITCH server was >>>> recording >>>> >>>>> the received session. The receiving server was on a XEN VM. Both >>>> >>>>> servers talked G711 to their corresponding ITSP accounts. >>>> >>>>> >>>> >>>>> Then I compared the source audio and received audio in Audacity >>>> editor. >>>> >>>>> >>>> >>>>> The tests showed that the received voice wave shifts 20ms from the >>>> >>>>> original sound every few seconds, randomly back and forward. This >>>> >>>>> skewing was always present, regardless of ITSP and time of day. >>>> >>>>> >>>> >>>>> Then I moved the sending server to a XEN VM, and the waves >>>> appeared >>>> >>>>> almost perfectly synchronized (there was a 5ms skew in one test, >>>> and I >>>> >>>>> guess it's related to transcoding buffer, as the sound was >>>> obviously >>>> >>>>> transcoded). >>>> >>>>> >>>> >>>>> The effect was always visible with a 30-second sample, and I also >>>> made >>>> >>>>> additional tests with 2-minute samples. >>>> >>>>> >>>> >>>>> It would also be interesting to test this from a VmWare VM. If >>>> someone >>>> >>>>> wants to run such a test, feel free to contact me directly. >>>> >>>>> >>>> >>>>> >>>> >>>>> cheers, >>>> >>>>> stan >>>> >>>>> >>>> >>>>> >>>> >>>>> >>>> _________________________________________________________________________ >>>> >>>>> Professional FreeSWITCH Consulting Services: >>>> >>>>> consulting at freeswitch.org >>>> >>>>> http://www.freeswitchsolutions.com >>>> >>>>> >>>> >>>>> Official FreeSWITCH Sites >>>> >>>>> http://www.freeswitch.org >>>> >>>>> http://confluence.freeswitch.org >>>> >>>>> http://www.cluecon.com >>>> >>>>> >>>> >>>>> FreeSWITCH-users mailing list >>>> >>>>> FreeSWITCH-users at lists.freeswitch.org >>>> >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> >>>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> >>>>> http://www.freeswitch.org >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> >>>> Professional FreeSWITCH Consulting Services: >>>> >>>> consulting at freeswitch.org >>>> >>>> http://www.freeswitchsolutions.com >>>> >>>> >>>> >>>> Official FreeSWITCH Sites >>>> >>>> http://www.freeswitch.org >>>> >>>> http://confluence.freeswitch.org >>>> >>>> http://www.cluecon.com >>>> >>>> >>>> >>>> FreeSWITCH-users mailing list >>>> >>>> FreeSWITCH-users at lists.freeswitch.org >>>> >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> >>>> http://www.freeswitch.org >>>> >>> >>>> >>> >>>> >>> >>>> _________________________________________________________________________ >>>> >>> Professional FreeSWITCH Consulting Services: >>>> >>> consulting at freeswitch.org >>>> >>> http://www.freeswitchsolutions.com >>>> >>> >>>> >>> Official FreeSWITCH Sites >>>> >>> http://www.freeswitch.org >>>> >>> http://confluence.freeswitch.org >>>> >>> http://www.cluecon.com >>>> >>> >>>> >>> FreeSWITCH-users mailing list >>>> >>> FreeSWITCH-users at lists.freeswitch.org >>>> >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> >>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> >>> http://www.freeswitch.org >>>> >> >>>> >> >>>> >> >>>> >> >>>> _________________________________________________________________________ >>>> >> Professional FreeSWITCH Consulting Services: >>>> >> consulting at freeswitch.org >>>> >> http://www.freeswitchsolutions.com >>>> >> >>>> >> Official FreeSWITCH Sites >>>> >> http://www.freeswitch.org >>>> >> http://confluence.freeswitch.org >>>> >> http://www.cluecon.com >>>> >> >>>> >> FreeSWITCH-users mailing list >>>> >> FreeSWITCH-users at lists.freeswitch.org >>>> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> >> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> >> http://www.freeswitch.org >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150406/c015c329/attachment-0001.html From anthony.minessale at gmail.com Mon Apr 6 19:30:16 2015 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Mon, 6 Apr 2015 10:30:16 -0500 Subject: [Freeswitch-users] KVM vs. XEN virtualization In-Reply-To: References: Message-ID: Depending on the host and guest OS the timing will be a product of several thing. If some of the features FS tries to detect are emulated, it can be a problem. The primary thing FS looks for is a kernel with timerfd support. This should be the most accurate. If the guest OS supports timerfd but its using emulated hardware, it might not work as well as it should. So on something like openvz, you might have support for timerfd in your debian 7/8 instance but the host kernel has no support at all. So in theory kvm would be preferred since it actually boots the guest kernel and you have a chance for it to hit the real timer hardware. If no timerfd is present, it reverts to the single thread ms precision thread with conditional broadcast for timing. You can also manually configure a combo of one timerfd timer and shared broadcast. This param in switch.conf.xml helps to tune a few behavior you might want to compare results on. enable-softtimer-timerfd true|fd-per-timer --- Use one fd for each timer instance (default) false --- Don't use timerfd at all broadcast --- Use one timerfd and share it with conditional broadcasts This is one reason we do not support virtualization as its too variable to provide definitive policies to make things work every time. On Mon, Apr 6, 2015 at 10:17 AM, Stanislav Sinyagin wrote: > I didn't yet have time to learn this utility - how do we interpret the > results? > On Apr 6, 2015 4:39 PM, "Errol Samuels" wrote: > >> Ok Sergey, >> >> Here it goes: >> >> Test 1 >> ==== >> *VM: *Digital Ocean KVM at AMS3 / 2 Cores / 2GB Ram / 40GB SSD >> *OS:* Debian Wheezy 7.8 64 bit / Linux 3.2.0-4-amd64 x86_64 >> >> policy: fifo: loadavg: 6.22 1.53 0.58 1/164 31050 : 195 Max: >> 42869 >> T:12 (31021) P:80 I:125 C: 238830 Min: 2 Act: 18 Avg: 196 Max: >> 42846 >> T: 0 (31009) P:80 I:125 C: 239000 Min: 2 Act: 12 Avg: 190 Max: >> 42845 >> T: 1 (31010) P:80 I:125 C: 239002 Min: 2 Act: 18 Avg: 196 Max: >> 42866 >> T: 2 (31011) P:80 I:125 C: 239004 Min: 3 Act: 10 Avg: 191 Max: >> 42890 >> T: 3 (31012) P:80 I:125 C: 239004 Min: 3 Act: 8 Avg: 197 Max: >> 42876 >> T: 4 (31013) P:80 I:125 C: 239005 Min: 2 Act: 27 Avg: 194 Max: >> 42846 >> T: 5 (31014) P:80 I:125 C: 239008 Min: 2 Act: 26 Avg: 196 Max: >> 42872 >> T: 6 (31015) P:80 I:125 C: 239013 Min: 2 Act: 12 Avg: 196 Max: >> 42843 >> T: 7 (31016) P:80 I:125 C: 239013 Min: 2 Act: 19 Avg: 194 Max: >> 42848 >> T: 8 (31017) P:80 I:125 C: 239013 Min: 2 Act: 14 Avg: 190 Max: >> 42856 >> T: 9 (31018) P:80 I:125 C: 239014 Min: 2 Act: 14 Avg: 197 Max: >> 42865 >> T:10 (31019) P:80 I:125 C: 239016 Min: 2 Act: 9 Avg: 197 Max: >> 42868 >> >> >> Test 2 >> ==== >> *VM: *Linode (Xen) London / 8 Cores (E5-2670 0 @ 2.60GHz) / 4GB Ram >> *OS:* Ubuntu 12.04.4 LTS / Linux 3.18.5-x86_64-linode52 x86_64 >> >> policy: fifo: loadavg: 6.50 1.56 0.55 15/246 30752 97 Max: >> 1030 >> T:16 (30726) P:80 I:125 C: 239853 Min: 5 Act: 77 Avg: 97 Max: >> 1066 >> T: 0 (30710) P:80 I:125 C: 239946 Min: 5 Act: 63 Avg: 98 Max: >> 1245 >> T: 1 (30711) P:80 I:125 C: 239946 Min: 5 Act: 67 Avg: 98 Max: >> 1091 >> T: 2 (30712) P:80 I:125 C: 239945 Min: 5 Act: 119 Avg: 97 Max: >> 1351 >> T: 3 (30713) P:80 I:125 C: 239945 Min: 5 Act: 99 Avg: 98 >> Max: 932 >> T: 4 (30714) P:80 I:125 C: 239945 Min: 5 Act: 35 Avg: 98 Max: >> 1413 >> T: 5 (30715) P:80 I:125 C: 239945 Min: 5 Act: 35 Avg: 98 Max: >> 1407 >> T: 6 (30716) P:80 I:125 C: 239944 Min: 5 Act: 110 Avg: 97 Max: >> 1173 >> T: 7 (30717) P:80 I:125 C: 239947 Min: 5 Act: 85 Avg: 99 Max: >> 1144 >> T: 8 (30718) P:80 I:125 C: 239948 Min: 4 Act: 69 Avg: 99 >> Max: 916 >> T: 9 (30719) P:80 I:125 C: 239947 Min: 4 Act: 40 Avg: 97 >> Max: 916 >> T:10 (30720) P:80 I:125 C: 239948 Min: 5 Act: 61 Avg: 97 Max: >> 1024 >> T:11 (30721) P:80 I:125 C: 239946 Min: 6 Act: 84 Avg: 98 Max: >> 2082 >> T:12 (30722) P:80 I:125 C: 239947 Min: 4 Act: 40 Avg: 98 Max: >> 2142 >> T:13 (30723) P:80 I:125 C: 239946 Min: 5 Act: 49 Avg: 98 Max: >> 1986 >> T:14 (30724) P:80 I:125 C: 239946 Min: 4 Act: 113 Avg: 99 Max: >> 2061 >> >> This is with system defaults. >> >> regards, >> >> Errol >> >> >> >> >> On Mon, Apr 6, 2015 at 1:27 PM, Sergey Safarov >> wrote: >> >>> Errol can you test VM timer with utility >>> https://rt.wiki.kernel.org/index.php/Cyclictest >>> >>> My VM currently have folowing results >>> >>> [root at fs1 ~]# date && /tmp/rt-tests/cyclictest -t42 -p 80 -d 0 -n -i 125 -l 240000 && date >>> Sun Apr 5 07:01:31 GMT 2015 >>> # /dev/cpu_dma_latency set to 0us >>> policy: fifo: loadavg: 2.38 0.93 0.50 1/194 1574 >>> >>> T: 0 ( 1531) P:80 I:125 C: 240000 Min: 2 Act: 12 Avg: 16 Max: 1302 >>> T: 1 ( 1532) P:80 I:125 C: 240000 Min: 2 Act: 15 Avg: 14 Max: 2895 >>> T: 2 ( 1533) P:80 I:125 C: 240000 Min: 3 Act: 10 Avg: 12 Max: 2888 >>> T: 3 ( 1534) P:80 I:125 C: 240000 Min: 1 Act: 16 Avg: 13 Max: 1333 >>> T: 4 ( 1535) P:80 I:125 C: 240000 Min: 2 Act: 20 Avg: 14 Max: 2962 >>> T: 5 ( 1536) P:80 I:125 C: 240000 Min: 1 Act: 12 Avg: 14 Max: 2946 >>> T: 6 ( 1537) P:80 I:125 C: 240000 Min: 2 Act: 10 Avg: 13 Max: 1363 >>> T: 7 ( 1538) P:80 I:125 C: 240000 Min: 2 Act: 12 Avg: 13 Max: 1344 >>> T: 8 ( 1539) P:80 I:125 C: 240000 Min: 3 Act: 12 Avg: 16 Max: 1408 >>> T: 9 ( 1540) P:80 I:125 C: 240000 Min: 1 Act: 8 Avg: 13 Max: 2882 >>> T:10 ( 1541) P:80 I:125 C: 239974 Min: 2 Act: 12 Avg: 13 Max: 2908 >>> >>> >>> On Mon, Apr 6, 2015 at 11:15 AM, Errol Samuels >>> wrote: >>> >>>> Good job and Thanks for sharing! >>>> >>>> KVM at digitalocean.com, Debian 7 64bit, FreeSWITCH 1.4.15: bad >>>>> precision >>>> >>>> >>>> As someone who has been using KVM for a few years and has just migrated >>>> about 20 VMs across to Digital Ocean about 6 weeks ago I admit I am a >>>> little concerned about this finding. >>>> >>>> Just out of curiosity can you tell me the specs of the VM that you >>>> tested with and which DO Datacenter? I am using NYC3 so perhaps and I will >>>> do some tests as soon as I have some time. >>>> >>>> With regards to Xen was this at Linode or inhouse? >>>> >>>> Thanks >>>> >>>> Errol >>>> >>>> >>>> >>>> On Sun, Apr 5, 2015 at 1:37 AM, Stanislav Sinyagin >>> > wrote: >>>> >>>>> here we go: >>>>> >>>>> https://txlab.wordpress.com/2015/04/05/testing-rtp-clock-precision-on-a-virtual-machine/ >>>>> >>>>> >>>>> >>>>> On Sat, Apr 4, 2015 at 4:26 PM, Stanislav Sinyagin < >>>>> ssinyagin at gmail.com> wrote: >>>>> > On Sat, Apr 4, 2015 at 1:03 PM, Regis M < >>>>> regis.freeswitch.org at tornad.net> wrote: >>>>> >> How do you check wavs together in audacity ? >>>>> > >>>>> > you just open two WAV files, align their starting position, and >>>>> > visually check the waves. If there's a problem, you would see that >>>>> > after few seconds, the waves are not aligned any more. >>>>> > >>>>> >> Can you send me 2 samples wav (send... and recorded) so I could see >>>>> the 20ms >>>>> >> diff that you exposed... >>>>> >> >>>>> >> Is there a way to automate the result checking, so it could help to >>>>> monitor >>>>> >> itsp quality >>>>> > >>>>> > Here >>>>> > https://github.com/openpreserve/scape-xcorrsound/issues/17 >>>>> > this is a link to a tool which compares two sound files at the wave >>>>> > level. You can also see the sound samples in the ticket. >>>>> > The problem is, that currently this tool does not detect such >>>>> slipping frames. >>>>> > >>>>> > I will also write a detailed article with examples, during the >>>>> weekend. >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> >> >>>>> >> >>>>> >> 2015-04-04 12:53 GMT+02:00 Stanislav Sinyagin >>>> >: >>>>> >>> >>>>> >>> Important is to send the media through two independent carriers - >>>>> then you >>>>> >>> can be sure that your clock is compared against a high quality one. >>>>> >>> >>>>> >>> On Apr 4, 2015 12:46 PM, "Regis M" < >>>>> regis.freeswitch.org at tornad.net> >>>>> >>> wrote: >>>>> >>>> >>>>> >>>> Hi, >>>>> >>>> >>>>> >>>> It's a very interresting test and conclusion. >>>>> >>>> >>>>> >>>> I will try to build a similar environnement on my freeswitch to >>>>> check >>>>> >>>> some system :) >>>>> >>>> >>>>> >>>> thanks >>>>> >>>> >>>>> >>>> >>>>> >>>> >>>>> >>>> 2015-04-04 2:16 GMT+02:00 Stanislav Sinyagin >>>> >: >>>>> >>>>> >>>>> >>>>> hi, >>>>> >>>>> >>>>> >>>>> Here are some test results which might be interesting: >>>>> >>>>> >>>>> >>>>> I've set up a test FreeSWITCH server at digitalocean (they use >>>>> KVM), >>>>> >>>>> and originated test calls to some ITSP accounts. Each call >>>>> played a >>>>> >>>>> test sound file (voice samples from ITU: >>>>> >>>>> >>>>> http://www.itu.int/net/itu-t/sigdb/genaudio/AudioForm-g.aspx?val=1000050 >>>>> >>>>> ), and on the receiving end another FreeSWITCH server was >>>>> recording >>>>> >>>>> the received session. The receiving server was on a XEN VM. Both >>>>> >>>>> servers talked G711 to their corresponding ITSP accounts. >>>>> >>>>> >>>>> >>>>> Then I compared the source audio and received audio in Audacity >>>>> editor. >>>>> >>>>> >>>>> >>>>> The tests showed that the received voice wave shifts 20ms from >>>>> the >>>>> >>>>> original sound every few seconds, randomly back and forward. This >>>>> >>>>> skewing was always present, regardless of ITSP and time of day. >>>>> >>>>> >>>>> >>>>> Then I moved the sending server to a XEN VM, and the waves >>>>> appeared >>>>> >>>>> almost perfectly synchronized (there was a 5ms skew in one test, >>>>> and I >>>>> >>>>> guess it's related to transcoding buffer, as the sound was >>>>> obviously >>>>> >>>>> transcoded). >>>>> >>>>> >>>>> >>>>> The effect was always visible with a 30-second sample, and I >>>>> also made >>>>> >>>>> additional tests with 2-minute samples. >>>>> >>>>> >>>>> >>>>> It would also be interesting to test this from a VmWare VM. If >>>>> someone >>>>> >>>>> wants to run such a test, feel free to contact me directly. >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> cheers, >>>>> >>>>> stan >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> >>>>> Professional FreeSWITCH Consulting Services: >>>>> >>>>> consulting at freeswitch.org >>>>> >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> >>>>> >>>>> Official FreeSWITCH Sites >>>>> >>>>> http://www.freeswitch.org >>>>> >>>>> http://confluence.freeswitch.org >>>>> >>>>> http://www.cluecon.com >>>>> >>>>> >>>>> >>>>> FreeSWITCH-users mailing list >>>>> >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> >>>>> http://www.freeswitch.org >>>>> >>>> >>>>> >>>> >>>>> >>>> >>>>> >>>> >>>>> _________________________________________________________________________ >>>>> >>>> Professional FreeSWITCH Consulting Services: >>>>> >>>> consulting at freeswitch.org >>>>> >>>> http://www.freeswitchsolutions.com >>>>> >>>> >>>>> >>>> Official FreeSWITCH Sites >>>>> >>>> http://www.freeswitch.org >>>>> >>>> http://confluence.freeswitch.org >>>>> >>>> http://www.cluecon.com >>>>> >>>> >>>>> >>>> FreeSWITCH-users mailing list >>>>> >>>> FreeSWITCH-users at lists.freeswitch.org >>>>> >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> >>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> >>>> http://www.freeswitch.org >>>>> >>> >>>>> >>> >>>>> >>> >>>>> _________________________________________________________________________ >>>>> >>> Professional FreeSWITCH Consulting Services: >>>>> >>> consulting at freeswitch.org >>>>> >>> http://www.freeswitchsolutions.com >>>>> >>> >>>>> >>> Official FreeSWITCH Sites >>>>> >>> http://www.freeswitch.org >>>>> >>> http://confluence.freeswitch.org >>>>> >>> http://www.cluecon.com >>>>> >>> >>>>> >>> FreeSWITCH-users mailing list >>>>> >>> FreeSWITCH-users at lists.freeswitch.org >>>>> >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> >>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> >>> http://www.freeswitch.org >>>>> >> >>>>> >> >>>>> >> >>>>> >> >>>>> _________________________________________________________________________ >>>>> >> Professional FreeSWITCH Consulting Services: >>>>> >> consulting at freeswitch.org >>>>> >> http://www.freeswitchsolutions.com >>>>> >> >>>>> >> Official FreeSWITCH Sites >>>>> >> http://www.freeswitch.org >>>>> >> http://confluence.freeswitch.org >>>>> >> http://www.cluecon.com >>>>> >> >>>>> >> FreeSWITCH-users mailing list >>>>> >> FreeSWITCH-users at lists.freeswitch.org >>>>> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> >> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> >> http://www.freeswitch.org >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Anthony Minessale II ? @anthmfs ? @FreeSWITCH ? ? http://freeswitch.org/ ? http://cluecon.com/ ? http://twitter.com/FreeSWITCH ? irc.freenode.net #freeswitch ? *http://freeswitch.org/g+ * ClueCon Weekly Development Call ? sip:888 at conference.freeswitch.org ? +19193869900 https://www.youtube.com/watch?v=9XXgW34t40s -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150406/b65f1bc3/attachment-0001.html From s.safarov at gmail.com Mon Apr 6 19:34:41 2015 From: s.safarov at gmail.com (Sergey Safarov) Date: Mon, 6 Apr 2015 18:34:41 +0300 Subject: [Freeswitch-users] KVM vs. XEN virtualization In-Reply-To: References: Message-ID: Errol We can seen in the test results that the digitalocean virtual machine has maximum timer interrupt latency is about 40 ms (42890 us). This means that FS will not receives (or will not sends) at time some voip packets for 30 seconds (test time). How mach you can see if you add key "-v" date && /tmp/rt-tests/cyclictest -t1 -p 80 -d 0 -n -i 125 -l 240000 -v && date On Mon, Apr 6, 2015 at 5:38 PM, Errol Samuels wrote: > Ok Sergey, > > Here it goes: > > Test 1 > ==== > *VM: *Digital Ocean KVM at AMS3 / 2 Cores / 2GB Ram / 40GB SSD > *OS:* Debian Wheezy 7.8 64 bit / Linux 3.2.0-4-amd64 x86_64 > > policy: fifo: loadavg: 6.22 1.53 0.58 1/164 31050 : 195 Max: > 42869 > T:12 (31021) P:80 I:125 C: 238830 Min: 2 Act: 18 Avg: 196 Max: > 42846 > T: 0 (31009) P:80 I:125 C: 239000 Min: 2 Act: 12 Avg: 190 Max: > 42845 > T: 1 (31010) P:80 I:125 C: 239002 Min: 2 Act: 18 Avg: 196 Max: > 42866 > T: 2 (31011) P:80 I:125 C: 239004 Min: 3 Act: 10 Avg: 191 Max: > 42890 > T: 3 (31012) P:80 I:125 C: 239004 Min: 3 Act: 8 Avg: 197 Max: > 42876 > T: 4 (31013) P:80 I:125 C: 239005 Min: 2 Act: 27 Avg: 194 Max: > 42846 > T: 5 (31014) P:80 I:125 C: 239008 Min: 2 Act: 26 Avg: 196 Max: > 42872 > T: 6 (31015) P:80 I:125 C: 239013 Min: 2 Act: 12 Avg: 196 Max: > 42843 > T: 7 (31016) P:80 I:125 C: 239013 Min: 2 Act: 19 Avg: 194 Max: > 42848 > T: 8 (31017) P:80 I:125 C: 239013 Min: 2 Act: 14 Avg: 190 Max: > 42856 > T: 9 (31018) P:80 I:125 C: 239014 Min: 2 Act: 14 Avg: 197 Max: > 42865 > T:10 (31019) P:80 I:125 C: 239016 Min: 2 Act: 9 Avg: 197 Max: > 42868 > > > Test 2 > ==== > *VM: *Linode (Xen) London / 8 Cores (E5-2670 0 @ 2.60GHz) / 4GB Ram > *OS:* Ubuntu 12.04.4 LTS / Linux 3.18.5-x86_64-linode52 x86_64 > > policy: fifo: loadavg: 6.50 1.56 0.55 15/246 30752 97 Max: > 1030 > T:16 (30726) P:80 I:125 C: 239853 Min: 5 Act: 77 Avg: 97 Max: > 1066 > T: 0 (30710) P:80 I:125 C: 239946 Min: 5 Act: 63 Avg: 98 Max: > 1245 > T: 1 (30711) P:80 I:125 C: 239946 Min: 5 Act: 67 Avg: 98 Max: > 1091 > T: 2 (30712) P:80 I:125 C: 239945 Min: 5 Act: 119 Avg: 97 Max: > 1351 > T: 3 (30713) P:80 I:125 C: 239945 Min: 5 Act: 99 Avg: 98 Max: > 932 > T: 4 (30714) P:80 I:125 C: 239945 Min: 5 Act: 35 Avg: 98 Max: > 1413 > T: 5 (30715) P:80 I:125 C: 239945 Min: 5 Act: 35 Avg: 98 Max: > 1407 > T: 6 (30716) P:80 I:125 C: 239944 Min: 5 Act: 110 Avg: 97 Max: > 1173 > T: 7 (30717) P:80 I:125 C: 239947 Min: 5 Act: 85 Avg: 99 Max: > 1144 > T: 8 (30718) P:80 I:125 C: 239948 Min: 4 Act: 69 Avg: 99 Max: > 916 > T: 9 (30719) P:80 I:125 C: 239947 Min: 4 Act: 40 Avg: 97 Max: > 916 > T:10 (30720) P:80 I:125 C: 239948 Min: 5 Act: 61 Avg: 97 Max: > 1024 > T:11 (30721) P:80 I:125 C: 239946 Min: 6 Act: 84 Avg: 98 Max: > 2082 > T:12 (30722) P:80 I:125 C: 239947 Min: 4 Act: 40 Avg: 98 Max: > 2142 > T:13 (30723) P:80 I:125 C: 239946 Min: 5 Act: 49 Avg: 98 Max: > 1986 > T:14 (30724) P:80 I:125 C: 239946 Min: 4 Act: 113 Avg: 99 Max: > 2061 > > This is with system defaults. > > regards, > > Errol > > > > > On Mon, Apr 6, 2015 at 1:27 PM, Sergey Safarov > wrote: > >> Errol can you test VM timer with utility >> https://rt.wiki.kernel.org/index.php/Cyclictest >> >> My VM currently have folowing results >> >> [root at fs1 ~]# date && /tmp/rt-tests/cyclictest -t42 -p 80 -d 0 -n -i 125 -l 240000 && date >> Sun Apr 5 07:01:31 GMT 2015 >> # /dev/cpu_dma_latency set to 0us >> policy: fifo: loadavg: 2.38 0.93 0.50 1/194 1574 >> >> T: 0 ( 1531) P:80 I:125 C: 240000 Min: 2 Act: 12 Avg: 16 Max: 1302 >> T: 1 ( 1532) P:80 I:125 C: 240000 Min: 2 Act: 15 Avg: 14 Max: 2895 >> T: 2 ( 1533) P:80 I:125 C: 240000 Min: 3 Act: 10 Avg: 12 Max: 2888 >> T: 3 ( 1534) P:80 I:125 C: 240000 Min: 1 Act: 16 Avg: 13 Max: 1333 >> T: 4 ( 1535) P:80 I:125 C: 240000 Min: 2 Act: 20 Avg: 14 Max: 2962 >> T: 5 ( 1536) P:80 I:125 C: 240000 Min: 1 Act: 12 Avg: 14 Max: 2946 >> T: 6 ( 1537) P:80 I:125 C: 240000 Min: 2 Act: 10 Avg: 13 Max: 1363 >> T: 7 ( 1538) P:80 I:125 C: 240000 Min: 2 Act: 12 Avg: 13 Max: 1344 >> T: 8 ( 1539) P:80 I:125 C: 240000 Min: 3 Act: 12 Avg: 16 Max: 1408 >> T: 9 ( 1540) P:80 I:125 C: 240000 Min: 1 Act: 8 Avg: 13 Max: 2882 >> T:10 ( 1541) P:80 I:125 C: 239974 Min: 2 Act: 12 Avg: 13 Max: 2908 >> >> >> On Mon, Apr 6, 2015 at 11:15 AM, Errol Samuels >> wrote: >> >>> Good job and Thanks for sharing! >>> >>> KVM at digitalocean.com, Debian 7 64bit, FreeSWITCH 1.4.15: bad >>>> precision >>> >>> >>> As someone who has been using KVM for a few years and has just migrated >>> about 20 VMs across to Digital Ocean about 6 weeks ago I admit I am a >>> little concerned about this finding. >>> >>> Just out of curiosity can you tell me the specs of the VM that you >>> tested with and which DO Datacenter? I am using NYC3 so perhaps and I will >>> do some tests as soon as I have some time. >>> >>> With regards to Xen was this at Linode or inhouse? >>> >>> Thanks >>> >>> Errol >>> >>> >>> >>> On Sun, Apr 5, 2015 at 1:37 AM, Stanislav Sinyagin >>> wrote: >>> >>>> here we go: >>>> >>>> https://txlab.wordpress.com/2015/04/05/testing-rtp-clock-precision-on-a-virtual-machine/ >>>> >>>> >>>> >>>> On Sat, Apr 4, 2015 at 4:26 PM, Stanislav Sinyagin >>>> wrote: >>>> > On Sat, Apr 4, 2015 at 1:03 PM, Regis M < >>>> regis.freeswitch.org at tornad.net> wrote: >>>> >> How do you check wavs together in audacity ? >>>> > >>>> > you just open two WAV files, align their starting position, and >>>> > visually check the waves. If there's a problem, you would see that >>>> > after few seconds, the waves are not aligned any more. >>>> > >>>> >> Can you send me 2 samples wav (send... and recorded) so I could see >>>> the 20ms >>>> >> diff that you exposed... >>>> >> >>>> >> Is there a way to automate the result checking, so it could help to >>>> monitor >>>> >> itsp quality >>>> > >>>> > Here >>>> > https://github.com/openpreserve/scape-xcorrsound/issues/17 >>>> > this is a link to a tool which compares two sound files at the wave >>>> > level. You can also see the sound samples in the ticket. >>>> > The problem is, that currently this tool does not detect such >>>> slipping frames. >>>> > >>>> > I will also write a detailed article with examples, during the >>>> weekend. >>>> > >>>> > >>>> > >>>> > >>>> > >>>> >> >>>> >> >>>> >> 2015-04-04 12:53 GMT+02:00 Stanislav Sinyagin : >>>> >>> >>>> >>> Important is to send the media through two independent carriers - >>>> then you >>>> >>> can be sure that your clock is compared against a high quality one. >>>> >>> >>>> >>> On Apr 4, 2015 12:46 PM, "Regis M" >>> > >>>> >>> wrote: >>>> >>>> >>>> >>>> Hi, >>>> >>>> >>>> >>>> It's a very interresting test and conclusion. >>>> >>>> >>>> >>>> I will try to build a similar environnement on my freeswitch to >>>> check >>>> >>>> some system :) >>>> >>>> >>>> >>>> thanks >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> 2015-04-04 2:16 GMT+02:00 Stanislav Sinyagin >>> >: >>>> >>>>> >>>> >>>>> hi, >>>> >>>>> >>>> >>>>> Here are some test results which might be interesting: >>>> >>>>> >>>> >>>>> I've set up a test FreeSWITCH server at digitalocean (they use >>>> KVM), >>>> >>>>> and originated test calls to some ITSP accounts. Each call played >>>> a >>>> >>>>> test sound file (voice samples from ITU: >>>> >>>>> >>>> http://www.itu.int/net/itu-t/sigdb/genaudio/AudioForm-g.aspx?val=1000050 >>>> >>>>> ), and on the receiving end another FreeSWITCH server was >>>> recording >>>> >>>>> the received session. The receiving server was on a XEN VM. Both >>>> >>>>> servers talked G711 to their corresponding ITSP accounts. >>>> >>>>> >>>> >>>>> Then I compared the source audio and received audio in Audacity >>>> editor. >>>> >>>>> >>>> >>>>> The tests showed that the received voice wave shifts 20ms from the >>>> >>>>> original sound every few seconds, randomly back and forward. This >>>> >>>>> skewing was always present, regardless of ITSP and time of day. >>>> >>>>> >>>> >>>>> Then I moved the sending server to a XEN VM, and the waves >>>> appeared >>>> >>>>> almost perfectly synchronized (there was a 5ms skew in one test, >>>> and I >>>> >>>>> guess it's related to transcoding buffer, as the sound was >>>> obviously >>>> >>>>> transcoded). >>>> >>>>> >>>> >>>>> The effect was always visible with a 30-second sample, and I also >>>> made >>>> >>>>> additional tests with 2-minute samples. >>>> >>>>> >>>> >>>>> It would also be interesting to test this from a VmWare VM. If >>>> someone >>>> >>>>> wants to run such a test, feel free to contact me directly. >>>> >>>>> >>>> >>>>> >>>> >>>>> cheers, >>>> >>>>> stan >>>> >>>>> >>>> >>>>> >>>> >>>>> >>>> _________________________________________________________________________ >>>> >>>>> Professional FreeSWITCH Consulting Services: >>>> >>>>> consulting at freeswitch.org >>>> >>>>> http://www.freeswitchsolutions.com >>>> >>>>> >>>> >>>>> Official FreeSWITCH Sites >>>> >>>>> http://www.freeswitch.org >>>> >>>>> http://confluence.freeswitch.org >>>> >>>>> http://www.cluecon.com >>>> >>>>> >>>> >>>>> FreeSWITCH-users mailing list >>>> >>>>> FreeSWITCH-users at lists.freeswitch.org >>>> >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> >>>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> >>>>> http://www.freeswitch.org >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> >>>> Professional FreeSWITCH Consulting Services: >>>> >>>> consulting at freeswitch.org >>>> >>>> http://www.freeswitchsolutions.com >>>> >>>> >>>> >>>> Official FreeSWITCH Sites >>>> >>>> http://www.freeswitch.org >>>> >>>> http://confluence.freeswitch.org >>>> >>>> http://www.cluecon.com >>>> >>>> >>>> >>>> FreeSWITCH-users mailing list >>>> >>>> FreeSWITCH-users at lists.freeswitch.org >>>> >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> >>>> http://www.freeswitch.org >>>> >>> >>>> >>> >>>> >>> >>>> _________________________________________________________________________ >>>> >>> Professional FreeSWITCH Consulting Services: >>>> >>> consulting at freeswitch.org >>>> >>> http://www.freeswitchsolutions.com >>>> >>> >>>> >>> Official FreeSWITCH Sites >>>> >>> http://www.freeswitch.org >>>> >>> http://confluence.freeswitch.org >>>> >>> http://www.cluecon.com >>>> >>> >>>> >>> FreeSWITCH-users mailing list >>>> >>> FreeSWITCH-users at lists.freeswitch.org >>>> >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> >>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> >>> http://www.freeswitch.org >>>> >> >>>> >> >>>> >> >>>> >> >>>> _________________________________________________________________________ >>>> >> Professional FreeSWITCH Consulting Services: >>>> >> consulting at freeswitch.org >>>> >> http://www.freeswitchsolutions.com >>>> >> >>>> >> Official FreeSWITCH Sites >>>> >> http://www.freeswitch.org >>>> >> http://confluence.freeswitch.org >>>> >> http://www.cluecon.com >>>> >> >>>> >> FreeSWITCH-users mailing list >>>> >> FreeSWITCH-users at lists.freeswitch.org >>>> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> >> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> >> http://www.freeswitch.org >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150406/8b694c29/attachment-0001.html From ssinyagin at gmail.com Mon Apr 6 19:51:18 2015 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Mon, 6 Apr 2015 17:51:18 +0200 Subject: [Freeswitch-users] KVM vs. XEN virtualization In-Reply-To: References: Message-ID: yes, and we're trying to find the one that works with minimal impact on quality :) I'm thinking to move my test server (the one on receiving side) from Xen VM to a physical ARM machine at https://www.scaleway.com/ in France. It would record audio and raw UDP packets and provide them for downloading to everyone. Do we know about any timing issues on ARM platform? if someone sponsors some additional DID numbers, that will be appreciated. On Mon, Apr 6, 2015 at 5:30 PM, Anthony Minessale wrote: > Depending on the host and guest OS the timing will be a product of several > thing. > If some of the features FS tries to detect are emulated, it can be a > problem. > > The primary thing FS looks for is a kernel with timerfd support. > This should be the most accurate. If the guest OS supports timerfd but its > using emulated hardware, it might not work as well as it should. > > So on something like openvz, you might have support for timerfd in your > debian 7/8 instance but the host kernel has no support at all. > So in theory kvm would be preferred since it actually boots the guest kernel > and you have a chance for it to hit the real timer hardware. > > If no timerfd is present, it reverts to the single thread ms precision > thread with conditional broadcast for timing. > You can also manually configure a combo of one timerfd timer and shared > broadcast. > > This param in switch.conf.xml helps to tune a few behavior you might want to > compare results on. > > enable-softtimer-timerfd > > true|fd-per-timer --- Use one fd for each timer instance (default) > > false --- Don't use timerfd at all > > broadcast --- Use one timerfd and share it with conditional > broadcasts > > This is one reason we do not support virtualization as its too variable to > provide definitive policies to make things work every time. > > > > > > > > > > > > > > > > > On Mon, Apr 6, 2015 at 10:17 AM, Stanislav Sinyagin > wrote: >> >> I didn't yet have time to learn this utility - how do we interpret the >> results? >> >> On Apr 6, 2015 4:39 PM, "Errol Samuels" wrote: >>> >>> Ok Sergey, >>> >>> Here it goes: >>> >>> Test 1 >>> ==== >>> VM: Digital Ocean KVM at AMS3 / 2 Cores / 2GB Ram / 40GB SSD >>> OS: Debian Wheezy 7.8 64 bit / Linux 3.2.0-4-amd64 x86_64 >>> >>> policy: fifo: loadavg: 6.22 1.53 0.58 1/164 31050 : 195 Max: >>> 42869 >>> T:12 (31021) P:80 I:125 C: 238830 Min: 2 Act: 18 Avg: 196 Max: >>> 42846 >>> T: 0 (31009) P:80 I:125 C: 239000 Min: 2 Act: 12 Avg: 190 Max: >>> 42845 >>> T: 1 (31010) P:80 I:125 C: 239002 Min: 2 Act: 18 Avg: 196 Max: >>> 42866 >>> T: 2 (31011) P:80 I:125 C: 239004 Min: 3 Act: 10 Avg: 191 Max: >>> 42890 >>> T: 3 (31012) P:80 I:125 C: 239004 Min: 3 Act: 8 Avg: 197 Max: >>> 42876 >>> T: 4 (31013) P:80 I:125 C: 239005 Min: 2 Act: 27 Avg: 194 Max: >>> 42846 >>> T: 5 (31014) P:80 I:125 C: 239008 Min: 2 Act: 26 Avg: 196 Max: >>> 42872 >>> T: 6 (31015) P:80 I:125 C: 239013 Min: 2 Act: 12 Avg: 196 Max: >>> 42843 >>> T: 7 (31016) P:80 I:125 C: 239013 Min: 2 Act: 19 Avg: 194 Max: >>> 42848 >>> T: 8 (31017) P:80 I:125 C: 239013 Min: 2 Act: 14 Avg: 190 Max: >>> 42856 >>> T: 9 (31018) P:80 I:125 C: 239014 Min: 2 Act: 14 Avg: 197 Max: >>> 42865 >>> T:10 (31019) P:80 I:125 C: 239016 Min: 2 Act: 9 Avg: 197 Max: >>> 42868 >>> >>> >>> Test 2 >>> ==== >>> VM: Linode (Xen) London / 8 Cores (E5-2670 0 @ 2.60GHz) / 4GB Ram >>> OS: Ubuntu 12.04.4 LTS / Linux 3.18.5-x86_64-linode52 x86_64 >>> >>> policy: fifo: loadavg: 6.50 1.56 0.55 15/246 30752 97 Max: >>> 1030 >>> T:16 (30726) P:80 I:125 C: 239853 Min: 5 Act: 77 Avg: 97 Max: >>> 1066 >>> T: 0 (30710) P:80 I:125 C: 239946 Min: 5 Act: 63 Avg: 98 Max: >>> 1245 >>> T: 1 (30711) P:80 I:125 C: 239946 Min: 5 Act: 67 Avg: 98 Max: >>> 1091 >>> T: 2 (30712) P:80 I:125 C: 239945 Min: 5 Act: 119 Avg: 97 Max: >>> 1351 >>> T: 3 (30713) P:80 I:125 C: 239945 Min: 5 Act: 99 Avg: 98 Max: >>> 932 >>> T: 4 (30714) P:80 I:125 C: 239945 Min: 5 Act: 35 Avg: 98 Max: >>> 1413 >>> T: 5 (30715) P:80 I:125 C: 239945 Min: 5 Act: 35 Avg: 98 Max: >>> 1407 >>> T: 6 (30716) P:80 I:125 C: 239944 Min: 5 Act: 110 Avg: 97 Max: >>> 1173 >>> T: 7 (30717) P:80 I:125 C: 239947 Min: 5 Act: 85 Avg: 99 Max: >>> 1144 >>> T: 8 (30718) P:80 I:125 C: 239948 Min: 4 Act: 69 Avg: 99 Max: >>> 916 >>> T: 9 (30719) P:80 I:125 C: 239947 Min: 4 Act: 40 Avg: 97 Max: >>> 916 >>> T:10 (30720) P:80 I:125 C: 239948 Min: 5 Act: 61 Avg: 97 Max: >>> 1024 >>> T:11 (30721) P:80 I:125 C: 239946 Min: 6 Act: 84 Avg: 98 Max: >>> 2082 >>> T:12 (30722) P:80 I:125 C: 239947 Min: 4 Act: 40 Avg: 98 Max: >>> 2142 >>> T:13 (30723) P:80 I:125 C: 239946 Min: 5 Act: 49 Avg: 98 Max: >>> 1986 >>> T:14 (30724) P:80 I:125 C: 239946 Min: 4 Act: 113 Avg: 99 Max: >>> 2061 >>> >>> This is with system defaults. >>> >>> regards, >>> >>> Errol >>> >>> >>> >>> >>> On Mon, Apr 6, 2015 at 1:27 PM, Sergey Safarov >>> wrote: >>>> >>>> Errol can you test VM timer with utility >>>> https://rt.wiki.kernel.org/index.php/Cyclictest >>>> >>>> My VM currently have folowing results >>>> >>>> [root at fs1 ~]# date && /tmp/rt-tests/cyclictest -t42 -p 80 -d 0 -n -i >>>> 125 -l 240000 && date >>>> Sun Apr 5 07:01:31 GMT 2015 >>>> # /dev/cpu_dma_latency set to 0us >>>> policy: fifo: loadavg: 2.38 0.93 0.50 1/194 1574 >>>> >>>> T: 0 ( 1531) P:80 I:125 C: 240000 Min: 2 Act: 12 Avg: 16 Max: >>>> 1302 >>>> T: 1 ( 1532) P:80 I:125 C: 240000 Min: 2 Act: 15 Avg: 14 Max: >>>> 2895 >>>> T: 2 ( 1533) P:80 I:125 C: 240000 Min: 3 Act: 10 Avg: 12 Max: >>>> 2888 >>>> T: 3 ( 1534) P:80 I:125 C: 240000 Min: 1 Act: 16 Avg: 13 Max: >>>> 1333 >>>> T: 4 ( 1535) P:80 I:125 C: 240000 Min: 2 Act: 20 Avg: 14 Max: >>>> 2962 >>>> T: 5 ( 1536) P:80 I:125 C: 240000 Min: 1 Act: 12 Avg: 14 Max: >>>> 2946 >>>> T: 6 ( 1537) P:80 I:125 C: 240000 Min: 2 Act: 10 Avg: 13 Max: >>>> 1363 >>>> T: 7 ( 1538) P:80 I:125 C: 240000 Min: 2 Act: 12 Avg: 13 Max: >>>> 1344 >>>> T: 8 ( 1539) P:80 I:125 C: 240000 Min: 3 Act: 12 Avg: 16 Max: >>>> 1408 >>>> T: 9 ( 1540) P:80 I:125 C: 240000 Min: 1 Act: 8 Avg: 13 Max: >>>> 2882 >>>> T:10 ( 1541) P:80 I:125 C: 239974 Min: 2 Act: 12 Avg: 13 Max: >>>> 2908 >>>> >>>> >>>> On Mon, Apr 6, 2015 at 11:15 AM, Errol Samuels >>>> wrote: >>>>> >>>>> Good job and Thanks for sharing! >>>>> >>>>>> KVM at digitalocean.com, Debian 7 64bit, FreeSWITCH 1.4.15: bad >>>>>> precision >>>>> >>>>> >>>>> As someone who has been using KVM for a few years and has just migrated >>>>> about 20 VMs across to Digital Ocean about 6 weeks ago I admit I am a little >>>>> concerned about this finding. >>>>> >>>>> Just out of curiosity can you tell me the specs of the VM that you >>>>> tested with and which DO Datacenter? I am using NYC3 so perhaps and I will >>>>> do some tests as soon as I have some time. >>>>> >>>>> With regards to Xen was this at Linode or inhouse? >>>>> >>>>> Thanks >>>>> >>>>> Errol >>>>> >>>>> >>>>> >>>>> On Sun, Apr 5, 2015 at 1:37 AM, Stanislav Sinyagin >>>>> wrote: >>>>>> >>>>>> here we go: >>>>>> >>>>>> https://txlab.wordpress.com/2015/04/05/testing-rtp-clock-precision-on-a-virtual-machine/ >>>>>> >>>>>> >>>>>> >>>>>> On Sat, Apr 4, 2015 at 4:26 PM, Stanislav Sinyagin >>>>>> wrote: >>>>>> > On Sat, Apr 4, 2015 at 1:03 PM, Regis M >>>>>> > wrote: >>>>>> >> How do you check wavs together in audacity ? >>>>>> > >>>>>> > you just open two WAV files, align their starting position, and >>>>>> > visually check the waves. If there's a problem, you would see that >>>>>> > after few seconds, the waves are not aligned any more. >>>>>> > >>>>>> >> Can you send me 2 samples wav (send... and recorded) so I could see >>>>>> >> the 20ms >>>>>> >> diff that you exposed... >>>>>> >> >>>>>> >> Is there a way to automate the result checking, so it could help to >>>>>> >> monitor >>>>>> >> itsp quality >>>>>> > >>>>>> > Here >>>>>> > https://github.com/openpreserve/scape-xcorrsound/issues/17 >>>>>> > this is a link to a tool which compares two sound files at the wave >>>>>> > level. You can also see the sound samples in the ticket. >>>>>> > The problem is, that currently this tool does not detect such >>>>>> > slipping frames. >>>>>> > >>>>>> > I will also write a detailed article with examples, during the >>>>>> > weekend. >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> >> >>>>>> >> >>>>>> >> 2015-04-04 12:53 GMT+02:00 Stanislav Sinyagin >>>>>> >> : >>>>>> >>> >>>>>> >>> Important is to send the media through two independent carriers - >>>>>> >>> then you >>>>>> >>> can be sure that your clock is compared against a high quality >>>>>> >>> one. >>>>>> >>> >>>>>> >>> On Apr 4, 2015 12:46 PM, "Regis M" >>>>>> >>> >>>>>> >>> wrote: >>>>>> >>>> >>>>>> >>>> Hi, >>>>>> >>>> >>>>>> >>>> It's a very interresting test and conclusion. >>>>>> >>>> >>>>>> >>>> I will try to build a similar environnement on my freeswitch to >>>>>> >>>> check >>>>>> >>>> some system :) >>>>>> >>>> >>>>>> >>>> thanks >>>>>> >>>> >>>>>> >>>> >>>>>> >>>> >>>>>> >>>> 2015-04-04 2:16 GMT+02:00 Stanislav Sinyagin >>>>>> >>>> : >>>>>> >>>>> >>>>>> >>>>> hi, >>>>>> >>>>> >>>>>> >>>>> Here are some test results which might be interesting: >>>>>> >>>>> >>>>>> >>>>> I've set up a test FreeSWITCH server at digitalocean (they use >>>>>> >>>>> KVM), >>>>>> >>>>> and originated test calls to some ITSP accounts. Each call >>>>>> >>>>> played a >>>>>> >>>>> test sound file (voice samples from ITU: >>>>>> >>>>> >>>>>> >>>>> http://www.itu.int/net/itu-t/sigdb/genaudio/AudioForm-g.aspx?val=1000050 >>>>>> >>>>> ), and on the receiving end another FreeSWITCH server was >>>>>> >>>>> recording >>>>>> >>>>> the received session. The receiving server was on a XEN VM. Both >>>>>> >>>>> servers talked G711 to their corresponding ITSP accounts. >>>>>> >>>>> >>>>>> >>>>> Then I compared the source audio and received audio in Audacity >>>>>> >>>>> editor. >>>>>> >>>>> >>>>>> >>>>> The tests showed that the received voice wave shifts 20ms from >>>>>> >>>>> the >>>>>> >>>>> original sound every few seconds, randomly back and forward. >>>>>> >>>>> This >>>>>> >>>>> skewing was always present, regardless of ITSP and time of day. >>>>>> >>>>> >>>>>> >>>>> Then I moved the sending server to a XEN VM, and the waves >>>>>> >>>>> appeared >>>>>> >>>>> almost perfectly synchronized (there was a 5ms skew in one test, >>>>>> >>>>> and I >>>>>> >>>>> guess it's related to transcoding buffer, as the sound was >>>>>> >>>>> obviously >>>>>> >>>>> transcoded). >>>>>> >>>>> >>>>>> >>>>> The effect was always visible with a 30-second sample, and I >>>>>> >>>>> also made >>>>>> >>>>> additional tests with 2-minute samples. >>>>>> >>>>> >>>>>> >>>>> It would also be interesting to test this from a VmWare VM. If >>>>>> >>>>> someone >>>>>> >>>>> wants to run such a test, feel free to contact me directly. >>>>>> >>>>> >>>>>> >>>>> >>>>>> >>>>> cheers, >>>>>> >>>>> stan >>>>>> >>>>> >>>>>> >>>>> >>>>>> >>>>> >>>>>> >>>>> _________________________________________________________________________ >>>>>> >>>>> Professional FreeSWITCH Consulting Services: >>>>>> >>>>> consulting at freeswitch.org >>>>>> >>>>> http://www.freeswitchsolutions.com >>>>>> >>>>> >>>>>> >>>>> Official FreeSWITCH Sites >>>>>> >>>>> http://www.freeswitch.org >>>>>> >>>>> http://confluence.freeswitch.org >>>>>> >>>>> http://www.cluecon.com >>>>>> >>>>> >>>>>> >>>>> FreeSWITCH-users mailing list >>>>>> >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>> >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> >>>>> >>>>>> >>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> >>>>> http://www.freeswitch.org >>>>>> >>>> >>>>>> >>>> >>>>>> >>>> >>>>>> >>>> >>>>>> >>>> _________________________________________________________________________ >>>>>> >>>> Professional FreeSWITCH Consulting Services: >>>>>> >>>> consulting at freeswitch.org >>>>>> >>>> http://www.freeswitchsolutions.com >>>>>> >>>> >>>>>> >>>> Official FreeSWITCH Sites >>>>>> >>>> http://www.freeswitch.org >>>>>> >>>> http://confluence.freeswitch.org >>>>>> >>>> http://www.cluecon.com >>>>>> >>>> >>>>>> >>>> FreeSWITCH-users mailing list >>>>>> >>>> FreeSWITCH-users at lists.freeswitch.org >>>>>> >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> >>>> >>>>>> >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> >>>> http://www.freeswitch.org >>>>>> >>> >>>>>> >>> >>>>>> >>> >>>>>> >>> _________________________________________________________________________ >>>>>> >>> Professional FreeSWITCH Consulting Services: >>>>>> >>> consulting at freeswitch.org >>>>>> >>> http://www.freeswitchsolutions.com >>>>>> >>> >>>>>> >>> Official FreeSWITCH Sites >>>>>> >>> http://www.freeswitch.org >>>>>> >>> http://confluence.freeswitch.org >>>>>> >>> http://www.cluecon.com >>>>>> >>> >>>>>> >>> FreeSWITCH-users mailing list >>>>>> >>> FreeSWITCH-users at lists.freeswitch.org >>>>>> >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> >>> >>>>>> >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> >>> http://www.freeswitch.org >>>>>> >> >>>>>> >> >>>>>> >> >>>>>> >> >>>>>> >> _________________________________________________________________________ >>>>>> >> Professional FreeSWITCH Consulting Services: >>>>>> >> consulting at freeswitch.org >>>>>> >> http://www.freeswitchsolutions.com >>>>>> >> >>>>>> >> Official FreeSWITCH Sites >>>>>> >> http://www.freeswitch.org >>>>>> >> http://confluence.freeswitch.org >>>>>> >> http://www.cluecon.com >>>>>> >> >>>>>> >> FreeSWITCH-users mailing list >>>>>> >> FreeSWITCH-users at lists.freeswitch.org >>>>>> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> >> >>>>>> >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> >> http://www.freeswitch.org >>>>>> >>>>>> >>>>>> _________________________________________________________________________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at freeswitch.org >>>>>> http://www.freeswitchsolutions.com >>>>>> >>>>>> Official FreeSWITCH Sites >>>>>> http://www.freeswitch.org >>>>>> http://confluence.freeswitch.org >>>>>> http://www.cluecon.com >>>>>> >>>>>> FreeSWITCH-users mailing list >>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> >>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> http://www.freeswitch.org >>>>> >>>>> >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> >>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>> >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org > > > > > -- > Anthony Minessale II ? @anthmfs ? @FreeSWITCH ? > > ? http://freeswitch.org/ ? http://cluecon.com/ ? > http://twitter.com/FreeSWITCH > ? irc.freenode.net #freeswitch ? http://freeswitch.org/g+ > > ClueCon Weekly Development Call > ? sip:888 at conference.freeswitch.org ? +19193869900 > > https://www.youtube.com/watch?v=9XXgW34t40s > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org From brian at freeswitch.org Mon Apr 6 20:05:54 2015 From: brian at freeswitch.org (Brian West) Date: Mon, 6 Apr 2015 11:05:54 -0500 Subject: [Freeswitch-users] KVM vs. XEN virtualization In-Reply-To: References: Message-ID: I've never had issues running under KVM on Proxmox, Looking back at this thread was there a specific issue that you're trying to solve that put you on to this path of testing? On Mon, Apr 6, 2015 at 10:51 AM, Stanislav Sinyagin wrote: > yes, and we're trying to find the one that works with minimal impact > on quality :) > > I'm thinking to move my test server (the one on receiving side) from > Xen VM to a physical ARM machine at https://www.scaleway.com/ in > France. It would record audio and raw UDP packets and provide them for > downloading to everyone. > > Do we know about any timing issues on ARM platform? > > if someone sponsors some additional DID numbers, that will be appreciated. > > > > > > > On Mon, Apr 6, 2015 at 5:30 PM, Anthony Minessale > wrote: > > Depending on the host and guest OS the timing will be a product of > several > > thing. > > If some of the features FS tries to detect are emulated, it can be a > > problem. > > > > The primary thing FS looks for is a kernel with timerfd support. > > This should be the most accurate. If the guest OS supports timerfd but > its > > using emulated hardware, it might not work as well as it should. > > > > So on something like openvz, you might have support for timerfd in your > > debian 7/8 instance but the host kernel has no support at all. > > So in theory kvm would be preferred since it actually boots the guest > kernel > > and you have a chance for it to hit the real timer hardware. > > > > If no timerfd is present, it reverts to the single thread ms precision > > thread with conditional broadcast for timing. > > You can also manually configure a combo of one timerfd timer and shared > > broadcast. > > > > This param in switch.conf.xml helps to tune a few behavior you might > want to > > compare results on. > > > > enable-softtimer-timerfd > > > > true|fd-per-timer --- Use one fd for each timer instance (default) > > > > false --- Don't use timerfd at all > > > > broadcast --- Use one timerfd and share it with conditional > > broadcasts > > > > This is one reason we do not support virtualization as its too variable > to > > provide definitive policies to make things work every time. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > On Mon, Apr 6, 2015 at 10:17 AM, Stanislav Sinyagin > > > wrote: > >> > >> I didn't yet have time to learn this utility - how do we interpret the > >> results? > >> > >> On Apr 6, 2015 4:39 PM, "Errol Samuels" wrote: > >>> > >>> Ok Sergey, > >>> > >>> Here it goes: > >>> > >>> Test 1 > >>> ==== > >>> VM: Digital Ocean KVM at AMS3 / 2 Cores / 2GB Ram / 40GB SSD > >>> OS: Debian Wheezy 7.8 64 bit / Linux 3.2.0-4-amd64 x86_64 > >>> > >>> policy: fifo: loadavg: 6.22 1.53 0.58 1/164 31050 : 195 Max: > >>> 42869 > >>> T:12 (31021) P:80 I:125 C: 238830 Min: 2 Act: 18 Avg: 196 Max: > >>> 42846 > >>> T: 0 (31009) P:80 I:125 C: 239000 Min: 2 Act: 12 Avg: 190 Max: > >>> 42845 > >>> T: 1 (31010) P:80 I:125 C: 239002 Min: 2 Act: 18 Avg: 196 Max: > >>> 42866 > >>> T: 2 (31011) P:80 I:125 C: 239004 Min: 3 Act: 10 Avg: 191 Max: > >>> 42890 > >>> T: 3 (31012) P:80 I:125 C: 239004 Min: 3 Act: 8 Avg: 197 Max: > >>> 42876 > >>> T: 4 (31013) P:80 I:125 C: 239005 Min: 2 Act: 27 Avg: 194 Max: > >>> 42846 > >>> T: 5 (31014) P:80 I:125 C: 239008 Min: 2 Act: 26 Avg: 196 Max: > >>> 42872 > >>> T: 6 (31015) P:80 I:125 C: 239013 Min: 2 Act: 12 Avg: 196 Max: > >>> 42843 > >>> T: 7 (31016) P:80 I:125 C: 239013 Min: 2 Act: 19 Avg: 194 Max: > >>> 42848 > >>> T: 8 (31017) P:80 I:125 C: 239013 Min: 2 Act: 14 Avg: 190 Max: > >>> 42856 > >>> T: 9 (31018) P:80 I:125 C: 239014 Min: 2 Act: 14 Avg: 197 Max: > >>> 42865 > >>> T:10 (31019) P:80 I:125 C: 239016 Min: 2 Act: 9 Avg: 197 Max: > >>> 42868 > >>> > >>> > >>> Test 2 > >>> ==== > >>> VM: Linode (Xen) London / 8 Cores (E5-2670 0 @ 2.60GHz) / 4GB Ram > >>> OS: Ubuntu 12.04.4 LTS / Linux 3.18.5-x86_64-linode52 x86_64 > >>> > >>> policy: fifo: loadavg: 6.50 1.56 0.55 15/246 30752 97 Max: > >>> 1030 > >>> T:16 (30726) P:80 I:125 C: 239853 Min: 5 Act: 77 Avg: 97 Max: > >>> 1066 > >>> T: 0 (30710) P:80 I:125 C: 239946 Min: 5 Act: 63 Avg: 98 Max: > >>> 1245 > >>> T: 1 (30711) P:80 I:125 C: 239946 Min: 5 Act: 67 Avg: 98 Max: > >>> 1091 > >>> T: 2 (30712) P:80 I:125 C: 239945 Min: 5 Act: 119 Avg: 97 Max: > >>> 1351 > >>> T: 3 (30713) P:80 I:125 C: 239945 Min: 5 Act: 99 Avg: 98 Max: > >>> 932 > >>> T: 4 (30714) P:80 I:125 C: 239945 Min: 5 Act: 35 Avg: 98 Max: > >>> 1413 > >>> T: 5 (30715) P:80 I:125 C: 239945 Min: 5 Act: 35 Avg: 98 Max: > >>> 1407 > >>> T: 6 (30716) P:80 I:125 C: 239944 Min: 5 Act: 110 Avg: 97 Max: > >>> 1173 > >>> T: 7 (30717) P:80 I:125 C: 239947 Min: 5 Act: 85 Avg: 99 Max: > >>> 1144 > >>> T: 8 (30718) P:80 I:125 C: 239948 Min: 4 Act: 69 Avg: 99 Max: > >>> 916 > >>> T: 9 (30719) P:80 I:125 C: 239947 Min: 4 Act: 40 Avg: 97 Max: > >>> 916 > >>> T:10 (30720) P:80 I:125 C: 239948 Min: 5 Act: 61 Avg: 97 Max: > >>> 1024 > >>> T:11 (30721) P:80 I:125 C: 239946 Min: 6 Act: 84 Avg: 98 Max: > >>> 2082 > >>> T:12 (30722) P:80 I:125 C: 239947 Min: 4 Act: 40 Avg: 98 Max: > >>> 2142 > >>> T:13 (30723) P:80 I:125 C: 239946 Min: 5 Act: 49 Avg: 98 Max: > >>> 1986 > >>> T:14 (30724) P:80 I:125 C: 239946 Min: 4 Act: 113 Avg: 99 Max: > >>> 2061 > >>> > >>> This is with system defaults. > >>> > >>> regards, > >>> > >>> Errol > >>> > >>> > >>> > >>> > >>> On Mon, Apr 6, 2015 at 1:27 PM, Sergey Safarov > >>> wrote: > >>>> > >>>> Errol can you test VM timer with utility > >>>> https://rt.wiki.kernel.org/index.php/Cyclictest > >>>> > >>>> My VM currently have folowing results > >>>> > >>>> [root at fs1 ~]# date && /tmp/rt-tests/cyclictest -t42 -p 80 -d 0 -n -i > >>>> 125 -l 240000 && date > >>>> Sun Apr 5 07:01:31 GMT 2015 > >>>> # /dev/cpu_dma_latency set to 0us > >>>> policy: fifo: loadavg: 2.38 0.93 0.50 1/194 1574 > >>>> > >>>> T: 0 ( 1531) P:80 I:125 C: 240000 Min: 2 Act: 12 Avg: 16 Max: > >>>> 1302 > >>>> T: 1 ( 1532) P:80 I:125 C: 240000 Min: 2 Act: 15 Avg: 14 Max: > >>>> 2895 > >>>> T: 2 ( 1533) P:80 I:125 C: 240000 Min: 3 Act: 10 Avg: 12 Max: > >>>> 2888 > >>>> T: 3 ( 1534) P:80 I:125 C: 240000 Min: 1 Act: 16 Avg: 13 Max: > >>>> 1333 > >>>> T: 4 ( 1535) P:80 I:125 C: 240000 Min: 2 Act: 20 Avg: 14 Max: > >>>> 2962 > >>>> T: 5 ( 1536) P:80 I:125 C: 240000 Min: 1 Act: 12 Avg: 14 Max: > >>>> 2946 > >>>> T: 6 ( 1537) P:80 I:125 C: 240000 Min: 2 Act: 10 Avg: 13 Max: > >>>> 1363 > >>>> T: 7 ( 1538) P:80 I:125 C: 240000 Min: 2 Act: 12 Avg: 13 Max: > >>>> 1344 > >>>> T: 8 ( 1539) P:80 I:125 C: 240000 Min: 3 Act: 12 Avg: 16 Max: > >>>> 1408 > >>>> T: 9 ( 1540) P:80 I:125 C: 240000 Min: 1 Act: 8 Avg: 13 Max: > >>>> 2882 > >>>> T:10 ( 1541) P:80 I:125 C: 239974 Min: 2 Act: 12 Avg: 13 Max: > >>>> 2908 > >>>> > >>>> > >>>> On Mon, Apr 6, 2015 at 11:15 AM, Errol Samuels > >>>> wrote: > >>>>> > >>>>> Good job and Thanks for sharing! > >>>>> > >>>>>> KVM at digitalocean.com, Debian 7 64bit, FreeSWITCH 1.4.15: bad > >>>>>> precision > >>>>> > >>>>> > >>>>> As someone who has been using KVM for a few years and has just > migrated > >>>>> about 20 VMs across to Digital Ocean about 6 weeks ago I admit I am > a little > >>>>> concerned about this finding. > >>>>> > >>>>> Just out of curiosity can you tell me the specs of the VM that you > >>>>> tested with and which DO Datacenter? I am using NYC3 so perhaps and > I will > >>>>> do some tests as soon as I have some time. > >>>>> > >>>>> With regards to Xen was this at Linode or inhouse? > >>>>> > >>>>> Thanks > >>>>> > >>>>> Errol > >>>>> > >>>>> > >>>>> > >>>>> On Sun, Apr 5, 2015 at 1:37 AM, Stanislav Sinyagin > >>>>> wrote: > >>>>>> > >>>>>> here we go: > >>>>>> > >>>>>> > https://txlab.wordpress.com/2015/04/05/testing-rtp-clock-precision-on-a-virtual-machine/ > >>>>>> > >>>>>> > >>>>>> > >>>>>> On Sat, Apr 4, 2015 at 4:26 PM, Stanislav Sinyagin > >>>>>> wrote: > >>>>>> > On Sat, Apr 4, 2015 at 1:03 PM, Regis M > >>>>>> > wrote: > >>>>>> >> How do you check wavs together in audacity ? > >>>>>> > > >>>>>> > you just open two WAV files, align their starting position, and > >>>>>> > visually check the waves. If there's a problem, you would see that > >>>>>> > after few seconds, the waves are not aligned any more. > >>>>>> > > >>>>>> >> Can you send me 2 samples wav (send... and recorded) so I could > see > >>>>>> >> the 20ms > >>>>>> >> diff that you exposed... > >>>>>> >> > >>>>>> >> Is there a way to automate the result checking, so it could help > to > >>>>>> >> monitor > >>>>>> >> itsp quality > >>>>>> > > >>>>>> > Here > >>>>>> > https://github.com/openpreserve/scape-xcorrsound/issues/17 > >>>>>> > this is a link to a tool which compares two sound files at the > wave > >>>>>> > level. You can also see the sound samples in the ticket. > >>>>>> > The problem is, that currently this tool does not detect such > >>>>>> > slipping frames. > >>>>>> > > >>>>>> > I will also write a detailed article with examples, during the > >>>>>> > weekend. > >>>>>> > > >>>>>> > > >>>>>> > > >>>>>> > > >>>>>> > > >>>>>> >> > >>>>>> >> > >>>>>> >> 2015-04-04 12:53 GMT+02:00 Stanislav Sinyagin > >>>>>> >> : > >>>>>> >>> > >>>>>> >>> Important is to send the media through two independent carriers > - > >>>>>> >>> then you > >>>>>> >>> can be sure that your clock is compared against a high quality > >>>>>> >>> one. > >>>>>> >>> > >>>>>> >>> On Apr 4, 2015 12:46 PM, "Regis M" > >>>>>> >>> > >>>>>> >>> wrote: > >>>>>> >>>> > >>>>>> >>>> Hi, > >>>>>> >>>> > >>>>>> >>>> It's a very interresting test and conclusion. > >>>>>> >>>> > >>>>>> >>>> I will try to build a similar environnement on my freeswitch to > >>>>>> >>>> check > >>>>>> >>>> some system :) > >>>>>> >>>> > >>>>>> >>>> thanks > >>>>>> >>>> > >>>>>> >>>> > >>>>>> >>>> > >>>>>> >>>> 2015-04-04 2:16 GMT+02:00 Stanislav Sinyagin > >>>>>> >>>> : > >>>>>> >>>>> > >>>>>> >>>>> hi, > >>>>>> >>>>> > >>>>>> >>>>> Here are some test results which might be interesting: > >>>>>> >>>>> > >>>>>> >>>>> I've set up a test FreeSWITCH server at digitalocean (they use > >>>>>> >>>>> KVM), > >>>>>> >>>>> and originated test calls to some ITSP accounts. Each call > >>>>>> >>>>> played a > >>>>>> >>>>> test sound file (voice samples from ITU: > >>>>>> >>>>> > >>>>>> >>>>> > http://www.itu.int/net/itu-t/sigdb/genaudio/AudioForm-g.aspx?val=1000050 > >>>>>> >>>>> ), and on the receiving end another FreeSWITCH server was > >>>>>> >>>>> recording > >>>>>> >>>>> the received session. The receiving server was on a XEN VM. > Both > >>>>>> >>>>> servers talked G711 to their corresponding ITSP accounts. > >>>>>> >>>>> > >>>>>> >>>>> Then I compared the source audio and received audio in > Audacity > >>>>>> >>>>> editor. > >>>>>> >>>>> > >>>>>> >>>>> The tests showed that the received voice wave shifts 20ms from > >>>>>> >>>>> the > >>>>>> >>>>> original sound every few seconds, randomly back and forward. > >>>>>> >>>>> This > >>>>>> >>>>> skewing was always present, regardless of ITSP and time of > day. > >>>>>> >>>>> > >>>>>> >>>>> Then I moved the sending server to a XEN VM, and the waves > >>>>>> >>>>> appeared > >>>>>> >>>>> almost perfectly synchronized (there was a 5ms skew in one > test, > >>>>>> >>>>> and I > >>>>>> >>>>> guess it's related to transcoding buffer, as the sound was > >>>>>> >>>>> obviously > >>>>>> >>>>> transcoded). > >>>>>> >>>>> > >>>>>> >>>>> The effect was always visible with a 30-second sample, and I > >>>>>> >>>>> also made > >>>>>> >>>>> additional tests with 2-minute samples. > >>>>>> >>>>> > >>>>>> >>>>> It would also be interesting to test this from a VmWare VM. If > >>>>>> >>>>> someone > >>>>>> >>>>> wants to run such a test, feel free to contact me directly. > >>>>>> >>>>> > >>>>>> >>>>> > >>>>>> >>>>> cheers, > >>>>>> >>>>> stan > >>>>>> >>>>> > >>>>>> >>>>> > >>>>>> >>>>> > >>>>>> >>>>> > _________________________________________________________________________ > >>>>>> >>>>> Professional FreeSWITCH Consulting Services: > >>>>>> >>>>> consulting at freeswitch.org > >>>>>> >>>>> http://www.freeswitchsolutions.com > >>>>>> >>>>> > >>>>>> >>>>> Official FreeSWITCH Sites > >>>>>> >>>>> http://www.freeswitch.org > >>>>>> >>>>> http://confluence.freeswitch.org > >>>>>> >>>>> http://www.cluecon.com > >>>>>> >>>>> > >>>>>> >>>>> FreeSWITCH-users mailing list > >>>>>> >>>>> FreeSWITCH-users at lists.freeswitch.org > >>>>>> >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >>>>>> >>>>> > >>>>>> >>>>> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >>>>>> >>>>> http://www.freeswitch.org > >>>>>> >>>> > >>>>>> >>>> > >>>>>> >>>> > >>>>>> >>>> > >>>>>> >>>> > _________________________________________________________________________ > >>>>>> >>>> Professional FreeSWITCH Consulting Services: > >>>>>> >>>> consulting at freeswitch.org > >>>>>> >>>> http://www.freeswitchsolutions.com > >>>>>> >>>> > >>>>>> >>>> Official FreeSWITCH Sites > >>>>>> >>>> http://www.freeswitch.org > >>>>>> >>>> http://confluence.freeswitch.org > >>>>>> >>>> http://www.cluecon.com > >>>>>> >>>> > >>>>>> >>>> FreeSWITCH-users mailing list > >>>>>> >>>> FreeSWITCH-users at lists.freeswitch.org > >>>>>> >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >>>>>> >>>> > >>>>>> >>>> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >>>>>> >>>> http://www.freeswitch.org > >>>>>> >>> > >>>>>> >>> > >>>>>> >>> > >>>>>> >>> > _________________________________________________________________________ > >>>>>> >>> Professional FreeSWITCH Consulting Services: > >>>>>> >>> consulting at freeswitch.org > >>>>>> >>> http://www.freeswitchsolutions.com > >>>>>> >>> > >>>>>> >>> Official FreeSWITCH Sites > >>>>>> >>> http://www.freeswitch.org > >>>>>> >>> http://confluence.freeswitch.org > >>>>>> >>> http://www.cluecon.com > >>>>>> >>> > >>>>>> >>> FreeSWITCH-users mailing list > >>>>>> >>> FreeSWITCH-users at lists.freeswitch.org > >>>>>> >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >>>>>> >>> > >>>>>> >>> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >>>>>> >>> http://www.freeswitch.org > >>>>>> >> > >>>>>> >> > >>>>>> >> > >>>>>> >> > >>>>>> >> > _________________________________________________________________________ > >>>>>> >> Professional FreeSWITCH Consulting Services: > >>>>>> >> consulting at freeswitch.org > >>>>>> >> http://www.freeswitchsolutions.com > >>>>>> >> > >>>>>> >> Official FreeSWITCH Sites > >>>>>> >> http://www.freeswitch.org > >>>>>> >> http://confluence.freeswitch.org > >>>>>> >> http://www.cluecon.com > >>>>>> >> > >>>>>> >> FreeSWITCH-users mailing list > >>>>>> >> FreeSWITCH-users at lists.freeswitch.org > >>>>>> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >>>>>> >> > >>>>>> >> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >>>>>> >> http://www.freeswitch.org > >>>>>> > >>>>>> > >>>>>> > _________________________________________________________________________ > >>>>>> Professional FreeSWITCH Consulting Services: > >>>>>> consulting at freeswitch.org > >>>>>> http://www.freeswitchsolutions.com > >>>>>> > >>>>>> Official FreeSWITCH Sites > >>>>>> http://www.freeswitch.org > >>>>>> http://confluence.freeswitch.org > >>>>>> http://www.cluecon.com > >>>>>> > >>>>>> FreeSWITCH-users mailing list > >>>>>> FreeSWITCH-users at lists.freeswitch.org > >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >>>>>> > >>>>>> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >>>>>> http://www.freeswitch.org > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > _________________________________________________________________________ > >>>>> Professional FreeSWITCH Consulting Services: > >>>>> consulting at freeswitch.org > >>>>> http://www.freeswitchsolutions.com > >>>>> > >>>>> Official FreeSWITCH Sites > >>>>> http://www.freeswitch.org > >>>>> http://confluence.freeswitch.org > >>>>> http://www.cluecon.com > >>>>> > >>>>> FreeSWITCH-users mailing list > >>>>> FreeSWITCH-users at lists.freeswitch.org > >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >>>>> > >>>>> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >>>>> http://www.freeswitch.org > >>>> > >>>> > >>>> > >>>> > >>>> > _________________________________________________________________________ > >>>> Professional FreeSWITCH Consulting Services: > >>>> consulting at freeswitch.org > >>>> http://www.freeswitchsolutions.com > >>>> > >>>> Official FreeSWITCH Sites > >>>> http://www.freeswitch.org > >>>> http://confluence.freeswitch.org > >>>> http://www.cluecon.com > >>>> > >>>> FreeSWITCH-users mailing list > >>>> FreeSWITCH-users at lists.freeswitch.org > >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >>>> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >>>> http://www.freeswitch.org > >>> > >>> > >>> > >>> > _________________________________________________________________________ > >>> Professional FreeSWITCH Consulting Services: > >>> consulting at freeswitch.org > >>> http://www.freeswitchsolutions.com > >>> > >>> Official FreeSWITCH Sites > >>> http://www.freeswitch.org > >>> http://confluence.freeswitch.org > >>> http://www.cluecon.com > >>> > >>> FreeSWITCH-users mailing list > >>> FreeSWITCH-users at lists.freeswitch.org > >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >>> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >>> http://www.freeswitch.org > >> > >> > >> > _________________________________________________________________________ > >> Professional FreeSWITCH Consulting Services: > >> consulting at freeswitch.org > >> http://www.freeswitchsolutions.com > >> > >> Official FreeSWITCH Sites > >> http://www.freeswitch.org > >> http://confluence.freeswitch.org > >> http://www.cluecon.com > >> > >> FreeSWITCH-users mailing list > >> FreeSWITCH-users at lists.freeswitch.org > >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >> http://www.freeswitch.org > > > > > > > > > > -- > > Anthony Minessale II ? @anthmfs ? @FreeSWITCH ? > > > > ? http://freeswitch.org/ ? http://cluecon.com/ ? > > http://twitter.com/FreeSWITCH > > ? irc.freenode.net #freeswitch ? http://freeswitch.org/g+ > > > > ClueCon Weekly Development Call > > ? sip:888 at conference.freeswitch.org ? +19193869900 > > > > https://www.youtube.com/watch?v=9XXgW34t40s > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com ClueCon 2015 Call for Speakers | Register TODAY! | Reddit: /r/freeswitch *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150406/17c69754/attachment-0001.html From ssinyagin at gmail.com Mon Apr 6 20:13:29 2015 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Mon, 6 Apr 2015 18:13:29 +0200 Subject: [Freeswitch-users] KVM vs. XEN virtualization In-Reply-To: References: Message-ID: A customer is setting up a new telephony switch, and I'm helping them to organize the testing. I noticed the slipping frames in received audio, and then at first I though it's the failure at the receiving side, but then figured out it's my host at DO that is generating unaligned RTP flow. So, now I'm trying to figure out what would be the best virtualized environment to run FreeSWITCH :) On Mon, Apr 6, 2015 at 6:05 PM, Brian West wrote: > I've never had issues running under KVM on Proxmox, Looking back at this > thread was there a specific issue that you're trying to solve that put you > on to this path of testing? > > On Mon, Apr 6, 2015 at 10:51 AM, Stanislav Sinyagin > wrote: > >> yes, and we're trying to find the one that works with minimal impact >> on quality :) >> >> I'm thinking to move my test server (the one on receiving side) from >> Xen VM to a physical ARM machine at https://www.scaleway.com/ in >> France. It would record audio and raw UDP packets and provide them for >> downloading to everyone. >> >> Do we know about any timing issues on ARM platform? >> >> if someone sponsors some additional DID numbers, that will be appreciated. >> >> >> >> >> >> >> On Mon, Apr 6, 2015 at 5:30 PM, Anthony Minessale >> wrote: >> > Depending on the host and guest OS the timing will be a product of >> several >> > thing. >> > If some of the features FS tries to detect are emulated, it can be a >> > problem. >> > >> > The primary thing FS looks for is a kernel with timerfd support. >> > This should be the most accurate. If the guest OS supports timerfd but >> its >> > using emulated hardware, it might not work as well as it should. >> > >> > So on something like openvz, you might have support for timerfd in your >> > debian 7/8 instance but the host kernel has no support at all. >> > So in theory kvm would be preferred since it actually boots the guest >> kernel >> > and you have a chance for it to hit the real timer hardware. >> > >> > If no timerfd is present, it reverts to the single thread ms precision >> > thread with conditional broadcast for timing. >> > You can also manually configure a combo of one timerfd timer and shared >> > broadcast. >> > >> > This param in switch.conf.xml helps to tune a few behavior you might >> want to >> > compare results on. >> > >> > enable-softtimer-timerfd >> > >> > true|fd-per-timer --- Use one fd for each timer instance (default) >> > >> > false --- Don't use timerfd at all >> > >> > broadcast --- Use one timerfd and share it with conditional >> > broadcasts >> > >> > This is one reason we do not support virtualization as its too variable >> to >> > provide definitive policies to make things work every time. >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > On Mon, Apr 6, 2015 at 10:17 AM, Stanislav Sinyagin < >> ssinyagin at gmail.com> >> > wrote: >> >> >> >> I didn't yet have time to learn this utility - how do we interpret the >> >> results? >> >> >> >> On Apr 6, 2015 4:39 PM, "Errol Samuels" wrote: >> >>> >> >>> Ok Sergey, >> >>> >> >>> Here it goes: >> >>> >> >>> Test 1 >> >>> ==== >> >>> VM: Digital Ocean KVM at AMS3 / 2 Cores / 2GB Ram / 40GB SSD >> >>> OS: Debian Wheezy 7.8 64 bit / Linux 3.2.0-4-amd64 x86_64 >> >>> >> >>> policy: fifo: loadavg: 6.22 1.53 0.58 1/164 31050 : 195 Max: >> >>> 42869 >> >>> T:12 (31021) P:80 I:125 C: 238830 Min: 2 Act: 18 Avg: 196 Max: >> >>> 42846 >> >>> T: 0 (31009) P:80 I:125 C: 239000 Min: 2 Act: 12 Avg: 190 Max: >> >>> 42845 >> >>> T: 1 (31010) P:80 I:125 C: 239002 Min: 2 Act: 18 Avg: 196 Max: >> >>> 42866 >> >>> T: 2 (31011) P:80 I:125 C: 239004 Min: 3 Act: 10 Avg: 191 Max: >> >>> 42890 >> >>> T: 3 (31012) P:80 I:125 C: 239004 Min: 3 Act: 8 Avg: 197 Max: >> >>> 42876 >> >>> T: 4 (31013) P:80 I:125 C: 239005 Min: 2 Act: 27 Avg: 194 Max: >> >>> 42846 >> >>> T: 5 (31014) P:80 I:125 C: 239008 Min: 2 Act: 26 Avg: 196 Max: >> >>> 42872 >> >>> T: 6 (31015) P:80 I:125 C: 239013 Min: 2 Act: 12 Avg: 196 Max: >> >>> 42843 >> >>> T: 7 (31016) P:80 I:125 C: 239013 Min: 2 Act: 19 Avg: 194 Max: >> >>> 42848 >> >>> T: 8 (31017) P:80 I:125 C: 239013 Min: 2 Act: 14 Avg: 190 Max: >> >>> 42856 >> >>> T: 9 (31018) P:80 I:125 C: 239014 Min: 2 Act: 14 Avg: 197 Max: >> >>> 42865 >> >>> T:10 (31019) P:80 I:125 C: 239016 Min: 2 Act: 9 Avg: 197 Max: >> >>> 42868 >> >>> >> >>> >> >>> Test 2 >> >>> ==== >> >>> VM: Linode (Xen) London / 8 Cores (E5-2670 0 @ 2.60GHz) / 4GB Ram >> >>> OS: Ubuntu 12.04.4 LTS / Linux 3.18.5-x86_64-linode52 x86_64 >> >>> >> >>> policy: fifo: loadavg: 6.50 1.56 0.55 15/246 30752 97 Max: >> >>> 1030 >> >>> T:16 (30726) P:80 I:125 C: 239853 Min: 5 Act: 77 Avg: 97 Max: >> >>> 1066 >> >>> T: 0 (30710) P:80 I:125 C: 239946 Min: 5 Act: 63 Avg: 98 Max: >> >>> 1245 >> >>> T: 1 (30711) P:80 I:125 C: 239946 Min: 5 Act: 67 Avg: 98 Max: >> >>> 1091 >> >>> T: 2 (30712) P:80 I:125 C: 239945 Min: 5 Act: 119 Avg: 97 Max: >> >>> 1351 >> >>> T: 3 (30713) P:80 I:125 C: 239945 Min: 5 Act: 99 Avg: 98 Max: >> >>> 932 >> >>> T: 4 (30714) P:80 I:125 C: 239945 Min: 5 Act: 35 Avg: 98 Max: >> >>> 1413 >> >>> T: 5 (30715) P:80 I:125 C: 239945 Min: 5 Act: 35 Avg: 98 Max: >> >>> 1407 >> >>> T: 6 (30716) P:80 I:125 C: 239944 Min: 5 Act: 110 Avg: 97 Max: >> >>> 1173 >> >>> T: 7 (30717) P:80 I:125 C: 239947 Min: 5 Act: 85 Avg: 99 Max: >> >>> 1144 >> >>> T: 8 (30718) P:80 I:125 C: 239948 Min: 4 Act: 69 Avg: 99 Max: >> >>> 916 >> >>> T: 9 (30719) P:80 I:125 C: 239947 Min: 4 Act: 40 Avg: 97 Max: >> >>> 916 >> >>> T:10 (30720) P:80 I:125 C: 239948 Min: 5 Act: 61 Avg: 97 Max: >> >>> 1024 >> >>> T:11 (30721) P:80 I:125 C: 239946 Min: 6 Act: 84 Avg: 98 Max: >> >>> 2082 >> >>> T:12 (30722) P:80 I:125 C: 239947 Min: 4 Act: 40 Avg: 98 Max: >> >>> 2142 >> >>> T:13 (30723) P:80 I:125 C: 239946 Min: 5 Act: 49 Avg: 98 Max: >> >>> 1986 >> >>> T:14 (30724) P:80 I:125 C: 239946 Min: 4 Act: 113 Avg: 99 Max: >> >>> 2061 >> >>> >> >>> This is with system defaults. >> >>> >> >>> regards, >> >>> >> >>> Errol >> >>> >> >>> >> >>> >> >>> >> >>> On Mon, Apr 6, 2015 at 1:27 PM, Sergey Safarov >> >>> wrote: >> >>>> >> >>>> Errol can you test VM timer with utility >> >>>> https://rt.wiki.kernel.org/index.php/Cyclictest >> >>>> >> >>>> My VM currently have folowing results >> >>>> >> >>>> [root at fs1 ~]# date && /tmp/rt-tests/cyclictest -t42 -p 80 -d 0 -n >> -i >> >>>> 125 -l 240000 && date >> >>>> Sun Apr 5 07:01:31 GMT 2015 >> >>>> # /dev/cpu_dma_latency set to 0us >> >>>> policy: fifo: loadavg: 2.38 0.93 0.50 1/194 1574 >> >>>> >> >>>> T: 0 ( 1531) P:80 I:125 C: 240000 Min: 2 Act: 12 Avg: 16 >> Max: >> >>>> 1302 >> >>>> T: 1 ( 1532) P:80 I:125 C: 240000 Min: 2 Act: 15 Avg: 14 >> Max: >> >>>> 2895 >> >>>> T: 2 ( 1533) P:80 I:125 C: 240000 Min: 3 Act: 10 Avg: 12 >> Max: >> >>>> 2888 >> >>>> T: 3 ( 1534) P:80 I:125 C: 240000 Min: 1 Act: 16 Avg: 13 >> Max: >> >>>> 1333 >> >>>> T: 4 ( 1535) P:80 I:125 C: 240000 Min: 2 Act: 20 Avg: 14 >> Max: >> >>>> 2962 >> >>>> T: 5 ( 1536) P:80 I:125 C: 240000 Min: 1 Act: 12 Avg: 14 >> Max: >> >>>> 2946 >> >>>> T: 6 ( 1537) P:80 I:125 C: 240000 Min: 2 Act: 10 Avg: 13 >> Max: >> >>>> 1363 >> >>>> T: 7 ( 1538) P:80 I:125 C: 240000 Min: 2 Act: 12 Avg: 13 >> Max: >> >>>> 1344 >> >>>> T: 8 ( 1539) P:80 I:125 C: 240000 Min: 3 Act: 12 Avg: 16 >> Max: >> >>>> 1408 >> >>>> T: 9 ( 1540) P:80 I:125 C: 240000 Min: 1 Act: 8 Avg: 13 >> Max: >> >>>> 2882 >> >>>> T:10 ( 1541) P:80 I:125 C: 239974 Min: 2 Act: 12 Avg: 13 >> Max: >> >>>> 2908 >> >>>> >> >>>> >> >>>> On Mon, Apr 6, 2015 at 11:15 AM, Errol Samuels >> >>>> wrote: >> >>>>> >> >>>>> Good job and Thanks for sharing! >> >>>>> >> >>>>>> KVM at digitalocean.com, Debian 7 64bit, FreeSWITCH 1.4.15: bad >> >>>>>> precision >> >>>>> >> >>>>> >> >>>>> As someone who has been using KVM for a few years and has just >> migrated >> >>>>> about 20 VMs across to Digital Ocean about 6 weeks ago I admit I am >> a little >> >>>>> concerned about this finding. >> >>>>> >> >>>>> Just out of curiosity can you tell me the specs of the VM that you >> >>>>> tested with and which DO Datacenter? I am using NYC3 so perhaps >> and I will >> >>>>> do some tests as soon as I have some time. >> >>>>> >> >>>>> With regards to Xen was this at Linode or inhouse? >> >>>>> >> >>>>> Thanks >> >>>>> >> >>>>> Errol >> >>>>> >> >>>>> >> >>>>> >> >>>>> On Sun, Apr 5, 2015 at 1:37 AM, Stanislav Sinyagin >> >>>>> wrote: >> >>>>>> >> >>>>>> here we go: >> >>>>>> >> >>>>>> >> https://txlab.wordpress.com/2015/04/05/testing-rtp-clock-precision-on-a-virtual-machine/ >> >>>>>> >> >>>>>> >> >>>>>> >> >>>>>> On Sat, Apr 4, 2015 at 4:26 PM, Stanislav Sinyagin >> >>>>>> wrote: >> >>>>>> > On Sat, Apr 4, 2015 at 1:03 PM, Regis M >> >>>>>> > wrote: >> >>>>>> >> How do you check wavs together in audacity ? >> >>>>>> > >> >>>>>> > you just open two WAV files, align their starting position, and >> >>>>>> > visually check the waves. If there's a problem, you would see >> that >> >>>>>> > after few seconds, the waves are not aligned any more. >> >>>>>> > >> >>>>>> >> Can you send me 2 samples wav (send... and recorded) so I could >> see >> >>>>>> >> the 20ms >> >>>>>> >> diff that you exposed... >> >>>>>> >> >> >>>>>> >> Is there a way to automate the result checking, so it could >> help to >> >>>>>> >> monitor >> >>>>>> >> itsp quality >> >>>>>> > >> >>>>>> > Here >> >>>>>> > https://github.com/openpreserve/scape-xcorrsound/issues/17 >> >>>>>> > this is a link to a tool which compares two sound files at the >> wave >> >>>>>> > level. You can also see the sound samples in the ticket. >> >>>>>> > The problem is, that currently this tool does not detect such >> >>>>>> > slipping frames. >> >>>>>> > >> >>>>>> > I will also write a detailed article with examples, during the >> >>>>>> > weekend. >> >>>>>> > >> >>>>>> > >> >>>>>> > >> >>>>>> > >> >>>>>> > >> >>>>>> >> >> >>>>>> >> >> >>>>>> >> 2015-04-04 12:53 GMT+02:00 Stanislav Sinyagin >> >>>>>> >> : >> >>>>>> >>> >> >>>>>> >>> Important is to send the media through two independent >> carriers - >> >>>>>> >>> then you >> >>>>>> >>> can be sure that your clock is compared against a high quality >> >>>>>> >>> one. >> >>>>>> >>> >> >>>>>> >>> On Apr 4, 2015 12:46 PM, "Regis M" >> >>>>>> >>> >> >>>>>> >>> wrote: >> >>>>>> >>>> >> >>>>>> >>>> Hi, >> >>>>>> >>>> >> >>>>>> >>>> It's a very interresting test and conclusion. >> >>>>>> >>>> >> >>>>>> >>>> I will try to build a similar environnement on my freeswitch >> to >> >>>>>> >>>> check >> >>>>>> >>>> some system :) >> >>>>>> >>>> >> >>>>>> >>>> thanks >> >>>>>> >>>> >> >>>>>> >>>> >> >>>>>> >>>> >> >>>>>> >>>> 2015-04-04 2:16 GMT+02:00 Stanislav Sinyagin >> >>>>>> >>>> : >> >>>>>> >>>>> >> >>>>>> >>>>> hi, >> >>>>>> >>>>> >> >>>>>> >>>>> Here are some test results which might be interesting: >> >>>>>> >>>>> >> >>>>>> >>>>> I've set up a test FreeSWITCH server at digitalocean (they >> use >> >>>>>> >>>>> KVM), >> >>>>>> >>>>> and originated test calls to some ITSP accounts. Each call >> >>>>>> >>>>> played a >> >>>>>> >>>>> test sound file (voice samples from ITU: >> >>>>>> >>>>> >> >>>>>> >>>>> >> http://www.itu.int/net/itu-t/sigdb/genaudio/AudioForm-g.aspx?val=1000050 >> >>>>>> >>>>> ), and on the receiving end another FreeSWITCH server was >> >>>>>> >>>>> recording >> >>>>>> >>>>> the received session. The receiving server was on a XEN VM. >> Both >> >>>>>> >>>>> servers talked G711 to their corresponding ITSP accounts. >> >>>>>> >>>>> >> >>>>>> >>>>> Then I compared the source audio and received audio in >> Audacity >> >>>>>> >>>>> editor. >> >>>>>> >>>>> >> >>>>>> >>>>> The tests showed that the received voice wave shifts 20ms >> from >> >>>>>> >>>>> the >> >>>>>> >>>>> original sound every few seconds, randomly back and forward. >> >>>>>> >>>>> This >> >>>>>> >>>>> skewing was always present, regardless of ITSP and time of >> day. >> >>>>>> >>>>> >> >>>>>> >>>>> Then I moved the sending server to a XEN VM, and the waves >> >>>>>> >>>>> appeared >> >>>>>> >>>>> almost perfectly synchronized (there was a 5ms skew in one >> test, >> >>>>>> >>>>> and I >> >>>>>> >>>>> guess it's related to transcoding buffer, as the sound was >> >>>>>> >>>>> obviously >> >>>>>> >>>>> transcoded). >> >>>>>> >>>>> >> >>>>>> >>>>> The effect was always visible with a 30-second sample, and I >> >>>>>> >>>>> also made >> >>>>>> >>>>> additional tests with 2-minute samples. >> >>>>>> >>>>> >> >>>>>> >>>>> It would also be interesting to test this from a VmWare VM. >> If >> >>>>>> >>>>> someone >> >>>>>> >>>>> wants to run such a test, feel free to contact me directly. >> >>>>>> >>>>> >> >>>>>> >>>>> >> >>>>>> >>>>> cheers, >> >>>>>> >>>>> stan >> >>>>>> >>>>> >> >>>>>> >>>>> >> >>>>>> >>>>> >> >>>>>> >>>>> >> _________________________________________________________________________ >> >>>>>> >>>>> Professional FreeSWITCH Consulting Services: >> >>>>>> >>>>> consulting at freeswitch.org >> >>>>>> >>>>> http://www.freeswitchsolutions.com >> >>>>>> >>>>> >> >>>>>> >>>>> Official FreeSWITCH Sites >> >>>>>> >>>>> http://www.freeswitch.org >> >>>>>> >>>>> http://confluence.freeswitch.org >> >>>>>> >>>>> http://www.cluecon.com >> >>>>>> >>>>> >> >>>>>> >>>>> FreeSWITCH-users mailing list >> >>>>>> >>>>> FreeSWITCH-users at lists.freeswitch.org >> >>>>>> >>>>> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >>>>>> >>>>> >> >>>>>> >>>>> UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> >>>>>> >>>>> http://www.freeswitch.org >> >>>>>> >>>> >> >>>>>> >>>> >> >>>>>> >>>> >> >>>>>> >>>> >> >>>>>> >>>> >> _________________________________________________________________________ >> >>>>>> >>>> Professional FreeSWITCH Consulting Services: >> >>>>>> >>>> consulting at freeswitch.org >> >>>>>> >>>> http://www.freeswitchsolutions.com >> >>>>>> >>>> >> >>>>>> >>>> Official FreeSWITCH Sites >> >>>>>> >>>> http://www.freeswitch.org >> >>>>>> >>>> http://confluence.freeswitch.org >> >>>>>> >>>> http://www.cluecon.com >> >>>>>> >>>> >> >>>>>> >>>> FreeSWITCH-users mailing list >> >>>>>> >>>> FreeSWITCH-users at lists.freeswitch.org >> >>>>>> >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >>>>>> >>>> >> >>>>>> >>>> UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> >>>>>> >>>> http://www.freeswitch.org >> >>>>>> >>> >> >>>>>> >>> >> >>>>>> >>> >> >>>>>> >>> >> _________________________________________________________________________ >> >>>>>> >>> Professional FreeSWITCH Consulting Services: >> >>>>>> >>> consulting at freeswitch.org >> >>>>>> >>> http://www.freeswitchsolutions.com >> >>>>>> >>> >> >>>>>> >>> Official FreeSWITCH Sites >> >>>>>> >>> http://www.freeswitch.org >> >>>>>> >>> http://confluence.freeswitch.org >> >>>>>> >>> http://www.cluecon.com >> >>>>>> >>> >> >>>>>> >>> FreeSWITCH-users mailing list >> >>>>>> >>> FreeSWITCH-users at lists.freeswitch.org >> >>>>>> >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >>>>>> >>> >> >>>>>> >>> UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> >>>>>> >>> http://www.freeswitch.org >> >>>>>> >> >> >>>>>> >> >> >>>>>> >> >> >>>>>> >> >> >>>>>> >> >> _________________________________________________________________________ >> >>>>>> >> Professional FreeSWITCH Consulting Services: >> >>>>>> >> consulting at freeswitch.org >> >>>>>> >> http://www.freeswitchsolutions.com >> >>>>>> >> >> >>>>>> >> Official FreeSWITCH Sites >> >>>>>> >> http://www.freeswitch.org >> >>>>>> >> http://confluence.freeswitch.org >> >>>>>> >> http://www.cluecon.com >> >>>>>> >> >> >>>>>> >> FreeSWITCH-users mailing list >> >>>>>> >> FreeSWITCH-users at lists.freeswitch.org >> >>>>>> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >>>>>> >> >> >>>>>> >> UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> >>>>>> >> http://www.freeswitch.org >> >>>>>> >> >>>>>> >> >>>>>> >> _________________________________________________________________________ >> >>>>>> Professional FreeSWITCH Consulting Services: >> >>>>>> consulting at freeswitch.org >> >>>>>> http://www.freeswitchsolutions.com >> >>>>>> >> >>>>>> Official FreeSWITCH Sites >> >>>>>> http://www.freeswitch.org >> >>>>>> http://confluence.freeswitch.org >> >>>>>> http://www.cluecon.com >> >>>>>> >> >>>>>> FreeSWITCH-users mailing list >> >>>>>> FreeSWITCH-users at lists.freeswitch.org >> >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >>>>>> >> >>>>>> UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> >>>>>> http://www.freeswitch.org >> >>>>> >> >>>>> >> >>>>> >> >>>>> >> >>>>> >> _________________________________________________________________________ >> >>>>> Professional FreeSWITCH Consulting Services: >> >>>>> consulting at freeswitch.org >> >>>>> http://www.freeswitchsolutions.com >> >>>>> >> >>>>> Official FreeSWITCH Sites >> >>>>> http://www.freeswitch.org >> >>>>> http://confluence.freeswitch.org >> >>>>> http://www.cluecon.com >> >>>>> >> >>>>> FreeSWITCH-users mailing list >> >>>>> FreeSWITCH-users at lists.freeswitch.org >> >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >>>>> >> >>>>> UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> >>>>> http://www.freeswitch.org >> >>>> >> >>>> >> >>>> >> >>>> >> >>>> >> _________________________________________________________________________ >> >>>> Professional FreeSWITCH Consulting Services: >> >>>> consulting at freeswitch.org >> >>>> http://www.freeswitchsolutions.com >> >>>> >> >>>> Official FreeSWITCH Sites >> >>>> http://www.freeswitch.org >> >>>> http://confluence.freeswitch.org >> >>>> http://www.cluecon.com >> >>>> >> >>>> FreeSWITCH-users mailing list >> >>>> FreeSWITCH-users at lists.freeswitch.org >> >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >>>> UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> >>>> http://www.freeswitch.org >> >>> >> >>> >> >>> >> >>> >> _________________________________________________________________________ >> >>> Professional FreeSWITCH Consulting Services: >> >>> consulting at freeswitch.org >> >>> http://www.freeswitchsolutions.com >> >>> >> >>> Official FreeSWITCH Sites >> >>> http://www.freeswitch.org >> >>> http://confluence.freeswitch.org >> >>> http://www.cluecon.com >> >>> >> >>> FreeSWITCH-users mailing list >> >>> FreeSWITCH-users at lists.freeswitch.org >> >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >>> UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> >>> http://www.freeswitch.org >> >> >> >> >> >> >> _________________________________________________________________________ >> >> Professional FreeSWITCH Consulting Services: >> >> consulting at freeswitch.org >> >> http://www.freeswitchsolutions.com >> >> >> >> Official FreeSWITCH Sites >> >> http://www.freeswitch.org >> >> http://confluence.freeswitch.org >> >> http://www.cluecon.com >> >> >> >> FreeSWITCH-users mailing list >> >> FreeSWITCH-users at lists.freeswitch.org >> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >> UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> >> http://www.freeswitch.org >> > >> > >> > >> > >> > -- >> > Anthony Minessale II ? @anthmfs ? @FreeSWITCH ? >> > >> > ? http://freeswitch.org/ ? http://cluecon.com/ ? >> > http://twitter.com/FreeSWITCH >> > ? irc.freenode.net #freeswitch ? http://freeswitch.org/g+ >> > >> > ClueCon Weekly Development Call >> > ? sip:888 at conference.freeswitch.org ? +19193869900 >> > >> > https://www.youtube.com/watch?v=9XXgW34t40s >> > >> > >> _________________________________________________________________________ >> > Professional FreeSWITCH Consulting Services: >> > consulting at freeswitch.org >> > http://www.freeswitchsolutions.com >> > >> > Official FreeSWITCH Sites >> > http://www.freeswitch.org >> > http://confluence.freeswitch.org >> > http://www.cluecon.com >> > >> > FreeSWITCH-users mailing list >> > FreeSWITCH-users at lists.freeswitch.org >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> > UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> > http://www.freeswitch.org >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > > *Brian West* > brian at freeswitch.org > > > *Twitter: @FreeSWITCH , @briankwest* > http://www.freeswitchbook.com > http://www.freeswitchcookbook.com > > ClueCon 2015 Call for Speakers > | Register > TODAY! | Reddit: /r/freeswitch > > > *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) > *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150406/8b10d4f9/attachment-0001.html From paul.atreides83 at googlemail.com Mon Apr 6 20:15:02 2015 From: paul.atreides83 at googlemail.com (Paul Atreides) Date: Mon, 6 Apr 2015 18:15:02 +0200 Subject: [Freeswitch-users] Intercept caller number In-Reply-To: References: Message-ID: Ok, here is a way to set the display number and the name. But how do I recover the original destination number? On Mon, Apr 6, 2015 at 4:29 PM, Paul Atreides < paul.atreides83 at googlemail.com> wrote: > Has really nobody else had this problem before? Is there an alternative > how to intercept a call and show the right origin number in the display? > > On Wed, Apr 1, 2015 at 5:50 PM, Paul Atreides < > paul.atreides83 at googlemail.com> wrote: > >> Hi, >> >> when I do a global intecept then I dont see the original caller number in >> the display. I see >> the dialplan number for the intercept instead. How can I replace it with >> the original caller number? >> >> Thank you >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150406/ee14ed68/attachment.html From fs.user at fordior.net Mon Apr 6 20:59:52 2015 From: fs.user at fordior.net (EL) Date: Mon, 6 Apr 2015 18:59:52 +0200 Subject: [Freeswitch-users] KVM vs. XEN virtualization In-Reply-To: References: Message-ID: <20150406165952.GA19270@mail.marktcontact.com> > This makes me wonder whether to stick with DO or migrate to Amazon. > > Any advice on EC2 quality compared to DO? Well if you want better price *and* quality then EC2, take a look at profitbricks.com They use InfiniBand (Mellanox), KVM, real dedicated CPU and RAM. It's a German company with DC in Germany and USA. You can also look/try cloudvps.com (price is also hourly). -- EL From gmaruzz at gmail.com Mon Apr 6 21:09:09 2015 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Mon, 6 Apr 2015 19:09:09 +0200 Subject: [Freeswitch-users] KVM vs. XEN virtualization In-Reply-To: References: Message-ID: sent from my mobile, Giovanni Maruzzelli cell: +39 347 266 56 18 On Apr 6, 2015 5:31 PM, "Anthony Minessale" wrote: > > Depending on the host and guest OS the timing will be a product of several thing. > If some of the features FS tries to detect are emulated, it can be a problem. > > The primary thing FS looks for is a kernel with timerfd support. > This should be the most accurate. If the guest OS supports timerfd but its using emulated hardware, it might not work as well as it should. > > So on something like openvz, you might have support for timerfd in your debian 7/8 instance but the host kernel has no support at all. Tony, in my understanding in OpenVZ you have one only kernel, and true timerfd. Each OpenVZ "container" is just a glorified jail, no emulation at all. A kernel namespace. But processes run directly on real kernel, real IRQs, real timerfd. Seems to me I never heard of FreeSWITCH problems with OpenVZ. Please correct me if I'm wrong. -giovanni > So in theory kvm would be preferred since it actually boots the guest kernel and you have a chance for it to hit the real timer hardware. > > If no timerfd is present, it reverts to the single thread ms precision thread with conditional broadcast for timing. > You can also manually configure a combo of one timerfd timer and shared broadcast. > > This param in switch.conf.xml helps to tune a few behavior you might want to compare results on. > > enable-softtimer-timerfd > > true|fd-per-timer --- Use one fd for each timer instance (default) > > false --- Don't use timerfd at all > > broadcast --- Use one timerfd and share it with conditional broadcasts > > This is one reason we do not support virtualization as its too variable to provide definitive policies to make things work every time. > > > > > > > > > > > > > > > > > On Mon, Apr 6, 2015 at 10:17 AM, Stanislav Sinyagin wrote: >> >> I didn't yet have time to learn this utility - how do we interpret the results? >> >> On Apr 6, 2015 4:39 PM, "Errol Samuels" wrote: >>> >>> Ok Sergey, >>> >>> Here it goes: >>> >>> Test 1 >>> ==== >>> VM: Digital Ocean KVM at AMS3 / 2 Cores / 2GB Ram / 40GB SSD >>> OS: Debian Wheezy 7.8 64 bit / Linux 3.2.0-4-amd64 x86_64 >>> >>> policy: fifo: loadavg: 6.22 1.53 0.58 1/164 31050 : 195 Max: 42869 >>> T:12 (31021) P:80 I:125 C: 238830 Min: 2 Act: 18 Avg: 196 Max: 42846 >>> T: 0 (31009) P:80 I:125 C: 239000 Min: 2 Act: 12 Avg: 190 Max: 42845 >>> T: 1 (31010) P:80 I:125 C: 239002 Min: 2 Act: 18 Avg: 196 Max: 42866 >>> T: 2 (31011) P:80 I:125 C: 239004 Min: 3 Act: 10 Avg: 191 Max: 42890 >>> T: 3 (31012) P:80 I:125 C: 239004 Min: 3 Act: 8 Avg: 197 Max: 42876 >>> T: 4 (31013) P:80 I:125 C: 239005 Min: 2 Act: 27 Avg: 194 Max: 42846 >>> T: 5 (31014) P:80 I:125 C: 239008 Min: 2 Act: 26 Avg: 196 Max: 42872 >>> T: 6 (31015) P:80 I:125 C: 239013 Min: 2 Act: 12 Avg: 196 Max: 42843 >>> T: 7 (31016) P:80 I:125 C: 239013 Min: 2 Act: 19 Avg: 194 Max: 42848 >>> T: 8 (31017) P:80 I:125 C: 239013 Min: 2 Act: 14 Avg: 190 Max: 42856 >>> T: 9 (31018) P:80 I:125 C: 239014 Min: 2 Act: 14 Avg: 197 Max: 42865 >>> T:10 (31019) P:80 I:125 C: 239016 Min: 2 Act: 9 Avg: 197 Max: 42868 >>> >>> >>> Test 2 >>> ==== >>> VM: Linode (Xen) London / 8 Cores (E5-2670 0 @ 2.60GHz) / 4GB Ram >>> OS: Ubuntu 12.04.4 LTS / Linux 3.18.5-x86_64-linode52 x86_64 >>> >>> policy: fifo: loadavg: 6.50 1.56 0.55 15/246 30752 97 Max: 1030 >>> T:16 (30726) P:80 I:125 C: 239853 Min: 5 Act: 77 Avg: 97 Max: 1066 >>> T: 0 (30710) P:80 I:125 C: 239946 Min: 5 Act: 63 Avg: 98 Max: 1245 >>> T: 1 (30711) P:80 I:125 C: 239946 Min: 5 Act: 67 Avg: 98 Max: 1091 >>> T: 2 (30712) P:80 I:125 C: 239945 Min: 5 Act: 119 Avg: 97 Max: 1351 >>> T: 3 (30713) P:80 I:125 C: 239945 Min: 5 Act: 99 Avg: 98 Max: 932 >>> T: 4 (30714) P:80 I:125 C: 239945 Min: 5 Act: 35 Avg: 98 Max: 1413 >>> T: 5 (30715) P:80 I:125 C: 239945 Min: 5 Act: 35 Avg: 98 Max: 1407 >>> T: 6 (30716) P:80 I:125 C: 239944 Min: 5 Act: 110 Avg: 97 Max: 1173 >>> T: 7 (30717) P:80 I:125 C: 239947 Min: 5 Act: 85 Avg: 99 Max: 1144 >>> T: 8 (30718) P:80 I:125 C: 239948 Min: 4 Act: 69 Avg: 99 Max: 916 >>> T: 9 (30719) P:80 I:125 C: 239947 Min: 4 Act: 40 Avg: 97 Max: 916 >>> T:10 (30720) P:80 I:125 C: 239948 Min: 5 Act: 61 Avg: 97 Max: 1024 >>> T:11 (30721) P:80 I:125 C: 239946 Min: 6 Act: 84 Avg: 98 Max: 2082 >>> T:12 (30722) P:80 I:125 C: 239947 Min: 4 Act: 40 Avg: 98 Max: 2142 >>> T:13 (30723) P:80 I:125 C: 239946 Min: 5 Act: 49 Avg: 98 Max: 1986 >>> T:14 (30724) P:80 I:125 C: 239946 Min: 4 Act: 113 Avg: 99 Max: 2061 >>> >>> This is with system defaults. >>> >>> regards, >>> >>> Errol >>> >>> >>> >>> >>> On Mon, Apr 6, 2015 at 1:27 PM, Sergey Safarov wrote: >>>> >>>> Errol can you test VM timer with utility https://rt.wiki.kernel.org/index.php/Cyclictest >>>> >>>> My VM currently have folowing results >>>> >>>> [root at fs1 ~]# date && /tmp/rt-tests/cyclictest -t42 -p 80 -d 0 -n -i 125 -l 240000 && date >>>> Sun Apr 5 07:01:31 GMT 2015 >>>> # /dev/cpu_dma_latency set to 0us >>>> policy: fifo: loadavg: 2.38 0.93 0.50 1/194 1574 >>>> >>>> T: 0 ( 1531) P:80 I:125 C: 240000 Min: 2 Act: 12 Avg: 16 Max: 1302 >>>> T: 1 ( 1532) P:80 I:125 C: 240000 Min: 2 Act: 15 Avg: 14 Max: 2895 >>>> T: 2 ( 1533) P:80 I:125 C: 240000 Min: 3 Act: 10 Avg: 12 Max: 2888 >>>> T: 3 ( 1534) P:80 I:125 C: 240000 Min: 1 Act: 16 Avg: 13 Max: 1333 >>>> T: 4 ( 1535) P:80 I:125 C: 240000 Min: 2 Act: 20 Avg: 14 Max: 2962 >>>> T: 5 ( 1536) P:80 I:125 C: 240000 Min: 1 Act: 12 Avg: 14 Max: 2946 >>>> T: 6 ( 1537) P:80 I:125 C: 240000 Min: 2 Act: 10 Avg: 13 Max: 1363 >>>> T: 7 ( 1538) P:80 I:125 C: 240000 Min: 2 Act: 12 Avg: 13 Max: 1344 >>>> T: 8 ( 1539) P:80 I:125 C: 240000 Min: 3 Act: 12 Avg: 16 Max: 1408 >>>> T: 9 ( 1540) P:80 I:125 C: 240000 Min: 1 Act: 8 Avg: 13 Max: 2882 >>>> T:10 ( 1541) P:80 I:125 C: 239974 Min: 2 Act: 12 Avg: 13 Max: 2908 >>>> >>>> >>>> On Mon, Apr 6, 2015 at 11:15 AM, Errol Samuels wrote: >>>>> >>>>> Good job and Thanks for sharing! >>>>> >>>>>> KVM at digitalocean.com, Debian 7 64bit, FreeSWITCH 1.4.15: bad precision >>>>> >>>>> >>>>> As someone who has been using KVM for a few years and has just migrated about 20 VMs across to Digital Ocean about 6 weeks ago I admit I am a little concerned about this finding. >>>>> >>>>> Just out of curiosity can you tell me the specs of the VM that you tested with and which DO Datacenter? I am using NYC3 so perhaps and I will do some tests as soon as I have some time. >>>>> >>>>> With regards to Xen was this at Linode or inhouse? >>>>> >>>>> Thanks >>>>> >>>>> Errol >>>>> >>>>> >>>>> >>>>> On Sun, Apr 5, 2015 at 1:37 AM, Stanislav Sinyagin < ssinyagin at gmail.com> wrote: >>>>>> >>>>>> here we go: >>>>>> https://txlab.wordpress.com/2015/04/05/testing-rtp-clock-precision-on-a-virtual-machine/ >>>>>> >>>>>> >>>>>> >>>>>> On Sat, Apr 4, 2015 at 4:26 PM, Stanislav Sinyagin < ssinyagin at gmail.com> wrote: >>>>>> > On Sat, Apr 4, 2015 at 1:03 PM, Regis M < regis.freeswitch.org at tornad.net> wrote: >>>>>> >> How do you check wavs together in audacity ? >>>>>> > >>>>>> > you just open two WAV files, align their starting position, and >>>>>> > visually check the waves. If there's a problem, you would see that >>>>>> > after few seconds, the waves are not aligned any more. >>>>>> > >>>>>> >> Can you send me 2 samples wav (send... and recorded) so I could see the 20ms >>>>>> >> diff that you exposed... >>>>>> >> >>>>>> >> Is there a way to automate the result checking, so it could help to monitor >>>>>> >> itsp quality >>>>>> > >>>>>> > Here >>>>>> > https://github.com/openpreserve/scape-xcorrsound/issues/17 >>>>>> > this is a link to a tool which compares two sound files at the wave >>>>>> > level. You can also see the sound samples in the ticket. >>>>>> > The problem is, that currently this tool does not detect such slipping frames. >>>>>> > >>>>>> > I will also write a detailed article with examples, during the weekend. >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> >> >>>>>> >> >>>>>> >> 2015-04-04 12:53 GMT+02:00 Stanislav Sinyagin : >>>>>> >>> >>>>>> >>> Important is to send the media through two independent carriers - then you >>>>>> >>> can be sure that your clock is compared against a high quality one. >>>>>> >>> >>>>>> >>> On Apr 4, 2015 12:46 PM, "Regis M" < regis.freeswitch.org at tornad.net> >>>>>> >>> wrote: >>>>>> >>>> >>>>>> >>>> Hi, >>>>>> >>>> >>>>>> >>>> It's a very interresting test and conclusion. >>>>>> >>>> >>>>>> >>>> I will try to build a similar environnement on my freeswitch to check >>>>>> >>>> some system :) >>>>>> >>>> >>>>>> >>>> thanks >>>>>> >>>> >>>>>> >>>> >>>>>> >>>> >>>>>> >>>> 2015-04-04 2:16 GMT+02:00 Stanislav Sinyagin < ssinyagin at gmail.com>: >>>>>> >>>>> >>>>>> >>>>> hi, >>>>>> >>>>> >>>>>> >>>>> Here are some test results which might be interesting: >>>>>> >>>>> >>>>>> >>>>> I've set up a test FreeSWITCH server at digitalocean (they use KVM), >>>>>> >>>>> and originated test calls to some ITSP accounts. Each call played a >>>>>> >>>>> test sound file (voice samples from ITU: >>>>>> >>>>> http://www.itu.int/net/itu-t/sigdb/genaudio/AudioForm-g.aspx?val=1000050 >>>>>> >>>>> ), and on the receiving end another FreeSWITCH server was recording >>>>>> >>>>> the received session. The receiving server was on a XEN VM. Both >>>>>> >>>>> servers talked G711 to their corresponding ITSP accounts. >>>>>> >>>>> >>>>>> >>>>> Then I compared the source audio and received audio in Audacity editor. >>>>>> >>>>> >>>>>> >>>>> The tests showed that the received voice wave shifts 20ms from the >>>>>> >>>>> original sound every few seconds, randomly back and forward. This >>>>>> >>>>> skewing was always present, regardless of ITSP and time of day. >>>>>> >>>>> >>>>>> >>>>> Then I moved the sending server to a XEN VM, and the waves appeared >>>>>> >>>>> almost perfectly synchronized (there was a 5ms skew in one test, and I >>>>>> >>>>> guess it's related to transcoding buffer, as the sound was obviously >>>>>> >>>>> transcoded). >>>>>> >>>>> >>>>>> >>>>> The effect was always visible with a 30-second sample, and I also made >>>>>> >>>>> additional tests with 2-minute samples. >>>>>> >>>>> >>>>>> >>>>> It would also be interesting to test this from a VmWare VM. If someone >>>>>> >>>>> wants to run such a test, feel free to contact me directly. >>>>>> >>>>> >>>>>> >>>>> >>>>>> >>>>> cheers, >>>>>> >>>>> stan >>>>>> >>>>> >>>>>> >>>>> >>>>>> >>>>> _________________________________________________________________________ >>>>>> >>>>> Professional FreeSWITCH Consulting Services: >>>>>> >>>>> consulting at freeswitch.org >>>>>> >>>>> http://www.freeswitchsolutions.com >>>>>> >>>>> >>>>>> >>>>> Official FreeSWITCH Sites >>>>>> >>>>> http://www.freeswitch.org >>>>>> >>>>> http://confluence.freeswitch.org >>>>>> >>>>> http://www.cluecon.com >>>>>> >>>>> >>>>>> >>>>> FreeSWITCH-users mailing list >>>>>> >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>> >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> >>>>> UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> >>>>> http://www.freeswitch.org >>>>>> >>>> >>>>>> >>>> >>>>>> >>>> >>>>>> >>>> _________________________________________________________________________ >>>>>> >>>> Professional FreeSWITCH Consulting Services: >>>>>> >>>> consulting at freeswitch.org >>>>>> >>>> http://www.freeswitchsolutions.com >>>>>> >>>> >>>>>> >>>> Official FreeSWITCH Sites >>>>>> >>>> http://www.freeswitch.org >>>>>> >>>> http://confluence.freeswitch.org >>>>>> >>>> http://www.cluecon.com >>>>>> >>>> >>>>>> >>>> FreeSWITCH-users mailing list >>>>>> >>>> FreeSWITCH-users at lists.freeswitch.org >>>>>> >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> >>>> UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> >>>> http://www.freeswitch.org >>>>>> >>> >>>>>> >>> >>>>>> >>> _________________________________________________________________________ >>>>>> >>> Professional FreeSWITCH Consulting Services: >>>>>> >>> consulting at freeswitch.org >>>>>> >>> http://www.freeswitchsolutions.com >>>>>> >>> >>>>>> >>> Official FreeSWITCH Sites >>>>>> >>> http://www.freeswitch.org >>>>>> >>> http://confluence.freeswitch.org >>>>>> >>> http://www.cluecon.com >>>>>> >>> >>>>>> >>> FreeSWITCH-users mailing list >>>>>> >>> FreeSWITCH-users at lists.freeswitch.org >>>>>> >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> >>> UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> >>> http://www.freeswitch.org >>>>>> >> >>>>>> >> >>>>>> >> >>>>>> >> _________________________________________________________________________ >>>>>> >> Professional FreeSWITCH Consulting Services: >>>>>> >> consulting at freeswitch.org >>>>>> >> http://www.freeswitchsolutions.com >>>>>> >> >>>>>> >> Official FreeSWITCH Sites >>>>>> >> http://www.freeswitch.org >>>>>> >> http://confluence.freeswitch.org >>>>>> >> http://www.cluecon.com >>>>>> >> >>>>>> >> FreeSWITCH-users mailing list >>>>>> >> FreeSWITCH-users at lists.freeswitch.org >>>>>> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> >> UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> >> http://www.freeswitch.org >>>>>> >>>>>> _________________________________________________________________________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at freeswitch.org >>>>>> http://www.freeswitchsolutions.com >>>>>> >>>>>> Official FreeSWITCH Sites >>>>>> http://www.freeswitch.org >>>>>> http://confluence.freeswitch.org >>>>>> http://www.cluecon.com >>>>>> >>>>>> FreeSWITCH-users mailing list >>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> http://www.freeswitch.org >>>>> >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org > > > > > -- > Anthony Minessale II ? @anthmfs ? @FreeSWITCH ? > > ? http://freeswitch.org/ ? http://cluecon.com/ ? http://twitter.com/FreeSWITCH > ? irc.freenode.net #freeswitch ? http://freeswitch.org/g+ > > ClueCon Weekly Development Call > ? sip:888 at conference.freeswitch.org ? +19193869900 > > https://www.youtube.com/watch?v=9XXgW34t40s > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150406/d2b3a320/attachment-0001.html From ewsamuels at gmail.com Mon Apr 6 21:22:28 2015 From: ewsamuels at gmail.com (Errol Samuels) Date: Mon, 6 Apr 2015 18:22:28 +0100 Subject: [Freeswitch-users] KVM vs. XEN virtualization In-Reply-To: References: Message-ID: Hi Stanislav, Just to let you know I have a customer using all 3 virtualization technologies mentioned (KVM, Xen and VMWare) and they all seem to be happy. However for the larger setups with 2500+ users my preference is KVM without a doubt. I have for example an install with 4 FusionPBX / Freeswitch VMs with Kamailio in Front for residential phone service all sharing same Postgres DB and serving 5000 users, 4000 DIDs running for more than a year with no voice quality issues. We using Proxmox for this setup and it works great. Test 3 ====== This one is using Proxmox and -t20 with some strange results!? *VM: * KVM with 4 Cores / 8GB Ram and *Virtio Drivers* for Network and HD) *OS:* Ubuntu 12.04.5 LTS / Linux 3.13.0-40-generic x86_64 root at voip-admin:~# date && cyclictest -t20 -p 80 -d 0 -n -i 125 -l 240000 && date Mon Apr 6 13:03:00 EDT 2015 # /dev/cpu_dma_latency set to 0us policy: fifo: loadavg: 1.16 0.61 0.32 1/227 9038 T: 0 ( 9000) P:80 I:125 C: 240000 Min: 2 Act: 29 Avg: 2957 Max: 3835266 T: 1 ( 9001) P:80 I:125 C: 240000 Min: 2 Act: 9 Avg: 3018 Max: 3888022 T: 2 ( 9002) P:80 I:125 C: 240000 Min: 2 Act: 28 Avg: 2978 Max: 3835499 T: 3 ( 9003) P:80 I:125 C: 240000 Min: 2 Act: 31 Avg: 2975 Max: 3857444 T: 4 ( 9004) P:80 I:125 C: 240000 Min: 2 Act: 29 Avg: 3029 Max: 3859799 T: 5 ( 9005) P:80 I:125 C: 240000 Min: 2 Act: 22 Avg: 2985 Max: 3838433 T: 6 ( 9006) P:80 I:125 C: 240000 Min: 2 Act: 14 Avg: 3044 Max: 3872244 T: 7 ( 9007) P:80 I:125 C: 240000 Min: 4 Act: 10 Avg: 3007 Max: 3867133 T: 8 ( 9008) P:80 I:125 C: 240000 Min: 3 Act: 20 Avg: 3071 Max: 3905688 T: 9 ( 9009) P:80 I:125 C: 240000 Min: 4 Act: 13 Avg: 3022 Max: 3856911 T:10 ( 9010) P:80 I:125 C: 240000 Min: 2 Act: 9 Avg: 3016 Max: 3885199 T:11 ( 9011) P:80 I:125 C: 240000 Min: 3 Act: 32 Avg: 3011 Max: 3862044 T:12 ( 9012) P:80 I:125 C: 240000 Min: 3 Act: 16 Avg: 3012 Max: 3888333 T:13 ( 9013) P:80 I:125 C: 240000 Min: 2 Act: 23 Avg: 2949 Max: 3844433 T:14 ( 9014) P:80 I:125 C: 240000 Min: 2 Act: 25 Avg: 3009 Max: 3878488 T:15 ( 9015) P:80 I:125 C: 240000 Min: 3 Act: 12 Avg: 3019 Max: 3870499 T:16 ( 9016) P:80 I:125 C: 240000 Min: 3 Act: 24 Avg: 2972 Max: 3856044 T:17 ( 9017) P:80 I:125 C: 240000 Min: 3 Act: 34 Avg: 3023 Max: 3872944 T:18 ( 9018) P:80 I:125 C: 240000 Min: 2 Act: 25 Avg: 2988 Max: 3869488 T:19 ( 9019) P:80 I:125 C: 240000 Min: 2 Act: 10 Avg: 2949 Max: 3847277 Mon Apr 6 13:03:30 EDT 2015 This is interesting if not alarming..lol I re-ran the test on DO again below but with -t20 this time now the latency seems to be ~9ms. Test 4 ===== *VM: *Digital Ocean KVM at AMS3 / 2 Cores / 2GB Ram / 40GB SSD *OS:* Debian Wheezy 7.8 64 bit / Linux 3.2.0-4-amd64 x86_64 root at demo:~# date && cyclictest -t20 -p 80 -d 0 -n -i 125 -l 240000 && date Mon Apr 6 16:57:30 UTC 2015 # /dev/cpu_dma_latency set to 0us policy: fifo: loadavg: 1.31 0.59 0.34 1/122 31201 T: 0 (31181) P:80 I:125 C: 240000 Min: 4 Act: 20 Avg: 34 Max: 8447 T: 1 (31182) P:80 I:125 C: 240000 Min: 2 Act: 13 Avg: 29 Max: 5022 T: 2 (31183) P:80 I:125 C: 240000 Min: 2 Act: 6 Avg: 27 Max: 4998 T: 3 (31184) P:80 I:125 C: 240000 Min: 2 Act: 8 Avg: 27 Max: 6140 T: 4 (31185) P:80 I:125 C: 240000 Min: 3 Act: 19 Avg: 31 Max: 7474 T: 5 (31186) P:80 I:125 C: 240000 Min: 3 Act: 8 Avg: 32 Max: 7454 T: 6 (31187) P:80 I:125 C: 240000 Min: 4 Act: 10 Avg: 32 Max: 7507 T: 7 (31188) P:80 I:125 C: 240000 Min: 4 Act: 11 Avg: 32 Max: 9008 T: 8 (31189) P:80 I:125 C: 240000 Min: 2 Act: 18 Avg: 28 Max: 5737 T: 9 (31190) P:80 I:125 C: 240000 Min: 2 Act: 12 Avg: 28 Max: 7462 T:10 (31191) P:80 I:125 C: 240000 Min: 2 Act: 8 Avg: 29 Max: 7432 T:11 (31192) P:80 I:125 C: 240000 Min: 4 Act: 25 Avg: 27 Max: 7404 T:12 (31193) P:80 I:125 C: 240000 Min: 3 Act: 18 Avg: 30 Max: 8496 T:13 (31194) P:80 I:125 C: 240000 Min: 4 Act: 18 Avg: 32 Max: 5962 T:14 (31195) P:80 I:125 C: 240000 Min: 2 Act: 8 Avg: 30 Max: 8573 T:15 (31196) P:80 I:125 C: 240000 Min: 4 Act: 17 Avg: 32 Max: 5963 T:16 (31197) P:80 I:125 C: 240000 Min: 3 Act: 15 Avg: 31 Max: 7477 T:17 (31198) P:80 I:125 C: 240000 Min: 4 Act: 16 Avg: 31 Max: 9010 T:18 (31199) P:80 I:125 C: 240000 Min: 3 Act: 18 Avg: 35 Max: 7447 T:19 (31200) P:80 I:125 C: 240000 Min: 2 Act: 15 Avg: 34 Max: 7471 Mon Apr 6 16:58:00 UTC 2015 BR Errol On Mon, Apr 6, 2015 at 5:13 PM, Stanislav Sinyagin wrote: > A customer is setting up a new telephony switch, and I'm helping them to > organize the testing. I noticed the slipping frames in received audio, and > then at first I though it's the failure at the receiving side, but then > figured out it's my host at DO that is generating unaligned RTP flow. > > So, now I'm trying to figure out what would be the best virtualized > environment to run FreeSWITCH :) > > > > > > On Mon, Apr 6, 2015 at 6:05 PM, Brian West wrote: > >> I've never had issues running under KVM on Proxmox, Looking back at this >> thread was there a specific issue that you're trying to solve that put you >> on to this path of testing? >> >> On Mon, Apr 6, 2015 at 10:51 AM, Stanislav Sinyagin >> wrote: >> >>> yes, and we're trying to find the one that works with minimal impact >>> on quality :) >>> >>> I'm thinking to move my test server (the one on receiving side) from >>> Xen VM to a physical ARM machine at https://www.scaleway.com/ in >>> France. It would record audio and raw UDP packets and provide them for >>> downloading to everyone. >>> >>> Do we know about any timing issues on ARM platform? >>> >>> if someone sponsors some additional DID numbers, that will be >>> appreciated. >>> >>> >>> >>> >>> >>> >>> On Mon, Apr 6, 2015 at 5:30 PM, Anthony Minessale >>> wrote: >>> > Depending on the host and guest OS the timing will be a product of >>> several >>> > thing. >>> > If some of the features FS tries to detect are emulated, it can be a >>> > problem. >>> > >>> > The primary thing FS looks for is a kernel with timerfd support. >>> > This should be the most accurate. If the guest OS supports timerfd >>> but its >>> > using emulated hardware, it might not work as well as it should. >>> > >>> > So on something like openvz, you might have support for timerfd in your >>> > debian 7/8 instance but the host kernel has no support at all. >>> > So in theory kvm would be preferred since it actually boots the guest >>> kernel >>> > and you have a chance for it to hit the real timer hardware. >>> > >>> > If no timerfd is present, it reverts to the single thread ms precision >>> > thread with conditional broadcast for timing. >>> > You can also manually configure a combo of one timerfd timer and shared >>> > broadcast. >>> > >>> > This param in switch.conf.xml helps to tune a few behavior you might >>> want to >>> > compare results on. >>> > >>> > enable-softtimer-timerfd >>> > >>> > true|fd-per-timer --- Use one fd for each timer instance (default) >>> > >>> > false --- Don't use timerfd at all >>> > >>> > broadcast --- Use one timerfd and share it with conditional >>> > broadcasts >>> > >>> > This is one reason we do not support virtualization as its too >>> variable to >>> > provide definitive policies to make things work every time. >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> > On Mon, Apr 6, 2015 at 10:17 AM, Stanislav Sinyagin < >>> ssinyagin at gmail.com> >>> > wrote: >>> >> >>> >> I didn't yet have time to learn this utility - how do we interpret the >>> >> results? >>> >> >>> >> On Apr 6, 2015 4:39 PM, "Errol Samuels" wrote: >>> >>> >>> >>> Ok Sergey, >>> >>> >>> >>> Here it goes: >>> >>> >>> >>> Test 1 >>> >>> ==== >>> >>> VM: Digital Ocean KVM at AMS3 / 2 Cores / 2GB Ram / 40GB SSD >>> >>> OS: Debian Wheezy 7.8 64 bit / Linux 3.2.0-4-amd64 x86_64 >>> >>> >>> >>> policy: fifo: loadavg: 6.22 1.53 0.58 1/164 31050 : 195 >>> Max: >>> >>> 42869 >>> >>> T:12 (31021) P:80 I:125 C: 238830 Min: 2 Act: 18 Avg: 196 >>> Max: >>> >>> 42846 >>> >>> T: 0 (31009) P:80 I:125 C: 239000 Min: 2 Act: 12 Avg: 190 >>> Max: >>> >>> 42845 >>> >>> T: 1 (31010) P:80 I:125 C: 239002 Min: 2 Act: 18 Avg: 196 >>> Max: >>> >>> 42866 >>> >>> T: 2 (31011) P:80 I:125 C: 239004 Min: 3 Act: 10 Avg: 191 >>> Max: >>> >>> 42890 >>> >>> T: 3 (31012) P:80 I:125 C: 239004 Min: 3 Act: 8 Avg: 197 >>> Max: >>> >>> 42876 >>> >>> T: 4 (31013) P:80 I:125 C: 239005 Min: 2 Act: 27 Avg: 194 >>> Max: >>> >>> 42846 >>> >>> T: 5 (31014) P:80 I:125 C: 239008 Min: 2 Act: 26 Avg: 196 >>> Max: >>> >>> 42872 >>> >>> T: 6 (31015) P:80 I:125 C: 239013 Min: 2 Act: 12 Avg: 196 >>> Max: >>> >>> 42843 >>> >>> T: 7 (31016) P:80 I:125 C: 239013 Min: 2 Act: 19 Avg: 194 >>> Max: >>> >>> 42848 >>> >>> T: 8 (31017) P:80 I:125 C: 239013 Min: 2 Act: 14 Avg: 190 >>> Max: >>> >>> 42856 >>> >>> T: 9 (31018) P:80 I:125 C: 239014 Min: 2 Act: 14 Avg: 197 >>> Max: >>> >>> 42865 >>> >>> T:10 (31019) P:80 I:125 C: 239016 Min: 2 Act: 9 Avg: 197 >>> Max: >>> >>> 42868 >>> >>> >>> >>> >>> >>> Test 2 >>> >>> ==== >>> >>> VM: Linode (Xen) London / 8 Cores (E5-2670 0 @ 2.60GHz) / 4GB Ram >>> >>> OS: Ubuntu 12.04.4 LTS / Linux 3.18.5-x86_64-linode52 x86_64 >>> >>> >>> >>> policy: fifo: loadavg: 6.50 1.56 0.55 15/246 30752 97 >>> Max: >>> >>> 1030 >>> >>> T:16 (30726) P:80 I:125 C: 239853 Min: 5 Act: 77 Avg: 97 >>> Max: >>> >>> 1066 >>> >>> T: 0 (30710) P:80 I:125 C: 239946 Min: 5 Act: 63 Avg: 98 >>> Max: >>> >>> 1245 >>> >>> T: 1 (30711) P:80 I:125 C: 239946 Min: 5 Act: 67 Avg: 98 >>> Max: >>> >>> 1091 >>> >>> T: 2 (30712) P:80 I:125 C: 239945 Min: 5 Act: 119 Avg: 97 >>> Max: >>> >>> 1351 >>> >>> T: 3 (30713) P:80 I:125 C: 239945 Min: 5 Act: 99 Avg: 98 >>> Max: >>> >>> 932 >>> >>> T: 4 (30714) P:80 I:125 C: 239945 Min: 5 Act: 35 Avg: 98 >>> Max: >>> >>> 1413 >>> >>> T: 5 (30715) P:80 I:125 C: 239945 Min: 5 Act: 35 Avg: 98 >>> Max: >>> >>> 1407 >>> >>> T: 6 (30716) P:80 I:125 C: 239944 Min: 5 Act: 110 Avg: 97 >>> Max: >>> >>> 1173 >>> >>> T: 7 (30717) P:80 I:125 C: 239947 Min: 5 Act: 85 Avg: 99 >>> Max: >>> >>> 1144 >>> >>> T: 8 (30718) P:80 I:125 C: 239948 Min: 4 Act: 69 Avg: 99 >>> Max: >>> >>> 916 >>> >>> T: 9 (30719) P:80 I:125 C: 239947 Min: 4 Act: 40 Avg: 97 >>> Max: >>> >>> 916 >>> >>> T:10 (30720) P:80 I:125 C: 239948 Min: 5 Act: 61 Avg: 97 >>> Max: >>> >>> 1024 >>> >>> T:11 (30721) P:80 I:125 C: 239946 Min: 6 Act: 84 Avg: 98 >>> Max: >>> >>> 2082 >>> >>> T:12 (30722) P:80 I:125 C: 239947 Min: 4 Act: 40 Avg: 98 >>> Max: >>> >>> 2142 >>> >>> T:13 (30723) P:80 I:125 C: 239946 Min: 5 Act: 49 Avg: 98 >>> Max: >>> >>> 1986 >>> >>> T:14 (30724) P:80 I:125 C: 239946 Min: 4 Act: 113 Avg: 99 >>> Max: >>> >>> 2061 >>> >>> >>> >>> This is with system defaults. >>> >>> >>> >>> regards, >>> >>> >>> >>> Errol >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> On Mon, Apr 6, 2015 at 1:27 PM, Sergey Safarov >>> >>> wrote: >>> >>>> >>> >>>> Errol can you test VM timer with utility >>> >>>> https://rt.wiki.kernel.org/index.php/Cyclictest >>> >>>> >>> >>>> My VM currently have folowing results >>> >>>> >>> >>>> [root at fs1 ~]# date && /tmp/rt-tests/cyclictest -t42 -p 80 -d 0 -n >>> -i >>> >>>> 125 -l 240000 && date >>> >>>> Sun Apr 5 07:01:31 GMT 2015 >>> >>>> # /dev/cpu_dma_latency set to 0us >>> >>>> policy: fifo: loadavg: 2.38 0.93 0.50 1/194 1574 >>> >>>> >>> >>>> T: 0 ( 1531) P:80 I:125 C: 240000 Min: 2 Act: 12 Avg: 16 >>> Max: >>> >>>> 1302 >>> >>>> T: 1 ( 1532) P:80 I:125 C: 240000 Min: 2 Act: 15 Avg: 14 >>> Max: >>> >>>> 2895 >>> >>>> T: 2 ( 1533) P:80 I:125 C: 240000 Min: 3 Act: 10 Avg: 12 >>> Max: >>> >>>> 2888 >>> >>>> T: 3 ( 1534) P:80 I:125 C: 240000 Min: 1 Act: 16 Avg: 13 >>> Max: >>> >>>> 1333 >>> >>>> T: 4 ( 1535) P:80 I:125 C: 240000 Min: 2 Act: 20 Avg: 14 >>> Max: >>> >>>> 2962 >>> >>>> T: 5 ( 1536) P:80 I:125 C: 240000 Min: 1 Act: 12 Avg: 14 >>> Max: >>> >>>> 2946 >>> >>>> T: 6 ( 1537) P:80 I:125 C: 240000 Min: 2 Act: 10 Avg: 13 >>> Max: >>> >>>> 1363 >>> >>>> T: 7 ( 1538) P:80 I:125 C: 240000 Min: 2 Act: 12 Avg: 13 >>> Max: >>> >>>> 1344 >>> >>>> T: 8 ( 1539) P:80 I:125 C: 240000 Min: 3 Act: 12 Avg: 16 >>> Max: >>> >>>> 1408 >>> >>>> T: 9 ( 1540) P:80 I:125 C: 240000 Min: 1 Act: 8 Avg: 13 >>> Max: >>> >>>> 2882 >>> >>>> T:10 ( 1541) P:80 I:125 C: 239974 Min: 2 Act: 12 Avg: 13 >>> Max: >>> >>>> 2908 >>> >>>> >>> >>>> >>> >>>> On Mon, Apr 6, 2015 at 11:15 AM, Errol Samuels >> > >>> >>>> wrote: >>> >>>>> >>> >>>>> Good job and Thanks for sharing! >>> >>>>> >>> >>>>>> KVM at digitalocean.com, Debian 7 64bit, FreeSWITCH 1.4.15: bad >>> >>>>>> precision >>> >>>>> >>> >>>>> >>> >>>>> As someone who has been using KVM for a few years and has just >>> migrated >>> >>>>> about 20 VMs across to Digital Ocean about 6 weeks ago I admit I >>> am a little >>> >>>>> concerned about this finding. >>> >>>>> >>> >>>>> Just out of curiosity can you tell me the specs of the VM that you >>> >>>>> tested with and which DO Datacenter? I am using NYC3 so perhaps >>> and I will >>> >>>>> do some tests as soon as I have some time. >>> >>>>> >>> >>>>> With regards to Xen was this at Linode or inhouse? >>> >>>>> >>> >>>>> Thanks >>> >>>>> >>> >>>>> Errol >>> >>>>> >>> >>>>> >>> >>>>> >>> >>>>> On Sun, Apr 5, 2015 at 1:37 AM, Stanislav Sinyagin >>> >>>>> wrote: >>> >>>>>> >>> >>>>>> here we go: >>> >>>>>> >>> >>>>>> >>> https://txlab.wordpress.com/2015/04/05/testing-rtp-clock-precision-on-a-virtual-machine/ >>> >>>>>> >>> >>>>>> >>> >>>>>> >>> >>>>>> On Sat, Apr 4, 2015 at 4:26 PM, Stanislav Sinyagin >>> >>>>>> wrote: >>> >>>>>> > On Sat, Apr 4, 2015 at 1:03 PM, Regis M >>> >>>>>> > wrote: >>> >>>>>> >> How do you check wavs together in audacity ? >>> >>>>>> > >>> >>>>>> > you just open two WAV files, align their starting position, and >>> >>>>>> > visually check the waves. If there's a problem, you would see >>> that >>> >>>>>> > after few seconds, the waves are not aligned any more. >>> >>>>>> > >>> >>>>>> >> Can you send me 2 samples wav (send... and recorded) so I >>> could see >>> >>>>>> >> the 20ms >>> >>>>>> >> diff that you exposed... >>> >>>>>> >> >>> >>>>>> >> Is there a way to automate the result checking, so it could >>> help to >>> >>>>>> >> monitor >>> >>>>>> >> itsp quality >>> >>>>>> > >>> >>>>>> > Here >>> >>>>>> > https://github.com/openpreserve/scape-xcorrsound/issues/17 >>> >>>>>> > this is a link to a tool which compares two sound files at the >>> wave >>> >>>>>> > level. You can also see the sound samples in the ticket. >>> >>>>>> > The problem is, that currently this tool does not detect such >>> >>>>>> > slipping frames. >>> >>>>>> > >>> >>>>>> > I will also write a detailed article with examples, during the >>> >>>>>> > weekend. >>> >>>>>> > >>> >>>>>> > >>> >>>>>> > >>> >>>>>> > >>> >>>>>> > >>> >>>>>> >> >>> >>>>>> >> >>> >>>>>> >> 2015-04-04 12:53 GMT+02:00 Stanislav Sinyagin >>> >>>>>> >> : >>> >>>>>> >>> >>> >>>>>> >>> Important is to send the media through two independent >>> carriers - >>> >>>>>> >>> then you >>> >>>>>> >>> can be sure that your clock is compared against a high quality >>> >>>>>> >>> one. >>> >>>>>> >>> >>> >>>>>> >>> On Apr 4, 2015 12:46 PM, "Regis M" >>> >>>>>> >>> >>> >>>>>> >>> wrote: >>> >>>>>> >>>> >>> >>>>>> >>>> Hi, >>> >>>>>> >>>> >>> >>>>>> >>>> It's a very interresting test and conclusion. >>> >>>>>> >>>> >>> >>>>>> >>>> I will try to build a similar environnement on my freeswitch >>> to >>> >>>>>> >>>> check >>> >>>>>> >>>> some system :) >>> >>>>>> >>>> >>> >>>>>> >>>> thanks >>> >>>>>> >>>> >>> >>>>>> >>>> >>> >>>>>> >>>> >>> >>>>>> >>>> 2015-04-04 2:16 GMT+02:00 Stanislav Sinyagin >>> >>>>>> >>>> : >>> >>>>>> >>>>> >>> >>>>>> >>>>> hi, >>> >>>>>> >>>>> >>> >>>>>> >>>>> Here are some test results which might be interesting: >>> >>>>>> >>>>> >>> >>>>>> >>>>> I've set up a test FreeSWITCH server at digitalocean (they >>> use >>> >>>>>> >>>>> KVM), >>> >>>>>> >>>>> and originated test calls to some ITSP accounts. Each call >>> >>>>>> >>>>> played a >>> >>>>>> >>>>> test sound file (voice samples from ITU: >>> >>>>>> >>>>> >>> >>>>>> >>>>> >>> http://www.itu.int/net/itu-t/sigdb/genaudio/AudioForm-g.aspx?val=1000050 >>> >>>>>> >>>>> ), and on the receiving end another FreeSWITCH server was >>> >>>>>> >>>>> recording >>> >>>>>> >>>>> the received session. The receiving server was on a XEN VM. >>> Both >>> >>>>>> >>>>> servers talked G711 to their corresponding ITSP accounts. >>> >>>>>> >>>>> >>> >>>>>> >>>>> Then I compared the source audio and received audio in >>> Audacity >>> >>>>>> >>>>> editor. >>> >>>>>> >>>>> >>> >>>>>> >>>>> The tests showed that the received voice wave shifts 20ms >>> from >>> >>>>>> >>>>> the >>> >>>>>> >>>>> original sound every few seconds, randomly back and forward. >>> >>>>>> >>>>> This >>> >>>>>> >>>>> skewing was always present, regardless of ITSP and time of >>> day. >>> >>>>>> >>>>> >>> >>>>>> >>>>> Then I moved the sending server to a XEN VM, and the waves >>> >>>>>> >>>>> appeared >>> >>>>>> >>>>> almost perfectly synchronized (there was a 5ms skew in one >>> test, >>> >>>>>> >>>>> and I >>> >>>>>> >>>>> guess it's related to transcoding buffer, as the sound was >>> >>>>>> >>>>> obviously >>> >>>>>> >>>>> transcoded). >>> >>>>>> >>>>> >>> >>>>>> >>>>> The effect was always visible with a 30-second sample, and I >>> >>>>>> >>>>> also made >>> >>>>>> >>>>> additional tests with 2-minute samples. >>> >>>>>> >>>>> >>> >>>>>> >>>>> It would also be interesting to test this from a VmWare VM. >>> If >>> >>>>>> >>>>> someone >>> >>>>>> >>>>> wants to run such a test, feel free to contact me directly. >>> >>>>>> >>>>> >>> >>>>>> >>>>> >>> >>>>>> >>>>> cheers, >>> >>>>>> >>>>> stan >>> >>>>>> >>>>> >>> >>>>>> >>>>> >>> >>>>>> >>>>> >>> >>>>>> >>>>> >>> _________________________________________________________________________ >>> >>>>>> >>>>> Professional FreeSWITCH Consulting Services: >>> >>>>>> >>>>> consulting at freeswitch.org >>> >>>>>> >>>>> http://www.freeswitchsolutions.com >>> >>>>>> >>>>> >>> >>>>>> >>>>> Official FreeSWITCH Sites >>> >>>>>> >>>>> http://www.freeswitch.org >>> >>>>>> >>>>> http://confluence.freeswitch.org >>> >>>>>> >>>>> http://www.cluecon.com >>> >>>>>> >>>>> >>> >>>>>> >>>>> FreeSWITCH-users mailing list >>> >>>>>> >>>>> FreeSWITCH-users at lists.freeswitch.org >>> >>>>>> >>>>> >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> >>>>>> >>>>> >>> >>>>>> >>>>> UNSUBSCRIBE: >>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>> >>>>>> >>>>> http://www.freeswitch.org >>> >>>>>> >>>> >>> >>>>>> >>>> >>> >>>>>> >>>> >>> >>>>>> >>>> >>> >>>>>> >>>> >>> _________________________________________________________________________ >>> >>>>>> >>>> Professional FreeSWITCH Consulting Services: >>> >>>>>> >>>> consulting at freeswitch.org >>> >>>>>> >>>> http://www.freeswitchsolutions.com >>> >>>>>> >>>> >>> >>>>>> >>>> Official FreeSWITCH Sites >>> >>>>>> >>>> http://www.freeswitch.org >>> >>>>>> >>>> http://confluence.freeswitch.org >>> >>>>>> >>>> http://www.cluecon.com >>> >>>>>> >>>> >>> >>>>>> >>>> FreeSWITCH-users mailing list >>> >>>>>> >>>> FreeSWITCH-users at lists.freeswitch.org >>> >>>>>> >>>> >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> >>>>>> >>>> >>> >>>>>> >>>> UNSUBSCRIBE: >>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>> >>>>>> >>>> http://www.freeswitch.org >>> >>>>>> >>> >>> >>>>>> >>> >>> >>>>>> >>> >>> >>>>>> >>> >>> _________________________________________________________________________ >>> >>>>>> >>> Professional FreeSWITCH Consulting Services: >>> >>>>>> >>> consulting at freeswitch.org >>> >>>>>> >>> http://www.freeswitchsolutions.com >>> >>>>>> >>> >>> >>>>>> >>> Official FreeSWITCH Sites >>> >>>>>> >>> http://www.freeswitch.org >>> >>>>>> >>> http://confluence.freeswitch.org >>> >>>>>> >>> http://www.cluecon.com >>> >>>>>> >>> >>> >>>>>> >>> FreeSWITCH-users mailing list >>> >>>>>> >>> FreeSWITCH-users at lists.freeswitch.org >>> >>>>>> >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> >>>>>> >>> >>> >>>>>> >>> UNSUBSCRIBE: >>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>> >>>>>> >>> http://www.freeswitch.org >>> >>>>>> >> >>> >>>>>> >> >>> >>>>>> >> >>> >>>>>> >> >>> >>>>>> >> >>> _________________________________________________________________________ >>> >>>>>> >> Professional FreeSWITCH Consulting Services: >>> >>>>>> >> consulting at freeswitch.org >>> >>>>>> >> http://www.freeswitchsolutions.com >>> >>>>>> >> >>> >>>>>> >> Official FreeSWITCH Sites >>> >>>>>> >> http://www.freeswitch.org >>> >>>>>> >> http://confluence.freeswitch.org >>> >>>>>> >> http://www.cluecon.com >>> >>>>>> >> >>> >>>>>> >> FreeSWITCH-users mailing list >>> >>>>>> >> FreeSWITCH-users at lists.freeswitch.org >>> >>>>>> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> >>>>>> >> >>> >>>>>> >> UNSUBSCRIBE: >>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>> >>>>>> >> http://www.freeswitch.org >>> >>>>>> >>> >>>>>> >>> >>>>>> >>> _________________________________________________________________________ >>> >>>>>> Professional FreeSWITCH Consulting Services: >>> >>>>>> consulting at freeswitch.org >>> >>>>>> http://www.freeswitchsolutions.com >>> >>>>>> >>> >>>>>> Official FreeSWITCH Sites >>> >>>>>> http://www.freeswitch.org >>> >>>>>> http://confluence.freeswitch.org >>> >>>>>> http://www.cluecon.com >>> >>>>>> >>> >>>>>> FreeSWITCH-users mailing list >>> >>>>>> FreeSWITCH-users at lists.freeswitch.org >>> >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> >>>>>> >>> >>>>>> UNSUBSCRIBE: >>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>> >>>>>> http://www.freeswitch.org >>> >>>>> >>> >>>>> >>> >>>>> >>> >>>>> >>> >>>>> >>> _________________________________________________________________________ >>> >>>>> Professional FreeSWITCH Consulting Services: >>> >>>>> consulting at freeswitch.org >>> >>>>> http://www.freeswitchsolutions.com >>> >>>>> >>> >>>>> Official FreeSWITCH Sites >>> >>>>> http://www.freeswitch.org >>> >>>>> http://confluence.freeswitch.org >>> >>>>> http://www.cluecon.com >>> >>>>> >>> >>>>> FreeSWITCH-users mailing list >>> >>>>> FreeSWITCH-users at lists.freeswitch.org >>> >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> >>>>> >>> >>>>> UNSUBSCRIBE: >>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>> >>>>> http://www.freeswitch.org >>> >>>> >>> >>>> >>> >>>> >>> >>>> >>> >>>> >>> _________________________________________________________________________ >>> >>>> Professional FreeSWITCH Consulting Services: >>> >>>> consulting at freeswitch.org >>> >>>> http://www.freeswitchsolutions.com >>> >>>> >>> >>>> Official FreeSWITCH Sites >>> >>>> http://www.freeswitch.org >>> >>>> http://confluence.freeswitch.org >>> >>>> http://www.cluecon.com >>> >>>> >>> >>>> FreeSWITCH-users mailing list >>> >>>> FreeSWITCH-users at lists.freeswitch.org >>> >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> >>>> UNSUBSCRIBE: >>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>> >>>> http://www.freeswitch.org >>> >>> >>> >>> >>> >>> >>> >>> >>> _________________________________________________________________________ >>> >>> Professional FreeSWITCH Consulting Services: >>> >>> consulting at freeswitch.org >>> >>> http://www.freeswitchsolutions.com >>> >>> >>> >>> Official FreeSWITCH Sites >>> >>> http://www.freeswitch.org >>> >>> http://confluence.freeswitch.org >>> >>> http://www.cluecon.com >>> >>> >>> >>> FreeSWITCH-users mailing list >>> >>> FreeSWITCH-users at lists.freeswitch.org >>> >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> >>> UNSUBSCRIBE: >>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>> >>> http://www.freeswitch.org >>> >> >>> >> >>> >> >>> _________________________________________________________________________ >>> >> Professional FreeSWITCH Consulting Services: >>> >> consulting at freeswitch.org >>> >> http://www.freeswitchsolutions.com >>> >> >>> >> Official FreeSWITCH Sites >>> >> http://www.freeswitch.org >>> >> http://confluence.freeswitch.org >>> >> http://www.cluecon.com >>> >> >>> >> FreeSWITCH-users mailing list >>> >> FreeSWITCH-users at lists.freeswitch.org >>> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> >> UNSUBSCRIBE: >>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>> >> http://www.freeswitch.org >>> > >>> > >>> > >>> > >>> > -- >>> > Anthony Minessale II ? @anthmfs ? @FreeSWITCH ? >>> > >>> > ? http://freeswitch.org/ ? http://cluecon.com/ ? >>> > http://twitter.com/FreeSWITCH >>> > ? irc.freenode.net #freeswitch ? http://freeswitch.org/g+ >>> > >>> > ClueCon Weekly Development Call >>> > ? sip:888 at conference.freeswitch.org ? +19193869900 >>> > >>> > https://www.youtube.com/watch?v=9XXgW34t40s >>> > >>> > >>> _________________________________________________________________________ >>> > Professional FreeSWITCH Consulting Services: >>> > consulting at freeswitch.org >>> > http://www.freeswitchsolutions.com >>> > >>> > Official FreeSWITCH Sites >>> > http://www.freeswitch.org >>> > http://confluence.freeswitch.org >>> > http://www.cluecon.com >>> > >>> > FreeSWITCH-users mailing list >>> > FreeSWITCH-users at lists.freeswitch.org >>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> > UNSUBSCRIBE: >>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>> > http://www.freeswitch.org >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> >> -- >> >> *Brian West* >> brian at freeswitch.org >> >> >> *Twitter: @FreeSWITCH , @briankwest* >> http://www.freeswitchbook.com >> http://www.freeswitchcookbook.com >> >> ClueCon 2015 Call for Speakers >> | Register >> TODAY! | Reddit: /r/freeswitch >> >> >> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) >> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150406/a59054d4/attachment-0001.html From silvagustavo at yandex.ru Mon Apr 6 21:23:21 2015 From: silvagustavo at yandex.ru (Gustavo Silva) Date: Mon, 06 Apr 2015 20:23:21 +0300 Subject: [Freeswitch-users] Failed to load radius handle for digest invite authentication In-Reply-To: References: <55223EB1.10502@etherway.ru> Message-ID: <20150406172321.5853254.46080.171@yandex.ru> An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150406/a9a9f6b2/attachment.html From silvagustavo at yandex.ru Mon Apr 6 21:23:21 2015 From: silvagustavo at yandex.ru (Gustavo Silva) Date: Mon, 06 Apr 2015 20:23:21 +0300 Subject: [Freeswitch-users] Failed to load radius handle for digest invite authentication In-Reply-To: References: <55223EB1.10502@etherway.ru> Message-ID: <20150406172321.5853254.46080.171@yandex.ru> An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150406/a9a9f6b2/attachment-0001.html From freeswitch at jhcloos.com Mon Apr 6 21:37:08 2015 From: freeswitch at jhcloos.com (James Cloos) Date: Mon, 06 Apr 2015 13:37:08 -0400 Subject: [Freeswitch-users] KVM vs. XEN virtualization In-Reply-To: (Stanislav Sinyagin's message of "Mon, 6 Apr 2015 10:40:44 +0200") References: Message-ID: >>>>> "SS" == Stanislav Sinyagin writes: SS> I'm using the smallest $5 machines at DO in Amsterdam and London, and SS> Xen is on my colocated physical machine in Zurich. What does /proc/cpuinfo say? The ones with QEMU Virtual CPU version 1.0 are likely to be worse for this kind of application than the newer ones, with native cpuinfo. -JimC -- James Cloos OpenPGP: 0x997A9F17ED7DAEA6 From ewsamuels at gmail.com Mon Apr 6 21:47:24 2015 From: ewsamuels at gmail.com (Errol Samuels) Date: Mon, 6 Apr 2015 18:47:24 +0100 Subject: [Freeswitch-users] KVM vs. XEN virtualization In-Reply-To: References: Message-ID: Good point Jim! My DO $20 VM with 2 Cores and 2 GB Ram has Intel(R) Xeon(R) CPU E5-2630L v2 @ 2.40GHz -- reasonable but I don't know what percentage cpu is allocated. You have just made me aware that I need to upgrade some Proxmox Nodes this coming weekend :-) On Mon, Apr 6, 2015 at 6:37 PM, James Cloos wrote: > >>>>> "SS" == Stanislav Sinyagin writes: > > SS> I'm using the smallest $5 machines at DO in Amsterdam and London, and > SS> Xen is on my colocated physical machine in Zurich. > > What does /proc/cpuinfo say? > > The ones with QEMU Virtual CPU version 1.0 are likely to be worse for > this kind of application than the newer ones, with native cpuinfo. > > -JimC > -- > James Cloos OpenPGP: 0x997A9F17ED7DAEA6 > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150406/2a09f9f1/attachment.html From bordmi at rarus.ru Mon Apr 6 21:57:42 2015 From: bordmi at rarus.ru (=?UTF-8?B?0JHQvtGA0LjRgdC+0LIsINCU0LzQuNGC0YDQuNC5IC8gRG1pdHJpeSBCb3Jpc292?=) Date: Mon, 6 Apr 2015 20:57:42 +0300 Subject: [Freeswitch-users] Failed to load radius handle for digest invite authentication In-Reply-To: <20150406172321.5853254.46080.171@yandex.ru> References: <55223EB1.10502@etherway.ru> <20150406172321.5853254.46080.171@yandex.ru> Message-ID: Simply rename parameter in xml_radius.conf.xml, but don`t forgive to correct it in dictionaries 2015-04-06 20:23 GMT+03:00 Gustavo Silva : > > Hi Dmitriy! > > I fix that with the sip dictionary. This module, xml_radius, uses the > digest method and when I sniffed the packets between the freeswitch server > and freeradius server, I noticed that the digest parameters were not being > sent. Checking the radiusclient dictionary, I saw that the sip dictionary > was not included. > > There was another problem that I also had to fix. In the > xml_radius.conf.xml file, the Digest username was like "Digest-username" > and in the sip dictionary, it was like "Digest-User-Name". Somehow, the > radius server was not understanding ?the parameter Digest-username. I had > to change to Digest-User-Name. > > By the way, thanks for the clues that you have sent Dmitriy! > > Regards, > Gustavo > > Sent from my BlackBerry 10 smartphone. > *From: *???????, ??????? / Dmitriy Borisov > *Sent: *???????????, 6 ?????? 2015 ?., 15:43 > *To: *FreeSWITCH Users Help > *Reply To: *FreeSWITCH Users Help > *Subject: *Re: [Freeswitch-users] Failed to load radius handle for digest > invite authentication > > Hi, Gustavo! > > Your problems not in FreeSWITCH configuration or sources but in > freeradius-client configuration. Check system logs for radius errors. Radius > handle is allocating by freeradius-client library function called by > freeswitch mod_xml_radius module (look at mod_xml_radius.c line 633 and > 946). > > 2015-04-06 11:07 GMT+03:00 ??????? ????? : > >> >> Hi everyone! >> >> How to solve this problem occurring on Freeswitch with the xml_radius >> module? >> 2015-04-06 11:48:25.284825 [ERR] mod_xml_radius.c:633 Failed to >> load radius handle for digest invite authentication >> 2015-04-06 11:48:25.284825 [ERR] mod_xml_radius.c:946 Failed to >> create new accounting_start handle for call: >> 0fcb1214-4941-477b-b329-2d034623c1e9 >> >> >> My freeradius server is getting this parameters(sniffed by wireshark: >> 192.168.56.1 - softphone, 192.168.56.105 - Freeswitch/radiusclient, >> 192.168.56.103 - Freeradius server): >> >> >> Radius Protocol >> Code: Accounting-Request (4) >> Packet identifier: 0xf9 (249) >> Length: 240 >> Authenticator: 19a3f95c13b4811e35b43d5390b29f8a >> >> Attribute Value Pairs >> AVP: l=6 t=Acct-Status-Type(40): Start(1) >> Acct-Status-Type: Start (1) >> AVP: l=38 t=Acct-Session-Id(44): >> 0fcb1214-4941-477b-b329-2d034623c1e9 >> Acct-Session-Id: 0fcb1214-4941-477b-b329-2d034623c1e9 >> AVP: l=6 t=User-Name(1): 1002 >> User-Name: 1002 >> AVP: l=12 t=Vendor-Specific(26) v=FreeSWITCH(27880) >> VSA: l=6 t=Freeswitch-Src(4): 1002 >> Freeswitch-Src: 1002 >> AVP: l=12 t=Vendor-Specific(26) v=FreeSWITCH(27880) >> VSA: l=6 t=Freeswitch-CLID(2): 1002 >> Freeswitch-CLID: 1002 >> AVP: l=12 t=Vendor-Specific(26) v=FreeSWITCH(27880) >> VSA: l=6 t=Freeswitch-Dst(5): 1001 >> Freeswitch-Dst: 1001 >> AVP: l=11 t=Vendor-Specific(26) v=FreeSWITCH(27880) >> VSA: l=5 t=Freeswitch-Dialplan(3): XML >> Freeswitch-Dialplan: XML >> AVP: l=6 t=Framed-IP-Address(8): 192.168.56.1 >> Framed-IP-Address: 192.168.56.1 (192.168.56.1) >> AVP: l=8 t=Vendor-Specific(26) v=FreeSWITCH(27880) >> VSA: l=2 t=Freeswitch-RDNIS(17): >> Freeswitch-RDNIS: >> AVP: l=15 t=Vendor-Specific(26) v=FreeSWITCH(27880) >> VSA: l=9 t=Freeswitch-Context(18): default >> Freeswitch-Context: default >> AVP: l=12 t=Vendor-Specific(26) v=FreeSWITCH(27880) >> VSA: l=6 t=Freeswitch-Ani(8): 1002 >> Freeswitch-Ani: 1002 >> AVP: l=8 t=Vendor-Specific(26) v=FreeSWITCH(27880) >> VSA: l=2 t=Freeswitch-Aniii(9): >> Freeswitch-Aniii: >> AVP: l=17 t=Vendor-Specific(26) v=FreeSWITCH(27880) >> VSA: l=11 t=Freeswitch-Source(19): mod_sofia >> Freeswitch-Source: mod_sofia >> AVP: l=39 t=Vendor-Specific(26) v=FreeSWITCH(27880) >> VSA: l=33 t=Freeswitch-Callstartdate(20): >> 2015-04-06T11:48:25.284825+0400 >> Freeswitch-Callstartdate: 2015-04-06T11:48:25.284825+0400 >> AVP: l=6 t=NAS-Port(5): 0 >> NAS-Port: 0 >> AVP: l=6 t=Acct-Delay-Time(41): 0 >> Acct-Delay-Time: 0 >> AVP: l=6 t=NAS-IP-Address(4): 192.168.56.105 >> NAS-IP-Address: 192.168.56.105 (192.168.56.105) >> >> >> Regards, >> Gustavo Silva >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > with best regards, > Dmitriy Borisov > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- with best regards, Dmitriy Borisov -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150406/0fc6c067/attachment.html From silvagustavo at yandex.ru Mon Apr 6 22:02:34 2015 From: silvagustavo at yandex.ru (Gustavo Silva) Date: Mon, 06 Apr 2015 21:02:34 +0300 Subject: [Freeswitch-users] Failed to load radius handle for digest invite authentication In-Reply-To: References: <55223EB1.10502@etherway.ru> <20150406172321.5853254.46080.171@yandex.ru> Message-ID: <20150406180234.5853254.20351.177@yandex.ru> An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150406/9d9d0cd7/attachment-0001.html From silvagustavo at yandex.ru Mon Apr 6 22:02:34 2015 From: silvagustavo at yandex.ru (Gustavo Silva) Date: Mon, 06 Apr 2015 21:02:34 +0300 Subject: [Freeswitch-users] Failed to load radius handle for digest invite authentication In-Reply-To: References: <55223EB1.10502@etherway.ru> <20150406172321.5853254.46080.171@yandex.ru> Message-ID: <20150406180234.5853254.20351.177@yandex.ru> An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150406/9d9d0cd7/attachment-0002.html From brian at freeswitch.org Mon Apr 6 23:22:05 2015 From: brian at freeswitch.org (Brian West) Date: Mon, 6 Apr 2015 14:22:05 -0500 Subject: [Freeswitch-users] Failed to load radius handle for digest invite authentication In-Reply-To: <20150406172321.5853254.46080.171@yandex.ru> References: <55223EB1.10502@etherway.ru> <20150406172321.5853254.46080.171@yandex.ru> Message-ID: Once you have this working you should file a bug in the docs and do a pull request for the config file fixes. On Mon, Apr 6, 2015 at 12:23 PM, Gustavo Silva wrote: > > Hi Dmitriy! > > I fix that with the sip dictionary. This module, xml_radius, uses the > digest method and when I sniffed the packets between the freeswitch server > and freeradius server, I noticed that the digest parameters were not being > sent. Checking the radiusclient dictionary, I saw that the sip dictionary > was not included. > > There was another problem that I also had to fix. In the > xml_radius.conf.xml file, the Digest username was like "Digest-username" > and in the sip dictionary, it was like "Digest-User-Name". Somehow, the > radius server was not understanding ?the parameter Digest-username. I had > to change to Digest-User-Name. > > By the way, thanks for the clues that you have sent Dmitriy! > > Regards, > Gustavo > > Sent from my BlackBerry 10 smartphone. > *From: *???????, ??????? / Dmitriy Borisov > *Sent: *???????????, 6 ?????? 2015 ?., 15:43 > *To: *FreeSWITCH Users Help > *Reply To: *FreeSWITCH Users Help > *Subject: *Re: [Freeswitch-users] Failed to load radius handle for digest > invite authentication > > Hi, Gustavo! > > Your problems not in FreeSWITCH configuration or sources but in > freeradius-client configuration. Check system logs for radius errors. Radius > handle is allocating by freeradius-client library function called by > freeswitch mod_xml_radius module (look at mod_xml_radius.c line 633 and > 946). > > 2015-04-06 11:07 GMT+03:00 ??????? ????? : > >> >> Hi everyone! >> >> How to solve this problem occurring on Freeswitch with the xml_radius >> module? >> 2015-04-06 11:48:25.284825 [ERR] mod_xml_radius.c:633 Failed to >> load radius handle for digest invite authentication >> 2015-04-06 11:48:25.284825 [ERR] mod_xml_radius.c:946 Failed to >> create new accounting_start handle for call: >> 0fcb1214-4941-477b-b329-2d034623c1e9 >> >> >> My freeradius server is getting this parameters(sniffed by wireshark: >> 192.168.56.1 - softphone, 192.168.56.105 - Freeswitch/radiusclient, >> 192.168.56.103 - Freeradius server): >> >> >> Radius Protocol >> Code: Accounting-Request (4) >> Packet identifier: 0xf9 (249) >> Length: 240 >> Authenticator: 19a3f95c13b4811e35b43d5390b29f8a >> >> Attribute Value Pairs >> AVP: l=6 t=Acct-Status-Type(40): Start(1) >> Acct-Status-Type: Start (1) >> AVP: l=38 t=Acct-Session-Id(44): >> 0fcb1214-4941-477b-b329-2d034623c1e9 >> Acct-Session-Id: 0fcb1214-4941-477b-b329-2d034623c1e9 >> AVP: l=6 t=User-Name(1): 1002 >> User-Name: 1002 >> AVP: l=12 t=Vendor-Specific(26) v=FreeSWITCH(27880) >> VSA: l=6 t=Freeswitch-Src(4): 1002 >> Freeswitch-Src: 1002 >> AVP: l=12 t=Vendor-Specific(26) v=FreeSWITCH(27880) >> VSA: l=6 t=Freeswitch-CLID(2): 1002 >> Freeswitch-CLID: 1002 >> AVP: l=12 t=Vendor-Specific(26) v=FreeSWITCH(27880) >> VSA: l=6 t=Freeswitch-Dst(5): 1001 >> Freeswitch-Dst: 1001 >> AVP: l=11 t=Vendor-Specific(26) v=FreeSWITCH(27880) >> VSA: l=5 t=Freeswitch-Dialplan(3): XML >> Freeswitch-Dialplan: XML >> AVP: l=6 t=Framed-IP-Address(8): 192.168.56.1 >> Framed-IP-Address: 192.168.56.1 (192.168.56.1) >> AVP: l=8 t=Vendor-Specific(26) v=FreeSWITCH(27880) >> VSA: l=2 t=Freeswitch-RDNIS(17): >> Freeswitch-RDNIS: >> AVP: l=15 t=Vendor-Specific(26) v=FreeSWITCH(27880) >> VSA: l=9 t=Freeswitch-Context(18): default >> Freeswitch-Context: default >> AVP: l=12 t=Vendor-Specific(26) v=FreeSWITCH(27880) >> VSA: l=6 t=Freeswitch-Ani(8): 1002 >> Freeswitch-Ani: 1002 >> AVP: l=8 t=Vendor-Specific(26) v=FreeSWITCH(27880) >> VSA: l=2 t=Freeswitch-Aniii(9): >> Freeswitch-Aniii: >> AVP: l=17 t=Vendor-Specific(26) v=FreeSWITCH(27880) >> VSA: l=11 t=Freeswitch-Source(19): mod_sofia >> Freeswitch-Source: mod_sofia >> AVP: l=39 t=Vendor-Specific(26) v=FreeSWITCH(27880) >> VSA: l=33 t=Freeswitch-Callstartdate(20): >> 2015-04-06T11:48:25.284825+0400 >> Freeswitch-Callstartdate: 2015-04-06T11:48:25.284825+0400 >> AVP: l=6 t=NAS-Port(5): 0 >> NAS-Port: 0 >> AVP: l=6 t=Acct-Delay-Time(41): 0 >> Acct-Delay-Time: 0 >> AVP: l=6 t=NAS-IP-Address(4): 192.168.56.105 >> NAS-IP-Address: 192.168.56.105 (192.168.56.105) >> >> >> Regards, >> Gustavo Silva >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > with best regards, > Dmitriy Borisov > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com ClueCon 2015 Call for Speakers | Register TODAY! | Reddit: /r/freeswitch *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150406/8aba4abf/attachment-0001.html From mdalepiane at gmail.com Mon Apr 6 23:51:34 2015 From: mdalepiane at gmail.com (Mateus Dalepiane) Date: Mon, 6 Apr 2015 16:51:34 -0300 Subject: [Freeswitch-users] Detect video presence in mod_conference Message-ID: Hello, I am looking for a mechanism to detect whether the user that currently holds the conference video floor is actually sending a video stream or not. So far I know that the variable CF_VIDEO may be used to check if the channel is video capable, either to send and/or receive video. But this is not enough to ensure that a user is sending video, just if he is able to send and/or receive video. My idea is to check if there are video packets flowing through FS, that would mean that the user holding the floor is sending video. Is there a better way to do this? If not, where would be the best place to monitor the video packets flow? Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150406/04c986bd/attachment.html From paul.atreides83 at googlemail.com Mon Apr 6 23:56:09 2015 From: paul.atreides83 at googlemail.com (Paul Atreides) Date: Mon, 6 Apr 2015 21:56:09 +0200 Subject: [Freeswitch-users] freeswitch.dbh / dbh:query Message-ID: Hi, I am sorry I don't get it :/ How do I pull of a single value from this query: "SELECT uuid FROM fifo_intercept ORDER BY time_id DESC LIMIT 1" How can I save the result into the variable fifo_uuid with dbh:query? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150406/52a0971d/attachment.html From s.safarov at gmail.com Tue Apr 7 00:02:17 2015 From: s.safarov at gmail.com (Sergey Safarov) Date: Mon, 6 Apr 2015 23:02:17 +0300 Subject: [Freeswitch-users] KVM vs. XEN virtualization In-Reply-To: References: Message-ID: Errol are is "test3" host proxying RTP audio stream? You can check is by command tcpdump -ni ens192 udp and port not 5060 If stream exist you will see one output string per one RTP packet On Mon, Apr 6, 2015 at 8:22 PM, Errol Samuels wrote: > Hi Stanislav, > > Just to let you know I have a customer using all 3 virtualization > technologies mentioned (KVM, Xen and VMWare) and they all seem to be > happy. However for the larger setups with 2500+ users my preference is KVM > without a doubt. I have for example an install with 4 FusionPBX / > Freeswitch VMs with Kamailio in Front for residential phone service all > sharing same Postgres DB and serving 5000 users, 4000 DIDs running for more > than a year with no voice quality issues. We using Proxmox for this setup > and it works great. > > Test 3 > ====== > This one is using Proxmox and -t20 with some strange results!? > > *VM: * KVM with 4 Cores / 8GB Ram and *Virtio Drivers* for Network and HD) > *OS:* Ubuntu 12.04.5 LTS / Linux 3.13.0-40-generic x86_64 > > root at voip-admin:~# date && cyclictest -t20 -p 80 -d 0 -n -i 125 -l 240000 > && date > Mon Apr 6 13:03:00 EDT 2015 > # /dev/cpu_dma_latency set to 0us > policy: fifo: loadavg: 1.16 0.61 0.32 1/227 9038 > > T: 0 ( 9000) P:80 I:125 C: 240000 Min: 2 Act: 29 Avg: 2957 Max: > 3835266 > T: 1 ( 9001) P:80 I:125 C: 240000 Min: 2 Act: 9 Avg: 3018 Max: > 3888022 > T: 2 ( 9002) P:80 I:125 C: 240000 Min: 2 Act: 28 Avg: 2978 Max: > 3835499 > T: 3 ( 9003) P:80 I:125 C: 240000 Min: 2 Act: 31 Avg: 2975 Max: > 3857444 > T: 4 ( 9004) P:80 I:125 C: 240000 Min: 2 Act: 29 Avg: 3029 Max: > 3859799 > T: 5 ( 9005) P:80 I:125 C: 240000 Min: 2 Act: 22 Avg: 2985 Max: > 3838433 > T: 6 ( 9006) P:80 I:125 C: 240000 Min: 2 Act: 14 Avg: 3044 Max: > 3872244 > T: 7 ( 9007) P:80 I:125 C: 240000 Min: 4 Act: 10 Avg: 3007 Max: > 3867133 > T: 8 ( 9008) P:80 I:125 C: 240000 Min: 3 Act: 20 Avg: 3071 Max: > 3905688 > T: 9 ( 9009) P:80 I:125 C: 240000 Min: 4 Act: 13 Avg: 3022 Max: > 3856911 > T:10 ( 9010) P:80 I:125 C: 240000 Min: 2 Act: 9 Avg: 3016 Max: > 3885199 > T:11 ( 9011) P:80 I:125 C: 240000 Min: 3 Act: 32 Avg: 3011 Max: > 3862044 > T:12 ( 9012) P:80 I:125 C: 240000 Min: 3 Act: 16 Avg: 3012 Max: > 3888333 > T:13 ( 9013) P:80 I:125 C: 240000 Min: 2 Act: 23 Avg: 2949 Max: > 3844433 > T:14 ( 9014) P:80 I:125 C: 240000 Min: 2 Act: 25 Avg: 3009 Max: > 3878488 > T:15 ( 9015) P:80 I:125 C: 240000 Min: 3 Act: 12 Avg: 3019 Max: > 3870499 > T:16 ( 9016) P:80 I:125 C: 240000 Min: 3 Act: 24 Avg: 2972 Max: > 3856044 > T:17 ( 9017) P:80 I:125 C: 240000 Min: 3 Act: 34 Avg: 3023 Max: > 3872944 > T:18 ( 9018) P:80 I:125 C: 240000 Min: 2 Act: 25 Avg: 2988 Max: > 3869488 > T:19 ( 9019) P:80 I:125 C: 240000 Min: 2 Act: 10 Avg: 2949 Max: > 3847277 > Mon Apr 6 13:03:30 EDT 2015 > > This is interesting if not alarming..lol > > > I re-ran the test on DO again below but with -t20 this time now the > latency seems to be ~9ms. > > Test 4 > ===== > *VM: *Digital Ocean KVM at AMS3 / 2 Cores / 2GB Ram / 40GB SSD > *OS:* Debian Wheezy 7.8 64 bit / Linux 3.2.0-4-amd64 x86_64 > > root at demo:~# date && cyclictest -t20 -p 80 -d 0 -n -i 125 -l 240000 && > date > Mon Apr 6 16:57:30 UTC 2015 > # /dev/cpu_dma_latency set to 0us > policy: fifo: loadavg: 1.31 0.59 0.34 1/122 31201 > > T: 0 (31181) P:80 I:125 C: 240000 Min: 4 Act: 20 Avg: 34 Max: > 8447 > T: 1 (31182) P:80 I:125 C: 240000 Min: 2 Act: 13 Avg: 29 Max: > 5022 > T: 2 (31183) P:80 I:125 C: 240000 Min: 2 Act: 6 Avg: 27 Max: > 4998 > T: 3 (31184) P:80 I:125 C: 240000 Min: 2 Act: 8 Avg: 27 Max: > 6140 > T: 4 (31185) P:80 I:125 C: 240000 Min: 3 Act: 19 Avg: 31 Max: > 7474 > T: 5 (31186) P:80 I:125 C: 240000 Min: 3 Act: 8 Avg: 32 Max: > 7454 > T: 6 (31187) P:80 I:125 C: 240000 Min: 4 Act: 10 Avg: 32 Max: > 7507 > T: 7 (31188) P:80 I:125 C: 240000 Min: 4 Act: 11 Avg: 32 Max: > 9008 > T: 8 (31189) P:80 I:125 C: 240000 Min: 2 Act: 18 Avg: 28 Max: > 5737 > T: 9 (31190) P:80 I:125 C: 240000 Min: 2 Act: 12 Avg: 28 Max: > 7462 > T:10 (31191) P:80 I:125 C: 240000 Min: 2 Act: 8 Avg: 29 Max: > 7432 > T:11 (31192) P:80 I:125 C: 240000 Min: 4 Act: 25 Avg: 27 Max: > 7404 > T:12 (31193) P:80 I:125 C: 240000 Min: 3 Act: 18 Avg: 30 Max: > 8496 > T:13 (31194) P:80 I:125 C: 240000 Min: 4 Act: 18 Avg: 32 Max: > 5962 > T:14 (31195) P:80 I:125 C: 240000 Min: 2 Act: 8 Avg: 30 Max: > 8573 > T:15 (31196) P:80 I:125 C: 240000 Min: 4 Act: 17 Avg: 32 Max: > 5963 > T:16 (31197) P:80 I:125 C: 240000 Min: 3 Act: 15 Avg: 31 Max: > 7477 > T:17 (31198) P:80 I:125 C: 240000 Min: 4 Act: 16 Avg: 31 Max: > 9010 > T:18 (31199) P:80 I:125 C: 240000 Min: 3 Act: 18 Avg: 35 Max: > 7447 > T:19 (31200) P:80 I:125 C: 240000 Min: 2 Act: 15 Avg: 34 Max: > 7471 > Mon Apr 6 16:58:00 UTC 2015 > > BR > > Errol > > > > > On Mon, Apr 6, 2015 at 5:13 PM, Stanislav Sinyagin > wrote: > >> A customer is setting up a new telephony switch, and I'm helping them to >> organize the testing. I noticed the slipping frames in received audio, and >> then at first I though it's the failure at the receiving side, but then >> figured out it's my host at DO that is generating unaligned RTP flow. >> >> So, now I'm trying to figure out what would be the best virtualized >> environment to run FreeSWITCH :) >> >> >> >> >> >> On Mon, Apr 6, 2015 at 6:05 PM, Brian West wrote: >> >>> I've never had issues running under KVM on Proxmox, Looking back at this >>> thread was there a specific issue that you're trying to solve that put you >>> on to this path of testing? >>> >>> On Mon, Apr 6, 2015 at 10:51 AM, Stanislav Sinyagin >> > wrote: >>> >>>> yes, and we're trying to find the one that works with minimal impact >>>> on quality :) >>>> >>>> I'm thinking to move my test server (the one on receiving side) from >>>> Xen VM to a physical ARM machine at https://www.scaleway.com/ in >>>> France. It would record audio and raw UDP packets and provide them for >>>> downloading to everyone. >>>> >>>> Do we know about any timing issues on ARM platform? >>>> >>>> if someone sponsors some additional DID numbers, that will be >>>> appreciated. >>>> >>>> >>>> >>>> >>>> >>>> >>>> On Mon, Apr 6, 2015 at 5:30 PM, Anthony Minessale >>>> wrote: >>>> > Depending on the host and guest OS the timing will be a product of >>>> several >>>> > thing. >>>> > If some of the features FS tries to detect are emulated, it can be a >>>> > problem. >>>> > >>>> > The primary thing FS looks for is a kernel with timerfd support. >>>> > This should be the most accurate. If the guest OS supports timerfd >>>> but its >>>> > using emulated hardware, it might not work as well as it should. >>>> > >>>> > So on something like openvz, you might have support for timerfd in >>>> your >>>> > debian 7/8 instance but the host kernel has no support at all. >>>> > So in theory kvm would be preferred since it actually boots the guest >>>> kernel >>>> > and you have a chance for it to hit the real timer hardware. >>>> > >>>> > If no timerfd is present, it reverts to the single thread ms precision >>>> > thread with conditional broadcast for timing. >>>> > You can also manually configure a combo of one timerfd timer and >>>> shared >>>> > broadcast. >>>> > >>>> > This param in switch.conf.xml helps to tune a few behavior you might >>>> want to >>>> > compare results on. >>>> > >>>> > enable-softtimer-timerfd >>>> > >>>> > true|fd-per-timer --- Use one fd for each timer instance (default) >>>> > >>>> > false --- Don't use timerfd at all >>>> > >>>> > broadcast --- Use one timerfd and share it with conditional >>>> > broadcasts >>>> > >>>> > This is one reason we do not support virtualization as its too >>>> variable to >>>> > provide definitive policies to make things work every time. >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > On Mon, Apr 6, 2015 at 10:17 AM, Stanislav Sinyagin < >>>> ssinyagin at gmail.com> >>>> > wrote: >>>> >> >>>> >> I didn't yet have time to learn this utility - how do we interpret >>>> the >>>> >> results? >>>> >> >>>> >> On Apr 6, 2015 4:39 PM, "Errol Samuels" wrote: >>>> >>> >>>> >>> Ok Sergey, >>>> >>> >>>> >>> Here it goes: >>>> >>> >>>> >>> Test 1 >>>> >>> ==== >>>> >>> VM: Digital Ocean KVM at AMS3 / 2 Cores / 2GB Ram / 40GB SSD >>>> >>> OS: Debian Wheezy 7.8 64 bit / Linux 3.2.0-4-amd64 x86_64 >>>> >>> >>>> >>> policy: fifo: loadavg: 6.22 1.53 0.58 1/164 31050 : 195 >>>> Max: >>>> >>> 42869 >>>> >>> T:12 (31021) P:80 I:125 C: 238830 Min: 2 Act: 18 Avg: 196 >>>> Max: >>>> >>> 42846 >>>> >>> T: 0 (31009) P:80 I:125 C: 239000 Min: 2 Act: 12 Avg: 190 >>>> Max: >>>> >>> 42845 >>>> >>> T: 1 (31010) P:80 I:125 C: 239002 Min: 2 Act: 18 Avg: 196 >>>> Max: >>>> >>> 42866 >>>> >>> T: 2 (31011) P:80 I:125 C: 239004 Min: 3 Act: 10 Avg: 191 >>>> Max: >>>> >>> 42890 >>>> >>> T: 3 (31012) P:80 I:125 C: 239004 Min: 3 Act: 8 Avg: 197 >>>> Max: >>>> >>> 42876 >>>> >>> T: 4 (31013) P:80 I:125 C: 239005 Min: 2 Act: 27 Avg: 194 >>>> Max: >>>> >>> 42846 >>>> >>> T: 5 (31014) P:80 I:125 C: 239008 Min: 2 Act: 26 Avg: 196 >>>> Max: >>>> >>> 42872 >>>> >>> T: 6 (31015) P:80 I:125 C: 239013 Min: 2 Act: 12 Avg: 196 >>>> Max: >>>> >>> 42843 >>>> >>> T: 7 (31016) P:80 I:125 C: 239013 Min: 2 Act: 19 Avg: 194 >>>> Max: >>>> >>> 42848 >>>> >>> T: 8 (31017) P:80 I:125 C: 239013 Min: 2 Act: 14 Avg: 190 >>>> Max: >>>> >>> 42856 >>>> >>> T: 9 (31018) P:80 I:125 C: 239014 Min: 2 Act: 14 Avg: 197 >>>> Max: >>>> >>> 42865 >>>> >>> T:10 (31019) P:80 I:125 C: 239016 Min: 2 Act: 9 Avg: 197 >>>> Max: >>>> >>> 42868 >>>> >>> >>>> >>> >>>> >>> Test 2 >>>> >>> ==== >>>> >>> VM: Linode (Xen) London / 8 Cores (E5-2670 0 @ 2.60GHz) / 4GB Ram >>>> >>> OS: Ubuntu 12.04.4 LTS / Linux 3.18.5-x86_64-linode52 x86_64 >>>> >>> >>>> >>> policy: fifo: loadavg: 6.50 1.56 0.55 15/246 30752 97 >>>> Max: >>>> >>> 1030 >>>> >>> T:16 (30726) P:80 I:125 C: 239853 Min: 5 Act: 77 Avg: 97 >>>> Max: >>>> >>> 1066 >>>> >>> T: 0 (30710) P:80 I:125 C: 239946 Min: 5 Act: 63 Avg: 98 >>>> Max: >>>> >>> 1245 >>>> >>> T: 1 (30711) P:80 I:125 C: 239946 Min: 5 Act: 67 Avg: 98 >>>> Max: >>>> >>> 1091 >>>> >>> T: 2 (30712) P:80 I:125 C: 239945 Min: 5 Act: 119 Avg: 97 >>>> Max: >>>> >>> 1351 >>>> >>> T: 3 (30713) P:80 I:125 C: 239945 Min: 5 Act: 99 Avg: 98 >>>> Max: >>>> >>> 932 >>>> >>> T: 4 (30714) P:80 I:125 C: 239945 Min: 5 Act: 35 Avg: 98 >>>> Max: >>>> >>> 1413 >>>> >>> T: 5 (30715) P:80 I:125 C: 239945 Min: 5 Act: 35 Avg: 98 >>>> Max: >>>> >>> 1407 >>>> >>> T: 6 (30716) P:80 I:125 C: 239944 Min: 5 Act: 110 Avg: 97 >>>> Max: >>>> >>> 1173 >>>> >>> T: 7 (30717) P:80 I:125 C: 239947 Min: 5 Act: 85 Avg: 99 >>>> Max: >>>> >>> 1144 >>>> >>> T: 8 (30718) P:80 I:125 C: 239948 Min: 4 Act: 69 Avg: 99 >>>> Max: >>>> >>> 916 >>>> >>> T: 9 (30719) P:80 I:125 C: 239947 Min: 4 Act: 40 Avg: 97 >>>> Max: >>>> >>> 916 >>>> >>> T:10 (30720) P:80 I:125 C: 239948 Min: 5 Act: 61 Avg: 97 >>>> Max: >>>> >>> 1024 >>>> >>> T:11 (30721) P:80 I:125 C: 239946 Min: 6 Act: 84 Avg: 98 >>>> Max: >>>> >>> 2082 >>>> >>> T:12 (30722) P:80 I:125 C: 239947 Min: 4 Act: 40 Avg: 98 >>>> Max: >>>> >>> 2142 >>>> >>> T:13 (30723) P:80 I:125 C: 239946 Min: 5 Act: 49 Avg: 98 >>>> Max: >>>> >>> 1986 >>>> >>> T:14 (30724) P:80 I:125 C: 239946 Min: 4 Act: 113 Avg: 99 >>>> Max: >>>> >>> 2061 >>>> >>> >>>> >>> This is with system defaults. >>>> >>> >>>> >>> regards, >>>> >>> >>>> >>> Errol >>>> >>> >>>> >>> >>>> >>> >>>> >>> >>>> >>> On Mon, Apr 6, 2015 at 1:27 PM, Sergey Safarov >>> > >>>> >>> wrote: >>>> >>>> >>>> >>>> Errol can you test VM timer with utility >>>> >>>> https://rt.wiki.kernel.org/index.php/Cyclictest >>>> >>>> >>>> >>>> My VM currently have folowing results >>>> >>>> >>>> >>>> [root at fs1 ~]# date && /tmp/rt-tests/cyclictest -t42 -p 80 -d 0 >>>> -n -i >>>> >>>> 125 -l 240000 && date >>>> >>>> Sun Apr 5 07:01:31 GMT 2015 >>>> >>>> # /dev/cpu_dma_latency set to 0us >>>> >>>> policy: fifo: loadavg: 2.38 0.93 0.50 1/194 1574 >>>> >>>> >>>> >>>> T: 0 ( 1531) P:80 I:125 C: 240000 Min: 2 Act: 12 Avg: 16 >>>> Max: >>>> >>>> 1302 >>>> >>>> T: 1 ( 1532) P:80 I:125 C: 240000 Min: 2 Act: 15 Avg: 14 >>>> Max: >>>> >>>> 2895 >>>> >>>> T: 2 ( 1533) P:80 I:125 C: 240000 Min: 3 Act: 10 Avg: 12 >>>> Max: >>>> >>>> 2888 >>>> >>>> T: 3 ( 1534) P:80 I:125 C: 240000 Min: 1 Act: 16 Avg: 13 >>>> Max: >>>> >>>> 1333 >>>> >>>> T: 4 ( 1535) P:80 I:125 C: 240000 Min: 2 Act: 20 Avg: 14 >>>> Max: >>>> >>>> 2962 >>>> >>>> T: 5 ( 1536) P:80 I:125 C: 240000 Min: 1 Act: 12 Avg: 14 >>>> Max: >>>> >>>> 2946 >>>> >>>> T: 6 ( 1537) P:80 I:125 C: 240000 Min: 2 Act: 10 Avg: 13 >>>> Max: >>>> >>>> 1363 >>>> >>>> T: 7 ( 1538) P:80 I:125 C: 240000 Min: 2 Act: 12 Avg: 13 >>>> Max: >>>> >>>> 1344 >>>> >>>> T: 8 ( 1539) P:80 I:125 C: 240000 Min: 3 Act: 12 Avg: 16 >>>> Max: >>>> >>>> 1408 >>>> >>>> T: 9 ( 1540) P:80 I:125 C: 240000 Min: 1 Act: 8 Avg: 13 >>>> Max: >>>> >>>> 2882 >>>> >>>> T:10 ( 1541) P:80 I:125 C: 239974 Min: 2 Act: 12 Avg: 13 >>>> Max: >>>> >>>> 2908 >>>> >>>> >>>> >>>> >>>> >>>> On Mon, Apr 6, 2015 at 11:15 AM, Errol Samuels < >>>> ewsamuels at gmail.com> >>>> >>>> wrote: >>>> >>>>> >>>> >>>>> Good job and Thanks for sharing! >>>> >>>>> >>>> >>>>>> KVM at digitalocean.com, Debian 7 64bit, FreeSWITCH 1.4.15: bad >>>> >>>>>> precision >>>> >>>>> >>>> >>>>> >>>> >>>>> As someone who has been using KVM for a few years and has just >>>> migrated >>>> >>>>> about 20 VMs across to Digital Ocean about 6 weeks ago I admit I >>>> am a little >>>> >>>>> concerned about this finding. >>>> >>>>> >>>> >>>>> Just out of curiosity can you tell me the specs of the VM that you >>>> >>>>> tested with and which DO Datacenter? I am using NYC3 so perhaps >>>> and I will >>>> >>>>> do some tests as soon as I have some time. >>>> >>>>> >>>> >>>>> With regards to Xen was this at Linode or inhouse? >>>> >>>>> >>>> >>>>> Thanks >>>> >>>>> >>>> >>>>> Errol >>>> >>>>> >>>> >>>>> >>>> >>>>> >>>> >>>>> On Sun, Apr 5, 2015 at 1:37 AM, Stanislav Sinyagin >>>> >>>>> wrote: >>>> >>>>>> >>>> >>>>>> here we go: >>>> >>>>>> >>>> >>>>>> >>>> https://txlab.wordpress.com/2015/04/05/testing-rtp-clock-precision-on-a-virtual-machine/ >>>> >>>>>> >>>> >>>>>> >>>> >>>>>> >>>> >>>>>> On Sat, Apr 4, 2015 at 4:26 PM, Stanislav Sinyagin >>>> >>>>>> wrote: >>>> >>>>>> > On Sat, Apr 4, 2015 at 1:03 PM, Regis M >>>> >>>>>> > wrote: >>>> >>>>>> >> How do you check wavs together in audacity ? >>>> >>>>>> > >>>> >>>>>> > you just open two WAV files, align their starting position, and >>>> >>>>>> > visually check the waves. If there's a problem, you would see >>>> that >>>> >>>>>> > after few seconds, the waves are not aligned any more. >>>> >>>>>> > >>>> >>>>>> >> Can you send me 2 samples wav (send... and recorded) so I >>>> could see >>>> >>>>>> >> the 20ms >>>> >>>>>> >> diff that you exposed... >>>> >>>>>> >> >>>> >>>>>> >> Is there a way to automate the result checking, so it could >>>> help to >>>> >>>>>> >> monitor >>>> >>>>>> >> itsp quality >>>> >>>>>> > >>>> >>>>>> > Here >>>> >>>>>> > https://github.com/openpreserve/scape-xcorrsound/issues/17 >>>> >>>>>> > this is a link to a tool which compares two sound files at the >>>> wave >>>> >>>>>> > level. You can also see the sound samples in the ticket. >>>> >>>>>> > The problem is, that currently this tool does not detect such >>>> >>>>>> > slipping frames. >>>> >>>>>> > >>>> >>>>>> > I will also write a detailed article with examples, during the >>>> >>>>>> > weekend. >>>> >>>>>> > >>>> >>>>>> > >>>> >>>>>> > >>>> >>>>>> > >>>> >>>>>> > >>>> >>>>>> >> >>>> >>>>>> >> >>>> >>>>>> >> 2015-04-04 12:53 GMT+02:00 Stanislav Sinyagin >>>> >>>>>> >> : >>>> >>>>>> >>> >>>> >>>>>> >>> Important is to send the media through two independent >>>> carriers - >>>> >>>>>> >>> then you >>>> >>>>>> >>> can be sure that your clock is compared against a high >>>> quality >>>> >>>>>> >>> one. >>>> >>>>>> >>> >>>> >>>>>> >>> On Apr 4, 2015 12:46 PM, "Regis M" >>>> >>>>>> >>> >>>> >>>>>> >>> wrote: >>>> >>>>>> >>>> >>>> >>>>>> >>>> Hi, >>>> >>>>>> >>>> >>>> >>>>>> >>>> It's a very interresting test and conclusion. >>>> >>>>>> >>>> >>>> >>>>>> >>>> I will try to build a similar environnement on my >>>> freeswitch to >>>> >>>>>> >>>> check >>>> >>>>>> >>>> some system :) >>>> >>>>>> >>>> >>>> >>>>>> >>>> thanks >>>> >>>>>> >>>> >>>> >>>>>> >>>> >>>> >>>>>> >>>> >>>> >>>>>> >>>> 2015-04-04 2:16 GMT+02:00 Stanislav Sinyagin >>>> >>>>>> >>>> : >>>> >>>>>> >>>>> >>>> >>>>>> >>>>> hi, >>>> >>>>>> >>>>> >>>> >>>>>> >>>>> Here are some test results which might be interesting: >>>> >>>>>> >>>>> >>>> >>>>>> >>>>> I've set up a test FreeSWITCH server at digitalocean (they >>>> use >>>> >>>>>> >>>>> KVM), >>>> >>>>>> >>>>> and originated test calls to some ITSP accounts. Each call >>>> >>>>>> >>>>> played a >>>> >>>>>> >>>>> test sound file (voice samples from ITU: >>>> >>>>>> >>>>> >>>> >>>>>> >>>>> >>>> http://www.itu.int/net/itu-t/sigdb/genaudio/AudioForm-g.aspx?val=1000050 >>>> >>>>>> >>>>> ), and on the receiving end another FreeSWITCH server was >>>> >>>>>> >>>>> recording >>>> >>>>>> >>>>> the received session. The receiving server was on a XEN >>>> VM. Both >>>> >>>>>> >>>>> servers talked G711 to their corresponding ITSP accounts. >>>> >>>>>> >>>>> >>>> >>>>>> >>>>> Then I compared the source audio and received audio in >>>> Audacity >>>> >>>>>> >>>>> editor. >>>> >>>>>> >>>>> >>>> >>>>>> >>>>> The tests showed that the received voice wave shifts 20ms >>>> from >>>> >>>>>> >>>>> the >>>> >>>>>> >>>>> original sound every few seconds, randomly back and >>>> forward. >>>> >>>>>> >>>>> This >>>> >>>>>> >>>>> skewing was always present, regardless of ITSP and time of >>>> day. >>>> >>>>>> >>>>> >>>> >>>>>> >>>>> Then I moved the sending server to a XEN VM, and the waves >>>> >>>>>> >>>>> appeared >>>> >>>>>> >>>>> almost perfectly synchronized (there was a 5ms skew in one >>>> test, >>>> >>>>>> >>>>> and I >>>> >>>>>> >>>>> guess it's related to transcoding buffer, as the sound was >>>> >>>>>> >>>>> obviously >>>> >>>>>> >>>>> transcoded). >>>> >>>>>> >>>>> >>>> >>>>>> >>>>> The effect was always visible with a 30-second sample, and >>>> I >>>> >>>>>> >>>>> also made >>>> >>>>>> >>>>> additional tests with 2-minute samples. >>>> >>>>>> >>>>> >>>> >>>>>> >>>>> It would also be interesting to test this from a VmWare >>>> VM. If >>>> >>>>>> >>>>> someone >>>> >>>>>> >>>>> wants to run such a test, feel free to contact me directly. >>>> >>>>>> >>>>> >>>> >>>>>> >>>>> >>>> >>>>>> >>>>> cheers, >>>> >>>>>> >>>>> stan >>>> >>>>>> >>>>> >>>> >>>>>> >>>>> >>>> >>>>>> >>>>> >>>> >>>>>> >>>>> >>>> _________________________________________________________________________ >>>> >>>>>> >>>>> Professional FreeSWITCH Consulting Services: >>>> >>>>>> >>>>> consulting at freeswitch.org >>>> >>>>>> >>>>> http://www.freeswitchsolutions.com >>>> >>>>>> >>>>> >>>> >>>>>> >>>>> Official FreeSWITCH Sites >>>> >>>>>> >>>>> http://www.freeswitch.org >>>> >>>>>> >>>>> http://confluence.freeswitch.org >>>> >>>>>> >>>>> http://www.cluecon.com >>>> >>>>>> >>>>> >>>> >>>>>> >>>>> FreeSWITCH-users mailing list >>>> >>>>>> >>>>> FreeSWITCH-users at lists.freeswitch.org >>>> >>>>>> >>>>> >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> >>>>>> >>>>> >>>> >>>>>> >>>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> >>>>>> >>>>> http://www.freeswitch.org >>>> >>>>>> >>>> >>>> >>>>>> >>>> >>>> >>>>>> >>>> >>>> >>>>>> >>>> >>>> >>>>>> >>>> >>>> _________________________________________________________________________ >>>> >>>>>> >>>> Professional FreeSWITCH Consulting Services: >>>> >>>>>> >>>> consulting at freeswitch.org >>>> >>>>>> >>>> http://www.freeswitchsolutions.com >>>> >>>>>> >>>> >>>> >>>>>> >>>> Official FreeSWITCH Sites >>>> >>>>>> >>>> http://www.freeswitch.org >>>> >>>>>> >>>> http://confluence.freeswitch.org >>>> >>>>>> >>>> http://www.cluecon.com >>>> >>>>>> >>>> >>>> >>>>>> >>>> FreeSWITCH-users mailing list >>>> >>>>>> >>>> FreeSWITCH-users at lists.freeswitch.org >>>> >>>>>> >>>> >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> >>>>>> >>>> >>>> >>>>>> >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> >>>>>> >>>> http://www.freeswitch.org >>>> >>>>>> >>> >>>> >>>>>> >>> >>>> >>>>>> >>> >>>> >>>>>> >>> >>>> _________________________________________________________________________ >>>> >>>>>> >>> Professional FreeSWITCH Consulting Services: >>>> >>>>>> >>> consulting at freeswitch.org >>>> >>>>>> >>> http://www.freeswitchsolutions.com >>>> >>>>>> >>> >>>> >>>>>> >>> Official FreeSWITCH Sites >>>> >>>>>> >>> http://www.freeswitch.org >>>> >>>>>> >>> http://confluence.freeswitch.org >>>> >>>>>> >>> http://www.cluecon.com >>>> >>>>>> >>> >>>> >>>>>> >>> FreeSWITCH-users mailing list >>>> >>>>>> >>> FreeSWITCH-users at lists.freeswitch.org >>>> >>>>>> >>> >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> >>>>>> >>> >>>> >>>>>> >>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> >>>>>> >>> http://www.freeswitch.org >>>> >>>>>> >> >>>> >>>>>> >> >>>> >>>>>> >> >>>> >>>>>> >> >>>> >>>>>> >> >>>> _________________________________________________________________________ >>>> >>>>>> >> Professional FreeSWITCH Consulting Services: >>>> >>>>>> >> consulting at freeswitch.org >>>> >>>>>> >> http://www.freeswitchsolutions.com >>>> >>>>>> >> >>>> >>>>>> >> Official FreeSWITCH Sites >>>> >>>>>> >> http://www.freeswitch.org >>>> >>>>>> >> http://confluence.freeswitch.org >>>> >>>>>> >> http://www.cluecon.com >>>> >>>>>> >> >>>> >>>>>> >> FreeSWITCH-users mailing list >>>> >>>>>> >> FreeSWITCH-users at lists.freeswitch.org >>>> >>>>>> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> >>>>>> >> >>>> >>>>>> >> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> >>>>>> >> http://www.freeswitch.org >>>> >>>>>> >>>> >>>>>> >>>> >>>>>> >>>> _________________________________________________________________________ >>>> >>>>>> Professional FreeSWITCH Consulting Services: >>>> >>>>>> consulting at freeswitch.org >>>> >>>>>> http://www.freeswitchsolutions.com >>>> >>>>>> >>>> >>>>>> Official FreeSWITCH Sites >>>> >>>>>> http://www.freeswitch.org >>>> >>>>>> http://confluence.freeswitch.org >>>> >>>>>> http://www.cluecon.com >>>> >>>>>> >>>> >>>>>> FreeSWITCH-users mailing list >>>> >>>>>> FreeSWITCH-users at lists.freeswitch.org >>>> >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> >>>>>> >>>> >>>>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> >>>>>> http://www.freeswitch.org >>>> >>>>> >>>> >>>>> >>>> >>>>> >>>> >>>>> >>>> >>>>> >>>> _________________________________________________________________________ >>>> >>>>> Professional FreeSWITCH Consulting Services: >>>> >>>>> consulting at freeswitch.org >>>> >>>>> http://www.freeswitchsolutions.com >>>> >>>>> >>>> >>>>> Official FreeSWITCH Sites >>>> >>>>> http://www.freeswitch.org >>>> >>>>> http://confluence.freeswitch.org >>>> >>>>> http://www.cluecon.com >>>> >>>>> >>>> >>>>> FreeSWITCH-users mailing list >>>> >>>>> FreeSWITCH-users at lists.freeswitch.org >>>> >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> >>>>> >>>> >>>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> >>>>> http://www.freeswitch.org >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> >>>> Professional FreeSWITCH Consulting Services: >>>> >>>> consulting at freeswitch.org >>>> >>>> http://www.freeswitchsolutions.com >>>> >>>> >>>> >>>> Official FreeSWITCH Sites >>>> >>>> http://www.freeswitch.org >>>> >>>> http://confluence.freeswitch.org >>>> >>>> http://www.cluecon.com >>>> >>>> >>>> >>>> FreeSWITCH-users mailing list >>>> >>>> FreeSWITCH-users at lists.freeswitch.org >>>> >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> >>>> http://www.freeswitch.org >>>> >>> >>>> >>> >>>> >>> >>>> >>> >>>> _________________________________________________________________________ >>>> >>> Professional FreeSWITCH Consulting Services: >>>> >>> consulting at freeswitch.org >>>> >>> http://www.freeswitchsolutions.com >>>> >>> >>>> >>> Official FreeSWITCH Sites >>>> >>> http://www.freeswitch.org >>>> >>> http://confluence.freeswitch.org >>>> >>> http://www.cluecon.com >>>> >>> >>>> >>> FreeSWITCH-users mailing list >>>> >>> FreeSWITCH-users at lists.freeswitch.org >>>> >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> >>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> >>> http://www.freeswitch.org >>>> >> >>>> >> >>>> >> >>>> _________________________________________________________________________ >>>> >> Professional FreeSWITCH Consulting Services: >>>> >> consulting at freeswitch.org >>>> >> http://www.freeswitchsolutions.com >>>> >> >>>> >> Official FreeSWITCH Sites >>>> >> http://www.freeswitch.org >>>> >> http://confluence.freeswitch.org >>>> >> http://www.cluecon.com >>>> >> >>>> >> FreeSWITCH-users mailing list >>>> >> FreeSWITCH-users at lists.freeswitch.org >>>> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> >> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> >> http://www.freeswitch.org >>>> > >>>> > >>>> > >>>> > >>>> > -- >>>> > Anthony Minessale II ? @anthmfs ? @FreeSWITCH ? >>>> > >>>> > ? http://freeswitch.org/ ? http://cluecon.com/ ? >>>> > http://twitter.com/FreeSWITCH >>>> > ? irc.freenode.net #freeswitch ? http://freeswitch.org/g+ >>>> > >>>> > ClueCon Weekly Development Call >>>> > ? sip:888 at conference.freeswitch.org ? +19193869900 >>>> > >>>> > https://www.youtube.com/watch?v=9XXgW34t40s >>>> > >>>> > >>>> _________________________________________________________________________ >>>> > Professional FreeSWITCH Consulting Services: >>>> > consulting at freeswitch.org >>>> > http://www.freeswitchsolutions.com >>>> > >>>> > Official FreeSWITCH Sites >>>> > http://www.freeswitch.org >>>> > http://confluence.freeswitch.org >>>> > http://www.cluecon.com >>>> > >>>> > FreeSWITCH-users mailing list >>>> > FreeSWITCH-users at lists.freeswitch.org >>>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> > UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> > http://www.freeswitch.org >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> >>> -- >>> >>> *Brian West* >>> brian at freeswitch.org >>> >>> >>> *Twitter: @FreeSWITCH , @briankwest* >>> http://www.freeswitchbook.com >>> http://www.freeswitchcookbook.com >>> >>> ClueCon 2015 Call for Speakers >>> | Register >>> TODAY! | Reddit: /r/freeswitch >>> >>> >>> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) >>> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150406/852c59e3/attachment-0001.html From bordmi at rarus.ru Tue Apr 7 00:02:36 2015 From: bordmi at rarus.ru (=?UTF-8?B?0JHQvtGA0LjRgdC+0LIsINCU0LzQuNGC0YDQuNC5IC8gRG1pdHJpeSBCb3Jpc292?=) Date: Mon, 6 Apr 2015 23:02:36 +0300 Subject: [Freeswitch-users] Failed to load radius handle for digest invite authentication In-Reply-To: References: <55223EB1.10502@etherway.ru> <20150406172321.5853254.46080.171@yandex.ru> Message-ID: Brian, on some systems it works fine with current config. I think, Gustavo had some proprietarybilling with not standart dictionaries, because Didgest-Username attribute was standartised by RFC 5090: https://tools.ietf.org/html/rfc5090#section-3.13 2015-04-06 22:22 GMT+03:00 Brian West : > Once you have this working you should file a bug in the docs and do a pull > request for the config file fixes. > > On Mon, Apr 6, 2015 at 12:23 PM, Gustavo Silva > wrote: > >> >> Hi Dmitriy! >> >> I fix that with the sip dictionary. This module, xml_radius, uses the >> digest method and when I sniffed the packets between the freeswitch server >> and freeradius server, I noticed that the digest parameters were not being >> sent. Checking the radiusclient dictionary, I saw that the sip dictionary >> was not included. >> >> There was another problem that I also had to fix. In the >> xml_radius.conf.xml file, the Digest username was like "Digest-username" >> and in the sip dictionary, it was like "Digest-User-Name". Somehow, the >> radius server was not understanding ?the parameter Digest-username. I had >> to change to Digest-User-Name. >> >> By the way, thanks for the clues that you have sent Dmitriy! >> >> Regards, >> Gustavo >> >> Sent from my BlackBerry 10 smartphone. >> *From: *???????, ??????? / Dmitriy Borisov >> *Sent: *???????????, 6 ?????? 2015 ?., 15:43 >> *To: *FreeSWITCH Users Help >> *Reply To: *FreeSWITCH Users Help >> *Subject: *Re: [Freeswitch-users] Failed to load radius handle for >> digest invite authentication >> >> Hi, Gustavo! >> >> Your problems not in FreeSWITCH configuration or sources but in >> freeradius-client configuration. Check system logs for radius errors. Radius >> handle is allocating by freeradius-client library function called by >> freeswitch mod_xml_radius module (look at mod_xml_radius.c line 633 and >> 946). >> >> 2015-04-06 11:07 GMT+03:00 ??????? ????? : >> >>> >>> Hi everyone! >>> >>> How to solve this problem occurring on Freeswitch with the xml_radius >>> module? >>> 2015-04-06 11:48:25.284825 [ERR] mod_xml_radius.c:633 Failed to >>> load radius handle for digest invite authentication >>> 2015-04-06 11:48:25.284825 [ERR] mod_xml_radius.c:946 Failed to >>> create new accounting_start handle for call: >>> 0fcb1214-4941-477b-b329-2d034623c1e9 >>> >>> >>> My freeradius server is getting this parameters(sniffed by wireshark: >>> 192.168.56.1 - softphone, 192.168.56.105 - Freeswitch/radiusclient, >>> 192.168.56.103 - Freeradius server): >>> >>> >>> Radius Protocol >>> Code: Accounting-Request (4) >>> Packet identifier: 0xf9 (249) >>> Length: 240 >>> Authenticator: 19a3f95c13b4811e35b43d5390b29f8a >>> >>> Attribute Value Pairs >>> AVP: l=6 t=Acct-Status-Type(40): Start(1) >>> Acct-Status-Type: Start (1) >>> AVP: l=38 t=Acct-Session-Id(44): >>> 0fcb1214-4941-477b-b329-2d034623c1e9 >>> Acct-Session-Id: 0fcb1214-4941-477b-b329-2d034623c1e9 >>> AVP: l=6 t=User-Name(1): 1002 >>> User-Name: 1002 >>> AVP: l=12 t=Vendor-Specific(26) v=FreeSWITCH(27880) >>> VSA: l=6 t=Freeswitch-Src(4): 1002 >>> Freeswitch-Src: 1002 >>> AVP: l=12 t=Vendor-Specific(26) v=FreeSWITCH(27880) >>> VSA: l=6 t=Freeswitch-CLID(2): 1002 >>> Freeswitch-CLID: 1002 >>> AVP: l=12 t=Vendor-Specific(26) v=FreeSWITCH(27880) >>> VSA: l=6 t=Freeswitch-Dst(5): 1001 >>> Freeswitch-Dst: 1001 >>> AVP: l=11 t=Vendor-Specific(26) v=FreeSWITCH(27880) >>> VSA: l=5 t=Freeswitch-Dialplan(3): XML >>> Freeswitch-Dialplan: XML >>> AVP: l=6 t=Framed-IP-Address(8): 192.168.56.1 >>> Framed-IP-Address: 192.168.56.1 (192.168.56.1) >>> AVP: l=8 t=Vendor-Specific(26) v=FreeSWITCH(27880) >>> VSA: l=2 t=Freeswitch-RDNIS(17): >>> Freeswitch-RDNIS: >>> AVP: l=15 t=Vendor-Specific(26) v=FreeSWITCH(27880) >>> VSA: l=9 t=Freeswitch-Context(18): default >>> Freeswitch-Context: default >>> AVP: l=12 t=Vendor-Specific(26) v=FreeSWITCH(27880) >>> VSA: l=6 t=Freeswitch-Ani(8): 1002 >>> Freeswitch-Ani: 1002 >>> AVP: l=8 t=Vendor-Specific(26) v=FreeSWITCH(27880) >>> VSA: l=2 t=Freeswitch-Aniii(9): >>> Freeswitch-Aniii: >>> AVP: l=17 t=Vendor-Specific(26) v=FreeSWITCH(27880) >>> VSA: l=11 t=Freeswitch-Source(19): mod_sofia >>> Freeswitch-Source: mod_sofia >>> AVP: l=39 t=Vendor-Specific(26) v=FreeSWITCH(27880) >>> VSA: l=33 t=Freeswitch-Callstartdate(20): >>> 2015-04-06T11:48:25.284825+0400 >>> Freeswitch-Callstartdate: >>> 2015-04-06T11:48:25.284825+0400 >>> AVP: l=6 t=NAS-Port(5): 0 >>> NAS-Port: 0 >>> AVP: l=6 t=Acct-Delay-Time(41): 0 >>> Acct-Delay-Time: 0 >>> AVP: l=6 t=NAS-IP-Address(4): 192.168.56.105 >>> NAS-IP-Address: 192.168.56.105 (192.168.56.105) >>> >>> >>> Regards, >>> Gustavo Silva >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> >> -- >> with best regards, >> Dmitriy Borisov >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > > *Brian West* > brian at freeswitch.org > > > *Twitter: @FreeSWITCH , @briankwest* > http://www.freeswitchbook.com > http://www.freeswitchcookbook.com > > ClueCon 2015 Call for Speakers > | Register > TODAY! | Reddit: /r/freeswitch > > > *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) > *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- with best regards, Dmitriy Borisov -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150406/24c5cc7d/attachment.html From paul.atreides83 at googlemail.com Tue Apr 7 00:07:42 2015 From: paul.atreides83 at googlemail.com (Paul Atreides) Date: Mon, 6 Apr 2015 22:07:42 +0200 Subject: [Freeswitch-users] freeswitch.dbh / dbh:query In-Reply-To: References: Message-ID: dbh:query(string.format("SELECT uuid FROM fifo_intercept ORDER BY time_id DESC LIMIT 1"), function(row) fifo_uuid = row.uuid; end); Found it myself :) On Mon, Apr 6, 2015 at 9:56 PM, Paul Atreides < paul.atreides83 at googlemail.com> wrote: > Hi, > > I am sorry I don't get it :/ > How do I pull of a single value from this query: > > "SELECT uuid FROM fifo_intercept ORDER BY time_id DESC LIMIT 1" > > How can I save the result into the variable fifo_uuid with dbh:query? > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150406/4592b444/attachment-0001.html From bordmi at rarus.ru Tue Apr 7 00:10:34 2015 From: bordmi at rarus.ru (=?UTF-8?B?0JHQvtGA0LjRgdC+0LIsINCU0LzQuNGC0YDQuNC5IC8gRG1pdHJpeSBCb3Jpc292?=) Date: Mon, 6 Apr 2015 23:10:34 +0300 Subject: [Freeswitch-users] freeswitch.dbh / dbh:query In-Reply-To: References: Message-ID: local var_a dbh:query("SELECT uuid FROM fifo_intercept ORDER BY time_id DESC LIMIT 1", function(u) var_a = u.uuid end) 2015-04-06 22:56 GMT+03:00 Paul Atreides : > Hi, > > I am sorry I don't get it :/ > How do I pull of a single value from this query: > > "SELECT uuid FROM fifo_intercept ORDER BY time_id DESC LIMIT 1" > > How can I save the result into the variable fifo_uuid with dbh:query? > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- with best regards, Dmitriy Borisov -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150406/6eda7860/attachment.html From silvagustavo at yandex.ru Tue Apr 7 00:11:19 2015 From: silvagustavo at yandex.ru (Gustavo Silva) Date: Mon, 06 Apr 2015 23:11:19 +0300 Subject: [Freeswitch-users] Failed to load radius handle for digest invite authentication In-Reply-To: References: <55223EB1.10502@etherway.ru> <20150406172321.5853254.46080.171@yandex.ru> Message-ID: <20150406201119.5853254.31461.185@yandex.ru> An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150406/87009f70/attachment-0002.html From silvagustavo at yandex.ru Tue Apr 7 00:11:19 2015 From: silvagustavo at yandex.ru (Gustavo Silva) Date: Mon, 06 Apr 2015 23:11:19 +0300 Subject: [Freeswitch-users] Failed to load radius handle for digest invite authentication In-Reply-To: References: <55223EB1.10502@etherway.ru> <20150406172321.5853254.46080.171@yandex.ru> Message-ID: <20150406201119.5853254.31461.185@yandex.ru> An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150406/87009f70/attachment-0003.html From krice at freeswitch.org Tue Apr 7 00:54:39 2015 From: krice at freeswitch.org (Ken Rice) Date: Mon, 06 Apr 2015 20:54:39 +0000 Subject: [Freeswitch-users] FreeSWITCH Week in Review (Master Branch) March 28th-April 3rd Message-ID: <5522f28f479a8_54cc1149320208c@resque-worker-ip-10-51-157-125.mail> New Post on freeswitch.org from Kathleen check it out at http://ift.tt/1GZCf13 FreeSWITCH Week in Review (Master Branch) March 28th-April 3rd Hello, again. This passed week in the FreeSWITCH master branch we had 6 commits. We have a few great features this week including a new module! First, a new header, DTMF-Source, was added to DTMF event. DTMF-Source can have the following values: APP : injected by application (send_dtmf, etc), ENDPOINT : detected by endpoint signaling (like SIP INFO), INBAND_AUDIO : detected by start_dtmf, spandsp_start_dtmf, etc, RTP : detected as 2833/4733 telephone event, and UNKNOWN : unknown source. The new module is called mod_amqp (Advanced Message Queueing Protocol). This new module will allow FreeSWITCH to natively send events to amqp servers, like rabbitmq, and also subscribe to a channel for a FreeSWITCH API to run locally. This functionality can replace the need for ESL connections. Special thanks-to: Daniel Bryars and Tim Brown from aeriandi.com for publishing the module into ?contrib? and William King and Mike Jerris for cleaning and expanding the module to merge into the master branch. Join us on Wednesdays at 12:00 CT for some more FreeSWITCH fun! And head over to freeswitch.com to learn more about FreeSWITCH support. New features that were added: FS-7406 Added DTMF-Source header to DTMF event. DTMF-Source may have the following values: APP : injected by application (send_dtmf, etc) ENDPOINT : detected by endpoint signaling (like SIP INFO) INBAND_AUDIO : detected by start_dtmf, spandsp_start_dtmf, etc RTP : detected as 2833/4733 telephone event UNKNOWN : unknown source. And added deduplicate_dtmf application FS-7060 Adding mod_amqp as an event_handler module, AMQP(Advanced Message Queueing Protocol) is an event bus protocol with more info here http://ift.tt/1iHGPkc mod_amqp implements the client side of the amqp protocol. Currently the module supports two separate, but not mutually exclusive usages: 1. Sending a filtered whitelist of events to an AMQP server. The before the events are sent an AMQP routing header is generated so that downstream subscriptions can subscribe using filters. If the connection to the remote server is interrupted, the module will attempt to reconnect. 2. Subscribing to a ?control? channel on the remote AMQP server. When events are received on this channel if they match a configured filter, the commands are run locally as api commands. If the filter for the events being sent to the remote AMQP server include SWITCH_EVENT_API then the results of the api commands will be sent back to the AMQP server. Mod_amqp was also added to the Debian packaging. Thanks-to: Daniel Bryars and Tim Brown -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150406/bd7f77ce/attachment.html From alhakeem at gmail.com Tue Apr 7 01:02:53 2015 From: alhakeem at gmail.com (Abdul Hakeem) Date: Mon, 6 Apr 2015 22:02:53 +0100 Subject: [Freeswitch-users] Sofia.h limits ? Message-ID: Hello Guys, Could someone shed lights if these lines are hard-coded limits and suggestions for alternative parameters ? #define SOFIA_MAX_ACL 100 #define MAX_RTP 50 #define SOFIA_MAX_MSG_QUEUE 64 Many thanks, Abdul Hakeem From brian at freeswitch.org Tue Apr 7 01:27:55 2015 From: brian at freeswitch.org (Brian West) Date: Mon, 6 Apr 2015 16:27:55 -0500 Subject: [Freeswitch-users] Sofia.h limits ? In-Reply-To: References: Message-ID: mod_sofia.h: char *acl[SOFIA_MAX_ACL]; mod_sofia.h: char *acl_pass_context[SOFIA_MAX_ACL]; mod_sofia.h: char *acl_fail_context[SOFIA_MAX_ACL]; mod_sofia.h: char *proxy_acl[SOFIA_MAX_ACL]; mod_sofia.h: char *reg_acl[SOFIA_MAX_ACL]; mod_sofia.h: char *nat_acl[SOFIA_MAX_ACL]; So you have an array of ACL's to test. Each ACL can have as many IP's in it. On Mon, Apr 6, 2015 at 4:02 PM, Abdul Hakeem wrote: > > Hello Guys, > Could someone shed lights if these lines are hard-coded limits and > suggestions > for alternative parameters ? > #define SOFIA_MAX_ACL 100 > #define MAX_RTP 50 > #define SOFIA_MAX_MSG_QUEUE 64 > > Many thanks, > Abdul Hakeem > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com ClueCon 2015 Call for Speakers | Register TODAY! | Reddit: /r/freeswitch *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150406/97e14814/attachment.html From ssinyagin at gmail.com Tue Apr 7 01:59:49 2015 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Mon, 6 Apr 2015 23:59:49 +0200 Subject: [Freeswitch-users] KVM vs. XEN virtualization In-Reply-To: References: Message-ID: Errol, I guess most of the calls on your servers are bridged, and for bridged calls FreeSWITCH does not refer to the system timer, and sends out the RTP packets as soon as they are ready. The timer is important if the server originates the media stream, such as playing back audio files, and also in conferences. Also the stream errors that I found were almost unnoticeable for a human listener: 3-4 frames lost within a 30 second sample are not too much of a big deal. So, KVM still looks fine for many applications, and I'm trying to find out the source of the problem that I encountered. I will do more tests. @James, cpuinfo shows... different things! Thanks for pointing to that. VM in ams1: QEMU Virtual CPU version 1.0 VM in ams3, where I found the original problem: Intel(R) Xeon(R) CPU E5-2630L v2 @ 2.40GHz VM in lon1: Intel(R) Xeon(R) CPU E5-2630L v2 @ 2.40GHz On Mon, Apr 6, 2015 at 7:22 PM, Errol Samuels wrote: > Hi Stanislav, > > Just to let you know I have a customer using all 3 virtualization > technologies mentioned (KVM, Xen and VMWare) and they all seem to be > happy. However for the larger setups with 2500+ users my preference is KVM > without a doubt. I have for example an install with 4 FusionPBX / > Freeswitch VMs with Kamailio in Front for residential phone service all > sharing same Postgres DB and serving 5000 users, 4000 DIDs running for more > than a year with no voice quality issues. We using Proxmox for this setup > and it works great. > > Test 3 > ====== > This one is using Proxmox and -t20 with some strange results!? > > *VM: * KVM with 4 Cores / 8GB Ram and *Virtio Drivers* for Network and HD) > *OS:* Ubuntu 12.04.5 LTS / Linux 3.13.0-40-generic x86_64 > > root at voip-admin:~# date && cyclictest -t20 -p 80 -d 0 -n -i 125 -l 240000 > && date > Mon Apr 6 13:03:00 EDT 2015 > # /dev/cpu_dma_latency set to 0us > policy: fifo: loadavg: 1.16 0.61 0.32 1/227 9038 > > T: 0 ( 9000) P:80 I:125 C: 240000 Min: 2 Act: 29 Avg: 2957 Max: > 3835266 > T: 1 ( 9001) P:80 I:125 C: 240000 Min: 2 Act: 9 Avg: 3018 Max: > 3888022 > T: 2 ( 9002) P:80 I:125 C: 240000 Min: 2 Act: 28 Avg: 2978 Max: > 3835499 > T: 3 ( 9003) P:80 I:125 C: 240000 Min: 2 Act: 31 Avg: 2975 Max: > 3857444 > T: 4 ( 9004) P:80 I:125 C: 240000 Min: 2 Act: 29 Avg: 3029 Max: > 3859799 > T: 5 ( 9005) P:80 I:125 C: 240000 Min: 2 Act: 22 Avg: 2985 Max: > 3838433 > T: 6 ( 9006) P:80 I:125 C: 240000 Min: 2 Act: 14 Avg: 3044 Max: > 3872244 > T: 7 ( 9007) P:80 I:125 C: 240000 Min: 4 Act: 10 Avg: 3007 Max: > 3867133 > T: 8 ( 9008) P:80 I:125 C: 240000 Min: 3 Act: 20 Avg: 3071 Max: > 3905688 > T: 9 ( 9009) P:80 I:125 C: 240000 Min: 4 Act: 13 Avg: 3022 Max: > 3856911 > T:10 ( 9010) P:80 I:125 C: 240000 Min: 2 Act: 9 Avg: 3016 Max: > 3885199 > T:11 ( 9011) P:80 I:125 C: 240000 Min: 3 Act: 32 Avg: 3011 Max: > 3862044 > T:12 ( 9012) P:80 I:125 C: 240000 Min: 3 Act: 16 Avg: 3012 Max: > 3888333 > T:13 ( 9013) P:80 I:125 C: 240000 Min: 2 Act: 23 Avg: 2949 Max: > 3844433 > T:14 ( 9014) P:80 I:125 C: 240000 Min: 2 Act: 25 Avg: 3009 Max: > 3878488 > T:15 ( 9015) P:80 I:125 C: 240000 Min: 3 Act: 12 Avg: 3019 Max: > 3870499 > T:16 ( 9016) P:80 I:125 C: 240000 Min: 3 Act: 24 Avg: 2972 Max: > 3856044 > T:17 ( 9017) P:80 I:125 C: 240000 Min: 3 Act: 34 Avg: 3023 Max: > 3872944 > T:18 ( 9018) P:80 I:125 C: 240000 Min: 2 Act: 25 Avg: 2988 Max: > 3869488 > T:19 ( 9019) P:80 I:125 C: 240000 Min: 2 Act: 10 Avg: 2949 Max: > 3847277 > Mon Apr 6 13:03:30 EDT 2015 > > This is interesting if not alarming..lol > > > I re-ran the test on DO again below but with -t20 this time now the > latency seems to be ~9ms. > > Test 4 > ===== > *VM: *Digital Ocean KVM at AMS3 / 2 Cores / 2GB Ram / 40GB SSD > *OS:* Debian Wheezy 7.8 64 bit / Linux 3.2.0-4-amd64 x86_64 > > root at demo:~# date && cyclictest -t20 -p 80 -d 0 -n -i 125 -l 240000 && > date > Mon Apr 6 16:57:30 UTC 2015 > # /dev/cpu_dma_latency set to 0us > policy: fifo: loadavg: 1.31 0.59 0.34 1/122 31201 > > T: 0 (31181) P:80 I:125 C: 240000 Min: 4 Act: 20 Avg: 34 Max: > 8447 > T: 1 (31182) P:80 I:125 C: 240000 Min: 2 Act: 13 Avg: 29 Max: > 5022 > T: 2 (31183) P:80 I:125 C: 240000 Min: 2 Act: 6 Avg: 27 Max: > 4998 > T: 3 (31184) P:80 I:125 C: 240000 Min: 2 Act: 8 Avg: 27 Max: > 6140 > T: 4 (31185) P:80 I:125 C: 240000 Min: 3 Act: 19 Avg: 31 Max: > 7474 > T: 5 (31186) P:80 I:125 C: 240000 Min: 3 Act: 8 Avg: 32 Max: > 7454 > T: 6 (31187) P:80 I:125 C: 240000 Min: 4 Act: 10 Avg: 32 Max: > 7507 > T: 7 (31188) P:80 I:125 C: 240000 Min: 4 Act: 11 Avg: 32 Max: > 9008 > T: 8 (31189) P:80 I:125 C: 240000 Min: 2 Act: 18 Avg: 28 Max: > 5737 > T: 9 (31190) P:80 I:125 C: 240000 Min: 2 Act: 12 Avg: 28 Max: > 7462 > T:10 (31191) P:80 I:125 C: 240000 Min: 2 Act: 8 Avg: 29 Max: > 7432 > T:11 (31192) P:80 I:125 C: 240000 Min: 4 Act: 25 Avg: 27 Max: > 7404 > T:12 (31193) P:80 I:125 C: 240000 Min: 3 Act: 18 Avg: 30 Max: > 8496 > T:13 (31194) P:80 I:125 C: 240000 Min: 4 Act: 18 Avg: 32 Max: > 5962 > T:14 (31195) P:80 I:125 C: 240000 Min: 2 Act: 8 Avg: 30 Max: > 8573 > T:15 (31196) P:80 I:125 C: 240000 Min: 4 Act: 17 Avg: 32 Max: > 5963 > T:16 (31197) P:80 I:125 C: 240000 Min: 3 Act: 15 Avg: 31 Max: > 7477 > T:17 (31198) P:80 I:125 C: 240000 Min: 4 Act: 16 Avg: 31 Max: > 9010 > T:18 (31199) P:80 I:125 C: 240000 Min: 3 Act: 18 Avg: 35 Max: > 7447 > T:19 (31200) P:80 I:125 C: 240000 Min: 2 Act: 15 Avg: 34 Max: > 7471 > Mon Apr 6 16:58:00 UTC 2015 > > BR > > Errol > > > > > On Mon, Apr 6, 2015 at 5:13 PM, Stanislav Sinyagin > wrote: > >> A customer is setting up a new telephony switch, and I'm helping them to >> organize the testing. I noticed the slipping frames in received audio, and >> then at first I though it's the failure at the receiving side, but then >> figured out it's my host at DO that is generating unaligned RTP flow. >> >> So, now I'm trying to figure out what would be the best virtualized >> environment to run FreeSWITCH :) >> >> >> >> >> >> On Mon, Apr 6, 2015 at 6:05 PM, Brian West wrote: >> >>> I've never had issues running under KVM on Proxmox, Looking back at this >>> thread was there a specific issue that you're trying to solve that put you >>> on to this path of testing? >>> >>> On Mon, Apr 6, 2015 at 10:51 AM, Stanislav Sinyagin >> > wrote: >>> >>>> yes, and we're trying to find the one that works with minimal impact >>>> on quality :) >>>> >>>> I'm thinking to move my test server (the one on receiving side) from >>>> Xen VM to a physical ARM machine at https://www.scaleway.com/ in >>>> France. It would record audio and raw UDP packets and provide them for >>>> downloading to everyone. >>>> >>>> Do we know about any timing issues on ARM platform? >>>> >>>> if someone sponsors some additional DID numbers, that will be >>>> appreciated. >>>> >>>> >>>> >>>> >>>> >>>> >>>> On Mon, Apr 6, 2015 at 5:30 PM, Anthony Minessale >>>> wrote: >>>> > Depending on the host and guest OS the timing will be a product of >>>> several >>>> > thing. >>>> > If some of the features FS tries to detect are emulated, it can be a >>>> > problem. >>>> > >>>> > The primary thing FS looks for is a kernel with timerfd support. >>>> > This should be the most accurate. If the guest OS supports timerfd >>>> but its >>>> > using emulated hardware, it might not work as well as it should. >>>> > >>>> > So on something like openvz, you might have support for timerfd in >>>> your >>>> > debian 7/8 instance but the host kernel has no support at all. >>>> > So in theory kvm would be preferred since it actually boots the guest >>>> kernel >>>> > and you have a chance for it to hit the real timer hardware. >>>> > >>>> > If no timerfd is present, it reverts to the single thread ms precision >>>> > thread with conditional broadcast for timing. >>>> > You can also manually configure a combo of one timerfd timer and >>>> shared >>>> > broadcast. >>>> > >>>> > This param in switch.conf.xml helps to tune a few behavior you might >>>> want to >>>> > compare results on. >>>> > >>>> > enable-softtimer-timerfd >>>> > >>>> > true|fd-per-timer --- Use one fd for each timer instance (default) >>>> > >>>> > false --- Don't use timerfd at all >>>> > >>>> > broadcast --- Use one timerfd and share it with conditional >>>> > broadcasts >>>> > >>>> > This is one reason we do not support virtualization as its too >>>> variable to >>>> > provide definitive policies to make things work every time. >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > On Mon, Apr 6, 2015 at 10:17 AM, Stanislav Sinyagin < >>>> ssinyagin at gmail.com> >>>> > wrote: >>>> >> >>>> >> I didn't yet have time to learn this utility - how do we interpret >>>> the >>>> >> results? >>>> >> >>>> >> On Apr 6, 2015 4:39 PM, "Errol Samuels" wrote: >>>> >>> >>>> >>> Ok Sergey, >>>> >>> >>>> >>> Here it goes: >>>> >>> >>>> >>> Test 1 >>>> >>> ==== >>>> >>> VM: Digital Ocean KVM at AMS3 / 2 Cores / 2GB Ram / 40GB SSD >>>> >>> OS: Debian Wheezy 7.8 64 bit / Linux 3.2.0-4-amd64 x86_64 >>>> >>> >>>> >>> policy: fifo: loadavg: 6.22 1.53 0.58 1/164 31050 : 195 >>>> Max: >>>> >>> 42869 >>>> >>> T:12 (31021) P:80 I:125 C: 238830 Min: 2 Act: 18 Avg: 196 >>>> Max: >>>> >>> 42846 >>>> >>> T: 0 (31009) P:80 I:125 C: 239000 Min: 2 Act: 12 Avg: 190 >>>> Max: >>>> >>> 42845 >>>> >>> T: 1 (31010) P:80 I:125 C: 239002 Min: 2 Act: 18 Avg: 196 >>>> Max: >>>> >>> 42866 >>>> >>> T: 2 (31011) P:80 I:125 C: 239004 Min: 3 Act: 10 Avg: 191 >>>> Max: >>>> >>> 42890 >>>> >>> T: 3 (31012) P:80 I:125 C: 239004 Min: 3 Act: 8 Avg: 197 >>>> Max: >>>> >>> 42876 >>>> >>> T: 4 (31013) P:80 I:125 C: 239005 Min: 2 Act: 27 Avg: 194 >>>> Max: >>>> >>> 42846 >>>> >>> T: 5 (31014) P:80 I:125 C: 239008 Min: 2 Act: 26 Avg: 196 >>>> Max: >>>> >>> 42872 >>>> >>> T: 6 (31015) P:80 I:125 C: 239013 Min: 2 Act: 12 Avg: 196 >>>> Max: >>>> >>> 42843 >>>> >>> T: 7 (31016) P:80 I:125 C: 239013 Min: 2 Act: 19 Avg: 194 >>>> Max: >>>> >>> 42848 >>>> >>> T: 8 (31017) P:80 I:125 C: 239013 Min: 2 Act: 14 Avg: 190 >>>> Max: >>>> >>> 42856 >>>> >>> T: 9 (31018) P:80 I:125 C: 239014 Min: 2 Act: 14 Avg: 197 >>>> Max: >>>> >>> 42865 >>>> >>> T:10 (31019) P:80 I:125 C: 239016 Min: 2 Act: 9 Avg: 197 >>>> Max: >>>> >>> 42868 >>>> >>> >>>> >>> >>>> >>> Test 2 >>>> >>> ==== >>>> >>> VM: Linode (Xen) London / 8 Cores (E5-2670 0 @ 2.60GHz) / 4GB Ram >>>> >>> OS: Ubuntu 12.04.4 LTS / Linux 3.18.5-x86_64-linode52 x86_64 >>>> >>> >>>> >>> policy: fifo: loadavg: 6.50 1.56 0.55 15/246 30752 97 >>>> Max: >>>> >>> 1030 >>>> >>> T:16 (30726) P:80 I:125 C: 239853 Min: 5 Act: 77 Avg: 97 >>>> Max: >>>> >>> 1066 >>>> >>> T: 0 (30710) P:80 I:125 C: 239946 Min: 5 Act: 63 Avg: 98 >>>> Max: >>>> >>> 1245 >>>> >>> T: 1 (30711) P:80 I:125 C: 239946 Min: 5 Act: 67 Avg: 98 >>>> Max: >>>> >>> 1091 >>>> >>> T: 2 (30712) P:80 I:125 C: 239945 Min: 5 Act: 119 Avg: 97 >>>> Max: >>>> >>> 1351 >>>> >>> T: 3 (30713) P:80 I:125 C: 239945 Min: 5 Act: 99 Avg: 98 >>>> Max: >>>> >>> 932 >>>> >>> T: 4 (30714) P:80 I:125 C: 239945 Min: 5 Act: 35 Avg: 98 >>>> Max: >>>> >>> 1413 >>>> >>> T: 5 (30715) P:80 I:125 C: 239945 Min: 5 Act: 35 Avg: 98 >>>> Max: >>>> >>> 1407 >>>> >>> T: 6 (30716) P:80 I:125 C: 239944 Min: 5 Act: 110 Avg: 97 >>>> Max: >>>> >>> 1173 >>>> >>> T: 7 (30717) P:80 I:125 C: 239947 Min: 5 Act: 85 Avg: 99 >>>> Max: >>>> >>> 1144 >>>> >>> T: 8 (30718) P:80 I:125 C: 239948 Min: 4 Act: 69 Avg: 99 >>>> Max: >>>> >>> 916 >>>> >>> T: 9 (30719) P:80 I:125 C: 239947 Min: 4 Act: 40 Avg: 97 >>>> Max: >>>> >>> 916 >>>> >>> T:10 (30720) P:80 I:125 C: 239948 Min: 5 Act: 61 Avg: 97 >>>> Max: >>>> >>> 1024 >>>> >>> T:11 (30721) P:80 I:125 C: 239946 Min: 6 Act: 84 Avg: 98 >>>> Max: >>>> >>> 2082 >>>> >>> T:12 (30722) P:80 I:125 C: 239947 Min: 4 Act: 40 Avg: 98 >>>> Max: >>>> >>> 2142 >>>> >>> T:13 (30723) P:80 I:125 C: 239946 Min: 5 Act: 49 Avg: 98 >>>> Max: >>>> >>> 1986 >>>> >>> T:14 (30724) P:80 I:125 C: 239946 Min: 4 Act: 113 Avg: 99 >>>> Max: >>>> >>> 2061 >>>> >>> >>>> >>> This is with system defaults. >>>> >>> >>>> >>> regards, >>>> >>> >>>> >>> Errol >>>> >>> >>>> >>> >>>> >>> >>>> >>> >>>> >>> On Mon, Apr 6, 2015 at 1:27 PM, Sergey Safarov >>> > >>>> >>> wrote: >>>> >>>> >>>> >>>> Errol can you test VM timer with utility >>>> >>>> https://rt.wiki.kernel.org/index.php/Cyclictest >>>> >>>> >>>> >>>> My VM currently have folowing results >>>> >>>> >>>> >>>> [root at fs1 ~]# date && /tmp/rt-tests/cyclictest -t42 -p 80 -d 0 >>>> -n -i >>>> >>>> 125 -l 240000 && date >>>> >>>> Sun Apr 5 07:01:31 GMT 2015 >>>> >>>> # /dev/cpu_dma_latency set to 0us >>>> >>>> policy: fifo: loadavg: 2.38 0.93 0.50 1/194 1574 >>>> >>>> >>>> >>>> T: 0 ( 1531) P:80 I:125 C: 240000 Min: 2 Act: 12 Avg: 16 >>>> Max: >>>> >>>> 1302 >>>> >>>> T: 1 ( 1532) P:80 I:125 C: 240000 Min: 2 Act: 15 Avg: 14 >>>> Max: >>>> >>>> 2895 >>>> >>>> T: 2 ( 1533) P:80 I:125 C: 240000 Min: 3 Act: 10 Avg: 12 >>>> Max: >>>> >>>> 2888 >>>> >>>> T: 3 ( 1534) P:80 I:125 C: 240000 Min: 1 Act: 16 Avg: 13 >>>> Max: >>>> >>>> 1333 >>>> >>>> T: 4 ( 1535) P:80 I:125 C: 240000 Min: 2 Act: 20 Avg: 14 >>>> Max: >>>> >>>> 2962 >>>> >>>> T: 5 ( 1536) P:80 I:125 C: 240000 Min: 1 Act: 12 Avg: 14 >>>> Max: >>>> >>>> 2946 >>>> >>>> T: 6 ( 1537) P:80 I:125 C: 240000 Min: 2 Act: 10 Avg: 13 >>>> Max: >>>> >>>> 1363 >>>> >>>> T: 7 ( 1538) P:80 I:125 C: 240000 Min: 2 Act: 12 Avg: 13 >>>> Max: >>>> >>>> 1344 >>>> >>>> T: 8 ( 1539) P:80 I:125 C: 240000 Min: 3 Act: 12 Avg: 16 >>>> Max: >>>> >>>> 1408 >>>> >>>> T: 9 ( 1540) P:80 I:125 C: 240000 Min: 1 Act: 8 Avg: 13 >>>> Max: >>>> >>>> 2882 >>>> >>>> T:10 ( 1541) P:80 I:125 C: 239974 Min: 2 Act: 12 Avg: 13 >>>> Max: >>>> >>>> 2908 >>>> >>>> >>>> >>>> >>>> >>>> On Mon, Apr 6, 2015 at 11:15 AM, Errol Samuels < >>>> ewsamuels at gmail.com> >>>> >>>> wrote: >>>> >>>>> >>>> >>>>> Good job and Thanks for sharing! >>>> >>>>> >>>> >>>>>> KVM at digitalocean.com, Debian 7 64bit, FreeSWITCH 1.4.15: bad >>>> >>>>>> precision >>>> >>>>> >>>> >>>>> >>>> >>>>> As someone who has been using KVM for a few years and has just >>>> migrated >>>> >>>>> about 20 VMs across to Digital Ocean about 6 weeks ago I admit I >>>> am a little >>>> >>>>> concerned about this finding. >>>> >>>>> >>>> >>>>> Just out of curiosity can you tell me the specs of the VM that you >>>> >>>>> tested with and which DO Datacenter? I am using NYC3 so perhaps >>>> and I will >>>> >>>>> do some tests as soon as I have some time. >>>> >>>>> >>>> >>>>> With regards to Xen was this at Linode or inhouse? >>>> >>>>> >>>> >>>>> Thanks >>>> >>>>> >>>> >>>>> Errol >>>> >>>>> >>>> >>>>> >>>> >>>>> >>>> >>>>> On Sun, Apr 5, 2015 at 1:37 AM, Stanislav Sinyagin >>>> >>>>> wrote: >>>> >>>>>> >>>> >>>>>> here we go: >>>> >>>>>> >>>> >>>>>> >>>> https://txlab.wordpress.com/2015/04/05/testing-rtp-clock-precision-on-a-virtual-machine/ >>>> >>>>>> >>>> >>>>>> >>>> >>>>>> >>>> >>>>>> On Sat, Apr 4, 2015 at 4:26 PM, Stanislav Sinyagin >>>> >>>>>> wrote: >>>> >>>>>> > On Sat, Apr 4, 2015 at 1:03 PM, Regis M >>>> >>>>>> > wrote: >>>> >>>>>> >> How do you check wavs together in audacity ? >>>> >>>>>> > >>>> >>>>>> > you just open two WAV files, align their starting position, and >>>> >>>>>> > visually check the waves. If there's a problem, you would see >>>> that >>>> >>>>>> > after few seconds, the waves are not aligned any more. >>>> >>>>>> > >>>> >>>>>> >> Can you send me 2 samples wav (send... and recorded) so I >>>> could see >>>> >>>>>> >> the 20ms >>>> >>>>>> >> diff that you exposed... >>>> >>>>>> >> >>>> >>>>>> >> Is there a way to automate the result checking, so it could >>>> help to >>>> >>>>>> >> monitor >>>> >>>>>> >> itsp quality >>>> >>>>>> > >>>> >>>>>> > Here >>>> >>>>>> > https://github.com/openpreserve/scape-xcorrsound/issues/17 >>>> >>>>>> > this is a link to a tool which compares two sound files at the >>>> wave >>>> >>>>>> > level. You can also see the sound samples in the ticket. >>>> >>>>>> > The problem is, that currently this tool does not detect such >>>> >>>>>> > slipping frames. >>>> >>>>>> > >>>> >>>>>> > I will also write a detailed article with examples, during the >>>> >>>>>> > weekend. >>>> >>>>>> > >>>> >>>>>> > >>>> >>>>>> > >>>> >>>>>> > >>>> >>>>>> > >>>> >>>>>> >> >>>> >>>>>> >> >>>> >>>>>> >> 2015-04-04 12:53 GMT+02:00 Stanislav Sinyagin >>>> >>>>>> >> : >>>> >>>>>> >>> >>>> >>>>>> >>> Important is to send the media through two independent >>>> carriers - >>>> >>>>>> >>> then you >>>> >>>>>> >>> can be sure that your clock is compared against a high >>>> quality >>>> >>>>>> >>> one. >>>> >>>>>> >>> >>>> >>>>>> >>> On Apr 4, 2015 12:46 PM, "Regis M" >>>> >>>>>> >>> >>>> >>>>>> >>> wrote: >>>> >>>>>> >>>> >>>> >>>>>> >>>> Hi, >>>> >>>>>> >>>> >>>> >>>>>> >>>> It's a very interresting test and conclusion. >>>> >>>>>> >>>> >>>> >>>>>> >>>> I will try to build a similar environnement on my >>>> freeswitch to >>>> >>>>>> >>>> check >>>> >>>>>> >>>> some system :) >>>> >>>>>> >>>> >>>> >>>>>> >>>> thanks >>>> >>>>>> >>>> >>>> >>>>>> >>>> >>>> >>>>>> >>>> >>>> >>>>>> >>>> 2015-04-04 2:16 GMT+02:00 Stanislav Sinyagin >>>> >>>>>> >>>> : >>>> >>>>>> >>>>> >>>> >>>>>> >>>>> hi, >>>> >>>>>> >>>>> >>>> >>>>>> >>>>> Here are some test results which might be interesting: >>>> >>>>>> >>>>> >>>> >>>>>> >>>>> I've set up a test FreeSWITCH server at digitalocean (they >>>> use >>>> >>>>>> >>>>> KVM), >>>> >>>>>> >>>>> and originated test calls to some ITSP accounts. Each call >>>> >>>>>> >>>>> played a >>>> >>>>>> >>>>> test sound file (voice samples from ITU: >>>> >>>>>> >>>>> >>>> >>>>>> >>>>> >>>> http://www.itu.int/net/itu-t/sigdb/genaudio/AudioForm-g.aspx?val=1000050 >>>> >>>>>> >>>>> ), and on the receiving end another FreeSWITCH server was >>>> >>>>>> >>>>> recording >>>> >>>>>> >>>>> the received session. The receiving server was on a XEN >>>> VM. Both >>>> >>>>>> >>>>> servers talked G711 to their corresponding ITSP accounts. >>>> >>>>>> >>>>> >>>> >>>>>> >>>>> Then I compared the source audio and received audio in >>>> Audacity >>>> >>>>>> >>>>> editor. >>>> >>>>>> >>>>> >>>> >>>>>> >>>>> The tests showed that the received voice wave shifts 20ms >>>> from >>>> >>>>>> >>>>> the >>>> >>>>>> >>>>> original sound every few seconds, randomly back and >>>> forward. >>>> >>>>>> >>>>> This >>>> >>>>>> >>>>> skewing was always present, regardless of ITSP and time of >>>> day. >>>> >>>>>> >>>>> >>>> >>>>>> >>>>> Then I moved the sending server to a XEN VM, and the waves >>>> >>>>>> >>>>> appeared >>>> >>>>>> >>>>> almost perfectly synchronized (there was a 5ms skew in one >>>> test, >>>> >>>>>> >>>>> and I >>>> >>>>>> >>>>> guess it's related to transcoding buffer, as the sound was >>>> >>>>>> >>>>> obviously >>>> >>>>>> >>>>> transcoded). >>>> >>>>>> >>>>> >>>> >>>>>> >>>>> The effect was always visible with a 30-second sample, and >>>> I >>>> >>>>>> >>>>> also made >>>> >>>>>> >>>>> additional tests with 2-minute samples. >>>> >>>>>> >>>>> >>>> >>>>>> >>>>> It would also be interesting to test this from a VmWare >>>> VM. If >>>> >>>>>> >>>>> someone >>>> >>>>>> >>>>> wants to run such a test, feel free to contact me directly. >>>> >>>>>> >>>>> >>>> >>>>>> >>>>> >>>> >>>>>> >>>>> cheers, >>>> >>>>>> >>>>> stan >>>> >>>>>> >>>>> >>>> >>>>>> >>>>> >>>> >>>>>> >>>>> >>>> >>>>>> >>>>> >>>> _________________________________________________________________________ >>>> >>>>>> >>>>> Professional FreeSWITCH Consulting Services: >>>> >>>>>> >>>>> consulting at freeswitch.org >>>> >>>>>> >>>>> http://www.freeswitchsolutions.com >>>> >>>>>> >>>>> >>>> >>>>>> >>>>> Official FreeSWITCH Sites >>>> >>>>>> >>>>> http://www.freeswitch.org >>>> >>>>>> >>>>> http://confluence.freeswitch.org >>>> >>>>>> >>>>> http://www.cluecon.com >>>> >>>>>> >>>>> >>>> >>>>>> >>>>> FreeSWITCH-users mailing list >>>> >>>>>> >>>>> FreeSWITCH-users at lists.freeswitch.org >>>> >>>>>> >>>>> >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> >>>>>> >>>>> >>>> >>>>>> >>>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> >>>>>> >>>>> http://www.freeswitch.org >>>> >>>>>> >>>> >>>> >>>>>> >>>> >>>> >>>>>> >>>> >>>> >>>>>> >>>> >>>> >>>>>> >>>> >>>> _________________________________________________________________________ >>>> >>>>>> >>>> Professional FreeSWITCH Consulting Services: >>>> >>>>>> >>>> consulting at freeswitch.org >>>> >>>>>> >>>> http://www.freeswitchsolutions.com >>>> >>>>>> >>>> >>>> >>>>>> >>>> Official FreeSWITCH Sites >>>> >>>>>> >>>> http://www.freeswitch.org >>>> >>>>>> >>>> http://confluence.freeswitch.org >>>> >>>>>> >>>> http://www.cluecon.com >>>> >>>>>> >>>> >>>> >>>>>> >>>> FreeSWITCH-users mailing list >>>> >>>>>> >>>> FreeSWITCH-users at lists.freeswitch.org >>>> >>>>>> >>>> >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> >>>>>> >>>> >>>> >>>>>> >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> >>>>>> >>>> http://www.freeswitch.org >>>> >>>>>> >>> >>>> >>>>>> >>> >>>> >>>>>> >>> >>>> >>>>>> >>> >>>> _________________________________________________________________________ >>>> >>>>>> >>> Professional FreeSWITCH Consulting Services: >>>> >>>>>> >>> consulting at freeswitch.org >>>> >>>>>> >>> http://www.freeswitchsolutions.com >>>> >>>>>> >>> >>>> >>>>>> >>> Official FreeSWITCH Sites >>>> >>>>>> >>> http://www.freeswitch.org >>>> >>>>>> >>> http://confluence.freeswitch.org >>>> >>>>>> >>> http://www.cluecon.com >>>> >>>>>> >>> >>>> >>>>>> >>> FreeSWITCH-users mailing list >>>> >>>>>> >>> FreeSWITCH-users at lists.freeswitch.org >>>> >>>>>> >>> >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> >>>>>> >>> >>>> >>>>>> >>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> >>>>>> >>> http://www.freeswitch.org >>>> >>>>>> >> >>>> >>>>>> >> >>>> >>>>>> >> >>>> >>>>>> >> >>>> >>>>>> >> >>>> _________________________________________________________________________ >>>> >>>>>> >> Professional FreeSWITCH Consulting Services: >>>> >>>>>> >> consulting at freeswitch.org >>>> >>>>>> >> http://www.freeswitchsolutions.com >>>> >>>>>> >> >>>> >>>>>> >> Official FreeSWITCH Sites >>>> >>>>>> >> http://www.freeswitch.org >>>> >>>>>> >> http://confluence.freeswitch.org >>>> >>>>>> >> http://www.cluecon.com >>>> >>>>>> >> >>>> >>>>>> >> FreeSWITCH-users mailing list >>>> >>>>>> >> FreeSWITCH-users at lists.freeswitch.org >>>> >>>>>> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> >>>>>> >> >>>> >>>>>> >> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> >>>>>> >> http://www.freeswitch.org >>>> >>>>>> >>>> >>>>>> >>>> >>>>>> >>>> _________________________________________________________________________ >>>> >>>>>> Professional FreeSWITCH Consulting Services: >>>> >>>>>> consulting at freeswitch.org >>>> >>>>>> http://www.freeswitchsolutions.com >>>> >>>>>> >>>> >>>>>> Official FreeSWITCH Sites >>>> >>>>>> http://www.freeswitch.org >>>> >>>>>> http://confluence.freeswitch.org >>>> >>>>>> http://www.cluecon.com >>>> >>>>>> >>>> >>>>>> FreeSWITCH-users mailing list >>>> >>>>>> FreeSWITCH-users at lists.freeswitch.org >>>> >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> >>>>>> >>>> >>>>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> >>>>>> http://www.freeswitch.org >>>> >>>>> >>>> >>>>> >>>> >>>>> >>>> >>>>> >>>> >>>>> >>>> _________________________________________________________________________ >>>> >>>>> Professional FreeSWITCH Consulting Services: >>>> >>>>> consulting at freeswitch.org >>>> >>>>> http://www.freeswitchsolutions.com >>>> >>>>> >>>> >>>>> Official FreeSWITCH Sites >>>> >>>>> http://www.freeswitch.org >>>> >>>>> http://confluence.freeswitch.org >>>> >>>>> http://www.cluecon.com >>>> >>>>> >>>> >>>>> FreeSWITCH-users mailing list >>>> >>>>> FreeSWITCH-users at lists.freeswitch.org >>>> >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> >>>>> >>>> >>>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> >>>>> http://www.freeswitch.org >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> >>>> Professional FreeSWITCH Consulting Services: >>>> >>>> consulting at freeswitch.org >>>> >>>> http://www.freeswitchsolutions.com >>>> >>>> >>>> >>>> Official FreeSWITCH Sites >>>> >>>> http://www.freeswitch.org >>>> >>>> http://confluence.freeswitch.org >>>> >>>> http://www.cluecon.com >>>> >>>> >>>> >>>> FreeSWITCH-users mailing list >>>> >>>> FreeSWITCH-users at lists.freeswitch.org >>>> >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> >>>> http://www.freeswitch.org >>>> >>> >>>> >>> >>>> >>> >>>> >>> >>>> _________________________________________________________________________ >>>> >>> Professional FreeSWITCH Consulting Services: >>>> >>> consulting at freeswitch.org >>>> >>> http://www.freeswitchsolutions.com >>>> >>> >>>> >>> Official FreeSWITCH Sites >>>> >>> http://www.freeswitch.org >>>> >>> http://confluence.freeswitch.org >>>> >>> http://www.cluecon.com >>>> >>> >>>> >>> FreeSWITCH-users mailing list >>>> >>> FreeSWITCH-users at lists.freeswitch.org >>>> >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> >>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> >>> http://www.freeswitch.org >>>> >> >>>> >> >>>> >> >>>> _________________________________________________________________________ >>>> >> Professional FreeSWITCH Consulting Services: >>>> >> consulting at freeswitch.org >>>> >> http://www.freeswitchsolutions.com >>>> >> >>>> >> Official FreeSWITCH Sites >>>> >> http://www.freeswitch.org >>>> >> http://confluence.freeswitch.org >>>> >> http://www.cluecon.com >>>> >> >>>> >> FreeSWITCH-users mailing list >>>> >> FreeSWITCH-users at lists.freeswitch.org >>>> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> >> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> >> http://www.freeswitch.org >>>> > >>>> > >>>> > >>>> > >>>> > -- >>>> > Anthony Minessale II ? @anthmfs ? @FreeSWITCH ? >>>> > >>>> > ? http://freeswitch.org/ ? http://cluecon.com/ ? >>>> > http://twitter.com/FreeSWITCH >>>> > ? irc.freenode.net #freeswitch ? http://freeswitch.org/g+ >>>> > >>>> > ClueCon Weekly Development Call >>>> > ? sip:888 at conference.freeswitch.org ? +19193869900 >>>> > >>>> > https://www.youtube.com/watch?v=9XXgW34t40s >>>> > >>>> > >>>> _________________________________________________________________________ >>>> > Professional FreeSWITCH Consulting Services: >>>> > consulting at freeswitch.org >>>> > http://www.freeswitchsolutions.com >>>> > >>>> > Official FreeSWITCH Sites >>>> > http://www.freeswitch.org >>>> > http://confluence.freeswitch.org >>>> > http://www.cluecon.com >>>> > >>>> > FreeSWITCH-users mailing list >>>> > FreeSWITCH-users at lists.freeswitch.org >>>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> > UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> > http://www.freeswitch.org >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> >>> -- >>> >>> *Brian West* >>> brian at freeswitch.org >>> >>> >>> *Twitter: @FreeSWITCH , @briankwest* >>> http://www.freeswitchbook.com >>> http://www.freeswitchcookbook.com >>> >>> ClueCon 2015 Call for Speakers >>> | Register >>> TODAY! | Reddit: /r/freeswitch >>> >>> >>> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) >>> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150406/74e7f419/attachment-0001.html From dvl36.ripe.nick at gmail.com Tue Apr 7 06:38:45 2015 From: dvl36.ripe.nick at gmail.com (Dmitry Lysenko) Date: Tue, 7 Apr 2015 05:38:45 +0300 Subject: [Freeswitch-users] KVM vs. XEN virtualization In-Reply-To: References: Message-ID: Sergey, Why you suggest to use exactly this numbers in cyclictest's switches? And how in your opinion this numbers are related to Freeswitch in VM environment? P.S. https://mindlinux.wordpress.com/2013/10/25/using-and-understanding-the-real-time-cyclictest-benchmark-frank-rowand-sony/ 2015-04-06 15:27 GMT+03:00 Sergey Safarov : > Errol can you test VM timer with utility > https://rt.wiki.kernel.org/index.php/Cyclictest > > My VM currently have folowing results > > [root at fs1 ~]# date && /tmp/rt-tests/cyclictest -t42 -p 80 -d 0 -n -i 125 -l 240000 && date > Sun Apr 5 07:01:31 GMT 2015 > # /dev/cpu_dma_latency set to 0us > policy: fifo: loadavg: 2.38 0.93 0.50 1/194 1574 > > T: 0 ( 1531) P:80 I:125 C: 240000 Min: 2 Act: 12 Avg: 16 Max: 1302 > T: 1 ( 1532) P:80 I:125 C: 240000 Min: 2 Act: 15 Avg: 14 Max: 2895 > T: 2 ( 1533) P:80 I:125 C: 240000 Min: 3 Act: 10 Avg: 12 Max: 2888 > T: 3 ( 1534) P:80 I:125 C: 240000 Min: 1 Act: 16 Avg: 13 Max: 1333 > T: 4 ( 1535) P:80 I:125 C: 240000 Min: 2 Act: 20 Avg: 14 Max: 2962 > T: 5 ( 1536) P:80 I:125 C: 240000 Min: 1 Act: 12 Avg: 14 Max: 2946 > T: 6 ( 1537) P:80 I:125 C: 240000 Min: 2 Act: 10 Avg: 13 Max: 1363 > T: 7 ( 1538) P:80 I:125 C: 240000 Min: 2 Act: 12 Avg: 13 Max: 1344 > T: 8 ( 1539) P:80 I:125 C: 240000 Min: 3 Act: 12 Avg: 16 Max: 1408 > T: 9 ( 1540) P:80 I:125 C: 240000 Min: 1 Act: 8 Avg: 13 Max: 2882 > T:10 ( 1541) P:80 I:125 C: 239974 Min: 2 Act: 12 Avg: 13 Max: 2908 > > > On Mon, Apr 6, 2015 at 11:15 AM, Errol Samuels > wrote: > >> Good job and Thanks for sharing! >> >> KVM at digitalocean.com, Debian 7 64bit, FreeSWITCH 1.4.15: bad precision >> >> >> As someone who has been using KVM for a few years and has just migrated >> about 20 VMs across to Digital Ocean about 6 weeks ago I admit I am a >> little concerned about this finding. >> >> Just out of curiosity can you tell me the specs of the VM that you tested >> with and which DO Datacenter? I am using NYC3 so perhaps and I will do >> some tests as soon as I have some time. >> >> With regards to Xen was this at Linode or inhouse? >> >> Thanks >> >> Errol >> >> >> >> On Sun, Apr 5, 2015 at 1:37 AM, Stanislav Sinyagin >> wrote: >> >>> here we go: >>> >>> https://txlab.wordpress.com/2015/04/05/testing-rtp-clock-precision-on-a-virtual-machine/ >>> >>> >>> >>> On Sat, Apr 4, 2015 at 4:26 PM, Stanislav Sinyagin >>> wrote: >>> > On Sat, Apr 4, 2015 at 1:03 PM, Regis M < >>> regis.freeswitch.org at tornad.net> wrote: >>> >> How do you check wavs together in audacity ? >>> > >>> > you just open two WAV files, align their starting position, and >>> > visually check the waves. If there's a problem, you would see that >>> > after few seconds, the waves are not aligned any more. >>> > >>> >> Can you send me 2 samples wav (send... and recorded) so I could see >>> the 20ms >>> >> diff that you exposed... >>> >> >>> >> Is there a way to automate the result checking, so it could help to >>> monitor >>> >> itsp quality >>> > >>> > Here >>> > https://github.com/openpreserve/scape-xcorrsound/issues/17 >>> > this is a link to a tool which compares two sound files at the wave >>> > level. You can also see the sound samples in the ticket. >>> > The problem is, that currently this tool does not detect such slipping >>> frames. >>> > >>> > I will also write a detailed article with examples, during the weekend. >>> > >>> > >>> > >>> > >>> > >>> >> >>> >> >>> >> 2015-04-04 12:53 GMT+02:00 Stanislav Sinyagin : >>> >>> >>> >>> Important is to send the media through two independent carriers - >>> then you >>> >>> can be sure that your clock is compared against a high quality one. >>> >>> >>> >>> On Apr 4, 2015 12:46 PM, "Regis M" >>> >>> wrote: >>> >>>> >>> >>>> Hi, >>> >>>> >>> >>>> It's a very interresting test and conclusion. >>> >>>> >>> >>>> I will try to build a similar environnement on my freeswitch to >>> check >>> >>>> some system :) >>> >>>> >>> >>>> thanks >>> >>>> >>> >>>> >>> >>>> >>> >>>> 2015-04-04 2:16 GMT+02:00 Stanislav Sinyagin : >>> >>>>> >>> >>>>> hi, >>> >>>>> >>> >>>>> Here are some test results which might be interesting: >>> >>>>> >>> >>>>> I've set up a test FreeSWITCH server at digitalocean (they use >>> KVM), >>> >>>>> and originated test calls to some ITSP accounts. Each call played a >>> >>>>> test sound file (voice samples from ITU: >>> >>>>> >>> http://www.itu.int/net/itu-t/sigdb/genaudio/AudioForm-g.aspx?val=1000050 >>> >>>>> ), and on the receiving end another FreeSWITCH server was recording >>> >>>>> the received session. The receiving server was on a XEN VM. Both >>> >>>>> servers talked G711 to their corresponding ITSP accounts. >>> >>>>> >>> >>>>> Then I compared the source audio and received audio in Audacity >>> editor. >>> >>>>> >>> >>>>> The tests showed that the received voice wave shifts 20ms from the >>> >>>>> original sound every few seconds, randomly back and forward. This >>> >>>>> skewing was always present, regardless of ITSP and time of day. >>> >>>>> >>> >>>>> Then I moved the sending server to a XEN VM, and the waves appeared >>> >>>>> almost perfectly synchronized (there was a 5ms skew in one test, >>> and I >>> >>>>> guess it's related to transcoding buffer, as the sound was >>> obviously >>> >>>>> transcoded). >>> >>>>> >>> >>>>> The effect was always visible with a 30-second sample, and I also >>> made >>> >>>>> additional tests with 2-minute samples. >>> >>>>> >>> >>>>> It would also be interesting to test this from a VmWare VM. If >>> someone >>> >>>>> wants to run such a test, feel free to contact me directly. >>> >>>>> >>> >>>>> >>> >>>>> cheers, >>> >>>>> stan >>> >>>>> >>> >>>>> >>> >>>>> >>> _________________________________________________________________________ >>> >>>>> Professional FreeSWITCH Consulting Services: >>> >>>>> consulting at freeswitch.org >>> >>>>> http://www.freeswitchsolutions.com >>> >>>>> >>> >>>>> Official FreeSWITCH Sites >>> >>>>> http://www.freeswitch.org >>> >>>>> http://confluence.freeswitch.org >>> >>>>> http://www.cluecon.com >>> >>>>> >>> >>>>> FreeSWITCH-users mailing list >>> >>>>> FreeSWITCH-users at lists.freeswitch.org >>> >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> >>>>> UNSUBSCRIBE: >>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>> >>>>> http://www.freeswitch.org >>> >>>> >>> >>>> >>> >>>> >>> >>>> >>> _________________________________________________________________________ >>> >>>> Professional FreeSWITCH Consulting Services: >>> >>>> consulting at freeswitch.org >>> >>>> http://www.freeswitchsolutions.com >>> >>>> >>> >>>> Official FreeSWITCH Sites >>> >>>> http://www.freeswitch.org >>> >>>> http://confluence.freeswitch.org >>> >>>> http://www.cluecon.com >>> >>>> >>> >>>> FreeSWITCH-users mailing list >>> >>>> FreeSWITCH-users at lists.freeswitch.org >>> >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> >>>> UNSUBSCRIBE: >>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>> >>>> http://www.freeswitch.org >>> >>> >>> >>> >>> >>> >>> _________________________________________________________________________ >>> >>> Professional FreeSWITCH Consulting Services: >>> >>> consulting at freeswitch.org >>> >>> http://www.freeswitchsolutions.com >>> >>> >>> >>> Official FreeSWITCH Sites >>> >>> http://www.freeswitch.org >>> >>> http://confluence.freeswitch.org >>> >>> http://www.cluecon.com >>> >>> >>> >>> FreeSWITCH-users mailing list >>> >>> FreeSWITCH-users at lists.freeswitch.org >>> >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> >>> UNSUBSCRIBE: >>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>> >>> http://www.freeswitch.org >>> >> >>> >> >>> >> >>> >> >>> _________________________________________________________________________ >>> >> Professional FreeSWITCH Consulting Services: >>> >> consulting at freeswitch.org >>> >> http://www.freeswitchsolutions.com >>> >> >>> >> Official FreeSWITCH Sites >>> >> http://www.freeswitch.org >>> >> http://confluence.freeswitch.org >>> >> http://www.cluecon.com >>> >> >>> >> FreeSWITCH-users mailing list >>> >> FreeSWITCH-users at lists.freeswitch.org >>> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> >> UNSUBSCRIBE: >>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>> >> http://www.freeswitch.org >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150407/9470d6bf/attachment-0001.html From paul.atreides83 at googlemail.com Tue Apr 7 11:07:13 2015 From: paul.atreides83 at googlemail.com (Paul Atreides) Date: Tue, 7 Apr 2015 09:07:13 +0200 Subject: [Freeswitch-users] Early Dial / Sip 484 In-Reply-To: References: Message-ID: How can I prevent that the phone keeps flooding freeswitch with request that are not in the dialplan? For example my extensions have 2 digits. Special functions have 3 digits. PSTN starts with a zero. For example when I enter 123456 then then phone keeps sending requests and freeswitch is kept busy. Is Early Dial such an unusual functions for SIP? For me it seems much more natural to have it then without it. On Fri, Mar 6, 2015 at 10:21 PM, Brian West wrote: > You can do this at the very bottom of your context, so if nothing matches > yet it'll 484 till something else further up does. I've not tested this in > a while but I recall this being how I set it up. > > > > > > > On Fri, Mar 6, 2015 at 9:43 AM, Steven Ayre wrote: > >> Early dial attempts a new SIP call each time you enter a digit. Respond >> ends the 'call' for each digit. 484 tells your phone that there isn't >> enough digits yet so you can continue entering digits rather than >> displaying an error and ending the call. >> >> You need to conditionally return 484 until you know you have sufficient >> digits to bridge the call to the operator. For example to return 484 until >> you have at least 10 digits: >> >> >> >> > data="sofia/gateway/operator/${destination_number}"/> >> >> >> >> >> On 6 March 2015 at 13:43, Paul Atreides >> wrote: >> >>> >>> I put it at the bottom of the dial plan but it seems that the freeswitch >>> is not waiting long enough for >>> me to enter the numbers. I get send right away to the operator. Is there >>> any condition I have >>> to check so that I know the dialing has finished? >>> >>> >>> On Sun, Mar 1, 2015 at 4:07 PM, Brian West wrote: >>> >>>> Yes, just use the respond app at the bottom of your dial plan with 484 >>>> as the argument >>>> >>>> >>>> On Sunday, March 1, 2015, Paul Atreides >>>> wrote: >>>> >>>>> Hi, >>>>> >>>>> does Freeswitch support Early Dial ( Sip 484 ? ), if yes how do i set >>>>> it up in the dialplan? >>>>> >>>>> Thanks >>>>> >>>> >>>> >>>> -- >>>> >>>> *Brian West* >>>> brian at freeswitch.org >>>> >>>> >>>> *Twitter: @FreeSWITCH , @briankwest* >>>> http://www.freeswitchbook.com >>>> http://www.freeswitchcookbook.com >>>> >>>> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) >>>> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > > *Brian West* > brian at freeswitch.org > > > *Twitter: @FreeSWITCH , @briankwest* > http://www.freeswitchbook.com > http://www.freeswitchcookbook.com > > *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) > *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150407/bb8c951f/attachment.html From zvi at lexifone.com Tue Apr 7 11:28:49 2015 From: zvi at lexifone.com (Zvi Agmon) Date: Tue, 7 Apr 2015 10:28:49 +0300 Subject: [Freeswitch-users] Upgrade Freeswitch to v1.4 stable version In-Reply-To: References: Message-ID: Thank you all, I prefer to use git so I will get v1.4 Thanks Zvi Agmon Best regards Zvi Agmon Lexifone email: zvi at lexifone.com Office: +972-4-6817711 Cell: +972-54-4505109 On Mon, Apr 6, 2015 at 5:04 PM, ?talo Rossi wrote: > Zvi, > > Just v1.4. > > On Mon, Apr 6, 2015 at 10:48 AM, Zvi Agmon wrote: > >> >> Stanislav , thanks for the quick response! >> >> I want to build from sources but can't get v1.4.stable - is that does not >> exist any more? >> And if not - what should I checkout, just v1.4? >> >> Thanks >> >> Zvi Agmon >> >> >> Best regards >> >> Zvi Agmon >> Lexifone >> email: zvi at lexifone.com >> Office: +972-4-6817711 >> Cell: +972-54-4505109 >> >> On Mon, Apr 6, 2015 at 4:24 PM, Stanislav Sinyagin >> wrote: >> >>> 1.2 configuration should work in 1.4 without any troubles. If you >>> install from sources, you can simply delete and re-install the target >>> directory, and then roll out the old configuration. >>> >>> If upgrading from binary packages, it should work with just "apt-get >>> upgrade" or "yum update" >>> >>> On Mon, Apr 6, 2015 at 12:55 PM, Zvi Agmon wrote: >>> > Hello, >>> > >>> > I'm trying to figure out what is the correct and best way to upgrade a >>> > server running Freeswitch v1.2 to v1.4 stable. >>> > I could not find any clear documentation - can you please help? >>> > >>> > >>> > Thanks a lot >>> > >>> > Zvi Agmon >>> > Lexifone >>> > email: zvi at lexifone.com >>> > Office: +972-4-6817711 >>> > Cell: +972-54-4505109 >>> > >>> > >>> _________________________________________________________________________ >>> > Professional FreeSWITCH Consulting Services: >>> > consulting at freeswitch.org >>> > http://www.freeswitchsolutions.com >>> > >>> > Official FreeSWITCH Sites >>> > http://www.freeswitch.org >>> > http://confluence.freeswitch.org >>> > http://www.cluecon.com >>> > >>> > FreeSWITCH-users mailing list >>> > FreeSWITCH-users at lists.freeswitch.org >>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> > UNSUBSCRIBE: >>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>> > http://www.freeswitch.org >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > ?talo Rossi > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150407/84317cfd/attachment-0001.html From s.safarov at gmail.com Tue Apr 7 11:48:19 2015 From: s.safarov at gmail.com (Sergey Safarov) Date: Tue, 7 Apr 2015 10:48:19 +0300 Subject: [Freeswitch-users] KVM vs. XEN virtualization In-Reply-To: References: Message-ID: Why you suggest to use exactly this numbers in cyclictest's switches? Switches description 1) t42 - how many create threads. I use 42 because FS on my VM create t42 threads. [root at fs1 dialplan]# ps auxww |grep freeswit freeswi+ 20425 1.7 3.5 1300368 66432 ? SNsl Apr06 11:13 /usr/bin/freeswitch -ncwait root 24474 0.0 0.0 112640 964 pts/2 S+ 07:05 0:00 grep --color=auto freeswit [root at fs1 dialplan]# ps huH p 20425 freeswi+ 20425 0.0 3.6 1300368 67864 ? SNsl Apr06 0:02 /usr/bin/freeswitch -ncwait freeswi+ 20425 0.0 3.6 1300368 67864 ? SNsl Apr06 0:01 /usr/bin/freeswitch -ncwait freeswi+ 20425 0.1 3.6 1300368 67864 ? SNsl Apr06 1:03 /usr/bin/freeswitch -ncwait freeswi+ 20425 0.0 3.6 1300368 67864 ? SNsl Apr06 0:04 /usr/bin/freeswitch -ncwait 2) i 125 - time us between software timer interrupts for first thread. It time is equal time between samples rate in PSTN networks In order to maintain our sampling rate we have 125 microseconds (uS) between consecutive samples (1/8,000Hz), which is more than enough time to transmit the eight bits of information. Multiple samples can then be sent consecutively, each belonging to a different stream. This is called *Time Division Multiplexing (TDM)*. Twenty-four such samples can be smashed together to give the next building block of digital telephony, called the *DS1*, otherwise known as a *T1*. Each DS1 frame consists of a single framing bit followed by 24 DS0 samples, for a total of 193 bits per frame. At 8,000 frames per second, we get the familiar 1.544Mbit/S for a T1. In Europe they use 32 DS0s and call it an *E1*. http://archive.oreilly.com/etel/2006/02/07/telecom-terms-and-concepts.html 3) d 0 - this switch will make time between software timer interrupts for second and following threads is equal timer value for first thread 4) l 240000 - how many timer test must be made. It is adjusted for 30 s overall test 5) n - use clock_nanosleep. it is allow take more accurate timer test values on my VM 6) p 80 - it is copied from example on Cyclictest page And how in your opinion this numbers are related to Freeswitch in VM environment? Relation between Cyclictest switches and FS described above. Relation betwen Cyclictest results and FS simple Artifacts during a call is probably when Cyclictest max value is more half of ptime in SDP (my opinion). Used FS ptime you can see if execute grep -o "ptime:.*$" /var/log/freeswitch/freeswitch.log| sort | uniq -c P.S. Helpfull URLs - typical ptime values for different codecs http://www.bandcalc.com/ (select codec and ptime value will displayed in next field) - tool to analize RTP stream https://wiki.wireshark.org/RTP_statistics - where is located ptime value in SDP https://ask.wireshark.org/questions/36950/finding-the-packetization-interval-of-a-rtp-packet On Tue, Apr 7, 2015 at 5:38 AM, Dmitry Lysenko wrote: > Sergey, > Why you suggest to use exactly this numbers in cyclictest's switches? > And how in your opinion this numbers are related to Freeswitch in VM > environment? > > P.S. > https://mindlinux.wordpress.com/2013/10/25/using-and-understanding-the-real-time-cyclictest-benchmark-frank-rowand-sony/ > > 2015-04-06 15:27 GMT+03:00 Sergey Safarov : > >> Errol can you test VM timer with utility >> https://rt.wiki.kernel.org/index.php/Cyclictest >> >> My VM currently have folowing results >> >> [root at fs1 ~]# date && /tmp/rt-tests/cyclictest -t42 -p 80 -d 0 -n -i 125 -l 240000 && date >> Sun Apr 5 07:01:31 GMT 2015 >> # /dev/cpu_dma_latency set to 0us >> policy: fifo: loadavg: 2.38 0.93 0.50 1/194 1574 >> >> T: 0 ( 1531) P:80 I:125 C: 240000 Min: 2 Act: 12 Avg: 16 Max: 1302 >> T: 1 ( 1532) P:80 I:125 C: 240000 Min: 2 Act: 15 Avg: 14 Max: 2895 >> T: 2 ( 1533) P:80 I:125 C: 240000 Min: 3 Act: 10 Avg: 12 Max: 2888 >> T: 3 ( 1534) P:80 I:125 C: 240000 Min: 1 Act: 16 Avg: 13 Max: 1333 >> T: 4 ( 1535) P:80 I:125 C: 240000 Min: 2 Act: 20 Avg: 14 Max: 2962 >> T: 5 ( 1536) P:80 I:125 C: 240000 Min: 1 Act: 12 Avg: 14 Max: 2946 >> T: 6 ( 1537) P:80 I:125 C: 240000 Min: 2 Act: 10 Avg: 13 Max: 1363 >> T: 7 ( 1538) P:80 I:125 C: 240000 Min: 2 Act: 12 Avg: 13 Max: 1344 >> T: 8 ( 1539) P:80 I:125 C: 240000 Min: 3 Act: 12 Avg: 16 Max: 1408 >> T: 9 ( 1540) P:80 I:125 C: 240000 Min: 1 Act: 8 Avg: 13 Max: 2882 >> T:10 ( 1541) P:80 I:125 C: 239974 Min: 2 Act: 12 Avg: 13 Max: 2908 >> >> >> On Mon, Apr 6, 2015 at 11:15 AM, Errol Samuels >> wrote: >> >>> Good job and Thanks for sharing! >>> >>> KVM at digitalocean.com, Debian 7 64bit, FreeSWITCH 1.4.15: bad >>>> precision >>> >>> >>> As someone who has been using KVM for a few years and has just migrated >>> about 20 VMs across to Digital Ocean about 6 weeks ago I admit I am a >>> little concerned about this finding. >>> >>> Just out of curiosity can you tell me the specs of the VM that you >>> tested with and which DO Datacenter? I am using NYC3 so perhaps and I will >>> do some tests as soon as I have some time. >>> >>> With regards to Xen was this at Linode or inhouse? >>> >>> Thanks >>> >>> Errol >>> >>> >>> >>> On Sun, Apr 5, 2015 at 1:37 AM, Stanislav Sinyagin >>> wrote: >>> >>>> here we go: >>>> >>>> https://txlab.wordpress.com/2015/04/05/testing-rtp-clock-precision-on-a-virtual-machine/ >>>> >>>> >>>> >>>> On Sat, Apr 4, 2015 at 4:26 PM, Stanislav Sinyagin >>>> wrote: >>>> > On Sat, Apr 4, 2015 at 1:03 PM, Regis M < >>>> regis.freeswitch.org at tornad.net> wrote: >>>> >> How do you check wavs together in audacity ? >>>> > >>>> > you just open two WAV files, align their starting position, and >>>> > visually check the waves. If there's a problem, you would see that >>>> > after few seconds, the waves are not aligned any more. >>>> > >>>> >> Can you send me 2 samples wav (send... and recorded) so I could see >>>> the 20ms >>>> >> diff that you exposed... >>>> >> >>>> >> Is there a way to automate the result checking, so it could help to >>>> monitor >>>> >> itsp quality >>>> > >>>> > Here >>>> > https://github.com/openpreserve/scape-xcorrsound/issues/17 >>>> > this is a link to a tool which compares two sound files at the wave >>>> > level. You can also see the sound samples in the ticket. >>>> > The problem is, that currently this tool does not detect such >>>> slipping frames. >>>> > >>>> > I will also write a detailed article with examples, during the >>>> weekend. >>>> > >>>> > >>>> > >>>> > >>>> > >>>> >> >>>> >> >>>> >> 2015-04-04 12:53 GMT+02:00 Stanislav Sinyagin : >>>> >>> >>>> >>> Important is to send the media through two independent carriers - >>>> then you >>>> >>> can be sure that your clock is compared against a high quality one. >>>> >>> >>>> >>> On Apr 4, 2015 12:46 PM, "Regis M" >>> > >>>> >>> wrote: >>>> >>>> >>>> >>>> Hi, >>>> >>>> >>>> >>>> It's a very interresting test and conclusion. >>>> >>>> >>>> >>>> I will try to build a similar environnement on my freeswitch to >>>> check >>>> >>>> some system :) >>>> >>>> >>>> >>>> thanks >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> 2015-04-04 2:16 GMT+02:00 Stanislav Sinyagin >>> >: >>>> >>>>> >>>> >>>>> hi, >>>> >>>>> >>>> >>>>> Here are some test results which might be interesting: >>>> >>>>> >>>> >>>>> I've set up a test FreeSWITCH server at digitalocean (they use >>>> KVM), >>>> >>>>> and originated test calls to some ITSP accounts. Each call played >>>> a >>>> >>>>> test sound file (voice samples from ITU: >>>> >>>>> >>>> http://www.itu.int/net/itu-t/sigdb/genaudio/AudioForm-g.aspx?val=1000050 >>>> >>>>> ), and on the receiving end another FreeSWITCH server was >>>> recording >>>> >>>>> the received session. The receiving server was on a XEN VM. Both >>>> >>>>> servers talked G711 to their corresponding ITSP accounts. >>>> >>>>> >>>> >>>>> Then I compared the source audio and received audio in Audacity >>>> editor. >>>> >>>>> >>>> >>>>> The tests showed that the received voice wave shifts 20ms from the >>>> >>>>> original sound every few seconds, randomly back and forward. This >>>> >>>>> skewing was always present, regardless of ITSP and time of day. >>>> >>>>> >>>> >>>>> Then I moved the sending server to a XEN VM, and the waves >>>> appeared >>>> >>>>> almost perfectly synchronized (there was a 5ms skew in one test, >>>> and I >>>> >>>>> guess it's related to transcoding buffer, as the sound was >>>> obviously >>>> >>>>> transcoded). >>>> >>>>> >>>> >>>>> The effect was always visible with a 30-second sample, and I also >>>> made >>>> >>>>> additional tests with 2-minute samples. >>>> >>>>> >>>> >>>>> It would also be interesting to test this from a VmWare VM. If >>>> someone >>>> >>>>> wants to run such a test, feel free to contact me directly. >>>> >>>>> >>>> >>>>> >>>> >>>>> cheers, >>>> >>>>> stan >>>> >>>>> >>>> >>>>> >>>> >>>>> >>>> _________________________________________________________________________ >>>> >>>>> Professional FreeSWITCH Consulting Services: >>>> >>>>> consulting at freeswitch.org >>>> >>>>> http://www.freeswitchsolutions.com >>>> >>>>> >>>> >>>>> Official FreeSWITCH Sites >>>> >>>>> http://www.freeswitch.org >>>> >>>>> http://confluence.freeswitch.org >>>> >>>>> http://www.cluecon.com >>>> >>>>> >>>> >>>>> FreeSWITCH-users mailing list >>>> >>>>> FreeSWITCH-users at lists.freeswitch.org >>>> >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> >>>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> >>>>> http://www.freeswitch.org >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> >>>> Professional FreeSWITCH Consulting Services: >>>> >>>> consulting at freeswitch.org >>>> >>>> http://www.freeswitchsolutions.com >>>> >>>> >>>> >>>> Official FreeSWITCH Sites >>>> >>>> http://www.freeswitch.org >>>> >>>> http://confluence.freeswitch.org >>>> >>>> http://www.cluecon.com >>>> >>>> >>>> >>>> FreeSWITCH-users mailing list >>>> >>>> FreeSWITCH-users at lists.freeswitch.org >>>> >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> >>>> http://www.freeswitch.org >>>> >>> >>>> >>> >>>> >>> >>>> _________________________________________________________________________ >>>> >>> Professional FreeSWITCH Consulting Services: >>>> >>> consulting at freeswitch.org >>>> >>> http://www.freeswitchsolutions.com >>>> >>> >>>> >>> Official FreeSWITCH Sites >>>> >>> http://www.freeswitch.org >>>> >>> http://confluence.freeswitch.org >>>> >>> http://www.cluecon.com >>>> >>> >>>> >>> FreeSWITCH-users mailing list >>>> >>> FreeSWITCH-users at lists.freeswitch.org >>>> >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> >>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> >>> http://www.freeswitch.org >>>> >> >>>> >> >>>> >> >>>> >> >>>> _________________________________________________________________________ >>>> >> Professional FreeSWITCH Consulting Services: >>>> >> consulting at freeswitch.org >>>> >> http://www.freeswitchsolutions.com >>>> >> >>>> >> Official FreeSWITCH Sites >>>> >> http://www.freeswitch.org >>>> >> http://confluence.freeswitch.org >>>> >> http://www.cluecon.com >>>> >> >>>> >> FreeSWITCH-users mailing list >>>> >> FreeSWITCH-users at lists.freeswitch.org >>>> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> >> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> >> http://www.freeswitch.org >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150407/64232036/attachment-0001.html From ali.jibran44 at gmail.com Tue Apr 7 13:14:39 2015 From: ali.jibran44 at gmail.com (Ali Jibran) Date: Tue, 07 Apr 2015 09:14:39 +0000 Subject: [Freeswitch-users] Mod_callcenter Message-ID: I was wondering if there is any way to add queues and agents directly through database and bypass the Callcenter.conf altogether? I tried using ODBC in the core. So I have a MYSQL database for callcenter. I can add agents dynamically. Can I do that with queues somehow? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150407/672fb988/attachment.html From steveayre at gmail.com Tue Apr 7 13:57:23 2015 From: steveayre at gmail.com (Steven Ayre) Date: Tue, 7 Apr 2015 10:57:23 +0100 Subject: [Freeswitch-users] suggest best codecs to use with freeswitch for good voice quality ?? In-Reply-To: References: Message-ID: That's not necessarily the case - GSM is not the only codec used by mobile networks, there's others such as AMR On 4 April 2015 at 19:11, Russell Treleaven wrote: > Since one of the legs is GSM the best you can hope for is slightly worse > than GSM because you are transcoding. > > > On Sat, Apr 4, 2015 at 2:01 PM, Russell Treleaven > wrote: > >> for the freeswitch side >> >> >> for the asterisk side >> you will have to figure that out yourself. >> >> >> >> On Sat, Apr 4, 2015 at 12:40 PM, Shabbir abbasi < >> shabbirabbasi92 at gmail.com> wrote: >> >>> thank you for reply >>> it is freeswitch.conf >>> >> data="sound_prefix=$${sounds_dir}/en/us/callie"/> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >> value="$${global_codec_prefs}"/> >>> >> value="$${global_codec_prefs}"/> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> and here is asterisk sip.con >>> disallow=all >>> allow=ulaw >>> allow=alaw >>> >>> what i need to change ?? >>> >>> On Sat, Apr 4, 2015 at 9:13 PM, Russell Treleaven < >>> rtreleaven at bunnykick.ca> wrote: >>> >>>> probably the best you can do is limit the number of transcodings and/or >>>> resamplings >>>> >>>> skype uses silk >>>> freeswitch core uses L16 >>>> sip session uses >>>> asterisk core uses ? >>>> audio is presented to the dongle as ? >>>> cellular network uses gsm >>>> >>>> if ? = L16 then make the sip session use L16 >>>> use the loopback interface so that MTU is not an issue >>>> >>>> >>>> On Fri, Apr 3, 2015 at 2:50 PM, Shabbir abbasi < >>>> shabbirabbasi92 at gmail.com> wrote: >>>> >>>>> for this setup >>>>> skype --> freeswitch(mod_skypopen --> mod_sofia) ---> >>>>> asterisk(chan_sip --> chan_dongle[Huawei E169] ) on same machine >>>>> >>>>> suggest best codecs to use with freeswitch and asterisk for good >>>>> voice quality ?? >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150407/cf1e1a34/attachment.html From fernando at softov.com.br Tue Apr 7 14:00:19 2015 From: fernando at softov.com.br (Luiz Fernando Softov) Date: Tue, 7 Apr 2015 06:00:19 -0400 Subject: [Freeswitch-users] WebRTC + Chrome = RTP Socket Error! Message-ID: I'm testing WebRTC + Chrome Using http://sipjs.com When im using FireFox, its work fine, i can make and receive calls with audio and/or video But when i try to use chrome. The other extension rings, but when i answer the call I receive this error, and call hangup 2015-04-07 05:51:39.016628 [ERR] switch_core_media.c:5775 AUDIO RTP REPORTS ERROR: [Socket Error!] 2015-04-07 05:51:39.016628 [NOTICE] switch_core_media.c:5776 Hangup sofia/internal/1001 at 192.168.1.100 [CS_EXECUTE] [DESTINATION_OUT_OF_ORDER] Has anyone experienced the same problem? -- Luiz Fernando Softov http://www.softov.com.br fernando at softov.com.br -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150407/228fb522/attachment-0001.html From fs.user at fordior.net Tue Apr 7 14:07:12 2015 From: fs.user at fordior.net (EL) Date: Tue, 7 Apr 2015 12:07:12 +0200 Subject: [Freeswitch-users] KVM vs. XEN virtualization In-Reply-To: References: Message-ID: <20150407100711.GA20873@mail.marktcontact.com> On (06/04/15 04:55), Giovanni Maruzzelli wrote: > OpenVZ (and "containers", LXC, ertc) is the preferred method for > "virtualization" of FreeSWITCH. BTW: anyone who can share experience running FreeSWITCH inside a Docker container on a virtual (KVM) cloud server running debian stable/wheezy [a] or Jessie (which will be soon to new stable)? I believe Docker is using LXC, but I'm curious about Docker specific. I've seen several public Docker repositories on the Docker Hub (not to mention the possible private repositories): https://registry.hub.docker.com/search?q=freeswitch [a] Docker on Stable/Wheezy with wheezy-backports Kernel: https://docs.docker.com/installation/debian/#debian-wheezystable-7x-64-bit -- EL From steveayre at gmail.com Tue Apr 7 14:17:07 2015 From: steveayre at gmail.com (Steven Ayre) Date: Tue, 7 Apr 2015 11:17:07 +0100 Subject: [Freeswitch-users] Early Dial / Sip 484 In-Reply-To: References: Message-ID: If you return 484 it'll continue to try more digits. If you send another error such as 404 it won't. In your use case if the number dialled is longer than 3 digits and doesn't start with a zero then you could reject the call with 404 and should stop seeing extra digits. On 7 April 2015 at 08:07, Paul Atreides wrote: > How can I prevent that the phone keeps flooding freeswitch with request > that are not in the dialplan? > For example my extensions have 2 digits. Special functions have 3 digits. > PSTN starts with a zero. > For example when I enter 123456 then then phone keeps sending requests and > freeswitch is kept busy. > > Is Early Dial such an unusual functions for SIP? For me it seems much more > natural to have it then without it. > > On Fri, Mar 6, 2015 at 10:21 PM, Brian West wrote: > >> You can do this at the very bottom of your context, so if nothing matches >> yet it'll 484 till something else further up does. I've not tested this in >> a while but I recall this being how I set it up. >> >> >> >> >> >> >> On Fri, Mar 6, 2015 at 9:43 AM, Steven Ayre wrote: >> >>> Early dial attempts a new SIP call each time you enter a digit. Respond >>> ends the 'call' for each digit. 484 tells your phone that there isn't >>> enough digits yet so you can continue entering digits rather than >>> displaying an error and ending the call. >>> >>> You need to conditionally return 484 until you know you have sufficient >>> digits to bridge the call to the operator. For example to return 484 until >>> you have at least 10 digits: >>> >>> >>> >>> >> data="sofia/gateway/operator/${destination_number}"/> >>> >>> >>> >>> >>> On 6 March 2015 at 13:43, Paul Atreides >>> wrote: >>> >>>> >>>> I put it at the bottom of the dial plan but it seems that the >>>> freeswitch is not waiting long enough for >>>> me to enter the numbers. I get send right away to the operator. Is >>>> there any condition I have >>>> to check so that I know the dialing has finished? >>>> >>>> >>>> On Sun, Mar 1, 2015 at 4:07 PM, Brian West >>>> wrote: >>>> >>>>> Yes, just use the respond app at the bottom of your dial plan with 484 >>>>> as the argument >>>>> >>>>> >>>>> On Sunday, March 1, 2015, Paul Atreides < >>>>> paul.atreides83 at googlemail.com> wrote: >>>>> >>>>>> Hi, >>>>>> >>>>>> does Freeswitch support Early Dial ( Sip 484 ? ), if yes how do i set >>>>>> it up in the dialplan? >>>>>> >>>>>> Thanks >>>>>> >>>>> >>>>> >>>>> -- >>>>> >>>>> *Brian West* >>>>> brian at freeswitch.org >>>>> >>>>> >>>>> *Twitter: @FreeSWITCH , @briankwest* >>>>> http://www.freeswitchbook.com >>>>> http://www.freeswitchcookbook.com >>>>> >>>>> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) >>>>> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest >>>>> >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> >> -- >> >> *Brian West* >> brian at freeswitch.org >> >> >> *Twitter: @FreeSWITCH , @briankwest* >> http://www.freeswitchbook.com >> http://www.freeswitchcookbook.com >> >> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) >> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150407/19b18b47/attachment.html From adam.ben.ayoun1 at gmail.com Tue Apr 7 14:39:27 2015 From: adam.ben.ayoun1 at gmail.com (Adam Ben-Ayoun) Date: Tue, 7 Apr 2015 13:39:27 +0300 Subject: [Freeswitch-users] Freeswitch basic VP8 passthrough In-Reply-To: References: Message-ID: I got this working with 2 clients. My goal is to broadcast from one client to all the rest. This seems to work fine with 2 clients, meaning, one client gets video from the other client, now, when I am adding a 3rd client, it doesn't get video (verified with chrome://webrtc-internals). Any idea? On 3 April 2015 at 15:23, Adam Ben-Ayoun wrote: > Sorry about that... I assumed that if mod_vp8 is uncommented > in conf/autoload_configs/modules.conf.xml then it's actually compiled... > After looking at the src I compiled I see that mod_vp8 is commented out, I > will compile it and try again. Thanks! > > On 3 April 2015 at 13:14, Adam Ben-Ayoun > wrote: > >> Hi guys, >> >> I am trying to setup a simple WebRTC video conference using VP8 with >> mod_conference, while audio conferencing works fine, I am not able to setup >> a video conference using clients like SIPjs, basically, I am opening 2 >> clients and expect to see video streaming to each side. >> >> I did the following: >> 1. Added the following config to my conference profile in >> conference.conf.xml: >> >> >> >> 2. Added VP8 to vars.xml: >> >> >> Any idea? >> >> P.S The client seem to pass the video params correctly in the SDP, but >> Freeswitch still responses with the following SDP: >> v=0 >> o=FreeSWITCH 1428032845 1428032846 IN IP4 X.X.X.X >> s=FreeSWITCH >> c=IN IP4 52.1.148.244 >> t=0 0 >> a=msid-semantic: WMS QyrjMP4wDDWQeK1hU3mBsJvovhMMWjKD >> m=audio 23118 UDP/TLS/RTP/SAVPF 111 126 106 >> a=rtpmap:111 opus/48000/2 >> a=fmtp:111 useinbandfec=1; minptime=10 >> a=rtpmap:126 telephone-event/8000 >> a=rtpmap:106 CN/8000 >> a=ptime:20 >> a=fingerprint:sha-256 >> 83:F4:57:6D:F9:40:C7:E8:28:6D:59:AE:5F:08:23:3E:9E:17:1E:2F:D8:A9:D5:E7:DB:13:92:B5:DE:4A:66:CA >> a=rtcp-mux >> a=rtcp:23118 IN IP4 X.X.X.X >> a=ssrc:3173617819 cname:I1MkHHGaasQf3InN >> a=ssrc:3173617819 msid:QyrjMP4wDDWQeK1hU3mBsJvovhMMWjKD a0 >> a=ssrc:3173617819 mslabel:QyrjMP4wDDWQeK1hU3mBsJvovhMMWjKD >> a=ssrc:3173617819 label:QyrjMP4wDDWQeK1hU3mBsJvovhMMWjKDa0 >> a=ice-ufrag:CzeU8A9uHL6uVHXu >> a=ice-pwd:zzF67b78uOeomr1PR6zQwzb4 >> a=candidate:8368394426 1 udp 659136 X.X.X.X 23118 typ host generation 0 >> m=video 0 UDP/TLS/RTP/SAVPF 19 >> >> >> >> Thanks! >> Adam >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150407/61cf7bb2/attachment-0001.html From fl at workmansoft.com Tue Apr 7 14:42:44 2015 From: fl at workmansoft.com (Fredrik Larsson) Date: Tue, 7 Apr 2015 12:42:44 +0200 Subject: [Freeswitch-users] Originate_timeout longer than 5 minutes? In-Reply-To: References: Message-ID: Thanks all for the feedback. It was a default value set in the PBX that gave the gateway timeout after 5 minutes. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150407/2c1dd404/attachment.html From steveayre at gmail.com Tue Apr 7 14:42:43 2015 From: steveayre at gmail.com (Steven Ayre) Date: Tue, 7 Apr 2015 11:42:43 +0100 Subject: [Freeswitch-users] Upgrade Freeswitch to v1.4 stable version In-Reply-To: References: Message-ID: The git branch is not named in the same manner as 1.2.... v1.4 instead of v1.4.stable On 6 April 2015 at 14:48, Zvi Agmon wrote: > > Stanislav , thanks for the quick response! > > I want to build from sources but can't get v1.4.stable - is that does not > exist any more? > And if not - what should I checkout, just v1.4? > > Thanks > > Zvi Agmon > > > Best regards > > Zvi Agmon > Lexifone > email: zvi at lexifone.com > Office: +972-4-6817711 > Cell: +972-54-4505109 > > On Mon, Apr 6, 2015 at 4:24 PM, Stanislav Sinyagin > wrote: > >> 1.2 configuration should work in 1.4 without any troubles. If you >> install from sources, you can simply delete and re-install the target >> directory, and then roll out the old configuration. >> >> If upgrading from binary packages, it should work with just "apt-get >> upgrade" or "yum update" >> >> On Mon, Apr 6, 2015 at 12:55 PM, Zvi Agmon wrote: >> > Hello, >> > >> > I'm trying to figure out what is the correct and best way to upgrade a >> > server running Freeswitch v1.2 to v1.4 stable. >> > I could not find any clear documentation - can you please help? >> > >> > >> > Thanks a lot >> > >> > Zvi Agmon >> > Lexifone >> > email: zvi at lexifone.com >> > Office: +972-4-6817711 >> > Cell: +972-54-4505109 >> > >> > >> _________________________________________________________________________ >> > Professional FreeSWITCH Consulting Services: >> > consulting at freeswitch.org >> > http://www.freeswitchsolutions.com >> > >> > Official FreeSWITCH Sites >> > http://www.freeswitch.org >> > http://confluence.freeswitch.org >> > http://www.cluecon.com >> > >> > FreeSWITCH-users mailing list >> > FreeSWITCH-users at lists.freeswitch.org >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> > UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> > http://www.freeswitch.org >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150407/3cb64f6a/attachment.html From gmaruzz at gmail.com Tue Apr 7 14:50:19 2015 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Tue, 7 Apr 2015 12:50:19 +0200 Subject: [Freeswitch-users] Upgrade Freeswitch to v1.4 stable version In-Reply-To: References: Message-ID: this is the command to have the 1.4 (aka Release) branch from git: git clone -b v1.4 https://freeswitch.org/stash/scm/fs/freeswitch.git -giovanni On Tue, Apr 7, 2015 at 12:42 PM, Steven Ayre wrote: > The git branch is not named in the same manner as 1.2.... v1.4 instead of > v1.4.stable > > On 6 April 2015 at 14:48, Zvi Agmon wrote: > >> >> Stanislav , thanks for the quick response! >> >> I want to build from sources but can't get v1.4.stable - is that does not >> exist any more? >> And if not - what should I checkout, just v1.4? >> >> Thanks >> >> Zvi Agmon >> >> >> Best regards >> >> Zvi Agmon >> Lexifone >> email: zvi at lexifone.com >> Office: +972-4-6817711 >> Cell: +972-54-4505109 >> >> On Mon, Apr 6, 2015 at 4:24 PM, Stanislav Sinyagin >> wrote: >> >>> 1.2 configuration should work in 1.4 without any troubles. If you >>> install from sources, you can simply delete and re-install the target >>> directory, and then roll out the old configuration. >>> >>> If upgrading from binary packages, it should work with just "apt-get >>> upgrade" or "yum update" >>> >>> On Mon, Apr 6, 2015 at 12:55 PM, Zvi Agmon wrote: >>> > Hello, >>> > >>> > I'm trying to figure out what is the correct and best way to upgrade a >>> > server running Freeswitch v1.2 to v1.4 stable. >>> > I could not find any clear documentation - can you please help? >>> > >>> > >>> > Thanks a lot >>> > >>> > Zvi Agmon >>> > Lexifone >>> > email: zvi at lexifone.com >>> > Office: +972-4-6817711 >>> > Cell: +972-54-4505109 >>> > >>> > >>> _________________________________________________________________________ >>> > Professional FreeSWITCH Consulting Services: >>> > consulting at freeswitch.org >>> > http://www.freeswitchsolutions.com >>> > >>> > Official FreeSWITCH Sites >>> > http://www.freeswitch.org >>> > http://confluence.freeswitch.org >>> > http://www.cluecon.com >>> > >>> > FreeSWITCH-users mailing list >>> > FreeSWITCH-users at lists.freeswitch.org >>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> > UNSUBSCRIBE: >>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>> > http://www.freeswitch.org >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Sincerely, Giovanni Maruzzelli Cell : +39-347-2665618 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150407/4775db57/attachment-0001.html From steveayre at gmail.com Tue Apr 7 14:51:19 2015 From: steveayre at gmail.com (Steven Ayre) Date: Tue, 7 Apr 2015 11:51:19 +0100 Subject: [Freeswitch-users] Detect video presence in mod_conference In-Reply-To: References: Message-ID: Not ideal, but you could try using the uuid_set_media_stats API on the channel. If they have negotiated video this'll set some rtp_video_ variables which'll include packet counters (a snapshot each time you run the API). You could see if they're sending video packets that way. On 6 April 2015 at 20:51, Mateus Dalepiane wrote: > Hello, > > I am looking for a mechanism to detect whether the user that currently > holds the conference video floor is actually sending a video stream or not. > > So far I know that the variable CF_VIDEO may be used to check if the > channel is video capable, either to send and/or receive video. But this is > not enough to ensure that a user is sending video, just if he is able to > send and/or receive video. > > My idea is to check if there are video packets flowing through FS, that > would mean that the user holding the floor is sending video. > > Is there a better way to do this? > > If not, where would be the best place to monitor the video packets flow? > > Thanks! > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150407/f65d1002/attachment.html From italorossib at gmail.com Tue Apr 7 15:24:15 2015 From: italorossib at gmail.com (=?UTF-8?B?w410YWxvIFJvc3Np?=) Date: Tue, 7 Apr 2015 08:24:15 -0300 Subject: [Freeswitch-users] DOC Sprint Apr 10 Message-ID: Hi Everyone, We are organizing an other Sprint to work on FreeSWITCH Documentation on Friday 10 April 2015 at 10am CT. It will be 4 hours long but you can join for less time. The Doc-sprint will focus on migrating the remaining pages from old FS Wiki (https://wiki.freeswitch.org) to Confluence ( https://freeswitch.org/confluence). We will use this IRC channel during the sprint: #freeswitch-docs and we will be tracking our work on a spreadsheet: https://docs.google.com/spreadsheets/d/1qsG-kRymvKlNBapnBLw86W130VdbnK6naYapbR_UNds/edit?pli=1#gid=1187898333 to avoid working on the same content. So during the sprint, please change the page ""Status"" you are working on to ""Editing"" with your name next to it. Some extra information: - https://freeswitch.org/confluence/display/FREESWITCH/Wiki+Migration - https://freeswitch.org/confluence/display/FREESWITCH/Contributing+Documentation Let us know if you have any question. We hope to get a maximum number of people signed up! So, who is in? Confirmed: Italo (+4) Areski Bote -- ?talo Rossi -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150407/5e3306af/attachment.html From italorossib at gmail.com Tue Apr 7 15:27:10 2015 From: italorossib at gmail.com (=?UTF-8?B?w410YWxvIFJvc3Np?=) Date: Tue, 7 Apr 2015 08:27:10 -0300 Subject: [Freeswitch-users] Mod_callcenter In-Reply-To: References: Message-ID: You can't bypass callcenter.conf, mod_callcenter reads queue configuration from xml and creates in memory structs to store the queues, but, you can use mod_xml_curl to dynamically generate callcenter.conf to FreeSWITCH. On Tue, Apr 7, 2015 at 6:14 AM, Ali Jibran wrote: > I was wondering if there is any way to add queues and agents directly > through database and bypass the Callcenter.conf altogether? > > I tried using ODBC in the core. So I have a MYSQL database for callcenter. > I can add agents dynamically. Can I do that with queues somehow? > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- ?talo Rossi -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150407/49b90827/attachment.html From zvi at lexifone.com Tue Apr 7 16:26:56 2015 From: zvi at lexifone.com (Zvi Agmon) Date: Tue, 7 Apr 2015 15:26:56 +0300 Subject: [Freeswitch-users] Upgrade Freeswitch to v1.4 stable version In-Reply-To: References: Message-ID: Steven thanks, I pulled the v1.4 but now having troubles upgrade to lua 5.2. I tried running this (taken from https://freeswitch.org/confluence/display/FREESWITCH/Third+Party+Libraries): apt-get install lua5.2 luarocks luarocks install luaxml But it keeps failing with dependency error. What is the correct way to make lua 5.2 for Freeswtich? Thanks Zvi Agmon Best regards Zvi Agmon Lexifone email: zvi at lexifone.com Office: +972-4-6817711 Cell: +972-54-4505109 On Tue, Apr 7, 2015 at 1:42 PM, Steven Ayre wrote: > The git branch is not named in the same manner as 1.2.... v1.4 instead of > v1.4.stable > > On 6 April 2015 at 14:48, Zvi Agmon wrote: > >> >> Stanislav , thanks for the quick response! >> >> I want to build from sources but can't get v1.4.stable - is that does not >> exist any more? >> And if not - what should I checkout, just v1.4? >> >> Thanks >> >> Zvi Agmon >> >> >> Best regards >> >> Zvi Agmon >> Lexifone >> email: zvi at lexifone.com >> Office: +972-4-6817711 >> Cell: +972-54-4505109 >> >> On Mon, Apr 6, 2015 at 4:24 PM, Stanislav Sinyagin >> wrote: >> >>> 1.2 configuration should work in 1.4 without any troubles. If you >>> install from sources, you can simply delete and re-install the target >>> directory, and then roll out the old configuration. >>> >>> If upgrading from binary packages, it should work with just "apt-get >>> upgrade" or "yum update" >>> >>> On Mon, Apr 6, 2015 at 12:55 PM, Zvi Agmon wrote: >>> > Hello, >>> > >>> > I'm trying to figure out what is the correct and best way to upgrade a >>> > server running Freeswitch v1.2 to v1.4 stable. >>> > I could not find any clear documentation - can you please help? >>> > >>> > >>> > Thanks a lot >>> > >>> > Zvi Agmon >>> > Lexifone >>> > email: zvi at lexifone.com >>> > Office: +972-4-6817711 >>> > Cell: +972-54-4505109 >>> > >>> > >>> _________________________________________________________________________ >>> > Professional FreeSWITCH Consulting Services: >>> > consulting at freeswitch.org >>> > http://www.freeswitchsolutions.com >>> > >>> > Official FreeSWITCH Sites >>> > http://www.freeswitch.org >>> > http://confluence.freeswitch.org >>> > http://www.cluecon.com >>> > >>> > FreeSWITCH-users mailing list >>> > FreeSWITCH-users at lists.freeswitch.org >>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> > UNSUBSCRIBE: >>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>> > http://www.freeswitch.org >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150407/c47abf28/attachment-0001.html From gmaruzz at gmail.com Tue Apr 7 16:38:53 2015 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Tue, 7 Apr 2015 14:38:53 +0200 Subject: [Freeswitch-users] Upgrade Freeswitch to v1.4 stable version In-Reply-To: References: Message-ID: you don't need to make lua it will be automatically made by compiling freeswitch, you don't need no external lua. just compile and install freeswitch, it will have its own lua embedded. -giovanni On Tue, Apr 7, 2015 at 2:26 PM, Zvi Agmon wrote: > Steven thanks, > > I pulled the v1.4 but now having troubles upgrade to lua 5.2. > I tried running this (taken from > https://freeswitch.org/confluence/display/FREESWITCH/Third+Party+Libraries > ): > > apt-get install lua5.2 luarocks > luarocks install luaxml > > But it keeps failing with dependency error. > > What is the correct way to make lua 5.2 for Freeswtich? > > Thanks > Zvi Agmon > > Best regards > > Zvi Agmon > Lexifone > email: zvi at lexifone.com > Office: +972-4-6817711 > Cell: +972-54-4505109 > > On Tue, Apr 7, 2015 at 1:42 PM, Steven Ayre wrote: > >> The git branch is not named in the same manner as 1.2.... v1.4 instead of >> v1.4.stable >> >> On 6 April 2015 at 14:48, Zvi Agmon wrote: >> >>> >>> Stanislav , thanks for the quick response! >>> >>> I want to build from sources but can't get v1.4.stable - is that does >>> not exist any more? >>> And if not - what should I checkout, just v1.4? >>> >>> Thanks >>> >>> Zvi Agmon >>> >>> >>> Best regards >>> >>> Zvi Agmon >>> Lexifone >>> email: zvi at lexifone.com >>> Office: +972-4-6817711 >>> Cell: +972-54-4505109 >>> >>> On Mon, Apr 6, 2015 at 4:24 PM, Stanislav Sinyagin >>> wrote: >>> >>>> 1.2 configuration should work in 1.4 without any troubles. If you >>>> install from sources, you can simply delete and re-install the target >>>> directory, and then roll out the old configuration. >>>> >>>> If upgrading from binary packages, it should work with just "apt-get >>>> upgrade" or "yum update" >>>> >>>> On Mon, Apr 6, 2015 at 12:55 PM, Zvi Agmon wrote: >>>> > Hello, >>>> > >>>> > I'm trying to figure out what is the correct and best way to upgrade a >>>> > server running Freeswitch v1.2 to v1.4 stable. >>>> > I could not find any clear documentation - can you please help? >>>> > >>>> > >>>> > Thanks a lot >>>> > >>>> > Zvi Agmon >>>> > Lexifone >>>> > email: zvi at lexifone.com >>>> > Office: +972-4-6817711 >>>> > Cell: +972-54-4505109 >>>> > >>>> > >>>> _________________________________________________________________________ >>>> > Professional FreeSWITCH Consulting Services: >>>> > consulting at freeswitch.org >>>> > http://www.freeswitchsolutions.com >>>> > >>>> > Official FreeSWITCH Sites >>>> > http://www.freeswitch.org >>>> > http://confluence.freeswitch.org >>>> > http://www.cluecon.com >>>> > >>>> > FreeSWITCH-users mailing list >>>> > FreeSWITCH-users at lists.freeswitch.org >>>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> > UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> > http://www.freeswitch.org >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Sincerely, Giovanni Maruzzelli Cell : +39-347-2665618 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150407/8e671aac/attachment.html From brian at freeswitch.org Tue Apr 7 16:49:04 2015 From: brian at freeswitch.org (Brian West) Date: Tue, 7 Apr 2015 07:49:04 -0500 Subject: [Freeswitch-users] Upgrade Freeswitch to v1.4 stable version In-Reply-To: References: Message-ID: Giovanni, We are moving to system Lua, I will need to double check but I think Mike already made this change in the v1.4 release branch. On Tue, Apr 7, 2015 at 7:38 AM, Giovanni Maruzzelli wrote: > you don't need to make lua > > it will be automatically made by compiling freeswitch, you don't need no > external lua. > > just compile and install freeswitch, it will have its own lua embedded. > > -giovanni > > > On Tue, Apr 7, 2015 at 2:26 PM, Zvi Agmon wrote: > >> Steven thanks, >> >> I pulled the v1.4 but now having troubles upgrade to lua 5.2. >> I tried running this (taken from >> https://freeswitch.org/confluence/display/FREESWITCH/Third+Party+Libraries >> ): >> >> apt-get install lua5.2 luarocks >> luarocks install luaxml >> >> But it keeps failing with dependency error. >> >> What is the correct way to make lua 5.2 for Freeswtich? >> >> Thanks >> Zvi Agmon >> >> Best regards >> >> Zvi Agmon >> Lexifone >> email: zvi at lexifone.com >> Office: +972-4-6817711 >> Cell: +972-54-4505109 >> >> On Tue, Apr 7, 2015 at 1:42 PM, Steven Ayre wrote: >> >>> The git branch is not named in the same manner as 1.2.... v1.4 instead >>> of v1.4.stable >>> >>> On 6 April 2015 at 14:48, Zvi Agmon wrote: >>> >>>> >>>> Stanislav , thanks for the quick response! >>>> >>>> I want to build from sources but can't get v1.4.stable - is that does >>>> not exist any more? >>>> And if not - what should I checkout, just v1.4? >>>> >>>> Thanks >>>> >>>> Zvi Agmon >>>> >>>> >>>> Best regards >>>> >>>> Zvi Agmon >>>> Lexifone >>>> email: zvi at lexifone.com >>>> Office: +972-4-6817711 >>>> Cell: +972-54-4505109 >>>> >>>> On Mon, Apr 6, 2015 at 4:24 PM, Stanislav Sinyagin >>> > wrote: >>>> >>>>> 1.2 configuration should work in 1.4 without any troubles. If you >>>>> install from sources, you can simply delete and re-install the target >>>>> directory, and then roll out the old configuration. >>>>> >>>>> If upgrading from binary packages, it should work with just "apt-get >>>>> upgrade" or "yum update" >>>>> >>>>> On Mon, Apr 6, 2015 at 12:55 PM, Zvi Agmon wrote: >>>>> > Hello, >>>>> > >>>>> > I'm trying to figure out what is the correct and best way to upgrade >>>>> a >>>>> > server running Freeswitch v1.2 to v1.4 stable. >>>>> > I could not find any clear documentation - can you please help? >>>>> > >>>>> > >>>>> > Thanks a lot >>>>> > >>>>> > Zvi Agmon >>>>> > Lexifone >>>>> > email: zvi at lexifone.com >>>>> > Office: +972-4-6817711 >>>>> > Cell: +972-54-4505109 >>>>> > >>>>> > >>>>> _________________________________________________________________________ >>>>> > Professional FreeSWITCH Consulting Services: >>>>> > consulting at freeswitch.org >>>>> > http://www.freeswitchsolutions.com >>>>> > >>>>> > Official FreeSWITCH Sites >>>>> > http://www.freeswitch.org >>>>> > http://confluence.freeswitch.org >>>>> > http://www.cluecon.com >>>>> > >>>>> > FreeSWITCH-users mailing list >>>>> > FreeSWITCH-users at lists.freeswitch.org >>>>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> > UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> > http://www.freeswitch.org >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > Sincerely, > > Giovanni Maruzzelli > Cell : +39-347-2665618 > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com ClueCon 2015 Call for Speakers | Register TODAY! | Reddit: /r/freeswitch *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150407/157cbd14/attachment-0001.html From zvi at lexifone.com Tue Apr 7 16:56:55 2015 From: zvi at lexifone.com (Zvi Agmon) Date: Tue, 7 Apr 2015 15:56:55 +0300 Subject: [Freeswitch-users] Upgrade Freeswitch to v1.4 stable version In-Reply-To: References: Message-ID: Hi, We are using LuaXml.lua and it requires the LuaXML_lib - in v1.2 it worked with lua 5.1 but now it fails... How to fix it? Thanks Zvi Agmon Best regards Zvi Agmon Lexifone email: zvi at lexifone.com Office: +972-4-6817711 Cell: +972-54-4505109 On Tue, Apr 7, 2015 at 3:49 PM, Brian West wrote: > Giovanni, > > We are moving to system Lua, I will need to double check but I think Mike > already made this change in the v1.4 release branch. > > On Tue, Apr 7, 2015 at 7:38 AM, Giovanni Maruzzelli > wrote: > >> you don't need to make lua >> >> it will be automatically made by compiling freeswitch, you don't need no >> external lua. >> >> just compile and install freeswitch, it will have its own lua embedded. >> >> -giovanni >> >> >> On Tue, Apr 7, 2015 at 2:26 PM, Zvi Agmon wrote: >> >>> Steven thanks, >>> >>> I pulled the v1.4 but now having troubles upgrade to lua 5.2. >>> I tried running this (taken from >>> https://freeswitch.org/confluence/display/FREESWITCH/Third+Party+Libraries >>> ): >>> >>> apt-get install lua5.2 luarocks >>> luarocks install luaxml >>> >>> But it keeps failing with dependency error. >>> >>> What is the correct way to make lua 5.2 for Freeswtich? >>> >>> Thanks >>> Zvi Agmon >>> >>> Best regards >>> >>> Zvi Agmon >>> Lexifone >>> email: zvi at lexifone.com >>> Office: +972-4-6817711 >>> Cell: +972-54-4505109 >>> >>> On Tue, Apr 7, 2015 at 1:42 PM, Steven Ayre wrote: >>> >>>> The git branch is not named in the same manner as 1.2.... v1.4 instead >>>> of v1.4.stable >>>> >>>> On 6 April 2015 at 14:48, Zvi Agmon wrote: >>>> >>>>> >>>>> Stanislav , thanks for the quick response! >>>>> >>>>> I want to build from sources but can't get v1.4.stable - is that does >>>>> not exist any more? >>>>> And if not - what should I checkout, just v1.4? >>>>> >>>>> Thanks >>>>> >>>>> Zvi Agmon >>>>> >>>>> >>>>> Best regards >>>>> >>>>> Zvi Agmon >>>>> Lexifone >>>>> email: zvi at lexifone.com >>>>> Office: +972-4-6817711 >>>>> Cell: +972-54-4505109 >>>>> >>>>> On Mon, Apr 6, 2015 at 4:24 PM, Stanislav Sinyagin < >>>>> ssinyagin at gmail.com> wrote: >>>>> >>>>>> 1.2 configuration should work in 1.4 without any troubles. If you >>>>>> install from sources, you can simply delete and re-install the target >>>>>> directory, and then roll out the old configuration. >>>>>> >>>>>> If upgrading from binary packages, it should work with just "apt-get >>>>>> upgrade" or "yum update" >>>>>> >>>>>> On Mon, Apr 6, 2015 at 12:55 PM, Zvi Agmon wrote: >>>>>> > Hello, >>>>>> > >>>>>> > I'm trying to figure out what is the correct and best way to >>>>>> upgrade a >>>>>> > server running Freeswitch v1.2 to v1.4 stable. >>>>>> > I could not find any clear documentation - can you please help? >>>>>> > >>>>>> > >>>>>> > Thanks a lot >>>>>> > >>>>>> > Zvi Agmon >>>>>> > Lexifone >>>>>> > email: zvi at lexifone.com >>>>>> > Office: +972-4-6817711 >>>>>> > Cell: +972-54-4505109 >>>>>> > >>>>>> > >>>>>> _________________________________________________________________________ >>>>>> > Professional FreeSWITCH Consulting Services: >>>>>> > consulting at freeswitch.org >>>>>> > http://www.freeswitchsolutions.com >>>>>> > >>>>>> > Official FreeSWITCH Sites >>>>>> > http://www.freeswitch.org >>>>>> > http://confluence.freeswitch.org >>>>>> > http://www.cluecon.com >>>>>> > >>>>>> > FreeSWITCH-users mailing list >>>>>> > FreeSWITCH-users at lists.freeswitch.org >>>>>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> > UNSUBSCRIBE: >>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> > http://www.freeswitch.org >>>>>> >>>>>> >>>>>> _________________________________________________________________________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at freeswitch.org >>>>>> http://www.freeswitchsolutions.com >>>>>> >>>>>> Official FreeSWITCH Sites >>>>>> http://www.freeswitch.org >>>>>> http://confluence.freeswitch.org >>>>>> http://www.cluecon.com >>>>>> >>>>>> FreeSWITCH-users mailing list >>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE: >>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>> >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> >> -- >> Sincerely, >> >> Giovanni Maruzzelli >> Cell : +39-347-2665618 >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > > *Brian West* > brian at freeswitch.org > > > *Twitter: @FreeSWITCH , @briankwest* > http://www.freeswitchbook.com > http://www.freeswitchcookbook.com > > ClueCon 2015 Call for Speakers > | Register > TODAY! | Reddit: /r/freeswitch > > > *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) > *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150407/8a6a0756/attachment.html From gmaruzz at gmail.com Tue Apr 7 17:00:12 2015 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Tue, 7 Apr 2015 15:00:12 +0200 Subject: [Freeswitch-users] Upgrade Freeswitch to v1.4 stable version In-Reply-To: References: Message-ID: On Tue, Apr 7, 2015 at 2:49 PM, Brian West wrote: > Giovanni, > > We are moving to system Lua, I will need to double check but I think Mike > already made this change in the v1.4 release branch. > ah, oops, waiting for your indications, but at 1.4.18 (the current git Release) seems to me it does not require no external Lua (still embed its own). -giovanni > > On Tue, Apr 7, 2015 at 7:38 AM, Giovanni Maruzzelli > wrote: > >> you don't need to make lua >> >> it will be automatically made by compiling freeswitch, you don't need no >> external lua. >> >> just compile and install freeswitch, it will have its own lua embedded. >> >> -giovanni >> >> >> On Tue, Apr 7, 2015 at 2:26 PM, Zvi Agmon wrote: >> >>> Steven thanks, >>> >>> I pulled the v1.4 but now having troubles upgrade to lua 5.2. >>> I tried running this (taken from >>> https://freeswitch.org/confluence/display/FREESWITCH/Third+Party+Libraries >>> ): >>> >>> apt-get install lua5.2 luarocks >>> luarocks install luaxml >>> >>> But it keeps failing with dependency error. >>> >>> What is the correct way to make lua 5.2 for Freeswtich? >>> >>> Thanks >>> Zvi Agmon >>> >>> Best regards >>> >>> Zvi Agmon >>> Lexifone >>> email: zvi at lexifone.com >>> Office: +972-4-6817711 >>> Cell: +972-54-4505109 >>> >>> On Tue, Apr 7, 2015 at 1:42 PM, Steven Ayre wrote: >>> >>>> The git branch is not named in the same manner as 1.2.... v1.4 instead >>>> of v1.4.stable >>>> >>>> On 6 April 2015 at 14:48, Zvi Agmon wrote: >>>> >>>>> >>>>> Stanislav , thanks for the quick response! >>>>> >>>>> I want to build from sources but can't get v1.4.stable - is that does >>>>> not exist any more? >>>>> And if not - what should I checkout, just v1.4? >>>>> >>>>> Thanks >>>>> >>>>> Zvi Agmon >>>>> >>>>> >>>>> Best regards >>>>> >>>>> Zvi Agmon >>>>> Lexifone >>>>> email: zvi at lexifone.com >>>>> Office: +972-4-6817711 >>>>> Cell: +972-54-4505109 >>>>> >>>>> On Mon, Apr 6, 2015 at 4:24 PM, Stanislav Sinyagin < >>>>> ssinyagin at gmail.com> wrote: >>>>> >>>>>> 1.2 configuration should work in 1.4 without any troubles. If you >>>>>> install from sources, you can simply delete and re-install the target >>>>>> directory, and then roll out the old configuration. >>>>>> >>>>>> If upgrading from binary packages, it should work with just "apt-get >>>>>> upgrade" or "yum update" >>>>>> >>>>>> On Mon, Apr 6, 2015 at 12:55 PM, Zvi Agmon wrote: >>>>>> > Hello, >>>>>> > >>>>>> > I'm trying to figure out what is the correct and best way to >>>>>> upgrade a >>>>>> > server running Freeswitch v1.2 to v1.4 stable. >>>>>> > I could not find any clear documentation - can you please help? >>>>>> > >>>>>> > >>>>>> > Thanks a lot >>>>>> > >>>>>> > Zvi Agmon >>>>>> > Lexifone >>>>>> > email: zvi at lexifone.com >>>>>> > Office: +972-4-6817711 >>>>>> > Cell: +972-54-4505109 >>>>>> > >>>>>> > >>>>>> _________________________________________________________________________ >>>>>> > Professional FreeSWITCH Consulting Services: >>>>>> > consulting at freeswitch.org >>>>>> > http://www.freeswitchsolutions.com >>>>>> > >>>>>> > Official FreeSWITCH Sites >>>>>> > http://www.freeswitch.org >>>>>> > http://confluence.freeswitch.org >>>>>> > http://www.cluecon.com >>>>>> > >>>>>> > FreeSWITCH-users mailing list >>>>>> > FreeSWITCH-users at lists.freeswitch.org >>>>>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> > UNSUBSCRIBE: >>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> > http://www.freeswitch.org >>>>>> >>>>>> >>>>>> _________________________________________________________________________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at freeswitch.org >>>>>> http://www.freeswitchsolutions.com >>>>>> >>>>>> Official FreeSWITCH Sites >>>>>> http://www.freeswitch.org >>>>>> http://confluence.freeswitch.org >>>>>> http://www.cluecon.com >>>>>> >>>>>> FreeSWITCH-users mailing list >>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE: >>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>> >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> >> -- >> Sincerely, >> >> Giovanni Maruzzelli >> Cell : +39-347-2665618 >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > > *Brian West* > brian at freeswitch.org > > > *Twitter: @FreeSWITCH , @briankwest* > http://www.freeswitchbook.com > http://www.freeswitchcookbook.com > > ClueCon 2015 Call for Speakers > | Register > TODAY! | Reddit: /r/freeswitch > > > *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) > *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Sincerely, Giovanni Maruzzelli Cell : +39-347-2665618 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150407/b33330e0/attachment-0001.html From gmaruzz at gmail.com Tue Apr 7 17:07:19 2015 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Tue, 7 Apr 2015 15:07:19 +0200 Subject: [Freeswitch-users] Upgrade Freeswitch to v1.4 stable version In-Reply-To: References: Message-ID: this instructions let you compile luasocket using lua embedded in freeswitch. https://freeswitch.org/confluence/display/FREESWITCH/Installing+LuaSocket You can alter it to compile your lua extensions... Pay attention to the openlib/register substitution, that's the most difference between 5.1 and 5.2 Anyway, just link it with the lua embedded into FreeSWITCH. -giovanni On Tue, Apr 7, 2015 at 2:56 PM, Zvi Agmon wrote: > Hi, > > We are using LuaXml.lua and it requires the LuaXML_lib - in v1.2 it worked > with lua 5.1 but now it fails... How to fix it? > > Thanks > Zvi Agmon > > Best regards > > Zvi Agmon > Lexifone > email: zvi at lexifone.com > Office: +972-4-6817711 > Cell: +972-54-4505109 > > On Tue, Apr 7, 2015 at 3:49 PM, Brian West wrote: > >> Giovanni, >> >> We are moving to system Lua, I will need to double check but I think Mike >> already made this change in the v1.4 release branch. >> >> On Tue, Apr 7, 2015 at 7:38 AM, Giovanni Maruzzelli >> wrote: >> >>> you don't need to make lua >>> >>> it will be automatically made by compiling freeswitch, you don't need no >>> external lua. >>> >>> just compile and install freeswitch, it will have its own lua embedded. >>> >>> -giovanni >>> >>> >>> On Tue, Apr 7, 2015 at 2:26 PM, Zvi Agmon wrote: >>> >>>> Steven thanks, >>>> >>>> I pulled the v1.4 but now having troubles upgrade to lua 5.2. >>>> I tried running this (taken from >>>> https://freeswitch.org/confluence/display/FREESWITCH/Third+Party+Libraries >>>> ): >>>> >>>> apt-get install lua5.2 luarocks >>>> luarocks install luaxml >>>> >>>> But it keeps failing with dependency error. >>>> >>>> What is the correct way to make lua 5.2 for Freeswtich? >>>> >>>> Thanks >>>> Zvi Agmon >>>> >>>> Best regards >>>> >>>> Zvi Agmon >>>> Lexifone >>>> email: zvi at lexifone.com >>>> Office: +972-4-6817711 >>>> Cell: +972-54-4505109 >>>> >>>> On Tue, Apr 7, 2015 at 1:42 PM, Steven Ayre >>>> wrote: >>>> >>>>> The git branch is not named in the same manner as 1.2.... v1.4 instead >>>>> of v1.4.stable >>>>> >>>>> On 6 April 2015 at 14:48, Zvi Agmon wrote: >>>>> >>>>>> >>>>>> Stanislav , thanks for the quick response! >>>>>> >>>>>> I want to build from sources but can't get v1.4.stable - is that does >>>>>> not exist any more? >>>>>> And if not - what should I checkout, just v1.4? >>>>>> >>>>>> Thanks >>>>>> >>>>>> Zvi Agmon >>>>>> >>>>>> >>>>>> Best regards >>>>>> >>>>>> Zvi Agmon >>>>>> Lexifone >>>>>> email: zvi at lexifone.com >>>>>> Office: +972-4-6817711 >>>>>> Cell: +972-54-4505109 >>>>>> >>>>>> On Mon, Apr 6, 2015 at 4:24 PM, Stanislav Sinyagin < >>>>>> ssinyagin at gmail.com> wrote: >>>>>> >>>>>>> 1.2 configuration should work in 1.4 without any troubles. If you >>>>>>> install from sources, you can simply delete and re-install the target >>>>>>> directory, and then roll out the old configuration. >>>>>>> >>>>>>> If upgrading from binary packages, it should work with just "apt-get >>>>>>> upgrade" or "yum update" >>>>>>> >>>>>>> On Mon, Apr 6, 2015 at 12:55 PM, Zvi Agmon wrote: >>>>>>> > Hello, >>>>>>> > >>>>>>> > I'm trying to figure out what is the correct and best way to >>>>>>> upgrade a >>>>>>> > server running Freeswitch v1.2 to v1.4 stable. >>>>>>> > I could not find any clear documentation - can you please help? >>>>>>> > >>>>>>> > >>>>>>> > Thanks a lot >>>>>>> > >>>>>>> > Zvi Agmon >>>>>>> > Lexifone >>>>>>> > email: zvi at lexifone.com >>>>>>> > Office: +972-4-6817711 >>>>>>> > Cell: +972-54-4505109 >>>>>>> > >>>>>>> > >>>>>>> _________________________________________________________________________ >>>>>>> > Professional FreeSWITCH Consulting Services: >>>>>>> > consulting at freeswitch.org >>>>>>> > http://www.freeswitchsolutions.com >>>>>>> > >>>>>>> > Official FreeSWITCH Sites >>>>>>> > http://www.freeswitch.org >>>>>>> > http://confluence.freeswitch.org >>>>>>> > http://www.cluecon.com >>>>>>> > >>>>>>> > FreeSWITCH-users mailing list >>>>>>> > FreeSWITCH-users at lists.freeswitch.org >>>>>>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> > UNSUBSCRIBE: >>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>> > http://www.freeswitch.org >>>>>>> >>>>>>> >>>>>>> _________________________________________________________________________ >>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>> consulting at freeswitch.org >>>>>>> http://www.freeswitchsolutions.com >>>>>>> >>>>>>> Official FreeSWITCH Sites >>>>>>> http://www.freeswitch.org >>>>>>> http://confluence.freeswitch.org >>>>>>> http://www.cluecon.com >>>>>>> >>>>>>> FreeSWITCH-users mailing list >>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> UNSUBSCRIBE: >>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>> http://www.freeswitch.org >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> _________________________________________________________________________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at freeswitch.org >>>>>> http://www.freeswitchsolutions.com >>>>>> >>>>>> Official FreeSWITCH Sites >>>>>> http://www.freeswitch.org >>>>>> http://confluence.freeswitch.org >>>>>> http://www.cluecon.com >>>>>> >>>>>> FreeSWITCH-users mailing list >>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE: >>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>> >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> >>> -- >>> Sincerely, >>> >>> Giovanni Maruzzelli >>> Cell : +39-347-2665618 >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> >> -- >> >> *Brian West* >> brian at freeswitch.org >> >> >> *Twitter: @FreeSWITCH , @briankwest* >> http://www.freeswitchbook.com >> http://www.freeswitchcookbook.com >> >> ClueCon 2015 Call for Speakers >> | Register >> TODAY! | Reddit: /r/freeswitch >> >> >> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) >> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Sincerely, Giovanni Maruzzelli Cell : +39-347-2665618 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150407/33a47e94/attachment-0001.html From zvi at lexifone.com Tue Apr 7 17:32:23 2015 From: zvi at lexifone.com (Zvi Agmon) Date: Tue, 7 Apr 2015 16:32:23 +0300 Subject: [Freeswitch-users] Upgrade Freeswitch to v1.4 stable version In-Reply-To: References: Message-ID: Hi Giovanni, I'm not so much familiar with lua - is that relevant for LuaXml? As I'm having problem running the file LuaXml.lua Thanks Zvi Best regards Zvi Agmon Lexifone email: zvi at lexifone.com Office: +972-4-6817711 Cell: +972-54-4505109 On Tue, Apr 7, 2015 at 4:07 PM, Giovanni Maruzzelli wrote: > this instructions let you compile luasocket using lua embedded in > freeswitch. > > https://freeswitch.org/confluence/display/FREESWITCH/Installing+LuaSocket > > You can alter it to compile your lua extensions... > > Pay attention to the openlib/register substitution, that's the most > difference between 5.1 and 5.2 > > Anyway, just link it with the lua embedded into FreeSWITCH. > > > -giovanni > > On Tue, Apr 7, 2015 at 2:56 PM, Zvi Agmon wrote: > >> Hi, >> >> We are using LuaXml.lua and it requires the LuaXML_lib - in v1.2 it >> worked with lua 5.1 but now it fails... How to fix it? >> >> Thanks >> Zvi Agmon >> >> Best regards >> >> Zvi Agmon >> Lexifone >> email: zvi at lexifone.com >> Office: +972-4-6817711 >> Cell: +972-54-4505109 >> >> On Tue, Apr 7, 2015 at 3:49 PM, Brian West wrote: >> >>> Giovanni, >>> >>> We are moving to system Lua, I will need to double check but I think >>> Mike already made this change in the v1.4 release branch. >>> >>> On Tue, Apr 7, 2015 at 7:38 AM, Giovanni Maruzzelli >>> wrote: >>> >>>> you don't need to make lua >>>> >>>> it will be automatically made by compiling freeswitch, you don't need >>>> no external lua. >>>> >>>> just compile and install freeswitch, it will have its own lua embedded. >>>> >>>> -giovanni >>>> >>>> >>>> On Tue, Apr 7, 2015 at 2:26 PM, Zvi Agmon wrote: >>>> >>>>> Steven thanks, >>>>> >>>>> I pulled the v1.4 but now having troubles upgrade to lua 5.2. >>>>> I tried running this (taken from >>>>> https://freeswitch.org/confluence/display/FREESWITCH/Third+Party+Libraries >>>>> ): >>>>> >>>>> apt-get install lua5.2 luarocks >>>>> luarocks install luaxml >>>>> >>>>> But it keeps failing with dependency error. >>>>> >>>>> What is the correct way to make lua 5.2 for Freeswtich? >>>>> >>>>> Thanks >>>>> Zvi Agmon >>>>> >>>>> Best regards >>>>> >>>>> Zvi Agmon >>>>> Lexifone >>>>> email: zvi at lexifone.com >>>>> Office: +972-4-6817711 >>>>> Cell: +972-54-4505109 >>>>> >>>>> On Tue, Apr 7, 2015 at 1:42 PM, Steven Ayre >>>>> wrote: >>>>> >>>>>> The git branch is not named in the same manner as 1.2.... v1.4 >>>>>> instead of v1.4.stable >>>>>> >>>>>> On 6 April 2015 at 14:48, Zvi Agmon wrote: >>>>>> >>>>>>> >>>>>>> Stanislav , thanks for the quick response! >>>>>>> >>>>>>> I want to build from sources but can't get v1.4.stable - is that >>>>>>> does not exist any more? >>>>>>> And if not - what should I checkout, just v1.4? >>>>>>> >>>>>>> Thanks >>>>>>> >>>>>>> Zvi Agmon >>>>>>> >>>>>>> >>>>>>> Best regards >>>>>>> >>>>>>> Zvi Agmon >>>>>>> Lexifone >>>>>>> email: zvi at lexifone.com >>>>>>> Office: +972-4-6817711 >>>>>>> Cell: +972-54-4505109 >>>>>>> >>>>>>> On Mon, Apr 6, 2015 at 4:24 PM, Stanislav Sinyagin < >>>>>>> ssinyagin at gmail.com> wrote: >>>>>>> >>>>>>>> 1.2 configuration should work in 1.4 without any troubles. If you >>>>>>>> install from sources, you can simply delete and re-install the >>>>>>>> target >>>>>>>> directory, and then roll out the old configuration. >>>>>>>> >>>>>>>> If upgrading from binary packages, it should work with just "apt-get >>>>>>>> upgrade" or "yum update" >>>>>>>> >>>>>>>> On Mon, Apr 6, 2015 at 12:55 PM, Zvi Agmon >>>>>>>> wrote: >>>>>>>> > Hello, >>>>>>>> > >>>>>>>> > I'm trying to figure out what is the correct and best way to >>>>>>>> upgrade a >>>>>>>> > server running Freeswitch v1.2 to v1.4 stable. >>>>>>>> > I could not find any clear documentation - can you please help? >>>>>>>> > >>>>>>>> > >>>>>>>> > Thanks a lot >>>>>>>> > >>>>>>>> > Zvi Agmon >>>>>>>> > Lexifone >>>>>>>> > email: zvi at lexifone.com >>>>>>>> > Office: +972-4-6817711 >>>>>>>> > Cell: +972-54-4505109 >>>>>>>> > >>>>>>>> > >>>>>>>> _________________________________________________________________________ >>>>>>>> > Professional FreeSWITCH Consulting Services: >>>>>>>> > consulting at freeswitch.org >>>>>>>> > http://www.freeswitchsolutions.com >>>>>>>> > >>>>>>>> > Official FreeSWITCH Sites >>>>>>>> > http://www.freeswitch.org >>>>>>>> > http://confluence.freeswitch.org >>>>>>>> > http://www.cluecon.com >>>>>>>> > >>>>>>>> > FreeSWITCH-users mailing list >>>>>>>> > FreeSWITCH-users at lists.freeswitch.org >>>>>>>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>> > UNSUBSCRIBE: >>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>> > http://www.freeswitch.org >>>>>>>> >>>>>>>> >>>>>>>> _________________________________________________________________________ >>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>> consulting at freeswitch.org >>>>>>>> http://www.freeswitchsolutions.com >>>>>>>> >>>>>>>> Official FreeSWITCH Sites >>>>>>>> http://www.freeswitch.org >>>>>>>> http://confluence.freeswitch.org >>>>>>>> http://www.cluecon.com >>>>>>>> >>>>>>>> FreeSWITCH-users mailing list >>>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>> UNSUBSCRIBE: >>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>> http://www.freeswitch.org >>>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> _________________________________________________________________________ >>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>> consulting at freeswitch.org >>>>>>> http://www.freeswitchsolutions.com >>>>>>> >>>>>>> Official FreeSWITCH Sites >>>>>>> http://www.freeswitch.org >>>>>>> http://confluence.freeswitch.org >>>>>>> http://www.cluecon.com >>>>>>> >>>>>>> FreeSWITCH-users mailing list >>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> UNSUBSCRIBE: >>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>> http://www.freeswitch.org >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> _________________________________________________________________________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at freeswitch.org >>>>>> http://www.freeswitchsolutions.com >>>>>> >>>>>> Official FreeSWITCH Sites >>>>>> http://www.freeswitch.org >>>>>> http://confluence.freeswitch.org >>>>>> http://www.cluecon.com >>>>>> >>>>>> FreeSWITCH-users mailing list >>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE: >>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>> >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>>> >>>> -- >>>> Sincerely, >>>> >>>> Giovanni Maruzzelli >>>> Cell : +39-347-2665618 >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> >>> -- >>> >>> *Brian West* >>> brian at freeswitch.org >>> >>> >>> *Twitter: @FreeSWITCH , @briankwest* >>> http://www.freeswitchbook.com >>> http://www.freeswitchcookbook.com >>> >>> ClueCon 2015 Call for Speakers >>> | Register >>> TODAY! | Reddit: /r/freeswitch >>> >>> >>> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) >>> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > Sincerely, > > Giovanni Maruzzelli > Cell : +39-347-2665618 > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150407/1fcee9ca/attachment-0001.html From ali.jibran44 at gmail.com Tue Apr 7 17:36:46 2015 From: ali.jibran44 at gmail.com (Ali Jibran) Date: Tue, 7 Apr 2015 18:36:46 +0500 Subject: [Freeswitch-users] Mod_callcenter In-Reply-To: References: Message-ID: All right thanks :) On Tue, Apr 7, 2015 at 4:27 PM, ?talo Rossi wrote: > You can't bypass callcenter.conf, mod_callcenter reads queue configuration > from xml and creates in memory structs to store the queues, but, you can > use mod_xml_curl to dynamically generate callcenter.conf to FreeSWITCH. > > On Tue, Apr 7, 2015 at 6:14 AM, Ali Jibran wrote: > >> I was wondering if there is any way to add queues and agents directly >> through database and bypass the Callcenter.conf altogether? >> >> I tried using ODBC in the core. So I have a MYSQL database for >> callcenter. I can add agents dynamically. Can I do that with queues >> somehow? >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > ?talo Rossi > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150407/03b31966/attachment.html From gmaruzz at gmail.com Tue Apr 7 17:48:33 2015 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Tue, 7 Apr 2015 15:48:33 +0200 Subject: [Freeswitch-users] Upgrade Freeswitch to v1.4 stable version In-Reply-To: References: Message-ID: luaxml seems not to require compilation at all. if you are using from FreeSWITCH just use the 1.8 version of luaxml On Tue, Apr 7, 2015 at 3:32 PM, Zvi Agmon wrote: > Hi Giovanni, > > I'm not so much familiar with lua - is that relevant for LuaXml? > As I'm having problem running the file LuaXml.lua > > Thanks > Zvi > > Best regards > > Zvi Agmon > Lexifone > email: zvi at lexifone.com > Office: +972-4-6817711 > Cell: +972-54-4505109 > > On Tue, Apr 7, 2015 at 4:07 PM, Giovanni Maruzzelli > wrote: > >> this instructions let you compile luasocket using lua embedded in >> freeswitch. >> >> https://freeswitch.org/confluence/display/FREESWITCH/Installing+LuaSocket >> >> You can alter it to compile your lua extensions... >> >> Pay attention to the openlib/register substitution, that's the most >> difference between 5.1 and 5.2 >> >> Anyway, just link it with the lua embedded into FreeSWITCH. >> >> >> -giovanni >> >> On Tue, Apr 7, 2015 at 2:56 PM, Zvi Agmon wrote: >> >>> Hi, >>> >>> We are using LuaXml.lua and it requires the LuaXML_lib - in v1.2 it >>> worked with lua 5.1 but now it fails... How to fix it? >>> >>> Thanks >>> Zvi Agmon >>> >>> Best regards >>> >>> Zvi Agmon >>> Lexifone >>> email: zvi at lexifone.com >>> Office: +972-4-6817711 >>> Cell: +972-54-4505109 >>> >>> On Tue, Apr 7, 2015 at 3:49 PM, Brian West wrote: >>> >>>> Giovanni, >>>> >>>> We are moving to system Lua, I will need to double check but I think >>>> Mike already made this change in the v1.4 release branch. >>>> >>>> On Tue, Apr 7, 2015 at 7:38 AM, Giovanni Maruzzelli >>>> wrote: >>>> >>>>> you don't need to make lua >>>>> >>>>> it will be automatically made by compiling freeswitch, you don't need >>>>> no external lua. >>>>> >>>>> just compile and install freeswitch, it will have its own lua embedded. >>>>> >>>>> -giovanni >>>>> >>>>> >>>>> On Tue, Apr 7, 2015 at 2:26 PM, Zvi Agmon wrote: >>>>> >>>>>> Steven thanks, >>>>>> >>>>>> I pulled the v1.4 but now having troubles upgrade to lua 5.2. >>>>>> I tried running this (taken from >>>>>> https://freeswitch.org/confluence/display/FREESWITCH/Third+Party+Libraries >>>>>> ): >>>>>> >>>>>> apt-get install lua5.2 luarocks >>>>>> luarocks install luaxml >>>>>> >>>>>> But it keeps failing with dependency error. >>>>>> >>>>>> What is the correct way to make lua 5.2 for Freeswtich? >>>>>> >>>>>> Thanks >>>>>> Zvi Agmon >>>>>> >>>>>> Best regards >>>>>> >>>>>> Zvi Agmon >>>>>> Lexifone >>>>>> email: zvi at lexifone.com >>>>>> Office: +972-4-6817711 >>>>>> Cell: +972-54-4505109 >>>>>> >>>>>> On Tue, Apr 7, 2015 at 1:42 PM, Steven Ayre >>>>>> wrote: >>>>>> >>>>>>> The git branch is not named in the same manner as 1.2.... v1.4 >>>>>>> instead of v1.4.stable >>>>>>> >>>>>>> On 6 April 2015 at 14:48, Zvi Agmon wrote: >>>>>>> >>>>>>>> >>>>>>>> Stanislav , thanks for the quick response! >>>>>>>> >>>>>>>> I want to build from sources but can't get v1.4.stable - is that >>>>>>>> does not exist any more? >>>>>>>> And if not - what should I checkout, just v1.4? >>>>>>>> >>>>>>>> Thanks >>>>>>>> >>>>>>>> Zvi Agmon >>>>>>>> >>>>>>>> >>>>>>>> Best regards >>>>>>>> >>>>>>>> Zvi Agmon >>>>>>>> Lexifone >>>>>>>> email: zvi at lexifone.com >>>>>>>> Office: +972-4-6817711 >>>>>>>> Cell: +972-54-4505109 >>>>>>>> >>>>>>>> On Mon, Apr 6, 2015 at 4:24 PM, Stanislav Sinyagin < >>>>>>>> ssinyagin at gmail.com> wrote: >>>>>>>> >>>>>>>>> 1.2 configuration should work in 1.4 without any troubles. If you >>>>>>>>> install from sources, you can simply delete and re-install the >>>>>>>>> target >>>>>>>>> directory, and then roll out the old configuration. >>>>>>>>> >>>>>>>>> If upgrading from binary packages, it should work with just >>>>>>>>> "apt-get >>>>>>>>> upgrade" or "yum update" >>>>>>>>> >>>>>>>>> On Mon, Apr 6, 2015 at 12:55 PM, Zvi Agmon >>>>>>>>> wrote: >>>>>>>>> > Hello, >>>>>>>>> > >>>>>>>>> > I'm trying to figure out what is the correct and best way to >>>>>>>>> upgrade a >>>>>>>>> > server running Freeswitch v1.2 to v1.4 stable. >>>>>>>>> > I could not find any clear documentation - can you please help? >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > Thanks a lot >>>>>>>>> > >>>>>>>>> > Zvi Agmon >>>>>>>>> > Lexifone >>>>>>>>> > email: zvi at lexifone.com >>>>>>>>> > Office: +972-4-6817711 >>>>>>>>> > Cell: +972-54-4505109 >>>>>>>>> > >>>>>>>>> > >>>>>>>>> _________________________________________________________________________ >>>>>>>>> > Professional FreeSWITCH Consulting Services: >>>>>>>>> > consulting at freeswitch.org >>>>>>>>> > http://www.freeswitchsolutions.com >>>>>>>>> > >>>>>>>>> > Official FreeSWITCH Sites >>>>>>>>> > http://www.freeswitch.org >>>>>>>>> > http://confluence.freeswitch.org >>>>>>>>> > http://www.cluecon.com >>>>>>>>> > >>>>>>>>> > FreeSWITCH-users mailing list >>>>>>>>> > FreeSWITCH-users at lists.freeswitch.org >>>>>>>>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>> > UNSUBSCRIBE: >>>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>>> > http://www.freeswitch.org >>>>>>>>> >>>>>>>>> >>>>>>>>> _________________________________________________________________________ >>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>> consulting at freeswitch.org >>>>>>>>> http://www.freeswitchsolutions.com >>>>>>>>> >>>>>>>>> Official FreeSWITCH Sites >>>>>>>>> http://www.freeswitch.org >>>>>>>>> http://confluence.freeswitch.org >>>>>>>>> http://www.cluecon.com >>>>>>>>> >>>>>>>>> FreeSWITCH-users mailing list >>>>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>> UNSUBSCRIBE: >>>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>>> http://www.freeswitch.org >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> _________________________________________________________________________ >>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>> consulting at freeswitch.org >>>>>>>> http://www.freeswitchsolutions.com >>>>>>>> >>>>>>>> Official FreeSWITCH Sites >>>>>>>> http://www.freeswitch.org >>>>>>>> http://confluence.freeswitch.org >>>>>>>> http://www.cluecon.com >>>>>>>> >>>>>>>> FreeSWITCH-users mailing list >>>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>> UNSUBSCRIBE: >>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>> http://www.freeswitch.org >>>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> _________________________________________________________________________ >>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>> consulting at freeswitch.org >>>>>>> http://www.freeswitchsolutions.com >>>>>>> >>>>>>> Official FreeSWITCH Sites >>>>>>> http://www.freeswitch.org >>>>>>> http://confluence.freeswitch.org >>>>>>> http://www.cluecon.com >>>>>>> >>>>>>> FreeSWITCH-users mailing list >>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> UNSUBSCRIBE: >>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>> http://www.freeswitch.org >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> _________________________________________________________________________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at freeswitch.org >>>>>> http://www.freeswitchsolutions.com >>>>>> >>>>>> Official FreeSWITCH Sites >>>>>> http://www.freeswitch.org >>>>>> http://confluence.freeswitch.org >>>>>> http://www.cluecon.com >>>>>> >>>>>> FreeSWITCH-users mailing list >>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE: >>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> Sincerely, >>>>> >>>>> Giovanni Maruzzelli >>>>> Cell : +39-347-2665618 >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>>> >>>> -- >>>> >>>> *Brian West* >>>> brian at freeswitch.org >>>> >>>> >>>> *Twitter: @FreeSWITCH , @briankwest* >>>> http://www.freeswitchbook.com >>>> http://www.freeswitchcookbook.com >>>> >>>> ClueCon 2015 Call for Speakers >>>> | Register >>>> TODAY! | Reddit: /r/freeswitch >>>> >>>> >>>> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) >>>> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> >> -- >> Sincerely, >> >> Giovanni Maruzzelli >> Cell : +39-347-2665618 >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Sincerely, Giovanni Maruzzelli Cell : +39-347-2665618 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150407/3f4e8d9b/attachment-0001.html From gmaruzz at gmail.com Tue Apr 7 17:51:28 2015 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Tue, 7 Apr 2015 15:51:28 +0200 Subject: [Freeswitch-users] Upgrade Freeswitch to v1.4 stable version In-Reply-To: References: Message-ID: sorry, it requires compilation. Compile the 1.8 version using the lua embedded by FreeSWITCH On Tue, Apr 7, 2015 at 3:48 PM, Giovanni Maruzzelli wrote: > luaxml seems not to require compilation at all. > > if you are using from FreeSWITCH just use the 1.8 version of luaxml > > > > On Tue, Apr 7, 2015 at 3:32 PM, Zvi Agmon wrote: > >> Hi Giovanni, >> >> I'm not so much familiar with lua - is that relevant for LuaXml? >> As I'm having problem running the file LuaXml.lua >> >> Thanks >> Zvi >> >> Best regards >> >> Zvi Agmon >> Lexifone >> email: zvi at lexifone.com >> Office: +972-4-6817711 >> Cell: +972-54-4505109 >> >> On Tue, Apr 7, 2015 at 4:07 PM, Giovanni Maruzzelli >> wrote: >> >>> this instructions let you compile luasocket using lua embedded in >>> freeswitch. >>> >>> https://freeswitch.org/confluence/display/FREESWITCH/Installing+LuaSocket >>> >>> You can alter it to compile your lua extensions... >>> >>> Pay attention to the openlib/register substitution, that's the most >>> difference between 5.1 and 5.2 >>> >>> Anyway, just link it with the lua embedded into FreeSWITCH. >>> >>> >>> -giovanni >>> >>> On Tue, Apr 7, 2015 at 2:56 PM, Zvi Agmon wrote: >>> >>>> Hi, >>>> >>>> We are using LuaXml.lua and it requires the LuaXML_lib - in v1.2 it >>>> worked with lua 5.1 but now it fails... How to fix it? >>>> >>>> Thanks >>>> Zvi Agmon >>>> >>>> Best regards >>>> >>>> Zvi Agmon >>>> Lexifone >>>> email: zvi at lexifone.com >>>> Office: +972-4-6817711 >>>> Cell: +972-54-4505109 >>>> >>>> On Tue, Apr 7, 2015 at 3:49 PM, Brian West >>>> wrote: >>>> >>>>> Giovanni, >>>>> >>>>> We are moving to system Lua, I will need to double check but I think >>>>> Mike already made this change in the v1.4 release branch. >>>>> >>>>> On Tue, Apr 7, 2015 at 7:38 AM, Giovanni Maruzzelli >>>> > wrote: >>>>> >>>>>> you don't need to make lua >>>>>> >>>>>> it will be automatically made by compiling freeswitch, you don't need >>>>>> no external lua. >>>>>> >>>>>> just compile and install freeswitch, it will have its own lua >>>>>> embedded. >>>>>> >>>>>> -giovanni >>>>>> >>>>>> >>>>>> On Tue, Apr 7, 2015 at 2:26 PM, Zvi Agmon wrote: >>>>>> >>>>>>> Steven thanks, >>>>>>> >>>>>>> I pulled the v1.4 but now having troubles upgrade to lua 5.2. >>>>>>> I tried running this (taken from >>>>>>> https://freeswitch.org/confluence/display/FREESWITCH/Third+Party+Libraries >>>>>>> ): >>>>>>> >>>>>>> apt-get install lua5.2 luarocks >>>>>>> luarocks install luaxml >>>>>>> >>>>>>> But it keeps failing with dependency error. >>>>>>> >>>>>>> What is the correct way to make lua 5.2 for Freeswtich? >>>>>>> >>>>>>> Thanks >>>>>>> Zvi Agmon >>>>>>> >>>>>>> Best regards >>>>>>> >>>>>>> Zvi Agmon >>>>>>> Lexifone >>>>>>> email: zvi at lexifone.com >>>>>>> Office: +972-4-6817711 >>>>>>> Cell: +972-54-4505109 >>>>>>> >>>>>>> On Tue, Apr 7, 2015 at 1:42 PM, Steven Ayre >>>>>>> wrote: >>>>>>> >>>>>>>> The git branch is not named in the same manner as 1.2.... v1.4 >>>>>>>> instead of v1.4.stable >>>>>>>> >>>>>>>> On 6 April 2015 at 14:48, Zvi Agmon wrote: >>>>>>>> >>>>>>>>> >>>>>>>>> Stanislav , thanks for the quick response! >>>>>>>>> >>>>>>>>> I want to build from sources but can't get v1.4.stable - is that >>>>>>>>> does not exist any more? >>>>>>>>> And if not - what should I checkout, just v1.4? >>>>>>>>> >>>>>>>>> Thanks >>>>>>>>> >>>>>>>>> Zvi Agmon >>>>>>>>> >>>>>>>>> >>>>>>>>> Best regards >>>>>>>>> >>>>>>>>> Zvi Agmon >>>>>>>>> Lexifone >>>>>>>>> email: zvi at lexifone.com >>>>>>>>> Office: +972-4-6817711 >>>>>>>>> Cell: +972-54-4505109 >>>>>>>>> >>>>>>>>> On Mon, Apr 6, 2015 at 4:24 PM, Stanislav Sinyagin < >>>>>>>>> ssinyagin at gmail.com> wrote: >>>>>>>>> >>>>>>>>>> 1.2 configuration should work in 1.4 without any troubles. If you >>>>>>>>>> install from sources, you can simply delete and re-install the >>>>>>>>>> target >>>>>>>>>> directory, and then roll out the old configuration. >>>>>>>>>> >>>>>>>>>> If upgrading from binary packages, it should work with just >>>>>>>>>> "apt-get >>>>>>>>>> upgrade" or "yum update" >>>>>>>>>> >>>>>>>>>> On Mon, Apr 6, 2015 at 12:55 PM, Zvi Agmon >>>>>>>>>> wrote: >>>>>>>>>> > Hello, >>>>>>>>>> > >>>>>>>>>> > I'm trying to figure out what is the correct and best way to >>>>>>>>>> upgrade a >>>>>>>>>> > server running Freeswitch v1.2 to v1.4 stable. >>>>>>>>>> > I could not find any clear documentation - can you please help? >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> > Thanks a lot >>>>>>>>>> > >>>>>>>>>> > Zvi Agmon >>>>>>>>>> > Lexifone >>>>>>>>>> > email: zvi at lexifone.com >>>>>>>>>> > Office: +972-4-6817711 >>>>>>>>>> > Cell: +972-54-4505109 >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> _________________________________________________________________________ >>>>>>>>>> > Professional FreeSWITCH Consulting Services: >>>>>>>>>> > consulting at freeswitch.org >>>>>>>>>> > http://www.freeswitchsolutions.com >>>>>>>>>> > >>>>>>>>>> > Official FreeSWITCH Sites >>>>>>>>>> > http://www.freeswitch.org >>>>>>>>>> > http://confluence.freeswitch.org >>>>>>>>>> > http://www.cluecon.com >>>>>>>>>> > >>>>>>>>>> > FreeSWITCH-users mailing list >>>>>>>>>> > FreeSWITCH-users at lists.freeswitch.org >>>>>>>>>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>>> > UNSUBSCRIBE: >>>>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>>>> > http://www.freeswitch.org >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> _________________________________________________________________________ >>>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>>> consulting at freeswitch.org >>>>>>>>>> http://www.freeswitchsolutions.com >>>>>>>>>> >>>>>>>>>> Official FreeSWITCH Sites >>>>>>>>>> http://www.freeswitch.org >>>>>>>>>> http://confluence.freeswitch.org >>>>>>>>>> http://www.cluecon.com >>>>>>>>>> >>>>>>>>>> FreeSWITCH-users mailing list >>>>>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>>> UNSUBSCRIBE: >>>>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>>>> http://www.freeswitch.org >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> _________________________________________________________________________ >>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>> consulting at freeswitch.org >>>>>>>>> http://www.freeswitchsolutions.com >>>>>>>>> >>>>>>>>> Official FreeSWITCH Sites >>>>>>>>> http://www.freeswitch.org >>>>>>>>> http://confluence.freeswitch.org >>>>>>>>> http://www.cluecon.com >>>>>>>>> >>>>>>>>> FreeSWITCH-users mailing list >>>>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>> UNSUBSCRIBE: >>>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>>> http://www.freeswitch.org >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> _________________________________________________________________________ >>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>> consulting at freeswitch.org >>>>>>>> http://www.freeswitchsolutions.com >>>>>>>> >>>>>>>> Official FreeSWITCH Sites >>>>>>>> http://www.freeswitch.org >>>>>>>> http://confluence.freeswitch.org >>>>>>>> http://www.cluecon.com >>>>>>>> >>>>>>>> FreeSWITCH-users mailing list >>>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>> UNSUBSCRIBE: >>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>> http://www.freeswitch.org >>>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> _________________________________________________________________________ >>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>> consulting at freeswitch.org >>>>>>> http://www.freeswitchsolutions.com >>>>>>> >>>>>>> Official FreeSWITCH Sites >>>>>>> http://www.freeswitch.org >>>>>>> http://confluence.freeswitch.org >>>>>>> http://www.cluecon.com >>>>>>> >>>>>>> FreeSWITCH-users mailing list >>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> UNSUBSCRIBE: >>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>> http://www.freeswitch.org >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Sincerely, >>>>>> >>>>>> Giovanni Maruzzelli >>>>>> Cell : +39-347-2665618 >>>>>> >>>>>> >>>>>> _________________________________________________________________________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at freeswitch.org >>>>>> http://www.freeswitchsolutions.com >>>>>> >>>>>> Official FreeSWITCH Sites >>>>>> http://www.freeswitch.org >>>>>> http://confluence.freeswitch.org >>>>>> http://www.cluecon.com >>>>>> >>>>>> FreeSWITCH-users mailing list >>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE: >>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> >>>>> *Brian West* >>>>> brian at freeswitch.org >>>>> >>>>> >>>>> *Twitter: @FreeSWITCH , @briankwest* >>>>> http://www.freeswitchbook.com >>>>> http://www.freeswitchcookbook.com >>>>> >>>>> ClueCon 2015 Call for Speakers >>>>> | Register >>>>> TODAY! | Reddit: /r/freeswitch >>>>> >>>>> >>>>> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) >>>>> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> >>> -- >>> Sincerely, >>> >>> Giovanni Maruzzelli >>> Cell : +39-347-2665618 >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > Sincerely, > > Giovanni Maruzzelli > Cell : +39-347-2665618 > -- Sincerely, Giovanni Maruzzelli Cell : +39-347-2665618 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150407/5240156b/attachment-0001.html From brian at freeswitch.org Tue Apr 7 18:39:41 2015 From: brian at freeswitch.org (Brian West) Date: Tue, 7 Apr 2015 09:39:41 -0500 Subject: [Freeswitch-users] WebRTC + Chrome = RTP Socket Error! In-Reply-To: References: Message-ID: Do you happen to have the full sip trace with debug log from FreeSWITCH? sofia global siptrace on On Tue, Apr 7, 2015 at 5:00 AM, Luiz Fernando Softov wrote: > I'm testing WebRTC + Chrome > > Using > > http://sipjs.com > > When im using FireFox, its work fine, i can make and receive calls with > audio and/or video > > But when i try to use chrome. > > The other extension rings, but when i answer the call > > I receive this error, and call hangup > > 2015-04-07 05:51:39.016628 [ERR] switch_core_media.c:5775 AUDIO RTP > REPORTS ERROR: [Socket Error!] > 2015-04-07 05:51:39.016628 [NOTICE] switch_core_media.c:5776 Hangup > sofia/internal/1001 at 192.168.1.100 [CS_EXECUTE] [DESTINATION_OUT_OF_ORDER] > > Has anyone experienced the same problem? > > > -- > Luiz Fernando Softov > http://www.softov.com.br > fernando at softov.com.br > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com ClueCon 2015 Call for Speakers | Register TODAY! | Reddit: /r/freeswitch *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150407/e9913a8b/attachment.html From mishehu at freeswitch.org Tue Apr 7 20:42:27 2015 From: mishehu at freeswitch.org (I put the Who? in Mishehu) Date: Tue, 07 Apr 2015 11:42:27 -0500 Subject: [Freeswitch-users] suggest best codecs to use with freeswitch for good voice quality ?? In-Reply-To: References: Message-ID: <552408F3.1030504@freeswitch.org> I think that AMR is one of the codecs that does not allow for transcoding, at least with the in-tree module. Might require something additional. -- Yossi Neiman On 04/07/2015 04:57 AM, Steven Ayre wrote: > That's not necessarily the case - GSM is not the only codec used by > mobile networks, there's others such as AMR > > On 4 April 2015 at 19:11, Russell Treleaven > wrote: > > Since one of the legs is GSM the best you can hope for is slightly > worse than GSM because you are transcoding. > > > On Sat, Apr 4, 2015 at 2:01 PM, Russell Treleaven > > wrote: > > for the freeswitch side > data="absolute_codec_string=L16 at 16000h"/> > > for the asterisk side > you will have to figure that out yourself. > > > > On Sat, Apr 4, 2015 at 12:40 PM, Shabbir abbasi > > > wrote: > > thank you for reply > it is freeswitch.conf > data="sound_prefix=$${sounds_dir}/en/us/callie"/> > > data="global_codec_prefs=G7221 at 32000h,G7221 at 16000h,G722,PCMU,PCMA,GSM"/> > > > > > > > > > > > > > > > > > > > value="false"/> > > > > > > value="$${global_codec_prefs}"/> > value="$${global_codec_prefs}"/> > > > > > > > > > > value="generous"/> > > > > > > > > > and here is asterisk sip.con > disallow=all > allow=ulaw > allow=alaw > > what i need to change ?? > > On Sat, Apr 4, 2015 at 9:13 PM, Russell Treleaven > > > wrote: > > probably the best you can do is limit the number of > transcodings and/or resamplings > > skype uses silk > freeswitch core uses L16 > sip session uses > asterisk core uses ? > audio is presented to the dongle as ? > cellular network uses gsm > > if ? = L16 then make the sip session use L16 > use the loopback interface so that MTU is not an issue > > > On Fri, Apr 3, 2015 at 2:50 PM, Shabbir abbasi > > wrote: > > for this setup > skype --> freeswitch(mod_skypopen --> mod_sofia) > ---> asterisk(chan_sip --> chan_dongle[Huawei > E169] ) on same machine > > suggest best codecs to use with freeswitch and > asterisk for good voice quality ?? > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150407/72e0bb98/attachment-0001.html From rtreleaven at bunnykick.ca Tue Apr 7 20:59:57 2015 From: rtreleaven at bunnykick.ca (Russell Treleaven) Date: Tue, 7 Apr 2015 12:59:57 -0400 Subject: [Freeswitch-users] suggest best codecs to use with freeswitch for good voice quality ?? In-Reply-To: <552408F3.1030504@freeswitch.org> References: <552408F3.1030504@freeswitch.org> Message-ID: Can the GSM dongle do AMR? On Tue, Apr 7, 2015 at 12:42 PM, I put the Who? in Mishehu < mishehu at freeswitch.org> wrote: > I think that AMR is one of the codecs that does not allow for > transcoding, at least with the in-tree module. Might require something > additional. > > -- > Yossi Neiman > > On 04/07/2015 04:57 AM, Steven Ayre wrote: > > That's not necessarily the case - GSM is not the only codec used by > mobile networks, there's others such as AMR > > On 4 April 2015 at 19:11, Russell Treleaven > wrote: > >> Since one of the legs is GSM the best you can hope for is slightly worse >> than GSM because you are transcoding. >> >> >> On Sat, Apr 4, 2015 at 2:01 PM, Russell Treleaven < >> rtreleaven at bunnykick.ca> wrote: >> >>> for the freeswitch side >>> >>> >>> for the asterisk side >>> you will have to figure that out yourself. >>> >>> >>> >>> On Sat, Apr 4, 2015 at 12:40 PM, Shabbir abbasi < >>> shabbirabbasi92 at gmail.com> wrote: >>> >>>> thank you for reply >>>> it is freeswitch.conf >>>> >>> data="sound_prefix=$${sounds_dir}/en/us/callie"/> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>> value="$${global_codec_prefs}"/> >>>> >>> value="$${global_codec_prefs}"/> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> and here is asterisk sip.con >>>> disallow=all >>>> allow=ulaw >>>> allow=alaw >>>> >>>> what i need to change ?? >>>> >>>> On Sat, Apr 4, 2015 at 9:13 PM, Russell Treleaven < >>>> rtreleaven at bunnykick.ca> wrote: >>>> >>>>> probably the best you can do is limit the number of transcodings >>>>> and/or resamplings >>>>> >>>>> skype uses silk >>>>> freeswitch core uses L16 >>>>> sip session uses >>>>> asterisk core uses ? >>>>> audio is presented to the dongle as ? >>>>> cellular network uses gsm >>>>> >>>>> if ? = L16 then make the sip session use L16 >>>>> use the loopback interface so that MTU is not an issue >>>>> >>>>> >>>>> On Fri, Apr 3, 2015 at 2:50 PM, Shabbir abbasi < >>>>> shabbirabbasi92 at gmail.com> wrote: >>>>> >>>>>> for this setup >>>>>> skype --> freeswitch(mod_skypopen --> mod_sofia) ---> >>>>>> asterisk(chan_sip --> chan_dongle[Huawei E169] ) on same machine >>>>>> >>>>>> suggest best codecs to use with freeswitch and asterisk for good >>>>>> voice quality ?? >>>>>> >>>>>> >>>>>> _________________________________________________________________________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at freeswitch.org >>>>>> http://www.freeswitchsolutions.com >>>>>> >>>>>> Official FreeSWITCH Sites >>>>>> http://www.freeswitch.org >>>>>> http://confluence.freeswitch.org >>>>>> http://www.cluecon.com >>>>>> >>>>>> FreeSWITCH-users mailing list >>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE: >>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>> >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: consulting at freeswitch.orghttp://www.freeswitchsolutions.com > > Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com > > FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150407/721e487f/attachment-0001.html From zvi at lexifone.com Tue Apr 7 22:08:44 2015 From: zvi at lexifone.com (Zvi Agmon) Date: Tue, 7 Apr 2015 21:08:44 +0300 Subject: [Freeswitch-users] Upgrade Freeswitch to v1.4 stable version In-Reply-To: References: Message-ID: Hi Giovanni, I managed to get it work - thanks a lot for you help! Zvi Best regards Zvi Agmon Lexifone email: zvi at lexifone.com Office: +972-4-6817711 Cell: +972-54-4505109 On Tue, Apr 7, 2015 at 4:51 PM, Giovanni Maruzzelli wrote: > sorry, it requires compilation. > > Compile the 1.8 version using the lua embedded by FreeSWITCH > > On Tue, Apr 7, 2015 at 3:48 PM, Giovanni Maruzzelli > wrote: > >> luaxml seems not to require compilation at all. >> >> if you are using from FreeSWITCH just use the 1.8 version of luaxml >> >> >> >> On Tue, Apr 7, 2015 at 3:32 PM, Zvi Agmon wrote: >> >>> Hi Giovanni, >>> >>> I'm not so much familiar with lua - is that relevant for LuaXml? >>> As I'm having problem running the file LuaXml.lua >>> >>> Thanks >>> Zvi >>> >>> Best regards >>> >>> Zvi Agmon >>> Lexifone >>> email: zvi at lexifone.com >>> Office: +972-4-6817711 >>> Cell: +972-54-4505109 >>> >>> On Tue, Apr 7, 2015 at 4:07 PM, Giovanni Maruzzelli >>> wrote: >>> >>>> this instructions let you compile luasocket using lua embedded in >>>> freeswitch. >>>> >>>> >>>> https://freeswitch.org/confluence/display/FREESWITCH/Installing+LuaSocket >>>> >>>> You can alter it to compile your lua extensions... >>>> >>>> Pay attention to the openlib/register substitution, that's the most >>>> difference between 5.1 and 5.2 >>>> >>>> Anyway, just link it with the lua embedded into FreeSWITCH. >>>> >>>> >>>> -giovanni >>>> >>>> On Tue, Apr 7, 2015 at 2:56 PM, Zvi Agmon wrote: >>>> >>>>> Hi, >>>>> >>>>> We are using LuaXml.lua and it requires the LuaXML_lib - in v1.2 it >>>>> worked with lua 5.1 but now it fails... How to fix it? >>>>> >>>>> Thanks >>>>> Zvi Agmon >>>>> >>>>> Best regards >>>>> >>>>> Zvi Agmon >>>>> Lexifone >>>>> email: zvi at lexifone.com >>>>> Office: +972-4-6817711 >>>>> Cell: +972-54-4505109 >>>>> >>>>> On Tue, Apr 7, 2015 at 3:49 PM, Brian West >>>>> wrote: >>>>> >>>>>> Giovanni, >>>>>> >>>>>> We are moving to system Lua, I will need to double check but I think >>>>>> Mike already made this change in the v1.4 release branch. >>>>>> >>>>>> On Tue, Apr 7, 2015 at 7:38 AM, Giovanni Maruzzelli < >>>>>> gmaruzz at gmail.com> wrote: >>>>>> >>>>>>> you don't need to make lua >>>>>>> >>>>>>> it will be automatically made by compiling freeswitch, you don't >>>>>>> need no external lua. >>>>>>> >>>>>>> just compile and install freeswitch, it will have its own lua >>>>>>> embedded. >>>>>>> >>>>>>> -giovanni >>>>>>> >>>>>>> >>>>>>> On Tue, Apr 7, 2015 at 2:26 PM, Zvi Agmon wrote: >>>>>>> >>>>>>>> Steven thanks, >>>>>>>> >>>>>>>> I pulled the v1.4 but now having troubles upgrade to lua 5.2. >>>>>>>> I tried running this (taken from >>>>>>>> https://freeswitch.org/confluence/display/FREESWITCH/Third+Party+Libraries >>>>>>>> ): >>>>>>>> >>>>>>>> apt-get install lua5.2 luarocks >>>>>>>> luarocks install luaxml >>>>>>>> >>>>>>>> But it keeps failing with dependency error. >>>>>>>> >>>>>>>> What is the correct way to make lua 5.2 for Freeswtich? >>>>>>>> >>>>>>>> Thanks >>>>>>>> Zvi Agmon >>>>>>>> >>>>>>>> Best regards >>>>>>>> >>>>>>>> Zvi Agmon >>>>>>>> Lexifone >>>>>>>> email: zvi at lexifone.com >>>>>>>> Office: +972-4-6817711 >>>>>>>> Cell: +972-54-4505109 >>>>>>>> >>>>>>>> On Tue, Apr 7, 2015 at 1:42 PM, Steven Ayre >>>>>>>> wrote: >>>>>>>> >>>>>>>>> The git branch is not named in the same manner as 1.2.... v1.4 >>>>>>>>> instead of v1.4.stable >>>>>>>>> >>>>>>>>> On 6 April 2015 at 14:48, Zvi Agmon wrote: >>>>>>>>> >>>>>>>>>> >>>>>>>>>> Stanislav , thanks for the quick response! >>>>>>>>>> >>>>>>>>>> I want to build from sources but can't get v1.4.stable - is that >>>>>>>>>> does not exist any more? >>>>>>>>>> And if not - what should I checkout, just v1.4? >>>>>>>>>> >>>>>>>>>> Thanks >>>>>>>>>> >>>>>>>>>> Zvi Agmon >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> Best regards >>>>>>>>>> >>>>>>>>>> Zvi Agmon >>>>>>>>>> Lexifone >>>>>>>>>> email: zvi at lexifone.com >>>>>>>>>> Office: +972-4-6817711 >>>>>>>>>> Cell: +972-54-4505109 >>>>>>>>>> >>>>>>>>>> On Mon, Apr 6, 2015 at 4:24 PM, Stanislav Sinyagin < >>>>>>>>>> ssinyagin at gmail.com> wrote: >>>>>>>>>> >>>>>>>>>>> 1.2 configuration should work in 1.4 without any troubles. If you >>>>>>>>>>> install from sources, you can simply delete and re-install the >>>>>>>>>>> target >>>>>>>>>>> directory, and then roll out the old configuration. >>>>>>>>>>> >>>>>>>>>>> If upgrading from binary packages, it should work with just >>>>>>>>>>> "apt-get >>>>>>>>>>> upgrade" or "yum update" >>>>>>>>>>> >>>>>>>>>>> On Mon, Apr 6, 2015 at 12:55 PM, Zvi Agmon >>>>>>>>>>> wrote: >>>>>>>>>>> > Hello, >>>>>>>>>>> > >>>>>>>>>>> > I'm trying to figure out what is the correct and best way to >>>>>>>>>>> upgrade a >>>>>>>>>>> > server running Freeswitch v1.2 to v1.4 stable. >>>>>>>>>>> > I could not find any clear documentation - can you please help? >>>>>>>>>>> > >>>>>>>>>>> > >>>>>>>>>>> > Thanks a lot >>>>>>>>>>> > >>>>>>>>>>> > Zvi Agmon >>>>>>>>>>> > Lexifone >>>>>>>>>>> > email: zvi at lexifone.com >>>>>>>>>>> > Office: +972-4-6817711 >>>>>>>>>>> > Cell: +972-54-4505109 >>>>>>>>>>> > >>>>>>>>>>> > >>>>>>>>>>> _________________________________________________________________________ >>>>>>>>>>> > Professional FreeSWITCH Consulting Services: >>>>>>>>>>> > consulting at freeswitch.org >>>>>>>>>>> > http://www.freeswitchsolutions.com >>>>>>>>>>> > >>>>>>>>>>> > Official FreeSWITCH Sites >>>>>>>>>>> > http://www.freeswitch.org >>>>>>>>>>> > http://confluence.freeswitch.org >>>>>>>>>>> > http://www.cluecon.com >>>>>>>>>>> > >>>>>>>>>>> > FreeSWITCH-users mailing list >>>>>>>>>>> > FreeSWITCH-users at lists.freeswitch.org >>>>>>>>>>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>>>> > UNSUBSCRIBE: >>>>>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>>>>> > http://www.freeswitch.org >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> _________________________________________________________________________ >>>>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>>>> consulting at freeswitch.org >>>>>>>>>>> http://www.freeswitchsolutions.com >>>>>>>>>>> >>>>>>>>>>> Official FreeSWITCH Sites >>>>>>>>>>> http://www.freeswitch.org >>>>>>>>>>> http://confluence.freeswitch.org >>>>>>>>>>> http://www.cluecon.com >>>>>>>>>>> >>>>>>>>>>> FreeSWITCH-users mailing list >>>>>>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>>>> UNSUBSCRIBE: >>>>>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>>>>> http://www.freeswitch.org >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> _________________________________________________________________________ >>>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>>> consulting at freeswitch.org >>>>>>>>>> http://www.freeswitchsolutions.com >>>>>>>>>> >>>>>>>>>> Official FreeSWITCH Sites >>>>>>>>>> http://www.freeswitch.org >>>>>>>>>> http://confluence.freeswitch.org >>>>>>>>>> http://www.cluecon.com >>>>>>>>>> >>>>>>>>>> FreeSWITCH-users mailing list >>>>>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>>> UNSUBSCRIBE: >>>>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>>>> http://www.freeswitch.org >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> _________________________________________________________________________ >>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>> consulting at freeswitch.org >>>>>>>>> http://www.freeswitchsolutions.com >>>>>>>>> >>>>>>>>> Official FreeSWITCH Sites >>>>>>>>> http://www.freeswitch.org >>>>>>>>> http://confluence.freeswitch.org >>>>>>>>> http://www.cluecon.com >>>>>>>>> >>>>>>>>> FreeSWITCH-users mailing list >>>>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>> UNSUBSCRIBE: >>>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>>> http://www.freeswitch.org >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> _________________________________________________________________________ >>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>> consulting at freeswitch.org >>>>>>>> http://www.freeswitchsolutions.com >>>>>>>> >>>>>>>> Official FreeSWITCH Sites >>>>>>>> http://www.freeswitch.org >>>>>>>> http://confluence.freeswitch.org >>>>>>>> http://www.cluecon.com >>>>>>>> >>>>>>>> FreeSWITCH-users mailing list >>>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>> UNSUBSCRIBE: >>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>> http://www.freeswitch.org >>>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> Sincerely, >>>>>>> >>>>>>> Giovanni Maruzzelli >>>>>>> Cell : +39-347-2665618 >>>>>>> >>>>>>> >>>>>>> _________________________________________________________________________ >>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>> consulting at freeswitch.org >>>>>>> http://www.freeswitchsolutions.com >>>>>>> >>>>>>> Official FreeSWITCH Sites >>>>>>> http://www.freeswitch.org >>>>>>> http://confluence.freeswitch.org >>>>>>> http://www.cluecon.com >>>>>>> >>>>>>> FreeSWITCH-users mailing list >>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> UNSUBSCRIBE: >>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>> http://www.freeswitch.org >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> >>>>>> *Brian West* >>>>>> brian at freeswitch.org >>>>>> >>>>>> >>>>>> *Twitter: @FreeSWITCH , @briankwest* >>>>>> http://www.freeswitchbook.com >>>>>> http://www.freeswitchcookbook.com >>>>>> >>>>>> ClueCon 2015 Call for Speakers >>>>>> | Register >>>>>> TODAY! | Reddit: >>>>>> /r/freeswitch >>>>>> >>>>>> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) >>>>>> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest >>>>>> >>>>>> >>>>>> _________________________________________________________________________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at freeswitch.org >>>>>> http://www.freeswitchsolutions.com >>>>>> >>>>>> Official FreeSWITCH Sites >>>>>> http://www.freeswitch.org >>>>>> http://confluence.freeswitch.org >>>>>> http://www.cluecon.com >>>>>> >>>>>> FreeSWITCH-users mailing list >>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE: >>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>> >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>>> >>>> -- >>>> Sincerely, >>>> >>>> Giovanni Maruzzelli >>>> Cell : +39-347-2665618 >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> >> -- >> Sincerely, >> >> Giovanni Maruzzelli >> Cell : +39-347-2665618 >> > > > > -- > Sincerely, > > Giovanni Maruzzelli > Cell : +39-347-2665618 > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150407/ffcb593f/attachment-0001.html From gmaruzz at gmail.com Tue Apr 7 22:12:32 2015 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Tue, 7 Apr 2015 20:12:32 +0200 Subject: [Freeswitch-users] Upgrade Freeswitch to v1.4 stable version In-Reply-To: References: Message-ID: Happy it worked! sent from my mobile, Giovanni Maruzzelli cell: +39 347 266 56 18 On Apr 7, 2015 8:09 PM, "Zvi Agmon" wrote: > Hi Giovanni, > > I managed to get it work - thanks a lot for you help! > > Zvi > > Best regards > > Zvi Agmon > Lexifone > email: zvi at lexifone.com > Office: +972-4-6817711 > Cell: +972-54-4505109 > > On Tue, Apr 7, 2015 at 4:51 PM, Giovanni Maruzzelli > wrote: > >> sorry, it requires compilation. >> >> Compile the 1.8 version using the lua embedded by FreeSWITCH >> >> On Tue, Apr 7, 2015 at 3:48 PM, Giovanni Maruzzelli >> wrote: >> >>> luaxml seems not to require compilation at all. >>> >>> if you are using from FreeSWITCH just use the 1.8 version of luaxml >>> >>> >>> >>> On Tue, Apr 7, 2015 at 3:32 PM, Zvi Agmon wrote: >>> >>>> Hi Giovanni, >>>> >>>> I'm not so much familiar with lua - is that relevant for LuaXml? >>>> As I'm having problem running the file LuaXml.lua >>>> >>>> Thanks >>>> Zvi >>>> >>>> Best regards >>>> >>>> Zvi Agmon >>>> Lexifone >>>> email: zvi at lexifone.com >>>> Office: +972-4-6817711 >>>> Cell: +972-54-4505109 >>>> >>>> On Tue, Apr 7, 2015 at 4:07 PM, Giovanni Maruzzelli >>>> wrote: >>>> >>>>> this instructions let you compile luasocket using lua embedded in >>>>> freeswitch. >>>>> >>>>> >>>>> https://freeswitch.org/confluence/display/FREESWITCH/Installing+LuaSocket >>>>> >>>>> You can alter it to compile your lua extensions... >>>>> >>>>> Pay attention to the openlib/register substitution, that's the most >>>>> difference between 5.1 and 5.2 >>>>> >>>>> Anyway, just link it with the lua embedded into FreeSWITCH. >>>>> >>>>> >>>>> -giovanni >>>>> >>>>> On Tue, Apr 7, 2015 at 2:56 PM, Zvi Agmon wrote: >>>>> >>>>>> Hi, >>>>>> >>>>>> We are using LuaXml.lua and it requires the LuaXML_lib - in v1.2 it >>>>>> worked with lua 5.1 but now it fails... How to fix it? >>>>>> >>>>>> Thanks >>>>>> Zvi Agmon >>>>>> >>>>>> Best regards >>>>>> >>>>>> Zvi Agmon >>>>>> Lexifone >>>>>> email: zvi at lexifone.com >>>>>> Office: +972-4-6817711 >>>>>> Cell: +972-54-4505109 >>>>>> >>>>>> On Tue, Apr 7, 2015 at 3:49 PM, Brian West >>>>>> wrote: >>>>>> >>>>>>> Giovanni, >>>>>>> >>>>>>> We are moving to system Lua, I will need to double check but I think >>>>>>> Mike already made this change in the v1.4 release branch. >>>>>>> >>>>>>> On Tue, Apr 7, 2015 at 7:38 AM, Giovanni Maruzzelli < >>>>>>> gmaruzz at gmail.com> wrote: >>>>>>> >>>>>>>> you don't need to make lua >>>>>>>> >>>>>>>> it will be automatically made by compiling freeswitch, you don't >>>>>>>> need no external lua. >>>>>>>> >>>>>>>> just compile and install freeswitch, it will have its own lua >>>>>>>> embedded. >>>>>>>> >>>>>>>> -giovanni >>>>>>>> >>>>>>>> >>>>>>>> On Tue, Apr 7, 2015 at 2:26 PM, Zvi Agmon wrote: >>>>>>>> >>>>>>>>> Steven thanks, >>>>>>>>> >>>>>>>>> I pulled the v1.4 but now having troubles upgrade to lua 5.2. >>>>>>>>> I tried running this (taken from >>>>>>>>> https://freeswitch.org/confluence/display/FREESWITCH/Third+Party+Libraries >>>>>>>>> ): >>>>>>>>> >>>>>>>>> apt-get install lua5.2 luarocks >>>>>>>>> luarocks install luaxml >>>>>>>>> >>>>>>>>> But it keeps failing with dependency error. >>>>>>>>> >>>>>>>>> What is the correct way to make lua 5.2 for Freeswtich? >>>>>>>>> >>>>>>>>> Thanks >>>>>>>>> Zvi Agmon >>>>>>>>> >>>>>>>>> Best regards >>>>>>>>> >>>>>>>>> Zvi Agmon >>>>>>>>> Lexifone >>>>>>>>> email: zvi at lexifone.com >>>>>>>>> Office: +972-4-6817711 >>>>>>>>> Cell: +972-54-4505109 >>>>>>>>> >>>>>>>>> On Tue, Apr 7, 2015 at 1:42 PM, Steven Ayre >>>>>>>>> wrote: >>>>>>>>> >>>>>>>>>> The git branch is not named in the same manner as 1.2.... v1.4 >>>>>>>>>> instead of v1.4.stable >>>>>>>>>> >>>>>>>>>> On 6 April 2015 at 14:48, Zvi Agmon wrote: >>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> Stanislav , thanks for the quick response! >>>>>>>>>>> >>>>>>>>>>> I want to build from sources but can't get v1.4.stable - is that >>>>>>>>>>> does not exist any more? >>>>>>>>>>> And if not - what should I checkout, just v1.4? >>>>>>>>>>> >>>>>>>>>>> Thanks >>>>>>>>>>> >>>>>>>>>>> Zvi Agmon >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> Best regards >>>>>>>>>>> >>>>>>>>>>> Zvi Agmon >>>>>>>>>>> Lexifone >>>>>>>>>>> email: zvi at lexifone.com >>>>>>>>>>> Office: +972-4-6817711 >>>>>>>>>>> Cell: +972-54-4505109 >>>>>>>>>>> >>>>>>>>>>> On Mon, Apr 6, 2015 at 4:24 PM, Stanislav Sinyagin < >>>>>>>>>>> ssinyagin at gmail.com> wrote: >>>>>>>>>>> >>>>>>>>>>>> 1.2 configuration should work in 1.4 without any troubles. If >>>>>>>>>>>> you >>>>>>>>>>>> install from sources, you can simply delete and re-install the >>>>>>>>>>>> target >>>>>>>>>>>> directory, and then roll out the old configuration. >>>>>>>>>>>> >>>>>>>>>>>> If upgrading from binary packages, it should work with just >>>>>>>>>>>> "apt-get >>>>>>>>>>>> upgrade" or "yum update" >>>>>>>>>>>> >>>>>>>>>>>> On Mon, Apr 6, 2015 at 12:55 PM, Zvi Agmon >>>>>>>>>>>> wrote: >>>>>>>>>>>> > Hello, >>>>>>>>>>>> > >>>>>>>>>>>> > I'm trying to figure out what is the correct and best way to >>>>>>>>>>>> upgrade a >>>>>>>>>>>> > server running Freeswitch v1.2 to v1.4 stable. >>>>>>>>>>>> > I could not find any clear documentation - can you please >>>>>>>>>>>> help? >>>>>>>>>>>> > >>>>>>>>>>>> > >>>>>>>>>>>> > Thanks a lot >>>>>>>>>>>> > >>>>>>>>>>>> > Zvi Agmon >>>>>>>>>>>> > Lexifone >>>>>>>>>>>> > email: zvi at lexifone.com >>>>>>>>>>>> > Office: +972-4-6817711 >>>>>>>>>>>> > Cell: +972-54-4505109 >>>>>>>>>>>> > >>>>>>>>>>>> > >>>>>>>>>>>> _________________________________________________________________________ >>>>>>>>>>>> > Professional FreeSWITCH Consulting Services: >>>>>>>>>>>> > consulting at freeswitch.org >>>>>>>>>>>> > http://www.freeswitchsolutions.com >>>>>>>>>>>> > >>>>>>>>>>>> > Official FreeSWITCH Sites >>>>>>>>>>>> > http://www.freeswitch.org >>>>>>>>>>>> > http://confluence.freeswitch.org >>>>>>>>>>>> > http://www.cluecon.com >>>>>>>>>>>> > >>>>>>>>>>>> > FreeSWITCH-users mailing list >>>>>>>>>>>> > FreeSWITCH-users at lists.freeswitch.org >>>>>>>>>>>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>>>>> > UNSUBSCRIBE: >>>>>>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>>>>>> > http://www.freeswitch.org >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> _________________________________________________________________________ >>>>>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>>>>> consulting at freeswitch.org >>>>>>>>>>>> http://www.freeswitchsolutions.com >>>>>>>>>>>> >>>>>>>>>>>> Official FreeSWITCH Sites >>>>>>>>>>>> http://www.freeswitch.org >>>>>>>>>>>> http://confluence.freeswitch.org >>>>>>>>>>>> http://www.cluecon.com >>>>>>>>>>>> >>>>>>>>>>>> FreeSWITCH-users mailing list >>>>>>>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>>>>> UNSUBSCRIBE: >>>>>>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>>>>>> http://www.freeswitch.org >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> _________________________________________________________________________ >>>>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>>>> consulting at freeswitch.org >>>>>>>>>>> http://www.freeswitchsolutions.com >>>>>>>>>>> >>>>>>>>>>> Official FreeSWITCH Sites >>>>>>>>>>> http://www.freeswitch.org >>>>>>>>>>> http://confluence.freeswitch.org >>>>>>>>>>> http://www.cluecon.com >>>>>>>>>>> >>>>>>>>>>> FreeSWITCH-users mailing list >>>>>>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>>>> UNSUBSCRIBE: >>>>>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>>>>> http://www.freeswitch.org >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> _________________________________________________________________________ >>>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>>> consulting at freeswitch.org >>>>>>>>>> http://www.freeswitchsolutions.com >>>>>>>>>> >>>>>>>>>> Official FreeSWITCH Sites >>>>>>>>>> http://www.freeswitch.org >>>>>>>>>> http://confluence.freeswitch.org >>>>>>>>>> http://www.cluecon.com >>>>>>>>>> >>>>>>>>>> FreeSWITCH-users mailing list >>>>>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>>> UNSUBSCRIBE: >>>>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>>>> http://www.freeswitch.org >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> _________________________________________________________________________ >>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>> consulting at freeswitch.org >>>>>>>>> http://www.freeswitchsolutions.com >>>>>>>>> >>>>>>>>> Official FreeSWITCH Sites >>>>>>>>> http://www.freeswitch.org >>>>>>>>> http://confluence.freeswitch.org >>>>>>>>> http://www.cluecon.com >>>>>>>>> >>>>>>>>> FreeSWITCH-users mailing list >>>>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>> UNSUBSCRIBE: >>>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>>> http://www.freeswitch.org >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> Sincerely, >>>>>>>> >>>>>>>> Giovanni Maruzzelli >>>>>>>> Cell : +39-347-2665618 >>>>>>>> >>>>>>>> >>>>>>>> _________________________________________________________________________ >>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>> consulting at freeswitch.org >>>>>>>> http://www.freeswitchsolutions.com >>>>>>>> >>>>>>>> Official FreeSWITCH Sites >>>>>>>> http://www.freeswitch.org >>>>>>>> http://confluence.freeswitch.org >>>>>>>> http://www.cluecon.com >>>>>>>> >>>>>>>> FreeSWITCH-users mailing list >>>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>> UNSUBSCRIBE: >>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>> http://www.freeswitch.org >>>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> >>>>>>> *Brian West* >>>>>>> brian at freeswitch.org >>>>>>> >>>>>>> >>>>>>> *Twitter: @FreeSWITCH , @briankwest* >>>>>>> http://www.freeswitchbook.com >>>>>>> http://www.freeswitchcookbook.com >>>>>>> >>>>>>> ClueCon 2015 Call for Speakers >>>>>>> | Register >>>>>>> TODAY! | Reddit: >>>>>>> /r/freeswitch >>>>>>> >>>>>>> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) >>>>>>> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest >>>>>>> >>>>>>> >>>>>>> _________________________________________________________________________ >>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>> consulting at freeswitch.org >>>>>>> http://www.freeswitchsolutions.com >>>>>>> >>>>>>> Official FreeSWITCH Sites >>>>>>> http://www.freeswitch.org >>>>>>> http://confluence.freeswitch.org >>>>>>> http://www.cluecon.com >>>>>>> >>>>>>> FreeSWITCH-users mailing list >>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> UNSUBSCRIBE: >>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>> http://www.freeswitch.org >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> _________________________________________________________________________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at freeswitch.org >>>>>> http://www.freeswitchsolutions.com >>>>>> >>>>>> Official FreeSWITCH Sites >>>>>> http://www.freeswitch.org >>>>>> http://confluence.freeswitch.org >>>>>> http://www.cluecon.com >>>>>> >>>>>> FreeSWITCH-users mailing list >>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE: >>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> Sincerely, >>>>> >>>>> Giovanni Maruzzelli >>>>> Cell : +39-347-2665618 >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> >>> -- >>> Sincerely, >>> >>> Giovanni Maruzzelli >>> Cell : +39-347-2665618 >>> >> >> >> >> -- >> Sincerely, >> >> Giovanni Maruzzelli >> Cell : +39-347-2665618 >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150407/247f57d2/attachment-0001.html From agoulis at opensips.org Tue Apr 7 22:16:06 2015 From: agoulis at opensips.org (Alex Goulis) Date: Tue, 07 Apr 2015 13:16:06 -0500 Subject: [Freeswitch-users] OpenSIPS Summit May 12 & 13 in Amsterdam! Message-ID: <55241EE6.7050508@opensips.org> The OpenSIPS Project is excited to announce our first European summit on May 12 & 13 2015 at the Westcord Fashion Hotel in Amsterdam! With the release of OpenSIPS 2.1 we'll have so much to cover that we've decided to make this a 2 day event. You can get more information about the summit at: http://www.opensips.org/Community/Summit-2015Amsterdam-Schedule For beginners, get answers to questions like: * why OpenSIPS is the right choice for you network * what are the OpenSIPS capabilities, features and limits * how to extend, expand and enhance your SIP service with OpenSIPS Seasoned professionals can: * Learn about new modules and features * Discuss advanced topics * Discuss the development roadmap for OpenSIPS Speakers include: * Alexandr Dubovikov - Founder of Homer Sipcapture project * Pete Kelly - Sourcevox * Dan Christian Bogos - ITsysCOM * Tijmen de Mes - AG Projects Hotel information: http://www.westcordhotels.com/sea/westcord-fashion-hotel-amsterdam Conference schedule: http://www.opensips.org/Community/Summit-2015Amsterdam-Schedule#toc1 Information on previous summits: http://www.opensips.org/Community/Summits We look forward to seeing you in Amsterdam! -The OpenSIPS Project Team -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150407/748a012c/attachment.html From brian at freeswitch.org Tue Apr 7 22:16:42 2015 From: brian at freeswitch.org (Brian West) Date: Tue, 7 Apr 2015 13:16:42 -0500 Subject: [Freeswitch-users] [Freeswitch-docs] DOC Sprint Apr 10 In-Reply-To: References: Message-ID: Since we have not migrated the conference box to our new 1.6 branch with Video Support, we'll be using that, dust off those webcams, and headsets and get ready to interact and screen share. ;) If you have questions feel free to drop by https://conference.freeswitch.org, we'll be hanging out in 888 most of the week. Thanks, On Tue, Apr 7, 2015 at 6:24 AM, ?talo Rossi wrote: > Hi Everyone, > > We are organizing an other Sprint to work on FreeSWITCH Documentation on > Friday 10 April 2015 at 10am CT. > It will be 4 hours long but you can join for less time. > > The Doc-sprint will focus on migrating the remaining pages from old FS > Wiki (https://wiki.freeswitch.org) to Confluence ( > https://freeswitch.org/confluence). > > We will use this IRC channel during the sprint: #freeswitch-docs > and we will be tracking our work on a spreadsheet: > https://docs.google.com/spreadsheets/d/1qsG-kRymvKlNBapnBLw86W130VdbnK6naYapbR_UNds/edit?pli=1#gid=1187898333 > to avoid working on the same content. > So during the sprint, please change the page ""Status"" you are working on > to ""Editing"" with your name next to it. > > Some extra information: > - https://freeswitch.org/confluence/display/FREESWITCH/Wiki+Migration > - > https://freeswitch.org/confluence/display/FREESWITCH/Contributing+Documentation > > Let us know if you have any question. > > We hope to get a maximum number of people signed up! > > So, who is in? > > > Confirmed: > > Italo (+4) > Areski > Bote > > -- > ?talo Rossi > > _______________________________________________ > Freeswitch-docs mailing list > Freeswitch-docs at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-docs > > -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com ClueCon 2015 Call for Speakers | Register TODAY! | Reddit: /r/freeswitch *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150407/693dcee8/attachment.html From dvl36.ripe.nick at gmail.com Tue Apr 7 22:33:36 2015 From: dvl36.ripe.nick at gmail.com (Dmitry Lysenko) Date: Tue, 7 Apr 2015 21:33:36 +0300 Subject: [Freeswitch-users] suggest best codecs to use with freeswitch for good voice quality ?? In-Reply-To: References: <552408F3.1030504@freeswitch.org> Message-ID: Yes, GSM dongle can do AMR, but the I/O (with PC) in L16. So, the best codec, in this case, will be L16. 2015-04-07 19:59 GMT+03:00 Russell Treleaven : > Can the GSM dongle do AMR? > > On Tue, Apr 7, 2015 at 12:42 PM, I put the Who? in Mishehu < > mishehu at freeswitch.org> wrote: > >> I think that AMR is one of the codecs that does not allow for >> transcoding, at least with the in-tree module. Might require something >> additional. >> >> -- >> Yossi Neiman >> >> On 04/07/2015 04:57 AM, Steven Ayre wrote: >> >> That's not necessarily the case - GSM is not the only codec used by >> mobile networks, there's others such as AMR >> >> On 4 April 2015 at 19:11, Russell Treleaven >> wrote: >> >>> Since one of the legs is GSM the best you can hope for is slightly worse >>> than GSM because you are transcoding. >>> >>> >>> On Sat, Apr 4, 2015 at 2:01 PM, Russell Treleaven < >>> rtreleaven at bunnykick.ca> wrote: >>> >>>> for the freeswitch side >>>> >>>> >>>> for the asterisk side >>>> you will have to figure that out yourself. >>>> >>>> >>>> >>>> On Sat, Apr 4, 2015 at 12:40 PM, Shabbir abbasi < >>>> shabbirabbasi92 at gmail.com> wrote: >>>> >>>>> thank you for reply >>>>> it is freeswitch.conf >>>>> >>>> data="sound_prefix=$${sounds_dir}/en/us/callie"/> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>> value="false"/> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>> value="$${global_codec_prefs}"/> >>>>> >>>> value="$${global_codec_prefs}"/> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> and here is asterisk sip.con >>>>> disallow=all >>>>> allow=ulaw >>>>> allow=alaw >>>>> >>>>> what i need to change ?? >>>>> >>>>> On Sat, Apr 4, 2015 at 9:13 PM, Russell Treleaven < >>>>> rtreleaven at bunnykick.ca> wrote: >>>>> >>>>>> probably the best you can do is limit the number of transcodings >>>>>> and/or resamplings >>>>>> >>>>>> skype uses silk >>>>>> freeswitch core uses L16 >>>>>> sip session uses >>>>>> asterisk core uses ? >>>>>> audio is presented to the dongle as ? >>>>>> cellular network uses gsm >>>>>> >>>>>> if ? = L16 then make the sip session use L16 >>>>>> use the loopback interface so that MTU is not an issue >>>>>> >>>>>> >>>>>> On Fri, Apr 3, 2015 at 2:50 PM, Shabbir abbasi < >>>>>> shabbirabbasi92 at gmail.com> wrote: >>>>>> >>>>>>> for this setup >>>>>>> skype --> freeswitch(mod_skypopen --> mod_sofia) ---> >>>>>>> asterisk(chan_sip --> chan_dongle[Huawei E169] ) on same machine >>>>>>> >>>>>>> suggest best codecs to use with freeswitch and asterisk for good >>>>>>> voice quality ?? >>>>>>> >>>>>>> >>>>>>> _________________________________________________________________________ >>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>> consulting at freeswitch.org >>>>>>> http://www.freeswitchsolutions.com >>>>>>> >>>>>>> Official FreeSWITCH Sites >>>>>>> http://www.freeswitch.org >>>>>>> http://confluence.freeswitch.org >>>>>>> http://www.cluecon.com >>>>>>> >>>>>>> FreeSWITCH-users mailing list >>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> UNSUBSCRIBE: >>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>> http://www.freeswitch.org >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> _________________________________________________________________________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at freeswitch.org >>>>>> http://www.freeswitchsolutions.com >>>>>> >>>>>> Official FreeSWITCH Sites >>>>>> http://www.freeswitch.org >>>>>> http://confluence.freeswitch.org >>>>>> http://www.cluecon.com >>>>>> >>>>>> FreeSWITCH-users mailing list >>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE: >>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>> >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: consulting at freeswitch.orghttp://www.freeswitchsolutions.com >> >> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com >> >> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150407/e79cde86/attachment-0001.html From italorossib at gmail.com Tue Apr 7 22:46:53 2015 From: italorossib at gmail.com (=?UTF-8?B?w410YWxvIFJvc3Np?=) Date: Tue, 7 Apr 2015 15:46:53 -0300 Subject: [Freeswitch-users] Upgrade Freeswitch to v1.4 stable version In-Reply-To: References: Message-ID: Zvi, Can you please share the solution, we can put these info on confluence. On Tue, Apr 7, 2015 at 3:12 PM, Giovanni Maruzzelli wrote: > Happy it worked! > > sent from my mobile, > Giovanni Maruzzelli > cell: +39 347 266 56 18 > On Apr 7, 2015 8:09 PM, "Zvi Agmon" wrote: > >> Hi Giovanni, >> >> I managed to get it work - thanks a lot for you help! >> >> Zvi >> >> Best regards >> >> Zvi Agmon >> Lexifone >> email: zvi at lexifone.com >> Office: +972-4-6817711 >> Cell: +972-54-4505109 >> >> On Tue, Apr 7, 2015 at 4:51 PM, Giovanni Maruzzelli >> wrote: >> >>> sorry, it requires compilation. >>> >>> Compile the 1.8 version using the lua embedded by FreeSWITCH >>> >>> On Tue, Apr 7, 2015 at 3:48 PM, Giovanni Maruzzelli >>> wrote: >>> >>>> luaxml seems not to require compilation at all. >>>> >>>> if you are using from FreeSWITCH just use the 1.8 version of luaxml >>>> >>>> >>>> >>>> On Tue, Apr 7, 2015 at 3:32 PM, Zvi Agmon wrote: >>>> >>>>> Hi Giovanni, >>>>> >>>>> I'm not so much familiar with lua - is that relevant for LuaXml? >>>>> As I'm having problem running the file LuaXml.lua >>>>> >>>>> Thanks >>>>> Zvi >>>>> >>>>> Best regards >>>>> >>>>> Zvi Agmon >>>>> Lexifone >>>>> email: zvi at lexifone.com >>>>> Office: +972-4-6817711 >>>>> Cell: +972-54-4505109 >>>>> >>>>> On Tue, Apr 7, 2015 at 4:07 PM, Giovanni Maruzzelli >>>> > wrote: >>>>> >>>>>> this instructions let you compile luasocket using lua embedded in >>>>>> freeswitch. >>>>>> >>>>>> >>>>>> https://freeswitch.org/confluence/display/FREESWITCH/Installing+LuaSocket >>>>>> >>>>>> You can alter it to compile your lua extensions... >>>>>> >>>>>> Pay attention to the openlib/register substitution, that's the most >>>>>> difference between 5.1 and 5.2 >>>>>> >>>>>> Anyway, just link it with the lua embedded into FreeSWITCH. >>>>>> >>>>>> >>>>>> -giovanni >>>>>> >>>>>> On Tue, Apr 7, 2015 at 2:56 PM, Zvi Agmon wrote: >>>>>> >>>>>>> Hi, >>>>>>> >>>>>>> We are using LuaXml.lua and it requires the LuaXML_lib - in v1.2 it >>>>>>> worked with lua 5.1 but now it fails... How to fix it? >>>>>>> >>>>>>> Thanks >>>>>>> Zvi Agmon >>>>>>> >>>>>>> Best regards >>>>>>> >>>>>>> Zvi Agmon >>>>>>> Lexifone >>>>>>> email: zvi at lexifone.com >>>>>>> Office: +972-4-6817711 >>>>>>> Cell: +972-54-4505109 >>>>>>> >>>>>>> On Tue, Apr 7, 2015 at 3:49 PM, Brian West >>>>>>> wrote: >>>>>>> >>>>>>>> Giovanni, >>>>>>>> >>>>>>>> We are moving to system Lua, I will need to double check but I >>>>>>>> think Mike already made this change in the v1.4 release branch. >>>>>>>> >>>>>>>> On Tue, Apr 7, 2015 at 7:38 AM, Giovanni Maruzzelli < >>>>>>>> gmaruzz at gmail.com> wrote: >>>>>>>> >>>>>>>>> you don't need to make lua >>>>>>>>> >>>>>>>>> it will be automatically made by compiling freeswitch, you don't >>>>>>>>> need no external lua. >>>>>>>>> >>>>>>>>> just compile and install freeswitch, it will have its own lua >>>>>>>>> embedded. >>>>>>>>> >>>>>>>>> -giovanni >>>>>>>>> >>>>>>>>> >>>>>>>>> On Tue, Apr 7, 2015 at 2:26 PM, Zvi Agmon >>>>>>>>> wrote: >>>>>>>>> >>>>>>>>>> Steven thanks, >>>>>>>>>> >>>>>>>>>> I pulled the v1.4 but now having troubles upgrade to lua 5.2. >>>>>>>>>> I tried running this (taken from >>>>>>>>>> https://freeswitch.org/confluence/display/FREESWITCH/Third+Party+Libraries >>>>>>>>>> ): >>>>>>>>>> >>>>>>>>>> apt-get install lua5.2 luarocks >>>>>>>>>> luarocks install luaxml >>>>>>>>>> >>>>>>>>>> But it keeps failing with dependency error. >>>>>>>>>> >>>>>>>>>> What is the correct way to make lua 5.2 for Freeswtich? >>>>>>>>>> >>>>>>>>>> Thanks >>>>>>>>>> Zvi Agmon >>>>>>>>>> >>>>>>>>>> Best regards >>>>>>>>>> >>>>>>>>>> Zvi Agmon >>>>>>>>>> Lexifone >>>>>>>>>> email: zvi at lexifone.com >>>>>>>>>> Office: +972-4-6817711 >>>>>>>>>> Cell: +972-54-4505109 >>>>>>>>>> >>>>>>>>>> On Tue, Apr 7, 2015 at 1:42 PM, Steven Ayre >>>>>>>>>> wrote: >>>>>>>>>> >>>>>>>>>>> The git branch is not named in the same manner as 1.2.... v1.4 >>>>>>>>>>> instead of v1.4.stable >>>>>>>>>>> >>>>>>>>>>> On 6 April 2015 at 14:48, Zvi Agmon wrote: >>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> Stanislav , thanks for the quick response! >>>>>>>>>>>> >>>>>>>>>>>> I want to build from sources but can't get v1.4.stable - is >>>>>>>>>>>> that does not exist any more? >>>>>>>>>>>> And if not - what should I checkout, just v1.4? >>>>>>>>>>>> >>>>>>>>>>>> Thanks >>>>>>>>>>>> >>>>>>>>>>>> Zvi Agmon >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> Best regards >>>>>>>>>>>> >>>>>>>>>>>> Zvi Agmon >>>>>>>>>>>> Lexifone >>>>>>>>>>>> email: zvi at lexifone.com >>>>>>>>>>>> Office: +972-4-6817711 >>>>>>>>>>>> Cell: +972-54-4505109 >>>>>>>>>>>> >>>>>>>>>>>> On Mon, Apr 6, 2015 at 4:24 PM, Stanislav Sinyagin < >>>>>>>>>>>> ssinyagin at gmail.com> wrote: >>>>>>>>>>>> >>>>>>>>>>>>> 1.2 configuration should work in 1.4 without any troubles. If >>>>>>>>>>>>> you >>>>>>>>>>>>> install from sources, you can simply delete and re-install the >>>>>>>>>>>>> target >>>>>>>>>>>>> directory, and then roll out the old configuration. >>>>>>>>>>>>> >>>>>>>>>>>>> If upgrading from binary packages, it should work with just >>>>>>>>>>>>> "apt-get >>>>>>>>>>>>> upgrade" or "yum update" >>>>>>>>>>>>> >>>>>>>>>>>>> On Mon, Apr 6, 2015 at 12:55 PM, Zvi Agmon >>>>>>>>>>>>> wrote: >>>>>>>>>>>>> > Hello, >>>>>>>>>>>>> > >>>>>>>>>>>>> > I'm trying to figure out what is the correct and best way to >>>>>>>>>>>>> upgrade a >>>>>>>>>>>>> > server running Freeswitch v1.2 to v1.4 stable. >>>>>>>>>>>>> > I could not find any clear documentation - can you please >>>>>>>>>>>>> help? >>>>>>>>>>>>> > >>>>>>>>>>>>> > >>>>>>>>>>>>> > Thanks a lot >>>>>>>>>>>>> > >>>>>>>>>>>>> > Zvi Agmon >>>>>>>>>>>>> > Lexifone >>>>>>>>>>>>> > email: zvi at lexifone.com >>>>>>>>>>>>> > Office: +972-4-6817711 >>>>>>>>>>>>> > Cell: +972-54-4505109 >>>>>>>>>>>>> > >>>>>>>>>>>>> > >>>>>>>>>>>>> _________________________________________________________________________ >>>>>>>>>>>>> > Professional FreeSWITCH Consulting Services: >>>>>>>>>>>>> > consulting at freeswitch.org >>>>>>>>>>>>> > http://www.freeswitchsolutions.com >>>>>>>>>>>>> > >>>>>>>>>>>>> > Official FreeSWITCH Sites >>>>>>>>>>>>> > http://www.freeswitch.org >>>>>>>>>>>>> > http://confluence.freeswitch.org >>>>>>>>>>>>> > http://www.cluecon.com >>>>>>>>>>>>> > >>>>>>>>>>>>> > FreeSWITCH-users mailing list >>>>>>>>>>>>> > FreeSWITCH-users at lists.freeswitch.org >>>>>>>>>>>>> > >>>>>>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>>>>>> > UNSUBSCRIBE: >>>>>>>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>>>>>>> > http://www.freeswitch.org >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> _________________________________________________________________________ >>>>>>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>>>>>> consulting at freeswitch.org >>>>>>>>>>>>> http://www.freeswitchsolutions.com >>>>>>>>>>>>> >>>>>>>>>>>>> Official FreeSWITCH Sites >>>>>>>>>>>>> http://www.freeswitch.org >>>>>>>>>>>>> http://confluence.freeswitch.org >>>>>>>>>>>>> http://www.cluecon.com >>>>>>>>>>>>> >>>>>>>>>>>>> FreeSWITCH-users mailing list >>>>>>>>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>>>>>> UNSUBSCRIBE: >>>>>>>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>>>>>>> http://www.freeswitch.org >>>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> _________________________________________________________________________ >>>>>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>>>>> consulting at freeswitch.org >>>>>>>>>>>> http://www.freeswitchsolutions.com >>>>>>>>>>>> >>>>>>>>>>>> Official FreeSWITCH Sites >>>>>>>>>>>> http://www.freeswitch.org >>>>>>>>>>>> http://confluence.freeswitch.org >>>>>>>>>>>> http://www.cluecon.com >>>>>>>>>>>> >>>>>>>>>>>> FreeSWITCH-users mailing list >>>>>>>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>>>>> UNSUBSCRIBE: >>>>>>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>>>>>> http://www.freeswitch.org >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> _________________________________________________________________________ >>>>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>>>> consulting at freeswitch.org >>>>>>>>>>> http://www.freeswitchsolutions.com >>>>>>>>>>> >>>>>>>>>>> Official FreeSWITCH Sites >>>>>>>>>>> http://www.freeswitch.org >>>>>>>>>>> http://confluence.freeswitch.org >>>>>>>>>>> http://www.cluecon.com >>>>>>>>>>> >>>>>>>>>>> FreeSWITCH-users mailing list >>>>>>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>>>> UNSUBSCRIBE: >>>>>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>>>>> http://www.freeswitch.org >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> _________________________________________________________________________ >>>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>>> consulting at freeswitch.org >>>>>>>>>> http://www.freeswitchsolutions.com >>>>>>>>>> >>>>>>>>>> Official FreeSWITCH Sites >>>>>>>>>> http://www.freeswitch.org >>>>>>>>>> http://confluence.freeswitch.org >>>>>>>>>> http://www.cluecon.com >>>>>>>>>> >>>>>>>>>> FreeSWITCH-users mailing list >>>>>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>>> UNSUBSCRIBE: >>>>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>>>> http://www.freeswitch.org >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>>>>>> Sincerely, >>>>>>>>> >>>>>>>>> Giovanni Maruzzelli >>>>>>>>> Cell : +39-347-2665618 >>>>>>>>> >>>>>>>>> >>>>>>>>> _________________________________________________________________________ >>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>> consulting at freeswitch.org >>>>>>>>> http://www.freeswitchsolutions.com >>>>>>>>> >>>>>>>>> Official FreeSWITCH Sites >>>>>>>>> http://www.freeswitch.org >>>>>>>>> http://confluence.freeswitch.org >>>>>>>>> http://www.cluecon.com >>>>>>>>> >>>>>>>>> FreeSWITCH-users mailing list >>>>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>> UNSUBSCRIBE: >>>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>>> http://www.freeswitch.org >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> >>>>>>>> *Brian West* >>>>>>>> brian at freeswitch.org >>>>>>>> >>>>>>>> >>>>>>>> *Twitter: @FreeSWITCH , @briankwest* >>>>>>>> http://www.freeswitchbook.com >>>>>>>> http://www.freeswitchcookbook.com >>>>>>>> >>>>>>>> ClueCon 2015 Call for Speakers >>>>>>>> | Register >>>>>>>> TODAY! | Reddit: >>>>>>>> /r/freeswitch >>>>>>>> >>>>>>>> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) >>>>>>>> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest >>>>>>>> >>>>>>>> >>>>>>>> _________________________________________________________________________ >>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>> consulting at freeswitch.org >>>>>>>> http://www.freeswitchsolutions.com >>>>>>>> >>>>>>>> Official FreeSWITCH Sites >>>>>>>> http://www.freeswitch.org >>>>>>>> http://confluence.freeswitch.org >>>>>>>> http://www.cluecon.com >>>>>>>> >>>>>>>> FreeSWITCH-users mailing list >>>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>> UNSUBSCRIBE: >>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>> http://www.freeswitch.org >>>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> _________________________________________________________________________ >>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>> consulting at freeswitch.org >>>>>>> http://www.freeswitchsolutions.com >>>>>>> >>>>>>> Official FreeSWITCH Sites >>>>>>> http://www.freeswitch.org >>>>>>> http://confluence.freeswitch.org >>>>>>> http://www.cluecon.com >>>>>>> >>>>>>> FreeSWITCH-users mailing list >>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> UNSUBSCRIBE: >>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>> http://www.freeswitch.org >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Sincerely, >>>>>> >>>>>> Giovanni Maruzzelli >>>>>> Cell : +39-347-2665618 >>>>>> >>>>>> >>>>>> _________________________________________________________________________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at freeswitch.org >>>>>> http://www.freeswitchsolutions.com >>>>>> >>>>>> Official FreeSWITCH Sites >>>>>> http://www.freeswitch.org >>>>>> http://confluence.freeswitch.org >>>>>> http://www.cluecon.com >>>>>> >>>>>> FreeSWITCH-users mailing list >>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE: >>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>> >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>>> >>>> -- >>>> Sincerely, >>>> >>>> Giovanni Maruzzelli >>>> Cell : +39-347-2665618 >>>> >>> >>> >>> >>> -- >>> Sincerely, >>> >>> Giovanni Maruzzelli >>> Cell : +39-347-2665618 >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- ?talo Rossi -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150407/52b78372/attachment-0001.html From victor.medina at cibersys.com Tue Apr 7 22:51:07 2015 From: victor.medina at cibersys.com (Victor Medina) Date: Tue, 7 Apr 2015 14:21:07 -0430 Subject: [Freeswitch-users] Testing WebRTC / Issues with Video/Audio calls to ext echotest/9196 and Conference Message-ID: ? Hi! I am trying to test Freeswitch WebRTC capabiities. We are using JsSIP try web site (http://tryit.jssip.net/) Our servers are located on Amazon EC2 so, there is a NAT firewall between them. Freeswitch version is: FreeSWITCH Version 1.5.15b+git~20150404T093935Z~6eb59c7119~64bit (git 6eb59c7 2015-04-04 09:39:35Z 64bit) - TODAY MASTER. When calling to echoetst ext. 9196, and using the "video/audio" call it works perfectly, when calling without the Video enable call is placed but no audio is heard. The same thing happens when calling to the ext 3000 ext conference. When using the video enabled everything seems to work just fine. But if I disable video tha call wont work. Can someone try to help in here? My relevant vars.xml lines: My internal_profile Here is the log of the call to 9196 without audio and video (no video option selected) http://pastebin.com/AncwpiPx <- this doesn't work Here is the log of the call to 9196 with audio and video option selected http://pastebin.com/FT7XMpzU <- in this one audio and video works ? -- V?ctor E. Medina M. Platform Architect / Chief Infrastructure +58424 291 4561 BB #79A8AFA2 @VMCibersys -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150407/d51218c2/attachment.html From victor.medina at cibersys.com Tue Apr 7 22:59:24 2015 From: victor.medina at cibersys.com (Victor Medina) Date: Tue, 7 Apr 2015 14:29:24 -0430 Subject: [Freeswitch-users] Testing WebRTC / Issues with calls WebRTC/Softphones & Softphones/WebRTC Message-ID: ?Hi! I am trying to test Freeswitch WebRTC capabiities. We are using JsSIP try web site (http://tryit.jssip.net/) and Zoiper Our servers are located on Amazon EC2 so, there is a NAT firewall between them. Freeswitch version is: FreeSWITCH Version 1.5.15b+git~20150404T093935Z~6eb59c7119~64bit (git 6eb59c7 2015-04-04 09:39:35Z 64bit) - TODAY MASTER. When testing WebRTC and Softphones, I find that I am able to call from a softphone to a WebRTC ext without problems. But when calling to from the WeRTC ext to the softphone it always fails with a Bad Media Description Can someone try to help in here? My relevant vars.xml lines: My internal_profile Thanks you as usual for your kind help. ? -- V?ctor E. Medina M. Platform Architect / Chief Infrastructure +58424 291 4561 BB #79A8AFA2 @VMCibersys -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150407/efeaf326/attachment.html From victor.medina at cibersys.com Tue Apr 7 23:22:19 2015 From: victor.medina at cibersys.com (Victor Medina) Date: Tue, 7 Apr 2015 14:52:19 -0430 Subject: [Freeswitch-users] KVM vs. XEN virtualization In-Reply-To: References: Message-ID: Price aside... we have no issues so far with Amazon. Carlos. 2015-04-05 19:22 GMT-04:30 Carlos Ruiz D?az : > This makes me wonder whether to stick with DO or migrate to Amazon. > > Any advice on EC2 quality compared to DO? > > On Sun, Apr 5, 2015 at 5:33 PM, Stanislav Sinyagin > wrote: > >> I made additional tests by sending calls to sipgate.co.uk, and they >> confirm my results: when sending a call from my Xen server in Switzerland, >> the received audio is always perfect. But when sending from a Digitalocean >> host in Amsterdam, I get the slipping frames. >> >> I will re-test again during a business day, when the servers are likely >> to be more busy. >> >> >> >> On Sun, Apr 5, 2015 at 12:47 PM, Stanislav Sinyagin >> wrote: >> >>> Yrs, jitter buffer was enabled. Here I'm pretty sure that we deal with >>> the clock skew. >>> On Apr 5, 2015 12:07 PM, "Brian West" wrote: >>> >>>> Correct me if I'm wrong but is sounds like you've described jitter. >>>> Did you test with the jitter buffer enabled? >>>> >>>> On Sunday, April 5, 2015, Regis M >>>> wrote: >>>> >>>>> nice work !!! Thanks for sharing. >>>>> >>>>> >>>>> >>>>> 2015-04-05 2:37 GMT+02:00 Stanislav Sinyagin : >>>>> >>>>>> here we go: >>>>>> >>>>>> https://txlab.wordpress.com/2015/04/05/testing-rtp-clock-precision-on-a-virtual-machine/ >>>>>> >>>>>> >>>>>> >>>>>> On Sat, Apr 4, 2015 at 4:26 PM, Stanislav Sinyagin < >>>>>> ssinyagin at gmail.com> wrote: >>>>>> > On Sat, Apr 4, 2015 at 1:03 PM, Regis M < >>>>>> regis.freeswitch.org at tornad.net> wrote: >>>>>> >> How do you check wavs together in audacity ? >>>>>> > >>>>>> > you just open two WAV files, align their starting position, and >>>>>> > visually check the waves. If there's a problem, you would see that >>>>>> > after few seconds, the waves are not aligned any more. >>>>>> > >>>>>> >> Can you send me 2 samples wav (send... and recorded) so I could >>>>>> see the 20ms >>>>>> >> diff that you exposed... >>>>>> >> >>>>>> >> Is there a way to automate the result checking, so it could help >>>>>> to monitor >>>>>> >> itsp quality >>>>>> > >>>>>> > Here >>>>>> > https://github.com/openpreserve/scape-xcorrsound/issues/17 >>>>>> > this is a link to a tool which compares two sound files at the wave >>>>>> > level. You can also see the sound samples in the ticket. >>>>>> > The problem is, that currently this tool does not detect such >>>>>> slipping frames. >>>>>> > >>>>>> > I will also write a detailed article with examples, during the >>>>>> weekend. >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> >> >>>>>> >> >>>>>> >> 2015-04-04 12:53 GMT+02:00 Stanislav Sinyagin >>>>> >: >>>>>> >>> >>>>>> >>> Important is to send the media through two independent carriers - >>>>>> then you >>>>>> >>> can be sure that your clock is compared against a high quality >>>>>> one. >>>>>> >>> >>>>>> >>> On Apr 4, 2015 12:46 PM, "Regis M" < >>>>>> regis.freeswitch.org at tornad.net> >>>>>> >>> wrote: >>>>>> >>>> >>>>>> >>>> Hi, >>>>>> >>>> >>>>>> >>>> It's a very interresting test and conclusion. >>>>>> >>>> >>>>>> >>>> I will try to build a similar environnement on my freeswitch to >>>>>> check >>>>>> >>>> some system :) >>>>>> >>>> >>>>>> >>>> thanks >>>>>> >>>> >>>>>> >>>> >>>>>> >>>> >>>>>> >>>> 2015-04-04 2:16 GMT+02:00 Stanislav Sinyagin < >>>>>> ssinyagin at gmail.com>: >>>>>> >>>>> >>>>>> >>>>> hi, >>>>>> >>>>> >>>>>> >>>>> Here are some test results which might be interesting: >>>>>> >>>>> >>>>>> >>>>> I've set up a test FreeSWITCH server at digitalocean (they use >>>>>> KVM), >>>>>> >>>>> and originated test calls to some ITSP accounts. Each call >>>>>> played a >>>>>> >>>>> test sound file (voice samples from ITU: >>>>>> >>>>> >>>>>> http://www.itu.int/net/itu-t/sigdb/genaudio/AudioForm-g.aspx?val=1000050 >>>>>> >>>>> ), and on the receiving end another FreeSWITCH server was >>>>>> recording >>>>>> >>>>> the received session. The receiving server was on a XEN VM. Both >>>>>> >>>>> servers talked G711 to their corresponding ITSP accounts. >>>>>> >>>>> >>>>>> >>>>> Then I compared the source audio and received audio in Audacity >>>>>> editor. >>>>>> >>>>> >>>>>> >>>>> The tests showed that the received voice wave shifts 20ms from >>>>>> the >>>>>> >>>>> original sound every few seconds, randomly back and forward. >>>>>> This >>>>>> >>>>> skewing was always present, regardless of ITSP and time of day. >>>>>> >>>>> >>>>>> >>>>> Then I moved the sending server to a XEN VM, and the waves >>>>>> appeared >>>>>> >>>>> almost perfectly synchronized (there was a 5ms skew in one >>>>>> test, and I >>>>>> >>>>> guess it's related to transcoding buffer, as the sound was >>>>>> obviously >>>>>> >>>>> transcoded). >>>>>> >>>>> >>>>>> >>>>> The effect was always visible with a 30-second sample, and I >>>>>> also made >>>>>> >>>>> additional tests with 2-minute samples. >>>>>> >>>>> >>>>>> >>>>> It would also be interesting to test this from a VmWare VM. If >>>>>> someone >>>>>> >>>>> wants to run such a test, feel free to contact me directly. >>>>>> >>>>> >>>>>> >>>>> >>>>>> >>>>> cheers, >>>>>> >>>>> stan >>>>>> >>>>> >>>>>> >>>>> >>>>>> >>>>> >>>>>> _________________________________________________________________________ >>>>>> >>>>> Professional FreeSWITCH Consulting Services: >>>>>> >>>>> consulting at freeswitch.org >>>>>> >>>>> http://www.freeswitchsolutions.com >>>>>> >>>>> >>>>>> >>>>> Official FreeSWITCH Sites >>>>>> >>>>> http://www.freeswitch.org >>>>>> >>>>> http://confluence.freeswitch.org >>>>>> >>>>> http://www.cluecon.com >>>>>> >>>>> >>>>>> >>>>> FreeSWITCH-users mailing list >>>>>> >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>> >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> >>>>> UNSUBSCRIBE: >>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> >>>>> http://www.freeswitch.org >>>>>> >>>> >>>>>> >>>> >>>>>> >>>> >>>>>> >>>> >>>>>> _________________________________________________________________________ >>>>>> >>>> Professional FreeSWITCH Consulting Services: >>>>>> >>>> consulting at freeswitch.org >>>>>> >>>> http://www.freeswitchsolutions.com >>>>>> >>>> >>>>>> >>>> Official FreeSWITCH Sites >>>>>> >>>> http://www.freeswitch.org >>>>>> >>>> http://confluence.freeswitch.org >>>>>> >>>> http://www.cluecon.com >>>>>> >>>> >>>>>> >>>> FreeSWITCH-users mailing list >>>>>> >>>> FreeSWITCH-users at lists.freeswitch.org >>>>>> >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> >>>> UNSUBSCRIBE: >>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> >>>> http://www.freeswitch.org >>>>>> >>> >>>>>> >>> >>>>>> >>> >>>>>> _________________________________________________________________________ >>>>>> >>> Professional FreeSWITCH Consulting Services: >>>>>> >>> consulting at freeswitch.org >>>>>> >>> http://www.freeswitchsolutions.com >>>>>> >>> >>>>>> >>> Official FreeSWITCH Sites >>>>>> >>> http://www.freeswitch.org >>>>>> >>> http://confluence.freeswitch.org >>>>>> >>> http://www.cluecon.com >>>>>> >>> >>>>>> >>> FreeSWITCH-users mailing list >>>>>> >>> FreeSWITCH-users at lists.freeswitch.org >>>>>> >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> >>> UNSUBSCRIBE: >>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> >>> http://www.freeswitch.org >>>>>> >> >>>>>> >> >>>>>> >> >>>>>> >> >>>>>> _________________________________________________________________________ >>>>>> >> Professional FreeSWITCH Consulting Services: >>>>>> >> consulting at freeswitch.org >>>>>> >> http://www.freeswitchsolutions.com >>>>>> >> >>>>>> >> Official FreeSWITCH Sites >>>>>> >> http://www.freeswitch.org >>>>>> >> http://confluence.freeswitch.org >>>>>> >> http://www.cluecon.com >>>>>> >> >>>>>> >> FreeSWITCH-users mailing list >>>>>> >> FreeSWITCH-users at lists.freeswitch.org >>>>>> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> >> UNSUBSCRIBE: >>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> >> http://www.freeswitch.org >>>>>> >>>>>> >>>>>> _________________________________________________________________________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at freeswitch.org >>>>>> http://www.freeswitchsolutions.com >>>>>> >>>>>> Official FreeSWITCH Sites >>>>>> http://www.freeswitch.org >>>>>> http://confluence.freeswitch.org >>>>>> http://www.cluecon.com >>>>>> >>>>>> FreeSWITCH-users mailing list >>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE: >>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>> >>>>> >>>> >>>> -- >>>> >>>> *Brian West* >>>> brian at freeswitch.org >>>> >>>> >>>> *Twitter: @FreeSWITCH , @briankwest* >>>> http://www.freeswitchbook.com >>>> http://www.freeswitchcookbook.com >>>> >>>> ClueCon 2015 Call for Speakers >>>> | Register >>>> TODAY! | Reddit: /r/freeswitch >>>> >>>> >>>> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) >>>> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > Carlos > http://caruizdiaz.com > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- V?ctor E. Medina M. Platform Architect / Chief Infrastructure +58424 291 4561 BB #79A8AFA2 @VMCibersys -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150407/d71da7f8/attachment-0001.html From sdevoy at bizfocused.com Tue Apr 7 23:45:13 2015 From: sdevoy at bizfocused.com (Sean Devoy) Date: Tue, 7 Apr 2015 19:45:13 +0000 Subject: [Freeswitch-users] vMobile configuration from Vitelity Message-ID: Does anyone have a vMobile device from Vitelity working through FS? I have outgoing from the cell phone working great, but the device never shows up in "show registrations" so I cannot route calls TO IT. Thanks, Sean -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150407/50c84bd0/attachment.html From brian at freeswitch.org Tue Apr 7 23:54:27 2015 From: brian at freeswitch.org (Brian West) Date: Tue, 7 Apr 2015 14:54:27 -0500 Subject: [Freeswitch-users] KVM vs. XEN virtualization In-Reply-To: References: Message-ID: Do you happen to do faxing on EC2? Also what distro do you run on your instances? On Tue, Apr 7, 2015 at 2:22 PM, Victor Medina wrote: > Price aside... we have no issues so far with Amazon. Carlos. > > 2015-04-05 19:22 GMT-04:30 Carlos Ruiz D?az : > > This makes me wonder whether to stick with DO or migrate to Amazon. >> >> Any advice on EC2 quality compared to DO? >> >> On Sun, Apr 5, 2015 at 5:33 PM, Stanislav Sinyagin >> wrote: >> >>> I made additional tests by sending calls to sipgate.co.uk, and they >>> confirm my results: when sending a call from my Xen server in Switzerland, >>> the received audio is always perfect. But when sending from a Digitalocean >>> host in Amsterdam, I get the slipping frames. >>> >>> I will re-test again during a business day, when the servers are likely >>> to be more busy. >>> >>> >>> >>> On Sun, Apr 5, 2015 at 12:47 PM, Stanislav Sinyagin >> > wrote: >>> >>>> Yrs, jitter buffer was enabled. Here I'm pretty sure that we deal with >>>> the clock skew. >>>> On Apr 5, 2015 12:07 PM, "Brian West" wrote: >>>> >>>>> Correct me if I'm wrong but is sounds like you've described jitter. >>>>> Did you test with the jitter buffer enabled? >>>>> >>>>> On Sunday, April 5, 2015, Regis M >>>>> wrote: >>>>> >>>>>> nice work !!! Thanks for sharing. >>>>>> >>>>>> >>>>>> >>>>>> 2015-04-05 2:37 GMT+02:00 Stanislav Sinyagin : >>>>>> >>>>>>> here we go: >>>>>>> >>>>>>> https://txlab.wordpress.com/2015/04/05/testing-rtp-clock-precision-on-a-virtual-machine/ >>>>>>> >>>>>>> >>>>>>> >>>>>>> On Sat, Apr 4, 2015 at 4:26 PM, Stanislav Sinyagin < >>>>>>> ssinyagin at gmail.com> wrote: >>>>>>> > On Sat, Apr 4, 2015 at 1:03 PM, Regis M < >>>>>>> regis.freeswitch.org at tornad.net> wrote: >>>>>>> >> How do you check wavs together in audacity ? >>>>>>> > >>>>>>> > you just open two WAV files, align their starting position, and >>>>>>> > visually check the waves. If there's a problem, you would see that >>>>>>> > after few seconds, the waves are not aligned any more. >>>>>>> > >>>>>>> >> Can you send me 2 samples wav (send... and recorded) so I could >>>>>>> see the 20ms >>>>>>> >> diff that you exposed... >>>>>>> >> >>>>>>> >> Is there a way to automate the result checking, so it could help >>>>>>> to monitor >>>>>>> >> itsp quality >>>>>>> > >>>>>>> > Here >>>>>>> > https://github.com/openpreserve/scape-xcorrsound/issues/17 >>>>>>> > this is a link to a tool which compares two sound files at the wave >>>>>>> > level. You can also see the sound samples in the ticket. >>>>>>> > The problem is, that currently this tool does not detect such >>>>>>> slipping frames. >>>>>>> > >>>>>>> > I will also write a detailed article with examples, during the >>>>>>> weekend. >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> >> >>>>>>> >> >>>>>>> >> 2015-04-04 12:53 GMT+02:00 Stanislav Sinyagin < >>>>>>> ssinyagin at gmail.com>: >>>>>>> >>> >>>>>>> >>> Important is to send the media through two independent carriers >>>>>>> - then you >>>>>>> >>> can be sure that your clock is compared against a high quality >>>>>>> one. >>>>>>> >>> >>>>>>> >>> On Apr 4, 2015 12:46 PM, "Regis M" < >>>>>>> regis.freeswitch.org at tornad.net> >>>>>>> >>> wrote: >>>>>>> >>>> >>>>>>> >>>> Hi, >>>>>>> >>>> >>>>>>> >>>> It's a very interresting test and conclusion. >>>>>>> >>>> >>>>>>> >>>> I will try to build a similar environnement on my freeswitch to >>>>>>> check >>>>>>> >>>> some system :) >>>>>>> >>>> >>>>>>> >>>> thanks >>>>>>> >>>> >>>>>>> >>>> >>>>>>> >>>> >>>>>>> >>>> 2015-04-04 2:16 GMT+02:00 Stanislav Sinyagin < >>>>>>> ssinyagin at gmail.com>: >>>>>>> >>>>> >>>>>>> >>>>> hi, >>>>>>> >>>>> >>>>>>> >>>>> Here are some test results which might be interesting: >>>>>>> >>>>> >>>>>>> >>>>> I've set up a test FreeSWITCH server at digitalocean (they use >>>>>>> KVM), >>>>>>> >>>>> and originated test calls to some ITSP accounts. Each call >>>>>>> played a >>>>>>> >>>>> test sound file (voice samples from ITU: >>>>>>> >>>>> >>>>>>> http://www.itu.int/net/itu-t/sigdb/genaudio/AudioForm-g.aspx?val=1000050 >>>>>>> >>>>> ), and on the receiving end another FreeSWITCH server was >>>>>>> recording >>>>>>> >>>>> the received session. The receiving server was on a XEN VM. >>>>>>> Both >>>>>>> >>>>> servers talked G711 to their corresponding ITSP accounts. >>>>>>> >>>>> >>>>>>> >>>>> Then I compared the source audio and received audio in >>>>>>> Audacity editor. >>>>>>> >>>>> >>>>>>> >>>>> The tests showed that the received voice wave shifts 20ms from >>>>>>> the >>>>>>> >>>>> original sound every few seconds, randomly back and forward. >>>>>>> This >>>>>>> >>>>> skewing was always present, regardless of ITSP and time of day. >>>>>>> >>>>> >>>>>>> >>>>> Then I moved the sending server to a XEN VM, and the waves >>>>>>> appeared >>>>>>> >>>>> almost perfectly synchronized (there was a 5ms skew in one >>>>>>> test, and I >>>>>>> >>>>> guess it's related to transcoding buffer, as the sound was >>>>>>> obviously >>>>>>> >>>>> transcoded). >>>>>>> >>>>> >>>>>>> >>>>> The effect was always visible with a 30-second sample, and I >>>>>>> also made >>>>>>> >>>>> additional tests with 2-minute samples. >>>>>>> >>>>> >>>>>>> >>>>> It would also be interesting to test this from a VmWare VM. If >>>>>>> someone >>>>>>> >>>>> wants to run such a test, feel free to contact me directly. >>>>>>> >>>>> >>>>>>> >>>>> >>>>>>> >>>>> cheers, >>>>>>> >>>>> stan >>>>>>> >>>>> >>>>>>> >>>>> >>>>>>> >>>>> >>>>>>> _________________________________________________________________________ >>>>>>> >>>>> Professional FreeSWITCH Consulting Services: >>>>>>> >>>>> consulting at freeswitch.org >>>>>>> >>>>> http://www.freeswitchsolutions.com >>>>>>> >>>>> >>>>>>> >>>>> Official FreeSWITCH Sites >>>>>>> >>>>> http://www.freeswitch.org >>>>>>> >>>>> http://confluence.freeswitch.org >>>>>>> >>>>> http://www.cluecon.com >>>>>>> >>>>> >>>>>>> >>>>> FreeSWITCH-users mailing list >>>>>>> >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>> >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> >>>>> UNSUBSCRIBE: >>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>> >>>>> http://www.freeswitch.org >>>>>>> >>>> >>>>>>> >>>> >>>>>>> >>>> >>>>>>> >>>> >>>>>>> _________________________________________________________________________ >>>>>>> >>>> Professional FreeSWITCH Consulting Services: >>>>>>> >>>> consulting at freeswitch.org >>>>>>> >>>> http://www.freeswitchsolutions.com >>>>>>> >>>> >>>>>>> >>>> Official FreeSWITCH Sites >>>>>>> >>>> http://www.freeswitch.org >>>>>>> >>>> http://confluence.freeswitch.org >>>>>>> >>>> http://www.cluecon.com >>>>>>> >>>> >>>>>>> >>>> FreeSWITCH-users mailing list >>>>>>> >>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>> >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> >>>> UNSUBSCRIBE: >>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>> >>>> http://www.freeswitch.org >>>>>>> >>> >>>>>>> >>> >>>>>>> >>> >>>>>>> _________________________________________________________________________ >>>>>>> >>> Professional FreeSWITCH Consulting Services: >>>>>>> >>> consulting at freeswitch.org >>>>>>> >>> http://www.freeswitchsolutions.com >>>>>>> >>> >>>>>>> >>> Official FreeSWITCH Sites >>>>>>> >>> http://www.freeswitch.org >>>>>>> >>> http://confluence.freeswitch.org >>>>>>> >>> http://www.cluecon.com >>>>>>> >>> >>>>>>> >>> FreeSWITCH-users mailing list >>>>>>> >>> FreeSWITCH-users at lists.freeswitch.org >>>>>>> >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> >>> UNSUBSCRIBE: >>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>> >>> http://www.freeswitch.org >>>>>>> >> >>>>>>> >> >>>>>>> >> >>>>>>> >> >>>>>>> _________________________________________________________________________ >>>>>>> >> Professional FreeSWITCH Consulting Services: >>>>>>> >> consulting at freeswitch.org >>>>>>> >> http://www.freeswitchsolutions.com >>>>>>> >> >>>>>>> >> Official FreeSWITCH Sites >>>>>>> >> http://www.freeswitch.org >>>>>>> >> http://confluence.freeswitch.org >>>>>>> >> http://www.cluecon.com >>>>>>> >> >>>>>>> >> FreeSWITCH-users mailing list >>>>>>> >> FreeSWITCH-users at lists.freeswitch.org >>>>>>> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> >> UNSUBSCRIBE: >>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>> >> http://www.freeswitch.org >>>>>>> >>>>>>> >>>>>>> _________________________________________________________________________ >>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>> consulting at freeswitch.org >>>>>>> http://www.freeswitchsolutions.com >>>>>>> >>>>>>> Official FreeSWITCH Sites >>>>>>> http://www.freeswitch.org >>>>>>> http://confluence.freeswitch.org >>>>>>> http://www.cluecon.com >>>>>>> >>>>>>> FreeSWITCH-users mailing list >>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> UNSUBSCRIBE: >>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>> http://www.freeswitch.org >>>>>>> >>>>>> >>>>>> >>>>> >>>>> -- >>>>> >>>>> *Brian West* >>>>> brian at freeswitch.org >>>>> >>>>> >>>>> *Twitter: @FreeSWITCH , @briankwest* >>>>> http://www.freeswitchbook.com >>>>> http://www.freeswitchcookbook.com >>>>> >>>>> ClueCon 2015 Call for Speakers >>>>> | Register >>>>> TODAY! | Reddit: /r/freeswitch >>>>> >>>>> >>>>> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) >>>>> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest >>>>> >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> >> -- >> Carlos >> http://caruizdiaz.com >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > > > > V?ctor E. Medina M. > Platform Architect / Chief Infrastructure > +58424 291 4561 > BB #79A8AFA2 > @VMCibersys > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com ClueCon 2015 Call for Speakers | Register TODAY! | Reddit: /r/freeswitch *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150407/aa893a2b/attachment-0001.html From victor.medina at cibersys.com Wed Apr 8 00:01:36 2015 From: victor.medina at cibersys.com (Victor Medina) Date: Tue, 7 Apr 2015 15:31:36 -0430 Subject: [Freeswitch-users] KVM vs. XEN virtualization In-Reply-To: References: Message-ID: No fax so far. Planned. Ubuntu. Lts. El 07/04/2015 15:26, "Brian West" escribi?: > Do you happen to do faxing on EC2? Also what distro do you run on your > instances? > > On Tue, Apr 7, 2015 at 2:22 PM, Victor Medina > wrote: > >> Price aside... we have no issues so far with Amazon. Carlos. >> >> 2015-04-05 19:22 GMT-04:30 Carlos Ruiz D?az : >> >> This makes me wonder whether to stick with DO or migrate to Amazon. >>> >>> Any advice on EC2 quality compared to DO? >>> >>> On Sun, Apr 5, 2015 at 5:33 PM, Stanislav Sinyagin >>> wrote: >>> >>>> I made additional tests by sending calls to sipgate.co.uk, and they >>>> confirm my results: when sending a call from my Xen server in Switzerland, >>>> the received audio is always perfect. But when sending from a Digitalocean >>>> host in Amsterdam, I get the slipping frames. >>>> >>>> I will re-test again during a business day, when the servers are likely >>>> to be more busy. >>>> >>>> >>>> >>>> On Sun, Apr 5, 2015 at 12:47 PM, Stanislav Sinyagin < >>>> ssinyagin at gmail.com> wrote: >>>> >>>>> Yrs, jitter buffer was enabled. Here I'm pretty sure that we deal with >>>>> the clock skew. >>>>> On Apr 5, 2015 12:07 PM, "Brian West" wrote: >>>>> >>>>>> Correct me if I'm wrong but is sounds like you've described jitter. >>>>>> Did you test with the jitter buffer enabled? >>>>>> >>>>>> On Sunday, April 5, 2015, Regis M >>>>>> wrote: >>>>>> >>>>>>> nice work !!! Thanks for sharing. >>>>>>> >>>>>>> >>>>>>> >>>>>>> 2015-04-05 2:37 GMT+02:00 Stanislav Sinyagin : >>>>>>> >>>>>>>> here we go: >>>>>>>> >>>>>>>> https://txlab.wordpress.com/2015/04/05/testing-rtp-clock-precision-on-a-virtual-machine/ >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> On Sat, Apr 4, 2015 at 4:26 PM, Stanislav Sinyagin < >>>>>>>> ssinyagin at gmail.com> wrote: >>>>>>>> > On Sat, Apr 4, 2015 at 1:03 PM, Regis M < >>>>>>>> regis.freeswitch.org at tornad.net> wrote: >>>>>>>> >> How do you check wavs together in audacity ? >>>>>>>> > >>>>>>>> > you just open two WAV files, align their starting position, and >>>>>>>> > visually check the waves. If there's a problem, you would see that >>>>>>>> > after few seconds, the waves are not aligned any more. >>>>>>>> > >>>>>>>> >> Can you send me 2 samples wav (send... and recorded) so I could >>>>>>>> see the 20ms >>>>>>>> >> diff that you exposed... >>>>>>>> >> >>>>>>>> >> Is there a way to automate the result checking, so it could help >>>>>>>> to monitor >>>>>>>> >> itsp quality >>>>>>>> > >>>>>>>> > Here >>>>>>>> > https://github.com/openpreserve/scape-xcorrsound/issues/17 >>>>>>>> > this is a link to a tool which compares two sound files at the >>>>>>>> wave >>>>>>>> > level. You can also see the sound samples in the ticket. >>>>>>>> > The problem is, that currently this tool does not detect such >>>>>>>> slipping frames. >>>>>>>> > >>>>>>>> > I will also write a detailed article with examples, during the >>>>>>>> weekend. >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> >> >>>>>>>> >> >>>>>>>> >> 2015-04-04 12:53 GMT+02:00 Stanislav Sinyagin < >>>>>>>> ssinyagin at gmail.com>: >>>>>>>> >>> >>>>>>>> >>> Important is to send the media through two independent carriers >>>>>>>> - then you >>>>>>>> >>> can be sure that your clock is compared against a high quality >>>>>>>> one. >>>>>>>> >>> >>>>>>>> >>> On Apr 4, 2015 12:46 PM, "Regis M" < >>>>>>>> regis.freeswitch.org at tornad.net> >>>>>>>> >>> wrote: >>>>>>>> >>>> >>>>>>>> >>>> Hi, >>>>>>>> >>>> >>>>>>>> >>>> It's a very interresting test and conclusion. >>>>>>>> >>>> >>>>>>>> >>>> I will try to build a similar environnement on my freeswitch >>>>>>>> to check >>>>>>>> >>>> some system :) >>>>>>>> >>>> >>>>>>>> >>>> thanks >>>>>>>> >>>> >>>>>>>> >>>> >>>>>>>> >>>> >>>>>>>> >>>> 2015-04-04 2:16 GMT+02:00 Stanislav Sinyagin < >>>>>>>> ssinyagin at gmail.com>: >>>>>>>> >>>>> >>>>>>>> >>>>> hi, >>>>>>>> >>>>> >>>>>>>> >>>>> Here are some test results which might be interesting: >>>>>>>> >>>>> >>>>>>>> >>>>> I've set up a test FreeSWITCH server at digitalocean (they >>>>>>>> use KVM), >>>>>>>> >>>>> and originated test calls to some ITSP accounts. Each call >>>>>>>> played a >>>>>>>> >>>>> test sound file (voice samples from ITU: >>>>>>>> >>>>> >>>>>>>> http://www.itu.int/net/itu-t/sigdb/genaudio/AudioForm-g.aspx?val=1000050 >>>>>>>> >>>>> ), and on the receiving end another FreeSWITCH server was >>>>>>>> recording >>>>>>>> >>>>> the received session. The receiving server was on a XEN VM. >>>>>>>> Both >>>>>>>> >>>>> servers talked G711 to their corresponding ITSP accounts. >>>>>>>> >>>>> >>>>>>>> >>>>> Then I compared the source audio and received audio in >>>>>>>> Audacity editor. >>>>>>>> >>>>> >>>>>>>> >>>>> The tests showed that the received voice wave shifts 20ms >>>>>>>> from the >>>>>>>> >>>>> original sound every few seconds, randomly back and forward. >>>>>>>> This >>>>>>>> >>>>> skewing was always present, regardless of ITSP and time of >>>>>>>> day. >>>>>>>> >>>>> >>>>>>>> >>>>> Then I moved the sending server to a XEN VM, and the waves >>>>>>>> appeared >>>>>>>> >>>>> almost perfectly synchronized (there was a 5ms skew in one >>>>>>>> test, and I >>>>>>>> >>>>> guess it's related to transcoding buffer, as the sound was >>>>>>>> obviously >>>>>>>> >>>>> transcoded). >>>>>>>> >>>>> >>>>>>>> >>>>> The effect was always visible with a 30-second sample, and I >>>>>>>> also made >>>>>>>> >>>>> additional tests with 2-minute samples. >>>>>>>> >>>>> >>>>>>>> >>>>> It would also be interesting to test this from a VmWare VM. >>>>>>>> If someone >>>>>>>> >>>>> wants to run such a test, feel free to contact me directly. >>>>>>>> >>>>> >>>>>>>> >>>>> >>>>>>>> >>>>> cheers, >>>>>>>> >>>>> stan >>>>>>>> >>>>> >>>>>>>> >>>>> >>>>>>>> >>>>> >>>>>>>> _________________________________________________________________________ >>>>>>>> >>>>> Professional FreeSWITCH Consulting Services: >>>>>>>> >>>>> consulting at freeswitch.org >>>>>>>> >>>>> http://www.freeswitchsolutions.com >>>>>>>> >>>>> >>>>>>>> >>>>> Official FreeSWITCH Sites >>>>>>>> >>>>> http://www.freeswitch.org >>>>>>>> >>>>> http://confluence.freeswitch.org >>>>>>>> >>>>> http://www.cluecon.com >>>>>>>> >>>>> >>>>>>>> >>>>> FreeSWITCH-users mailing list >>>>>>>> >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>> >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>> >>>>> UNSUBSCRIBE: >>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>> >>>>> http://www.freeswitch.org >>>>>>>> >>>> >>>>>>>> >>>> >>>>>>>> >>>> >>>>>>>> >>>> >>>>>>>> _________________________________________________________________________ >>>>>>>> >>>> Professional FreeSWITCH Consulting Services: >>>>>>>> >>>> consulting at freeswitch.org >>>>>>>> >>>> http://www.freeswitchsolutions.com >>>>>>>> >>>> >>>>>>>> >>>> Official FreeSWITCH Sites >>>>>>>> >>>> http://www.freeswitch.org >>>>>>>> >>>> http://confluence.freeswitch.org >>>>>>>> >>>> http://www.cluecon.com >>>>>>>> >>>> >>>>>>>> >>>> FreeSWITCH-users mailing list >>>>>>>> >>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>> >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>> >>>> UNSUBSCRIBE: >>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>> >>>> http://www.freeswitch.org >>>>>>>> >>> >>>>>>>> >>> >>>>>>>> >>> >>>>>>>> _________________________________________________________________________ >>>>>>>> >>> Professional FreeSWITCH Consulting Services: >>>>>>>> >>> consulting at freeswitch.org >>>>>>>> >>> http://www.freeswitchsolutions.com >>>>>>>> >>> >>>>>>>> >>> Official FreeSWITCH Sites >>>>>>>> >>> http://www.freeswitch.org >>>>>>>> >>> http://confluence.freeswitch.org >>>>>>>> >>> http://www.cluecon.com >>>>>>>> >>> >>>>>>>> >>> FreeSWITCH-users mailing list >>>>>>>> >>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>> >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>> >>> UNSUBSCRIBE: >>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>> >>> http://www.freeswitch.org >>>>>>>> >> >>>>>>>> >> >>>>>>>> >> >>>>>>>> >> >>>>>>>> _________________________________________________________________________ >>>>>>>> >> Professional FreeSWITCH Consulting Services: >>>>>>>> >> consulting at freeswitch.org >>>>>>>> >> http://www.freeswitchsolutions.com >>>>>>>> >> >>>>>>>> >> Official FreeSWITCH Sites >>>>>>>> >> http://www.freeswitch.org >>>>>>>> >> http://confluence.freeswitch.org >>>>>>>> >> http://www.cluecon.com >>>>>>>> >> >>>>>>>> >> FreeSWITCH-users mailing list >>>>>>>> >> FreeSWITCH-users at lists.freeswitch.org >>>>>>>> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>> >> UNSUBSCRIBE: >>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>> >> http://www.freeswitch.org >>>>>>>> >>>>>>>> >>>>>>>> _________________________________________________________________________ >>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>> consulting at freeswitch.org >>>>>>>> http://www.freeswitchsolutions.com >>>>>>>> >>>>>>>> Official FreeSWITCH Sites >>>>>>>> http://www.freeswitch.org >>>>>>>> http://confluence.freeswitch.org >>>>>>>> http://www.cluecon.com >>>>>>>> >>>>>>>> FreeSWITCH-users mailing list >>>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>> UNSUBSCRIBE: >>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>> http://www.freeswitch.org >>>>>>>> >>>>>>> >>>>>>> >>>>>> >>>>>> -- >>>>>> >>>>>> *Brian West* >>>>>> brian at freeswitch.org >>>>>> >>>>>> >>>>>> *Twitter: @FreeSWITCH , @briankwest* >>>>>> http://www.freeswitchbook.com >>>>>> http://www.freeswitchcookbook.com >>>>>> >>>>>> ClueCon 2015 Call for Speakers >>>>>> | Register >>>>>> TODAY! | Reddit: >>>>>> /r/freeswitch >>>>>> >>>>>> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) >>>>>> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest >>>>>> >>>>>> >>>>>> >>>>>> _________________________________________________________________________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at freeswitch.org >>>>>> http://www.freeswitchsolutions.com >>>>>> >>>>>> Official FreeSWITCH Sites >>>>>> http://www.freeswitch.org >>>>>> http://confluence.freeswitch.org >>>>>> http://www.cluecon.com >>>>>> >>>>>> FreeSWITCH-users mailing list >>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE: >>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> >>> -- >>> Carlos >>> http://caruizdiaz.com >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> >> -- >> >> >> >> V?ctor E. Medina M. >> Platform Architect / Chief Infrastructure >> +58424 291 4561 >> BB #79A8AFA2 >> @VMCibersys >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > > *Brian West* > brian at freeswitch.org > > > *Twitter: @FreeSWITCH , @briankwest* > http://www.freeswitchbook.com > http://www.freeswitchcookbook.com > > ClueCon 2015 Call for Speakers > | Register > TODAY! | Reddit: /r/freeswitch > > > *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) > *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150407/7ce4eb0c/attachment-0001.html From gmaruzz at gmail.com Wed Apr 8 00:12:50 2015 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Tue, 7 Apr 2015 22:12:50 +0200 Subject: [Freeswitch-users] KVM vs. XEN virtualization In-Reply-To: References: Message-ID: On Tue, Apr 7, 2015 at 10:01 PM, Victor Medina wrote: > No fax so far. Planned. > Ubuntu. Lts. > if you can use T38, probably no problems (T38 was made for overcoming this kind of problems). If you must try with g711 alone, probably lot of frustrations (faxes are so much more sensitive to this kind of problems you probably end up with a low success rate). -giovanni > El 07/04/2015 15:26, "Brian West" escribi?: > >> Do you happen to do faxing on EC2? Also what distro do you run on your >> instances? >> >> On Tue, Apr 7, 2015 at 2:22 PM, Victor Medina > > wrote: >> >>> Price aside... we have no issues so far with Amazon. Carlos. >>> >>> 2015-04-05 19:22 GMT-04:30 Carlos Ruiz D?az : >>> >>> This makes me wonder whether to stick with DO or migrate to Amazon. >>>> >>>> Any advice on EC2 quality compared to DO? >>>> >>>> On Sun, Apr 5, 2015 at 5:33 PM, Stanislav Sinyagin >>> > wrote: >>>> >>>>> I made additional tests by sending calls to sipgate.co.uk, and they >>>>> confirm my results: when sending a call from my Xen server in Switzerland, >>>>> the received audio is always perfect. But when sending from a Digitalocean >>>>> host in Amsterdam, I get the slipping frames. >>>>> >>>>> I will re-test again during a business day, when the servers are >>>>> likely to be more busy. >>>>> >>>>> >>>>> >>>>> On Sun, Apr 5, 2015 at 12:47 PM, Stanislav Sinyagin < >>>>> ssinyagin at gmail.com> wrote: >>>>> >>>>>> Yrs, jitter buffer was enabled. Here I'm pretty sure that we deal >>>>>> with the clock skew. >>>>>> On Apr 5, 2015 12:07 PM, "Brian West" wrote: >>>>>> >>>>>>> Correct me if I'm wrong but is sounds like you've described jitter. >>>>>>> Did you test with the jitter buffer enabled? >>>>>>> >>>>>>> On Sunday, April 5, 2015, Regis M >>>>>>> wrote: >>>>>>> >>>>>>>> nice work !!! Thanks for sharing. >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> 2015-04-05 2:37 GMT+02:00 Stanislav Sinyagin : >>>>>>>> >>>>>>>>> here we go: >>>>>>>>> >>>>>>>>> https://txlab.wordpress.com/2015/04/05/testing-rtp-clock-precision-on-a-virtual-machine/ >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> On Sat, Apr 4, 2015 at 4:26 PM, Stanislav Sinyagin < >>>>>>>>> ssinyagin at gmail.com> wrote: >>>>>>>>> > On Sat, Apr 4, 2015 at 1:03 PM, Regis M < >>>>>>>>> regis.freeswitch.org at tornad.net> wrote: >>>>>>>>> >> How do you check wavs together in audacity ? >>>>>>>>> > >>>>>>>>> > you just open two WAV files, align their starting position, and >>>>>>>>> > visually check the waves. If there's a problem, you would see >>>>>>>>> that >>>>>>>>> > after few seconds, the waves are not aligned any more. >>>>>>>>> > >>>>>>>>> >> Can you send me 2 samples wav (send... and recorded) so I could >>>>>>>>> see the 20ms >>>>>>>>> >> diff that you exposed... >>>>>>>>> >> >>>>>>>>> >> Is there a way to automate the result checking, so it could >>>>>>>>> help to monitor >>>>>>>>> >> itsp quality >>>>>>>>> > >>>>>>>>> > Here >>>>>>>>> > https://github.com/openpreserve/scape-xcorrsound/issues/17 >>>>>>>>> > this is a link to a tool which compares two sound files at the >>>>>>>>> wave >>>>>>>>> > level. You can also see the sound samples in the ticket. >>>>>>>>> > The problem is, that currently this tool does not detect such >>>>>>>>> slipping frames. >>>>>>>>> > >>>>>>>>> > I will also write a detailed article with examples, during the >>>>>>>>> weekend. >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> >> >>>>>>>>> >> >>>>>>>>> >> 2015-04-04 12:53 GMT+02:00 Stanislav Sinyagin < >>>>>>>>> ssinyagin at gmail.com>: >>>>>>>>> >>> >>>>>>>>> >>> Important is to send the media through two independent >>>>>>>>> carriers - then you >>>>>>>>> >>> can be sure that your clock is compared against a high quality >>>>>>>>> one. >>>>>>>>> >>> >>>>>>>>> >>> On Apr 4, 2015 12:46 PM, "Regis M" < >>>>>>>>> regis.freeswitch.org at tornad.net> >>>>>>>>> >>> wrote: >>>>>>>>> >>>> >>>>>>>>> >>>> Hi, >>>>>>>>> >>>> >>>>>>>>> >>>> It's a very interresting test and conclusion. >>>>>>>>> >>>> >>>>>>>>> >>>> I will try to build a similar environnement on my freeswitch >>>>>>>>> to check >>>>>>>>> >>>> some system :) >>>>>>>>> >>>> >>>>>>>>> >>>> thanks >>>>>>>>> >>>> >>>>>>>>> >>>> >>>>>>>>> >>>> >>>>>>>>> >>>> 2015-04-04 2:16 GMT+02:00 Stanislav Sinyagin < >>>>>>>>> ssinyagin at gmail.com>: >>>>>>>>> >>>>> >>>>>>>>> >>>>> hi, >>>>>>>>> >>>>> >>>>>>>>> >>>>> Here are some test results which might be interesting: >>>>>>>>> >>>>> >>>>>>>>> >>>>> I've set up a test FreeSWITCH server at digitalocean (they >>>>>>>>> use KVM), >>>>>>>>> >>>>> and originated test calls to some ITSP accounts. Each call >>>>>>>>> played a >>>>>>>>> >>>>> test sound file (voice samples from ITU: >>>>>>>>> >>>>> >>>>>>>>> http://www.itu.int/net/itu-t/sigdb/genaudio/AudioForm-g.aspx?val=1000050 >>>>>>>>> >>>>> ), and on the receiving end another FreeSWITCH server was >>>>>>>>> recording >>>>>>>>> >>>>> the received session. The receiving server was on a XEN VM. >>>>>>>>> Both >>>>>>>>> >>>>> servers talked G711 to their corresponding ITSP accounts. >>>>>>>>> >>>>> >>>>>>>>> >>>>> Then I compared the source audio and received audio in >>>>>>>>> Audacity editor. >>>>>>>>> >>>>> >>>>>>>>> >>>>> The tests showed that the received voice wave shifts 20ms >>>>>>>>> from the >>>>>>>>> >>>>> original sound every few seconds, randomly back and forward. >>>>>>>>> This >>>>>>>>> >>>>> skewing was always present, regardless of ITSP and time of >>>>>>>>> day. >>>>>>>>> >>>>> >>>>>>>>> >>>>> Then I moved the sending server to a XEN VM, and the waves >>>>>>>>> appeared >>>>>>>>> >>>>> almost perfectly synchronized (there was a 5ms skew in one >>>>>>>>> test, and I >>>>>>>>> >>>>> guess it's related to transcoding buffer, as the sound was >>>>>>>>> obviously >>>>>>>>> >>>>> transcoded). >>>>>>>>> >>>>> >>>>>>>>> >>>>> The effect was always visible with a 30-second sample, and I >>>>>>>>> also made >>>>>>>>> >>>>> additional tests with 2-minute samples. >>>>>>>>> >>>>> >>>>>>>>> >>>>> It would also be interesting to test this from a VmWare VM. >>>>>>>>> If someone >>>>>>>>> >>>>> wants to run such a test, feel free to contact me directly. >>>>>>>>> >>>>> >>>>>>>>> >>>>> >>>>>>>>> >>>>> cheers, >>>>>>>>> >>>>> stan >>>>>>>>> >>>>> >>>>>>>>> >>>>> >>>>>>>>> >>>>> >>>>>>>>> _________________________________________________________________________ >>>>>>>>> >>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>> >>>>> consulting at freeswitch.org >>>>>>>>> >>>>> http://www.freeswitchsolutions.com >>>>>>>>> >>>>> >>>>>>>>> >>>>> Official FreeSWITCH Sites >>>>>>>>> >>>>> http://www.freeswitch.org >>>>>>>>> >>>>> http://confluence.freeswitch.org >>>>>>>>> >>>>> http://www.cluecon.com >>>>>>>>> >>>>> >>>>>>>>> >>>>> FreeSWITCH-users mailing list >>>>>>>>> >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>>> >>>>> >>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>> >>>>> UNSUBSCRIBE: >>>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>>> >>>>> http://www.freeswitch.org >>>>>>>>> >>>> >>>>>>>>> >>>> >>>>>>>>> >>>> >>>>>>>>> >>>> >>>>>>>>> _________________________________________________________________________ >>>>>>>>> >>>> Professional FreeSWITCH Consulting Services: >>>>>>>>> >>>> consulting at freeswitch.org >>>>>>>>> >>>> http://www.freeswitchsolutions.com >>>>>>>>> >>>> >>>>>>>>> >>>> Official FreeSWITCH Sites >>>>>>>>> >>>> http://www.freeswitch.org >>>>>>>>> >>>> http://confluence.freeswitch.org >>>>>>>>> >>>> http://www.cluecon.com >>>>>>>>> >>>> >>>>>>>>> >>>> FreeSWITCH-users mailing list >>>>>>>>> >>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>>> >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>> >>>> UNSUBSCRIBE: >>>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>>> >>>> http://www.freeswitch.org >>>>>>>>> >>> >>>>>>>>> >>> >>>>>>>>> >>> >>>>>>>>> _________________________________________________________________________ >>>>>>>>> >>> Professional FreeSWITCH Consulting Services: >>>>>>>>> >>> consulting at freeswitch.org >>>>>>>>> >>> http://www.freeswitchsolutions.com >>>>>>>>> >>> >>>>>>>>> >>> Official FreeSWITCH Sites >>>>>>>>> >>> http://www.freeswitch.org >>>>>>>>> >>> http://confluence.freeswitch.org >>>>>>>>> >>> http://www.cluecon.com >>>>>>>>> >>> >>>>>>>>> >>> FreeSWITCH-users mailing list >>>>>>>>> >>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>>> >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>> >>> UNSUBSCRIBE: >>>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>>> >>> http://www.freeswitch.org >>>>>>>>> >> >>>>>>>>> >> >>>>>>>>> >> >>>>>>>>> >> >>>>>>>>> _________________________________________________________________________ >>>>>>>>> >> Professional FreeSWITCH Consulting Services: >>>>>>>>> >> consulting at freeswitch.org >>>>>>>>> >> http://www.freeswitchsolutions.com >>>>>>>>> >> >>>>>>>>> >> Official FreeSWITCH Sites >>>>>>>>> >> http://www.freeswitch.org >>>>>>>>> >> http://confluence.freeswitch.org >>>>>>>>> >> http://www.cluecon.com >>>>>>>>> >> >>>>>>>>> >> FreeSWITCH-users mailing list >>>>>>>>> >> FreeSWITCH-users at lists.freeswitch.org >>>>>>>>> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>> >> UNSUBSCRIBE: >>>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>>> >> http://www.freeswitch.org >>>>>>>>> >>>>>>>>> >>>>>>>>> _________________________________________________________________________ >>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>> consulting at freeswitch.org >>>>>>>>> http://www.freeswitchsolutions.com >>>>>>>>> >>>>>>>>> Official FreeSWITCH Sites >>>>>>>>> http://www.freeswitch.org >>>>>>>>> http://confluence.freeswitch.org >>>>>>>>> http://www.cluecon.com >>>>>>>>> >>>>>>>>> FreeSWITCH-users mailing list >>>>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>> UNSUBSCRIBE: >>>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>>> http://www.freeswitch.org >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> -- >>>>>>> >>>>>>> *Brian West* >>>>>>> brian at freeswitch.org >>>>>>> >>>>>>> >>>>>>> *Twitter: @FreeSWITCH , @briankwest* >>>>>>> http://www.freeswitchbook.com >>>>>>> http://www.freeswitchcookbook.com >>>>>>> >>>>>>> ClueCon 2015 Call for Speakers >>>>>>> | Register >>>>>>> TODAY! | Reddit: >>>>>>> /r/freeswitch >>>>>>> >>>>>>> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) >>>>>>> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest >>>>>>> >>>>>>> >>>>>>> >>>>>>> _________________________________________________________________________ >>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>> consulting at freeswitch.org >>>>>>> http://www.freeswitchsolutions.com >>>>>>> >>>>>>> Official FreeSWITCH Sites >>>>>>> http://www.freeswitch.org >>>>>>> http://confluence.freeswitch.org >>>>>>> http://www.cluecon.com >>>>>>> >>>>>>> FreeSWITCH-users mailing list >>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> UNSUBSCRIBE: >>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>> http://www.freeswitch.org >>>>>>> >>>>>> >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>>> >>>> -- >>>> Carlos >>>> http://caruizdiaz.com >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> >>> -- >>> >>> >>> >>> V?ctor E. Medina M. >>> Platform Architect / Chief Infrastructure >>> +58424 291 4561 >>> BB #79A8AFA2 >>> @VMCibersys >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> >> -- >> >> *Brian West* >> brian at freeswitch.org >> >> >> *Twitter: @FreeSWITCH , @briankwest* >> http://www.freeswitchbook.com >> http://www.freeswitchcookbook.com >> >> ClueCon 2015 Call for Speakers >> | Register >> TODAY! | Reddit: /r/freeswitch >> >> >> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) >> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Sincerely, Giovanni Maruzzelli Cell : +39-347-2665618 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150407/74c506f3/attachment-0001.html From victor.medina at cibersys.com Wed Apr 8 00:19:33 2015 From: victor.medina at cibersys.com (Victor Medina) Date: Tue, 7 Apr 2015 15:49:33 -0430 Subject: [Freeswitch-users] KVM vs. XEN virtualization In-Reply-To: References: Message-ID: Thanks for the advice On Apr 7, 2015 3:45 PM, "Giovanni Maruzzelli" wrote: > > > On Tue, Apr 7, 2015 at 10:01 PM, Victor Medina > wrote: > >> No fax so far. Planned. >> Ubuntu. Lts. >> > if you can use T38, probably no problems (T38 was made for overcoming this > kind of problems). > > If you must try with g711 alone, probably lot of frustrations (faxes are > so much more sensitive to this kind of problems you probably end up with a > low success rate). > > -giovanni > > > >> El 07/04/2015 15:26, "Brian West" escribi?: >> >>> Do you happen to do faxing on EC2? Also what distro do you run on your >>> instances? >>> >>> On Tue, Apr 7, 2015 at 2:22 PM, Victor Medina < >>> victor.medina at cibersys.com> wrote: >>> >>>> Price aside... we have no issues so far with Amazon. Carlos. >>>> >>>> 2015-04-05 19:22 GMT-04:30 Carlos Ruiz D?az >>>> : >>>> >>>> This makes me wonder whether to stick with DO or migrate to Amazon. >>>>> >>>>> Any advice on EC2 quality compared to DO? >>>>> >>>>> On Sun, Apr 5, 2015 at 5:33 PM, Stanislav Sinyagin < >>>>> ssinyagin at gmail.com> wrote: >>>>> >>>>>> I made additional tests by sending calls to sipgate.co.uk, and they >>>>>> confirm my results: when sending a call from my Xen server in Switzerland, >>>>>> the received audio is always perfect. But when sending from a Digitalocean >>>>>> host in Amsterdam, I get the slipping frames. >>>>>> >>>>>> I will re-test again during a business day, when the servers are >>>>>> likely to be more busy. >>>>>> >>>>>> >>>>>> >>>>>> On Sun, Apr 5, 2015 at 12:47 PM, Stanislav Sinyagin < >>>>>> ssinyagin at gmail.com> wrote: >>>>>> >>>>>>> Yrs, jitter buffer was enabled. Here I'm pretty sure that we deal >>>>>>> with the clock skew. >>>>>>> On Apr 5, 2015 12:07 PM, "Brian West" wrote: >>>>>>> >>>>>>>> Correct me if I'm wrong but is sounds like you've described >>>>>>>> jitter. Did you test with the jitter buffer enabled? >>>>>>>> >>>>>>>> On Sunday, April 5, 2015, Regis M >>>>>>>> wrote: >>>>>>>> >>>>>>>>> nice work !!! Thanks for sharing. >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> 2015-04-05 2:37 GMT+02:00 Stanislav Sinyagin >>>>>>>>> : >>>>>>>>> >>>>>>>>>> here we go: >>>>>>>>>> >>>>>>>>>> https://txlab.wordpress.com/2015/04/05/testing-rtp-clock-precision-on-a-virtual-machine/ >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> On Sat, Apr 4, 2015 at 4:26 PM, Stanislav Sinyagin < >>>>>>>>>> ssinyagin at gmail.com> wrote: >>>>>>>>>> > On Sat, Apr 4, 2015 at 1:03 PM, Regis M < >>>>>>>>>> regis.freeswitch.org at tornad.net> wrote: >>>>>>>>>> >> How do you check wavs together in audacity ? >>>>>>>>>> > >>>>>>>>>> > you just open two WAV files, align their starting position, and >>>>>>>>>> > visually check the waves. If there's a problem, you would see >>>>>>>>>> that >>>>>>>>>> > after few seconds, the waves are not aligned any more. >>>>>>>>>> > >>>>>>>>>> >> Can you send me 2 samples wav (send... and recorded) so I >>>>>>>>>> could see the 20ms >>>>>>>>>> >> diff that you exposed... >>>>>>>>>> >> >>>>>>>>>> >> Is there a way to automate the result checking, so it could >>>>>>>>>> help to monitor >>>>>>>>>> >> itsp quality >>>>>>>>>> > >>>>>>>>>> > Here >>>>>>>>>> > https://github.com/openpreserve/scape-xcorrsound/issues/17 >>>>>>>>>> > this is a link to a tool which compares two sound files at the >>>>>>>>>> wave >>>>>>>>>> > level. You can also see the sound samples in the ticket. >>>>>>>>>> > The problem is, that currently this tool does not detect such >>>>>>>>>> slipping frames. >>>>>>>>>> > >>>>>>>>>> > I will also write a detailed article with examples, during the >>>>>>>>>> weekend. >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> >> >>>>>>>>>> >> >>>>>>>>>> >> 2015-04-04 12:53 GMT+02:00 Stanislav Sinyagin < >>>>>>>>>> ssinyagin at gmail.com>: >>>>>>>>>> >>> >>>>>>>>>> >>> Important is to send the media through two independent >>>>>>>>>> carriers - then you >>>>>>>>>> >>> can be sure that your clock is compared against a high >>>>>>>>>> quality one. >>>>>>>>>> >>> >>>>>>>>>> >>> On Apr 4, 2015 12:46 PM, "Regis M" < >>>>>>>>>> regis.freeswitch.org at tornad.net> >>>>>>>>>> >>> wrote: >>>>>>>>>> >>>> >>>>>>>>>> >>>> Hi, >>>>>>>>>> >>>> >>>>>>>>>> >>>> It's a very interresting test and conclusion. >>>>>>>>>> >>>> >>>>>>>>>> >>>> I will try to build a similar environnement on my freeswitch >>>>>>>>>> to check >>>>>>>>>> >>>> some system :) >>>>>>>>>> >>>> >>>>>>>>>> >>>> thanks >>>>>>>>>> >>>> >>>>>>>>>> >>>> >>>>>>>>>> >>>> >>>>>>>>>> >>>> 2015-04-04 2:16 GMT+02:00 Stanislav Sinyagin < >>>>>>>>>> ssinyagin at gmail.com>: >>>>>>>>>> >>>>> >>>>>>>>>> >>>>> hi, >>>>>>>>>> >>>>> >>>>>>>>>> >>>>> Here are some test results which might be interesting: >>>>>>>>>> >>>>> >>>>>>>>>> >>>>> I've set up a test FreeSWITCH server at digitalocean (they >>>>>>>>>> use KVM), >>>>>>>>>> >>>>> and originated test calls to some ITSP accounts. Each call >>>>>>>>>> played a >>>>>>>>>> >>>>> test sound file (voice samples from ITU: >>>>>>>>>> >>>>> >>>>>>>>>> http://www.itu.int/net/itu-t/sigdb/genaudio/AudioForm-g.aspx?val=1000050 >>>>>>>>>> >>>>> ), and on the receiving end another FreeSWITCH server was >>>>>>>>>> recording >>>>>>>>>> >>>>> the received session. The receiving server was on a XEN VM. >>>>>>>>>> Both >>>>>>>>>> >>>>> servers talked G711 to their corresponding ITSP accounts. >>>>>>>>>> >>>>> >>>>>>>>>> >>>>> Then I compared the source audio and received audio in >>>>>>>>>> Audacity editor. >>>>>>>>>> >>>>> >>>>>>>>>> >>>>> The tests showed that the received voice wave shifts 20ms >>>>>>>>>> from the >>>>>>>>>> >>>>> original sound every few seconds, randomly back and >>>>>>>>>> forward. This >>>>>>>>>> >>>>> skewing was always present, regardless of ITSP and time of >>>>>>>>>> day. >>>>>>>>>> >>>>> >>>>>>>>>> >>>>> Then I moved the sending server to a XEN VM, and the waves >>>>>>>>>> appeared >>>>>>>>>> >>>>> almost perfectly synchronized (there was a 5ms skew in one >>>>>>>>>> test, and I >>>>>>>>>> >>>>> guess it's related to transcoding buffer, as the sound was >>>>>>>>>> obviously >>>>>>>>>> >>>>> transcoded). >>>>>>>>>> >>>>> >>>>>>>>>> >>>>> The effect was always visible with a 30-second sample, and >>>>>>>>>> I also made >>>>>>>>>> >>>>> additional tests with 2-minute samples. >>>>>>>>>> >>>>> >>>>>>>>>> >>>>> It would also be interesting to test this from a VmWare VM. >>>>>>>>>> If someone >>>>>>>>>> >>>>> wants to run such a test, feel free to contact me directly. >>>>>>>>>> >>>>> >>>>>>>>>> >>>>> >>>>>>>>>> >>>>> cheers, >>>>>>>>>> >>>>> stan >>>>>>>>>> >>>>> >>>>>>>>>> >>>>> >>>>>>>>>> >>>>> >>>>>>>>>> _________________________________________________________________________ >>>>>>>>>> >>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>>> >>>>> consulting at freeswitch.org >>>>>>>>>> >>>>> http://www.freeswitchsolutions.com >>>>>>>>>> >>>>> >>>>>>>>>> >>>>> Official FreeSWITCH Sites >>>>>>>>>> >>>>> http://www.freeswitch.org >>>>>>>>>> >>>>> http://confluence.freeswitch.org >>>>>>>>>> >>>>> http://www.cluecon.com >>>>>>>>>> >>>>> >>>>>>>>>> >>>>> FreeSWITCH-users mailing list >>>>>>>>>> >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>>>> >>>>> >>>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>>> >>>>> UNSUBSCRIBE: >>>>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>>>> >>>>> http://www.freeswitch.org >>>>>>>>>> >>>> >>>>>>>>>> >>>> >>>>>>>>>> >>>> >>>>>>>>>> >>>> >>>>>>>>>> _________________________________________________________________________ >>>>>>>>>> >>>> Professional FreeSWITCH Consulting Services: >>>>>>>>>> >>>> consulting at freeswitch.org >>>>>>>>>> >>>> http://www.freeswitchsolutions.com >>>>>>>>>> >>>> >>>>>>>>>> >>>> Official FreeSWITCH Sites >>>>>>>>>> >>>> http://www.freeswitch.org >>>>>>>>>> >>>> http://confluence.freeswitch.org >>>>>>>>>> >>>> http://www.cluecon.com >>>>>>>>>> >>>> >>>>>>>>>> >>>> FreeSWITCH-users mailing list >>>>>>>>>> >>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>>>> >>>> >>>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>>> >>>> UNSUBSCRIBE: >>>>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>>>> >>>> http://www.freeswitch.org >>>>>>>>>> >>> >>>>>>>>>> >>> >>>>>>>>>> >>> >>>>>>>>>> _________________________________________________________________________ >>>>>>>>>> >>> Professional FreeSWITCH Consulting Services: >>>>>>>>>> >>> consulting at freeswitch.org >>>>>>>>>> >>> http://www.freeswitchsolutions.com >>>>>>>>>> >>> >>>>>>>>>> >>> Official FreeSWITCH Sites >>>>>>>>>> >>> http://www.freeswitch.org >>>>>>>>>> >>> http://confluence.freeswitch.org >>>>>>>>>> >>> http://www.cluecon.com >>>>>>>>>> >>> >>>>>>>>>> >>> FreeSWITCH-users mailing list >>>>>>>>>> >>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>>>> >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>>> >>> UNSUBSCRIBE: >>>>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>>>> >>> http://www.freeswitch.org >>>>>>>>>> >> >>>>>>>>>> >> >>>>>>>>>> >> >>>>>>>>>> >> >>>>>>>>>> _________________________________________________________________________ >>>>>>>>>> >> Professional FreeSWITCH Consulting Services: >>>>>>>>>> >> consulting at freeswitch.org >>>>>>>>>> >> http://www.freeswitchsolutions.com >>>>>>>>>> >> >>>>>>>>>> >> Official FreeSWITCH Sites >>>>>>>>>> >> http://www.freeswitch.org >>>>>>>>>> >> http://confluence.freeswitch.org >>>>>>>>>> >> http://www.cluecon.com >>>>>>>>>> >> >>>>>>>>>> >> FreeSWITCH-users mailing list >>>>>>>>>> >> FreeSWITCH-users at lists.freeswitch.org >>>>>>>>>> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>>> >> UNSUBSCRIBE: >>>>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>>>> >> http://www.freeswitch.org >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> _________________________________________________________________________ >>>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>>> consulting at freeswitch.org >>>>>>>>>> http://www.freeswitchsolutions.com >>>>>>>>>> >>>>>>>>>> Official FreeSWITCH Sites >>>>>>>>>> http://www.freeswitch.org >>>>>>>>>> http://confluence.freeswitch.org >>>>>>>>>> http://www.cluecon.com >>>>>>>>>> >>>>>>>>>> FreeSWITCH-users mailing list >>>>>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>>> UNSUBSCRIBE: >>>>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>>>> http://www.freeswitch.org >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> >>>>>>>> *Brian West* >>>>>>>> brian at freeswitch.org >>>>>>>> >>>>>>>> >>>>>>>> *Twitter: @FreeSWITCH , @briankwest* >>>>>>>> http://www.freeswitchbook.com >>>>>>>> http://www.freeswitchcookbook.com >>>>>>>> >>>>>>>> ClueCon 2015 Call for Speakers >>>>>>>> | Register >>>>>>>> TODAY! | Reddit: >>>>>>>> /r/freeswitch >>>>>>>> >>>>>>>> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) >>>>>>>> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> _________________________________________________________________________ >>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>> consulting at freeswitch.org >>>>>>>> http://www.freeswitchsolutions.com >>>>>>>> >>>>>>>> Official FreeSWITCH Sites >>>>>>>> http://www.freeswitch.org >>>>>>>> http://confluence.freeswitch.org >>>>>>>> http://www.cluecon.com >>>>>>>> >>>>>>>> FreeSWITCH-users mailing list >>>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>> UNSUBSCRIBE: >>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>> http://www.freeswitch.org >>>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> _________________________________________________________________________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at freeswitch.org >>>>>> http://www.freeswitchsolutions.com >>>>>> >>>>>> Official FreeSWITCH Sites >>>>>> http://www.freeswitch.org >>>>>> http://confluence.freeswitch.org >>>>>> http://www.cluecon.com >>>>>> >>>>>> FreeSWITCH-users mailing list >>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE: >>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> Carlos >>>>> http://caruizdiaz.com >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>>> >>>> -- >>>> >>>> >>>> >>>> V?ctor E. Medina M. >>>> Platform Architect / Chief Infrastructure >>>> +58424 291 4561 >>>> BB #79A8AFA2 >>>> @VMCibersys >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> >>> -- >>> >>> *Brian West* >>> brian at freeswitch.org >>> >>> >>> *Twitter: @FreeSWITCH , @briankwest* >>> http://www.freeswitchbook.com >>> http://www.freeswitchcookbook.com >>> >>> ClueCon 2015 Call for Speakers >>> | Register >>> TODAY! | Reddit: /r/freeswitch >>> >>> >>> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) >>> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > Sincerely, > > Giovanni Maruzzelli > Cell : +39-347-2665618 > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150407/8664dd07/attachment-0001.html From andretodd at verizon.net Wed Apr 8 03:01:05 2015 From: andretodd at verizon.net (Andre DeMattia) Date: Tue, 07 Apr 2015 19:01:05 -0400 Subject: [Freeswitch-users] Bounty Message-ID: <068c01d07186$bd3c0cd0$37b42670$@verizon.net> How do I create a bounty for a bug in FS? Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150407/2b1ae2d8/attachment.html From fernando at softov.com.br Wed Apr 8 03:20:09 2015 From: fernando at softov.com.br (Luiz Fernando Softov) Date: Tue, 7 Apr 2015 19:20:09 -0400 Subject: [Freeswitch-users] WebRTC + Chrome = RTP Socket Error! Message-ID: There is the Trace https://pastebin.freeswitch.org/24094 -- Luiz Fernando Softov http://www.softov.com.br fernando at softov.com.br -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150407/3d0c6c54/attachment.html From brian at freeswitch.org Wed Apr 8 03:24:06 2015 From: brian at freeswitch.org (Brian West) Date: Tue, 7 Apr 2015 18:24:06 -0500 Subject: [Freeswitch-users] WebRTC + Chrome = RTP Socket Error! In-Reply-To: References: Message-ID: https://freeswitch.org/jira/browse/FS-7396 On Tue, Apr 7, 2015 at 6:20 PM, Luiz Fernando Softov wrote: > There is the Trace > > https://pastebin.freeswitch.org/24094 > > -- > Luiz Fernando Softov > http://www.softov.com.br > fernando at softov.com.br > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com ClueCon 2015 Call for Speakers | Register TODAY! | Reddit: /r/freeswitch *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150407/84a93db4/attachment.html From fernando at softov.com.br Wed Apr 8 03:24:39 2015 From: fernando at softov.com.br (Luiz Fernando Softov) Date: Tue, 7 Apr 2015 19:24:39 -0400 Subject: [Freeswitch-users] WebRTC + Chrome = RTP Socket Error! Message-ID: *Brian West,* *I try to send with Re: but sometimes gmail remove Re: from subject* -- Luiz Fernando Softov http://www.softov.com.br fernando at softov.com.br -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150407/2aa35fe6/attachment.html From mdalepiane at gmail.com Wed Apr 8 03:44:14 2015 From: mdalepiane at gmail.com (Mateus Dalepiane) Date: Tue, 7 Apr 2015 20:44:14 -0300 Subject: [Freeswitch-users] Detect video presence in mod_conference In-Reply-To: References: Message-ID: Thank you for the suggestion, Steven. Actually I developed a solution within the thread that controls the conference video, and send an event when the video is paused or resumed. I would like to ask FS team if you are interested in integrating this into FS. The solution is pretty straight forward. How should I proceed? 2015-04-07 7:51 GMT-03:00 Steven Ayre : > Not ideal, but you could try using the uuid_set_media_stats API on the > channel. If they have negotiated video this'll set some rtp_video_ > variables which'll include packet counters (a snapshot each time you run > the API). You could see if they're sending video packets that way. > > On 6 April 2015 at 20:51, Mateus Dalepiane wrote: > >> Hello, >> >> I am looking for a mechanism to detect whether the user that currently >> holds the conference video floor is actually sending a video stream or not. >> >> So far I know that the variable CF_VIDEO may be used to check if the >> channel is video capable, either to send and/or receive video. But this is >> not enough to ensure that a user is sending video, just if he is able to >> send and/or receive video. >> >> My idea is to check if there are video packets flowing through FS, that >> would mean that the user holding the floor is sending video. >> >> Is there a better way to do this? >> >> If not, where would be the best place to monitor the video packets flow? >> >> Thanks! >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150407/09fdc2ce/attachment.html From italorossib at gmail.com Wed Apr 8 04:51:00 2015 From: italorossib at gmail.com (=?UTF-8?B?w410YWxvIFJvc3Np?=) Date: Tue, 7 Apr 2015 21:51:00 -0300 Subject: [Freeswitch-users] Detect video presence in mod_conference In-Reply-To: References: Message-ID: You can open a JIRA and do a Pull Request. https://freeswitch.org/confluence/display/FREESWITCH/Pull+Requests On Tue, Apr 7, 2015 at 8:44 PM, Mateus Dalepiane wrote: > Thank you for the suggestion, Steven. > > Actually I developed a solution within the thread that controls the > conference video, and send an event when the video is paused or resumed. > > I would like to ask FS team if you are interested in integrating this into > FS. > The solution is pretty straight forward. > > How should I proceed? > > 2015-04-07 7:51 GMT-03:00 Steven Ayre : > > Not ideal, but you could try using the uuid_set_media_stats API on the >> channel. If they have negotiated video this'll set some rtp_video_ >> variables which'll include packet counters (a snapshot each time you run >> the API). You could see if they're sending video packets that way. >> >> On 6 April 2015 at 20:51, Mateus Dalepiane wrote: >> >>> Hello, >>> >>> I am looking for a mechanism to detect whether the user that currently >>> holds the conference video floor is actually sending a video stream or not. >>> >>> So far I know that the variable CF_VIDEO may be used to check if the >>> channel is video capable, either to send and/or receive video. But this is >>> not enough to ensure that a user is sending video, just if he is able to >>> send and/or receive video. >>> >>> My idea is to check if there are video packets flowing through FS, that >>> would mean that the user holding the floor is sending video. >>> >>> Is there a better way to do this? >>> >>> If not, where would be the best place to monitor the video packets flow? >>> >>> Thanks! >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- ?talo Rossi -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150407/be67d082/attachment-0001.html From mike at jerris.com Wed Apr 8 05:02:31 2015 From: mike at jerris.com (Michael Jerris) Date: Tue, 7 Apr 2015 21:02:31 -0400 Subject: [Freeswitch-users] Upgrade Freeswitch to v1.4 stable version In-Reply-To: References: Message-ID: <2BDF2958-2288-4502-9F29-059C06EB001B@jerris.com> in 1.4.18 there is a configure arg to use system lua, (--enable-system-lua) but it is not enabled by default. In 1.6 system lua will be required (as well as many other system dependencies) > On Apr 7, 2015, at 9:00 AM, Giovanni Maruzzelli wrote: > > > > On Tue, Apr 7, 2015 at 2:49 PM, Brian West > wrote: > Giovanni, > > We are moving to system Lua, I will need to double check but I think Mike already made this change in the v1.4 release branch. > > ah, oops, waiting for your indications, but at 1.4.18 (the current git Release) seems to me it does not require no external Lua (still embed its own). > > -giovanni > > > > On Tue, Apr 7, 2015 at 7:38 AM, Giovanni Maruzzelli > wrote: > you don't need to make lua > > it will be automatically made by compiling freeswitch, you don't need no external lua. > > just compile and install freeswitch, it will have its own lua embedded. > > -giovanni > > > On Tue, Apr 7, 2015 at 2:26 PM, Zvi Agmon > wrote: > Steven thanks, > > I pulled the v1.4 but now having troubles upgrade to lua 5.2. > I tried running this (taken from https://freeswitch.org/confluence/display/FREESWITCH/Third+Party+Libraries ): > > apt-get install lua5.2 luarocks > luarocks install luaxml > > But it keeps failing with dependency error. > > What is the correct way to make lua 5.2 for Freeswtich? > > Thanks > Zvi Agmon > > Best regards > > Zvi Agmon > Lexifone > email: zvi at lexifone.com > Office: +972-4-6817711 > Cell: +972-54-4505109 > On Tue, Apr 7, 2015 at 1:42 PM, Steven Ayre > wrote: > The git branch is not named in the same manner as 1.2.... v1.4 instead of v1.4.stable > > On 6 April 2015 at 14:48, Zvi Agmon > wrote: > > Stanislav , thanks for the quick response! > > I want to build from sources but can't get v1.4.stable - is that does not exist any more? > And if not - what should I checkout, just v1.4? > > Thanks > > Zvi Agmon > > > Best regards > > Zvi Agmon > Lexifone > email: zvi at lexifone.com > Office: +972-4-6817711 > Cell: +972-54-4505109 > > On Mon, Apr 6, 2015 at 4:24 PM, Stanislav Sinyagin > wrote: > 1.2 configuration should work in 1.4 without any troubles. If you > install from sources, you can simply delete and re-install the target > directory, and then roll out the old configuration. > > If upgrading from binary packages, it should work with just "apt-get > upgrade" or "yum update" > > On Mon, Apr 6, 2015 at 12:55 PM, Zvi Agmon > wrote: > > Hello, > > > > I'm trying to figure out what is the correct and best way to upgrade a > > server running Freeswitch v1.2 to v1.4 stable. > > I could not find any clear documentation - can you please help? > > > > > > Thanks a lot > > > > Zvi Agmon > > Lexifone > > email: zvi at lexifone.com > > Office: +972-4-6817711 > > Cell: +972-54-4505109 > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > -- > Sincerely, > > Giovanni Maruzzelli > Cell : +39-347-2665618 > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > -- > Brian West > brian at freeswitch.org > > Twitter: @FreeSWITCH , @briankwest > http://www.freeswitchbook.com > http://www.freeswitchcookbook.com > ClueCon 2015 Call for Speakers | Register TODAY! | Reddit: /r/freeswitch > T:+19184209001 | F:+19184209002 | M:+1918424WEST (9378) > iNUM:+883 5100 1420 9001 | ISN:410*543 | Skype:briankwest > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > -- > Sincerely, > > Giovanni Maruzzelli > Cell : +39-347-2665618 > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150407/2447fb2a/attachment-0001.html From mike at jerris.com Wed Apr 8 05:08:38 2015 From: mike at jerris.com (Michael Jerris) Date: Tue, 7 Apr 2015 21:08:38 -0400 Subject: [Freeswitch-users] Detect video presence in mod_conference In-Reply-To: References: Message-ID: <0B48D297-3A44-43F1-A5D3-B980B48CE6FD@jerris.com> If you are working on any patches that have anything at all to do with video, you should be working on them against the fs-video2 branch in git. > On Apr 7, 2015, at 7:44 PM, Mateus Dalepiane wrote: > > Thank you for the suggestion, Steven. > > Actually I developed a solution within the thread that controls the conference video, and send an event when the video is paused or resumed. > > I would like to ask FS team if you are interested in integrating this into FS. > The solution is pretty straight forward. > > How should I proceed? > > 2015-04-07 7:51 GMT-03:00 Steven Ayre >: > Not ideal, but you could try using the uuid_set_media_stats API on the channel. If they have negotiated video this'll set some rtp_video_ variables which'll include packet counters (a snapshot each time you run the API). You could see if they're sending video packets that way. > > On 6 April 2015 at 20:51, Mateus Dalepiane > wrote: > Hello, > > I am looking for a mechanism to detect whether the user that currently holds the conference video floor is actually sending a video stream or not. > > So far I know that the variable CF_VIDEO may be used to check if the channel is video capable, either to send and/or receive video. But this is not enough to ensure that a user is sending video, just if he is able to send and/or receive video. > > My idea is to check if there are video packets flowing through FS, that would mean that the user holding the floor is sending video. > > Is there a better way to do this? > > If not, where would be the best place to monitor the video packets flow? > > Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150407/1c2fac7d/attachment.html From shabbirabbasi92 at gmail.com Wed Apr 8 08:19:20 2015 From: shabbirabbasi92 at gmail.com (Shabbir abbasi) Date: Wed, 8 Apr 2015 09:19:20 +0500 Subject: [Freeswitch-users] suggest best codecs to use with freeswitch for good voice quality ?? In-Reply-To: References: <552408F3.1030504@freeswitch.org> Message-ID: dmitry lysenko wrote "Yes, GSM dongle can do AMR, but the I/O (with PC) in L16. So, the best codec, in this case, will be L16." this mean i try rtreleaven's suggestion ?? " wrote: for the freeswitch side " ? On Tue, Apr 7, 2015 at 11:33 PM, Dmitry Lysenko wrote: > Yes, GSM dongle can do AMR, but the I/O (with PC) in L16. So, the best > codec, in this case, will be L16. > > 2015-04-07 19:59 GMT+03:00 Russell Treleaven : > >> Can the GSM dongle do AMR? >> >> On Tue, Apr 7, 2015 at 12:42 PM, I put the Who? in Mishehu < >> mishehu at freeswitch.org> wrote: >> >>> I think that AMR is one of the codecs that does not allow for >>> transcoding, at least with the in-tree module. Might require something >>> additional. >>> >>> -- >>> Yossi Neiman >>> >>> On 04/07/2015 04:57 AM, Steven Ayre wrote: >>> >>> That's not necessarily the case - GSM is not the only codec used by >>> mobile networks, there's others such as AMR >>> >>> On 4 April 2015 at 19:11, Russell Treleaven >>> wrote: >>> >>>> Since one of the legs is GSM the best you can hope for is slightly >>>> worse than GSM because you are transcoding. >>>> >>>> >>>> On Sat, Apr 4, 2015 at 2:01 PM, Russell Treleaven < >>>> rtreleaven at bunnykick.ca> wrote: >>>> >>>>> for the freeswitch side >>>>> >>>>> >>>>> for the asterisk side >>>>> you will have to figure that out yourself. >>>>> >>>>> >>>>> >>>>> On Sat, Apr 4, 2015 at 12:40 PM, Shabbir abbasi < >>>>> shabbirabbasi92 at gmail.com> wrote: >>>>> >>>>>> thank you for reply >>>>>> it is freeswitch.conf >>>>>> >>>>> data="sound_prefix=$${sounds_dir}/en/us/callie"/> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>> value="false"/> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>> value="$${global_codec_prefs}"/> >>>>>> >>>>> value="$${global_codec_prefs}"/> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> and here is asterisk sip.con >>>>>> disallow=all >>>>>> allow=ulaw >>>>>> allow=alaw >>>>>> >>>>>> what i need to change ?? >>>>>> >>>>>> On Sat, Apr 4, 2015 at 9:13 PM, Russell Treleaven < >>>>>> rtreleaven at bunnykick.ca> wrote: >>>>>> >>>>>>> probably the best you can do is limit the number of transcodings >>>>>>> and/or resamplings >>>>>>> >>>>>>> skype uses silk >>>>>>> freeswitch core uses L16 >>>>>>> sip session uses >>>>>>> asterisk core uses ? >>>>>>> audio is presented to the dongle as ? >>>>>>> cellular network uses gsm >>>>>>> >>>>>>> if ? = L16 then make the sip session use L16 >>>>>>> use the loopback interface so that MTU is not an issue >>>>>>> >>>>>>> >>>>>>> On Fri, Apr 3, 2015 at 2:50 PM, Shabbir abbasi < >>>>>>> shabbirabbasi92 at gmail.com> wrote: >>>>>>> >>>>>>>> for this setup >>>>>>>> skype --> freeswitch(mod_skypopen --> mod_sofia) ---> >>>>>>>> asterisk(chan_sip --> chan_dongle[Huawei E169] ) on same machine >>>>>>>> >>>>>>>> suggest best codecs to use with freeswitch and asterisk for good >>>>>>>> voice quality ?? >>>>>>>> >>>>>>>> >>>>>>>> _________________________________________________________________________ >>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>> consulting at freeswitch.org >>>>>>>> http://www.freeswitchsolutions.com >>>>>>>> >>>>>>>> Official FreeSWITCH Sites >>>>>>>> http://www.freeswitch.org >>>>>>>> http://confluence.freeswitch.org >>>>>>>> http://www.cluecon.com >>>>>>>> >>>>>>>> FreeSWITCH-users mailing list >>>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>> UNSUBSCRIBE: >>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>> http://www.freeswitch.org >>>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> _________________________________________________________________________ >>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>> consulting at freeswitch.org >>>>>>> http://www.freeswitchsolutions.com >>>>>>> >>>>>>> Official FreeSWITCH Sites >>>>>>> http://www.freeswitch.org >>>>>>> http://confluence.freeswitch.org >>>>>>> http://www.cluecon.com >>>>>>> >>>>>>> FreeSWITCH-users mailing list >>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> UNSUBSCRIBE: >>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>> http://www.freeswitch.org >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> _________________________________________________________________________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at freeswitch.org >>>>>> http://www.freeswitchsolutions.com >>>>>> >>>>>> Official FreeSWITCH Sites >>>>>> http://www.freeswitch.org >>>>>> http://confluence.freeswitch.org >>>>>> http://www.cluecon.com >>>>>> >>>>>> FreeSWITCH-users mailing list >>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE: >>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>> >>>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: consulting at freeswitch.orghttp://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com >>> >>> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org >>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150408/9b724c0c/attachment-0001.html From dvl36.ripe.nick at gmail.com Wed Apr 8 11:07:37 2015 From: dvl36.ripe.nick at gmail.com (Dmitry Lysenko) Date: Wed, 8 Apr 2015 10:07:37 +0300 Subject: [Freeswitch-users] suggest best codecs to use with freeswitch for good voice quality ?? In-Reply-To: References: <552408F3.1030504@freeswitch.org> Message-ID: PCM/L16 sample rate of GSM dongle is 8000. So, " Best wishes, Dmitry. 2015-04-08 7:19 GMT+03:00 Shabbir abbasi : > dmitry lysenko wrote > "Yes, GSM dongle can do AMR, but the I/O (with PC) in L16. So, the best > codec, in this case, will be L16." > this mean i try rtreleaven's suggestion ?? > " wrote: > for the freeswitch side > " > > ? > > On Tue, Apr 7, 2015 at 11:33 PM, Dmitry Lysenko > wrote: > >> Yes, GSM dongle can do AMR, but the I/O (with PC) in L16. So, the best >> codec, in this case, will be L16. >> >> 2015-04-07 19:59 GMT+03:00 Russell Treleaven : >> >>> Can the GSM dongle do AMR? >>> >>> On Tue, Apr 7, 2015 at 12:42 PM, I put the Who? in Mishehu < >>> mishehu at freeswitch.org> wrote: >>> >>>> I think that AMR is one of the codecs that does not allow for >>>> transcoding, at least with the in-tree module. Might require something >>>> additional. >>>> >>>> -- >>>> Yossi Neiman >>>> >>>> On 04/07/2015 04:57 AM, Steven Ayre wrote: >>>> >>>> That's not necessarily the case - GSM is not the only codec used by >>>> mobile networks, there's others such as AMR >>>> >>>> On 4 April 2015 at 19:11, Russell Treleaven >>>> wrote: >>>> >>>>> Since one of the legs is GSM the best you can hope for is slightly >>>>> worse than GSM because you are transcoding. >>>>> >>>>> >>>>> On Sat, Apr 4, 2015 at 2:01 PM, Russell Treleaven < >>>>> rtreleaven at bunnykick.ca> wrote: >>>>> >>>>>> for the freeswitch side >>>>>> >>>>>> >>>>>> for the asterisk side >>>>>> you will have to figure that out yourself. >>>>>> >>>>>> >>>>>> >>>>>> On Sat, Apr 4, 2015 at 12:40 PM, Shabbir abbasi < >>>>>> shabbirabbasi92 at gmail.com> wrote: >>>>>> >>>>>>> thank you for reply >>>>>>> it is freeswitch.conf >>>>>>> >>>>>> data="sound_prefix=$${sounds_dir}/en/us/callie"/> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>> value="false"/> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>> value="$${global_codec_prefs}"/> >>>>>>> >>>>>> value="$${global_codec_prefs}"/> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>> value="generous"/> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> and here is asterisk sip.con >>>>>>> disallow=all >>>>>>> allow=ulaw >>>>>>> allow=alaw >>>>>>> >>>>>>> what i need to change ?? >>>>>>> >>>>>>> On Sat, Apr 4, 2015 at 9:13 PM, Russell Treleaven < >>>>>>> rtreleaven at bunnykick.ca> wrote: >>>>>>> >>>>>>>> probably the best you can do is limit the number of transcodings >>>>>>>> and/or resamplings >>>>>>>> >>>>>>>> skype uses silk >>>>>>>> freeswitch core uses L16 >>>>>>>> sip session uses >>>>>>>> asterisk core uses ? >>>>>>>> audio is presented to the dongle as ? >>>>>>>> cellular network uses gsm >>>>>>>> >>>>>>>> if ? = L16 then make the sip session use L16 >>>>>>>> use the loopback interface so that MTU is not an issue >>>>>>>> >>>>>>>> >>>>>>>> On Fri, Apr 3, 2015 at 2:50 PM, Shabbir abbasi < >>>>>>>> shabbirabbasi92 at gmail.com> wrote: >>>>>>>> >>>>>>>>> for this setup >>>>>>>>> skype --> freeswitch(mod_skypopen --> mod_sofia) ---> >>>>>>>>> asterisk(chan_sip --> chan_dongle[Huawei E169] ) on same machine >>>>>>>>> >>>>>>>>> suggest best codecs to use with freeswitch and asterisk for good >>>>>>>>> voice quality ?? >>>>>>>>> >>>>>>>>> >>>>>>>>> _________________________________________________________________________ >>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>> consulting at freeswitch.org >>>>>>>>> http://www.freeswitchsolutions.com >>>>>>>>> >>>>>>>>> Official FreeSWITCH Sites >>>>>>>>> http://www.freeswitch.org >>>>>>>>> http://confluence.freeswitch.org >>>>>>>>> http://www.cluecon.com >>>>>>>>> >>>>>>>>> FreeSWITCH-users mailing list >>>>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>> UNSUBSCRIBE: >>>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>>> http://www.freeswitch.org >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> _________________________________________________________________________ >>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>> consulting at freeswitch.org >>>>>>>> http://www.freeswitchsolutions.com >>>>>>>> >>>>>>>> Official FreeSWITCH Sites >>>>>>>> http://www.freeswitch.org >>>>>>>> http://confluence.freeswitch.org >>>>>>>> http://www.cluecon.com >>>>>>>> >>>>>>>> FreeSWITCH-users mailing list >>>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>> UNSUBSCRIBE: >>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>> http://www.freeswitch.org >>>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> _________________________________________________________________________ >>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>> consulting at freeswitch.org >>>>>>> http://www.freeswitchsolutions.com >>>>>>> >>>>>>> Official FreeSWITCH Sites >>>>>>> http://www.freeswitch.org >>>>>>> http://confluence.freeswitch.org >>>>>>> http://www.cluecon.com >>>>>>> >>>>>>> FreeSWITCH-users mailing list >>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> UNSUBSCRIBE: >>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>> http://www.freeswitch.org >>>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: consulting at freeswitch.orghttp://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org >>>> >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150408/7a2b1057/attachment-0001.html From silvagustavo at yandex.ru Wed Apr 8 12:51:10 2015 From: silvagustavo at yandex.ru (Gustavo Silva) Date: Wed, 08 Apr 2015 11:51:10 +0300 Subject: [Freeswitch-users] Mod_xml_radius - not able to establish a voicemail call Message-ID: <20150408085110.5853254.74485.246@yandex.ru> An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150408/eb5754a5/attachment.html From ajinkya.lintel at gmail.com Wed Apr 8 11:42:06 2015 From: ajinkya.lintel at gmail.com (ajinkya Betwar) Date: Wed, 8 Apr 2015 13:12:06 +0530 Subject: [Freeswitch-users] Feature Comfort Noise to select different codecs on both legs of a Call Message-ID: Hello Everyone, This is Something New. I am using Freeswitch 1.5 version. I am trying to add comfort noise in media by bridge_generate_comfort_noise variable. But It is choosing same codec for both legs of a call, Instead I want it to select different codecs for both A leg and B leg. In some situation , I need to have 8000 bps on leg A and 16000 bps on leg B, But bridge_generate_comfort_noise by default selects same codec on both leg. How do I select different codecs for comfort noise on both legs ? Please Help in this regard. Thanks. Ajinkya -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150408/68a9df53/attachment.html From bordmi at rarus.ru Wed Apr 8 14:02:15 2015 From: bordmi at rarus.ru (=?UTF-8?B?0JHQvtGA0LjRgdC+0LIsINCU0LzQuNGC0YDQuNC5IC8gRG1pdHJpeSBCb3Jpc292?=) Date: Wed, 8 Apr 2015 13:02:15 +0300 Subject: [Freeswitch-users] Mod_xml_radius - not able to establish a voicemail call In-Reply-To: <20150408085110.5853254.74485.246@yandex.ru> References: <20150408085110.5853254.74485.246@yandex.ru> Message-ID: If you do not use any other directory mechanism, but only RADIUS, then reason of this problem in next: mod_xml_radius inserts received AVP in variables section of user directory, but mod_voicemail searching for it in params section. I don`t publish source correction for this yet. Other reason: mod_xml_radius returns directory only on REGISTER or INVITE packets, but not on mod_voicemail directory access. This problem I had not solved for now, but in closest time I will solve it too. 2015-04-08 11:51 GMT+03:00 Gustavo Silva : > ?Here we go again, > > My freeswitch server is already making the AAA via xml_radius module. > > I have deleted all the files that were inside of the > conf/directory/default/ folder to force the freeswitch do AAA unless the > local account check. > > My problem now is, when I dial 4000 or *98 to check the voicemail, the > call is unable to establish. > > What should I do to make it work? > > Regards, > Gustavo > > Sent from my BlackBerry 10 smartphone. > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- with best regards, Dmitriy Borisov -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150408/a1030728/attachment.html From silvagustavo at yandex.ru Wed Apr 8 14:12:58 2015 From: silvagustavo at yandex.ru (Gustavo Silva) Date: Wed, 08 Apr 2015 13:12:58 +0300 Subject: [Freeswitch-users] Mod_xml_radius - not able to establish a voicemail call In-Reply-To: References: <20150408085110.5853254.74485.246@yandex.ru> Message-ID: <20150408101258.5853254.56661.250@yandex.ru> An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150408/a6fe09a2/attachment-0002.html From silvagustavo at yandex.ru Wed Apr 8 14:12:58 2015 From: silvagustavo at yandex.ru (Gustavo Silva) Date: Wed, 08 Apr 2015 13:12:58 +0300 Subject: [Freeswitch-users] Mod_xml_radius - not able to establish a voicemail call In-Reply-To: References: <20150408085110.5853254.74485.246@yandex.ru> Message-ID: <20150408101258.5853254.56661.250@yandex.ru> An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150408/a6fe09a2/attachment-0003.html From ssinyagin at gmail.com Wed Apr 8 14:22:00 2015 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Wed, 8 Apr 2015 12:22:00 +0200 Subject: [Freeswitch-users] ARM servers at Scaleway.com Message-ID: I tested a dedicated ARM server offered at Scaleway, and it runs smoothly. The only issue, the initial kernel does not support high-resolution timers, so you need to change to another kernel and reboot. Details here: https://txlab.wordpress.com/2015/04/08/installing-freeswitch-on-scaleway-c1/ a pretty decent offer for a small hosted PBX. Their datacenters are located near Paris. From bordmi at rarus.ru Wed Apr 8 14:36:00 2015 From: bordmi at rarus.ru (=?UTF-8?B?0JHQvtGA0LjRgdC+0LIsINCU0LzQuNGC0YDQuNC5IC8gRG1pdHJpeSBCb3Jpc292?=) Date: Wed, 8 Apr 2015 13:36:00 +0300 Subject: [Freeswitch-users] Mod_xml_radius - not able to establish a voicemail call In-Reply-To: <20150408101258.5853254.56661.250@yandex.ru> References: <20150408085110.5853254.74485.246@yandex.ru> <20150408101258.5853254.56661.250@yandex.ru> Message-ID: yes, why not? In your radius set it, and it will come in sight in directory like this:
or may be (in some RADIUS)
2015-04-08 13:12 GMT+03:00 Gustavo Silva : > Is there a way to send the user_context variable to the mod_xml_radius? > > Sent from my BlackBerry 10 smartphone. > *From: *???????, ??????? / Dmitriy Borisov > *Sent: *?????, 8 ?????? 2015 ?., 13:08 > *To: *FreeSWITCH Users Help > *Reply To: *FreeSWITCH Users Help > *Subject: *Re: [Freeswitch-users] Mod_xml_radius - not able to establish > a voicemail call > > If you do not use any other directory mechanism, but only RADIUS, then > reason of this problem in next: > mod_xml_radius inserts received AVP in variables section of user > directory, but mod_voicemail searching for it in params section. I don`t > publish source correction for this yet. > Other reason: mod_xml_radius returns directory only on REGISTER or INVITE > packets, but not on mod_voicemail directory access. This problem I had not > solved for now, but in closest time I will solve it too. > > 2015-04-08 11:51 GMT+03:00 Gustavo Silva : > >> ?Here we go again, >> >> My freeswitch server is already making the AAA via xml_radius module. >> >> I have deleted all the files that were inside of the >> conf/directory/default/ folder to force the freeswitch do AAA unless the >> local account check. >> >> My problem now is, when I dial 4000 or *98 to check the voicemail, the >> call is unable to establish. >> >> What should I do to make it work? >> >> Regards, >> Gustavo >> >> Sent from my BlackBerry 10 smartphone. >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > with best regards, > Dmitriy Borisov > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- with best regards, Dmitriy Borisov -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150408/b88e9fcf/attachment.html From steveayre at gmail.com Wed Apr 8 14:37:09 2015 From: steveayre at gmail.com (Steven Ayre) Date: Wed, 8 Apr 2015 11:37:09 +0100 Subject: [Freeswitch-users] Feature Comfort Noise to select different codecs on both legs of a Call In-Reply-To: References: Message-ID: Your problem isn't related to comfort noise, just standard codec negotiation. The b-leg will offer the codecs in outbound-codec-prefs on the outbound sofia profile. You can use the absolute_codec_string variable in the dialstring to override that. The behaviour is slightly different if you have disable-transcoding enabled (then the bleg will only offer the aleg codec). On 8 April 2015 at 08:42, ajinkya Betwar wrote: > Hello Everyone, > > This is Something New. > > I am using Freeswitch 1.5 version. I am trying to add comfort noise in > media by bridge_generate_comfort_noise variable. But It is choosing same > codec for both legs of a call, Instead I want it to select different codecs > for both A leg and B leg. > In some situation , I need to have 8000 bps on leg A and 16000 bps on leg > B, But bridge_generate_comfort_noise by default selects same codec on both > leg. > > How do I select different codecs for comfort noise on both legs ? > > Please Help in this regard. > > Thanks. > > Ajinkya > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150408/fc88eb58/attachment.html From silvagustavo at yandex.ru Wed Apr 8 14:54:05 2015 From: silvagustavo at yandex.ru (Gustavo Silva) Date: Wed, 08 Apr 2015 13:54:05 +0300 Subject: [Freeswitch-users] Mod_xml_radius - not able to establish a voicemail call In-Reply-To: References: <20150408085110.5853254.74485.246@yandex.ru> <20150408101258.5853254.56661.250@yandex.ru> Message-ID: <20150408105405.5853254.95337.254@yandex.ru> An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150408/a0a8a98f/attachment-0001.html From silvagustavo at yandex.ru Wed Apr 8 14:54:05 2015 From: silvagustavo at yandex.ru (Gustavo Silva) Date: Wed, 08 Apr 2015 13:54:05 +0300 Subject: [Freeswitch-users] Mod_xml_radius - not able to establish a voicemail call In-Reply-To: References: <20150408085110.5853254.74485.246@yandex.ru> <20150408101258.5853254.56661.250@yandex.ru> Message-ID: <20150408105405.5853254.95337.254@yandex.ru> An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150408/a0a8a98f/attachment-0002.html From dvl36.ripe.nick at gmail.com Wed Apr 8 15:07:01 2015 From: dvl36.ripe.nick at gmail.com (Dmitry Lysenko) Date: Wed, 8 Apr 2015 14:07:01 +0300 Subject: [Freeswitch-users] KVM vs. XEN virtualization In-Reply-To: References: Message-ID: 2015-04-07 10:48 GMT+03:00 Sergey Safarov : > ... > 2) i 125 - time us between software timer interrupts for first thread. It > time is equal time between samples rate in PSTN networks > In order to maintain our sampling rate we have 125 microseconds (uS) > between consecutive samples (1/8,000Hz), which is more > ... > 125uS is the interval between FrameSync of ONE(!) PCM sample at 8000hz, But here we are talking about packet telephony where commonly used frame length is 20000 uS. So, intervals for testing should be 5000-10000-20000uS, not 125uS. > 3) d 0 - this switch will make time between software timer interrupts for > second and following threads is equal timer value for first thread > Why you decided that all of 42 threads should wake up simultaneously? That totally impossible in real world applications. Here should be tens of uS. Dependent of network card and, possibly, other I/O hardware. > 4) l 240000 - how many timer test must be made. It is adjusted for 30 s > overall test > 5) n - use clock_nanosleep. it is allow take more accurate timer test > values on my VM > 6) p 80 - it is copied from example on Cyclictest page > -q switch is missing. > And how in your opinion this numbers are related to Freeswitch in VM > environment? > Relation between Cyclictest switches and FS described above. > Relation betwen Cyclictest results and FS simple > Precise time measurement and realtime processing in VM environment is a challenge. To obtain acceptable results fine tuning of host's and guest's required. WIthout that this numbers ... does not mean anything. On Tue, Apr 7, 2015 at 5:38 AM, Dmitry Lysenko > wrote: > >> Sergey, >> Why you suggest to use exactly this numbers in cyclictest's switches? >> And how in your opinion this numbers are related to Freeswitch in VM >> environment? >> >> P.S. >> https://mindlinux.wordpress.com/2013/10/25/using-and-understanding-the-real-time-cyclictest-benchmark-frank-rowand-sony/ >> >> 2015-04-06 15:27 GMT+03:00 Sergey Safarov : >> >>> Errol can you test VM timer with utility >>> https://rt.wiki.kernel.org/index.php/Cyclictest >>> >>> My VM currently have folowing results >>> >>> [root at fs1 ~]# date && /tmp/rt-tests/cyclictest -t42 -p 80 -d 0 -n -i 125 -l 240000 && date >>> Sun Apr 5 07:01:31 GMT 2015 >>> # /dev/cpu_dma_latency set to 0us >>> policy: fifo: loadavg: 2.38 0.93 0.50 1/194 1574 >>> >>> T: 0 ( 1531) P:80 I:125 C: 240000 Min: 2 Act: 12 Avg: 16 Max: 1302 >>> T: 1 ( 1532) P:80 I:125 C: 240000 Min: 2 Act: 15 Avg: 14 Max: 2895 >>> T: 2 ( 1533) P:80 I:125 C: 240000 Min: 3 Act: 10 Avg: 12 Max: 2888 >>> T: 3 ( 1534) P:80 I:125 C: 240000 Min: 1 Act: 16 Avg: 13 Max: 1333 >>> T: 4 ( 1535) P:80 I:125 C: 240000 Min: 2 Act: 20 Avg: 14 Max: 2962 >>> T: 5 ( 1536) P:80 I:125 C: 240000 Min: 1 Act: 12 Avg: 14 Max: 2946 >>> T: 6 ( 1537) P:80 I:125 C: 240000 Min: 2 Act: 10 Avg: 13 Max: 1363 >>> T: 7 ( 1538) P:80 I:125 C: 240000 Min: 2 Act: 12 Avg: 13 Max: 1344 >>> T: 8 ( 1539) P:80 I:125 C: 240000 Min: 3 Act: 12 Avg: 16 Max: 1408 >>> T: 9 ( 1540) P:80 I:125 C: 240000 Min: 1 Act: 8 Avg: 13 Max: 2882 >>> T:10 ( 1541) P:80 I:125 C: 239974 Min: 2 Act: 12 Avg: 13 Max: 2908 >>> >>> >>> On Mon, Apr 6, 2015 at 11:15 AM, Errol Samuels >>> wrote: >>> >>>> Good job and Thanks for sharing! >>>> >>>> KVM at digitalocean.com, Debian 7 64bit, FreeSWITCH 1.4.15: bad >>>>> precision >>>> >>>> >>>> As someone who has been using KVM for a few years and has just migrated >>>> about 20 VMs across to Digital Ocean about 6 weeks ago I admit I am a >>>> little concerned about this finding. >>>> >>>> Just out of curiosity can you tell me the specs of the VM that you >>>> tested with and which DO Datacenter? I am using NYC3 so perhaps and I will >>>> do some tests as soon as I have some time. >>>> >>>> With regards to Xen was this at Linode or inhouse? >>>> >>>> Thanks >>>> >>>> Errol >>>> >>>> >>>> >>>> On Sun, Apr 5, 2015 at 1:37 AM, Stanislav Sinyagin >>> > wrote: >>>> >>>>> here we go: >>>>> >>>>> https://txlab.wordpress.com/2015/04/05/testing-rtp-clock-precision-on-a-virtual-machine/ >>>>> >>>>> >>>>> >>>>> On Sat, Apr 4, 2015 at 4:26 PM, Stanislav Sinyagin < >>>>> ssinyagin at gmail.com> wrote: >>>>> > On Sat, Apr 4, 2015 at 1:03 PM, Regis M < >>>>> regis.freeswitch.org at tornad.net> wrote: >>>>> >> How do you check wavs together in audacity ? >>>>> > >>>>> > you just open two WAV files, align their starting position, and >>>>> > visually check the waves. If there's a problem, you would see that >>>>> > after few seconds, the waves are not aligned any more. >>>>> > >>>>> >> Can you send me 2 samples wav (send... and recorded) so I could see >>>>> the 20ms >>>>> >> diff that you exposed... >>>>> >> >>>>> >> Is there a way to automate the result checking, so it could help to >>>>> monitor >>>>> >> itsp quality >>>>> > >>>>> > Here >>>>> > https://github.com/openpreserve/scape-xcorrsound/issues/17 >>>>> > this is a link to a tool which compares two sound files at the wave >>>>> > level. You can also see the sound samples in the ticket. >>>>> > The problem is, that currently this tool does not detect such >>>>> slipping frames. >>>>> > >>>>> > I will also write a detailed article with examples, during the >>>>> weekend. >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> >> >>>>> >> >>>>> >> 2015-04-04 12:53 GMT+02:00 Stanislav Sinyagin >>>> >: >>>>> >>> >>>>> >>> Important is to send the media through two independent carriers - >>>>> then you >>>>> >>> can be sure that your clock is compared against a high quality one. >>>>> >>> >>>>> >>> On Apr 4, 2015 12:46 PM, "Regis M" < >>>>> regis.freeswitch.org at tornad.net> >>>>> >>> wrote: >>>>> >>>> >>>>> >>>> Hi, >>>>> >>>> >>>>> >>>> It's a very interresting test and conclusion. >>>>> >>>> >>>>> >>>> I will try to build a similar environnement on my freeswitch to >>>>> check >>>>> >>>> some system :) >>>>> >>>> >>>>> >>>> thanks >>>>> >>>> >>>>> >>>> >>>>> >>>> >>>>> >>>> 2015-04-04 2:16 GMT+02:00 Stanislav Sinyagin >>>> >: >>>>> >>>>> >>>>> >>>>> hi, >>>>> >>>>> >>>>> >>>>> Here are some test results which might be interesting: >>>>> >>>>> >>>>> >>>>> I've set up a test FreeSWITCH server at digitalocean (they use >>>>> KVM), >>>>> >>>>> and originated test calls to some ITSP accounts. Each call >>>>> played a >>>>> >>>>> test sound file (voice samples from ITU: >>>>> >>>>> >>>>> http://www.itu.int/net/itu-t/sigdb/genaudio/AudioForm-g.aspx?val=1000050 >>>>> >>>>> ), and on the receiving end another FreeSWITCH server was >>>>> recording >>>>> >>>>> the received session. The receiving server was on a XEN VM. Both >>>>> >>>>> servers talked G711 to their corresponding ITSP accounts. >>>>> >>>>> >>>>> >>>>> Then I compared the source audio and received audio in Audacity >>>>> editor. >>>>> >>>>> >>>>> >>>>> The tests showed that the received voice wave shifts 20ms from >>>>> the >>>>> >>>>> original sound every few seconds, randomly back and forward. This >>>>> >>>>> skewing was always present, regardless of ITSP and time of day. >>>>> >>>>> >>>>> >>>>> Then I moved the sending server to a XEN VM, and the waves >>>>> appeared >>>>> >>>>> almost perfectly synchronized (there was a 5ms skew in one test, >>>>> and I >>>>> >>>>> guess it's related to transcoding buffer, as the sound was >>>>> obviously >>>>> >>>>> transcoded). >>>>> >>>>> >>>>> >>>>> The effect was always visible with a 30-second sample, and I >>>>> also made >>>>> >>>>> additional tests with 2-minute samples. >>>>> >>>>> >>>>> >>>>> It would also be interesting to test this from a VmWare VM. If >>>>> someone >>>>> >>>>> wants to run such a test, feel free to contact me directly. >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> cheers, >>>>> >>>>> stan >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> >>>>> Professional FreeSWITCH Consulting Services: >>>>> >>>>> consulting at freeswitch.org >>>>> >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> >>>>> >>>>> Official FreeSWITCH Sites >>>>> >>>>> http://www.freeswitch.org >>>>> >>>>> http://confluence.freeswitch.org >>>>> >>>>> http://www.cluecon.com >>>>> >>>>> >>>>> >>>>> FreeSWITCH-users mailing list >>>>> >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> >>>>> http://www.freeswitch.org >>>>> >>>> >>>>> >>>> >>>>> >>>> >>>>> >>>> >>>>> _________________________________________________________________________ >>>>> >>>> Professional FreeSWITCH Consulting Services: >>>>> >>>> consulting at freeswitch.org >>>>> >>>> http://www.freeswitchsolutions.com >>>>> >>>> >>>>> >>>> Official FreeSWITCH Sites >>>>> >>>> http://www.freeswitch.org >>>>> >>>> http://confluence.freeswitch.org >>>>> >>>> http://www.cluecon.com >>>>> >>>> >>>>> >>>> FreeSWITCH-users mailing list >>>>> >>>> FreeSWITCH-users at lists.freeswitch.org >>>>> >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> >>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> >>>> http://www.freeswitch.org >>>>> >>> >>>>> >>> >>>>> >>> >>>>> _________________________________________________________________________ >>>>> >>> Professional FreeSWITCH Consulting Services: >>>>> >>> consulting at freeswitch.org >>>>> >>> http://www.freeswitchsolutions.com >>>>> >>> >>>>> >>> Official FreeSWITCH Sites >>>>> >>> http://www.freeswitch.org >>>>> >>> http://confluence.freeswitch.org >>>>> >>> http://www.cluecon.com >>>>> >>> >>>>> >>> FreeSWITCH-users mailing list >>>>> >>> FreeSWITCH-users at lists.freeswitch.org >>>>> >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> >>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> >>> http://www.freeswitch.org >>>>> >> >>>>> >> >>>>> >> >>>>> >> >>>>> _________________________________________________________________________ >>>>> >> Professional FreeSWITCH Consulting Services: >>>>> >> consulting at freeswitch.org >>>>> >> http://www.freeswitchsolutions.com >>>>> >> >>>>> >> Official FreeSWITCH Sites >>>>> >> http://www.freeswitch.org >>>>> >> http://confluence.freeswitch.org >>>>> >> http://www.cluecon.com >>>>> >> >>>>> >> FreeSWITCH-users mailing list >>>>> >> FreeSWITCH-users at lists.freeswitch.org >>>>> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> >> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> >> http://www.freeswitch.org >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150408/d5593b4e/attachment-0001.html From fernando at softov.com.br Wed Apr 8 15:07:23 2015 From: fernando at softov.com.br (Luiz Fernando Softov) Date: Wed, 8 Apr 2015 07:07:23 -0400 Subject: [Freeswitch-users] WebRTC + Chrome = RTP Socket Error! Message-ID: Brian, I put this patch (https://freeswitch.org/jira/browse/FS-7396) in my source, and this not work, so i cloned again the repository from git git clone https://freeswitch.org/stash/scm/fs/freeswitch.git I format the server, recompile and reinstall freeswitch. FreeSWITCH Version 1.5.15b+git~20150407T231134Z~d55c4a053b~64bit (git d55c4a0 2015-04-07 23:11:34Z 64bit) But this not solve the problem Is the same, it's work fine in firefox, but i get Socket Error! I tried to call from MicroSIP to Chrome - Chrome to MicroSIP Zoiper to Chrome - Chrome to Zoiper Firefox to Chrome - Chrome to Firefox And always is the same when i'm using Chrome (41.0.2272.118) in one leg There is the trace: https://pastebin.freeswitch.org/24100 I'm doing something wrong? -- Luiz Fernando Softov http://www.softov.com.br fernando at softov.com.br -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150408/371a9381/attachment.html From fernando at softov.com.br Wed Apr 8 15:15:17 2015 From: fernando at softov.com.br (Luiz Fernando Softov) Date: Wed, 8 Apr 2015 07:15:17 -0400 Subject: [Freeswitch-users] Reply a post in list Message-ID: Am I doing something wrong when I answer a post? Lets say the subject is "Post Test" The title becomes [Freeswitch-users] Post Test ****** When replying, please edit your Subject line so it is more specific ****** than "Re: Contents of FreeSWITCH-users digest..." So, when i reply, i tried Re: [Freeswitch-users] Post Test Re: Post Test re: [Freeswitch-users] Post Test re: Post Test But it's always create a new thread I'm wrong? ps. i'm using gmail -- Luiz Fernando Softov http://www.softov.com.br fernando at softov.com.br -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150408/3c1c2394/attachment.html From andrew at cassidywebservices.co.uk Wed Apr 8 15:23:56 2015 From: andrew at cassidywebservices.co.uk (Andrew Cassidy) Date: Wed, 8 Apr 2015 12:23:56 +0100 Subject: [Freeswitch-users] ARM servers at Scaleway.com In-Reply-To: References: Message-ID: I'd be interested to see some benchmarks and load testing. On 8 April 2015 at 11:22, Stanislav Sinyagin wrote: > Scaleway -- *Andrew Cassidy BSc (Hons) MBCS SSCA* Managing Director *T *03300 100 960 *F *03300 100 961 *E *andrew at cassidywebservices.co.uk *W *www.cassidywebservices.co.uk -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150408/fe876cf3/attachment.html From mike at jerris.com Wed Apr 8 15:37:56 2015 From: mike at jerris.com (Michael Jerris) Date: Wed, 8 Apr 2015 07:37:56 -0400 Subject: [Freeswitch-users] Reply a post in list In-Reply-To: References: Message-ID: If you reply to the digest it will always create a new thread. If you plan to reply on the mailing list we recommend not using digest mode. On Wednesday, April 8, 2015, Luiz Fernando Softov wrote: > Am I doing something wrong when I answer a post? > > Lets say the subject is "Post Test" > > The title becomes > > [Freeswitch-users] Post Test > > ****** When replying, please edit your Subject line so it is more specific > ****** than "Re: Contents of FreeSWITCH-users digest..." > > So, when i reply, i tried > > Re: [Freeswitch-users] Post Test > Re: Post Test > re: [Freeswitch-users] Post Test > re: Post Test > > But it's always create a new thread > > I'm wrong? > > ps. i'm using gmail > > -- > Luiz Fernando Softov > http://www.softov.com.br > fernando at softov.com.br > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150408/9563a089/attachment.html From ali.jibran44 at gmail.com Wed Apr 8 15:51:11 2015 From: ali.jibran44 at gmail.com (Ali Jibran) Date: Wed, 08 Apr 2015 11:51:11 +0000 Subject: [Freeswitch-users] Mod-skypeopen Message-ID: Hi. I'm using mod_skypeopen and everything's working fine. The call comes in executes ivr and on DTMF it is forwarded into a queue. But for some reasons the phone aren't ringing. I have another trunk attached as a gateway. When I call from that number the phones rings fine. Can someone tell me why that is? Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150408/87c6cff0/attachment.html From s.safarov at gmail.com Wed Apr 8 16:25:45 2015 From: s.safarov at gmail.com (Sergey Safarov) Date: Wed, 8 Apr 2015 15:25:45 +0300 Subject: [Freeswitch-users] KVM vs. XEN virtualization In-Reply-To: References: Message-ID: 1) 125uS is the interval between FrameSync of ONE(!) PCM sample at 8000hz, But here we are talking about packet telephony where commonly used frame length is 20000 uS. So, intervals for testing should be 5000-10000-20000uS, not 125uS. Not all FS installation has SIP endpoint. Some can have TDM cards, USB dongle and other analog equipment. Can you say what is length of this frame type? I am wondering about this question. I know that the frame 125ms is enough. 2) Why you decided that all of 42 threads should wake up simultaneously? That totally impossible in real world applications. Here should be tens of uS. Dependent of network card and, possibly, other I/O hardware. Can you say how many FS create threads for 40-50 active calls? 3) -q switch is missing I am thinking it is optional. Result is same 4) Precise time measurement and realtime processing in VM environment is a challenge. To obtain acceptable results fine tuning of host's and guest's required. WIthout that this numbers ... does not mean anything. Can you learn me how to correctly measure timer source quality in VM? Sergey On Wed, Apr 8, 2015 at 2:07 PM, Dmitry Lysenko wrote: > 2015-04-07 10:48 GMT+03:00 Sergey Safarov : > >> ... >> 2) i 125 - time us between software timer interrupts for first thread. It >> time is equal time between samples rate in PSTN networks >> In order to maintain our sampling rate we have 125 microseconds (uS) >> between consecutive samples (1/8,000Hz), which is more >> > ... >> > > 125uS is the interval between FrameSync of ONE(!) PCM sample at 8000hz, > But here we are talking about packet telephony where commonly used frame > length is 20000 uS. > So, intervals for testing should be 5000-10000-20000uS, not 125uS. > > >> 3) d 0 - this switch will make time between software timer interrupts for >> second and following threads is equal timer value for first thread >> > > Why you decided that all of 42 threads should wake up simultaneously? > That totally impossible in real world applications. > Here should be tens of uS. Dependent of network card and, possibly, other > I/O hardware. > > >> 4) l 240000 - how many timer test must be made. It is adjusted for 30 s >> overall test >> 5) n - use clock_nanosleep. it is allow take more accurate timer test >> values on my VM >> 6) p 80 - it is copied from example on Cyclictest page >> > > -q switch is missing. > > >> And how in your opinion this numbers are related to Freeswitch in VM >> environment? >> Relation between Cyclictest switches and FS described above. >> Relation betwen Cyclictest results and FS simple >> > > Precise time measurement and realtime processing in VM environment is a > challenge. > To obtain acceptable results fine tuning of host's and guest's required. > WIthout that this numbers ... does not mean anything. > > > On Tue, Apr 7, 2015 at 5:38 AM, Dmitry Lysenko >> wrote: >> >>> Sergey, >>> Why you suggest to use exactly this numbers in cyclictest's switches? >>> And how in your opinion this numbers are related to Freeswitch in VM >>> environment? >>> >>> P.S. >>> https://mindlinux.wordpress.com/2013/10/25/using-and-understanding-the-real-time-cyclictest-benchmark-frank-rowand-sony/ >>> >>> 2015-04-06 15:27 GMT+03:00 Sergey Safarov : >>> >>>> Errol can you test VM timer with utility >>>> https://rt.wiki.kernel.org/index.php/Cyclictest >>>> >>>> My VM currently have folowing results >>>> >>>> [root at fs1 ~]# date && /tmp/rt-tests/cyclictest -t42 -p 80 -d 0 -n -i 125 -l 240000 && date >>>> Sun Apr 5 07:01:31 GMT 2015 >>>> # /dev/cpu_dma_latency set to 0us >>>> policy: fifo: loadavg: 2.38 0.93 0.50 1/194 1574 >>>> >>>> T: 0 ( 1531) P:80 I:125 C: 240000 Min: 2 Act: 12 Avg: 16 Max: 1302 >>>> T: 1 ( 1532) P:80 I:125 C: 240000 Min: 2 Act: 15 Avg: 14 Max: 2895 >>>> T: 2 ( 1533) P:80 I:125 C: 240000 Min: 3 Act: 10 Avg: 12 Max: 2888 >>>> T: 3 ( 1534) P:80 I:125 C: 240000 Min: 1 Act: 16 Avg: 13 Max: 1333 >>>> T: 4 ( 1535) P:80 I:125 C: 240000 Min: 2 Act: 20 Avg: 14 Max: 2962 >>>> T: 5 ( 1536) P:80 I:125 C: 240000 Min: 1 Act: 12 Avg: 14 Max: 2946 >>>> T: 6 ( 1537) P:80 I:125 C: 240000 Min: 2 Act: 10 Avg: 13 Max: 1363 >>>> T: 7 ( 1538) P:80 I:125 C: 240000 Min: 2 Act: 12 Avg: 13 Max: 1344 >>>> T: 8 ( 1539) P:80 I:125 C: 240000 Min: 3 Act: 12 Avg: 16 Max: 1408 >>>> T: 9 ( 1540) P:80 I:125 C: 240000 Min: 1 Act: 8 Avg: 13 Max: 2882 >>>> T:10 ( 1541) P:80 I:125 C: 239974 Min: 2 Act: 12 Avg: 13 Max: 2908 >>>> >>>> >>>> On Mon, Apr 6, 2015 at 11:15 AM, Errol Samuels >>>> wrote: >>>> >>>>> Good job and Thanks for sharing! >>>>> >>>>> KVM at digitalocean.com, Debian 7 64bit, FreeSWITCH 1.4.15: bad >>>>>> precision >>>>> >>>>> >>>>> As someone who has been using KVM for a few years and has just >>>>> migrated about 20 VMs across to Digital Ocean about 6 weeks ago I admit I >>>>> am a little concerned about this finding. >>>>> >>>>> Just out of curiosity can you tell me the specs of the VM that you >>>>> tested with and which DO Datacenter? I am using NYC3 so perhaps and I will >>>>> do some tests as soon as I have some time. >>>>> >>>>> With regards to Xen was this at Linode or inhouse? >>>>> >>>>> Thanks >>>>> >>>>> Errol >>>>> >>>>> >>>>> >>>>> On Sun, Apr 5, 2015 at 1:37 AM, Stanislav Sinyagin < >>>>> ssinyagin at gmail.com> wrote: >>>>> >>>>>> here we go: >>>>>> >>>>>> https://txlab.wordpress.com/2015/04/05/testing-rtp-clock-precision-on-a-virtual-machine/ >>>>>> >>>>>> >>>>>> >>>>>> On Sat, Apr 4, 2015 at 4:26 PM, Stanislav Sinyagin < >>>>>> ssinyagin at gmail.com> wrote: >>>>>> > On Sat, Apr 4, 2015 at 1:03 PM, Regis M < >>>>>> regis.freeswitch.org at tornad.net> wrote: >>>>>> >> How do you check wavs together in audacity ? >>>>>> > >>>>>> > you just open two WAV files, align their starting position, and >>>>>> > visually check the waves. If there's a problem, you would see that >>>>>> > after few seconds, the waves are not aligned any more. >>>>>> > >>>>>> >> Can you send me 2 samples wav (send... and recorded) so I could >>>>>> see the 20ms >>>>>> >> diff that you exposed... >>>>>> >> >>>>>> >> Is there a way to automate the result checking, so it could help >>>>>> to monitor >>>>>> >> itsp quality >>>>>> > >>>>>> > Here >>>>>> > https://github.com/openpreserve/scape-xcorrsound/issues/17 >>>>>> > this is a link to a tool which compares two sound files at the wave >>>>>> > level. You can also see the sound samples in the ticket. >>>>>> > The problem is, that currently this tool does not detect such >>>>>> slipping frames. >>>>>> > >>>>>> > I will also write a detailed article with examples, during the >>>>>> weekend. >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> >> >>>>>> >> >>>>>> >> 2015-04-04 12:53 GMT+02:00 Stanislav Sinyagin >>>>> >: >>>>>> >>> >>>>>> >>> Important is to send the media through two independent carriers - >>>>>> then you >>>>>> >>> can be sure that your clock is compared against a high quality >>>>>> one. >>>>>> >>> >>>>>> >>> On Apr 4, 2015 12:46 PM, "Regis M" < >>>>>> regis.freeswitch.org at tornad.net> >>>>>> >>> wrote: >>>>>> >>>> >>>>>> >>>> Hi, >>>>>> >>>> >>>>>> >>>> It's a very interresting test and conclusion. >>>>>> >>>> >>>>>> >>>> I will try to build a similar environnement on my freeswitch to >>>>>> check >>>>>> >>>> some system :) >>>>>> >>>> >>>>>> >>>> thanks >>>>>> >>>> >>>>>> >>>> >>>>>> >>>> >>>>>> >>>> 2015-04-04 2:16 GMT+02:00 Stanislav Sinyagin < >>>>>> ssinyagin at gmail.com>: >>>>>> >>>>> >>>>>> >>>>> hi, >>>>>> >>>>> >>>>>> >>>>> Here are some test results which might be interesting: >>>>>> >>>>> >>>>>> >>>>> I've set up a test FreeSWITCH server at digitalocean (they use >>>>>> KVM), >>>>>> >>>>> and originated test calls to some ITSP accounts. Each call >>>>>> played a >>>>>> >>>>> test sound file (voice samples from ITU: >>>>>> >>>>> >>>>>> http://www.itu.int/net/itu-t/sigdb/genaudio/AudioForm-g.aspx?val=1000050 >>>>>> >>>>> ), and on the receiving end another FreeSWITCH server was >>>>>> recording >>>>>> >>>>> the received session. The receiving server was on a XEN VM. Both >>>>>> >>>>> servers talked G711 to their corresponding ITSP accounts. >>>>>> >>>>> >>>>>> >>>>> Then I compared the source audio and received audio in Audacity >>>>>> editor. >>>>>> >>>>> >>>>>> >>>>> The tests showed that the received voice wave shifts 20ms from >>>>>> the >>>>>> >>>>> original sound every few seconds, randomly back and forward. >>>>>> This >>>>>> >>>>> skewing was always present, regardless of ITSP and time of day. >>>>>> >>>>> >>>>>> >>>>> Then I moved the sending server to a XEN VM, and the waves >>>>>> appeared >>>>>> >>>>> almost perfectly synchronized (there was a 5ms skew in one >>>>>> test, and I >>>>>> >>>>> guess it's related to transcoding buffer, as the sound was >>>>>> obviously >>>>>> >>>>> transcoded). >>>>>> >>>>> >>>>>> >>>>> The effect was always visible with a 30-second sample, and I >>>>>> also made >>>>>> >>>>> additional tests with 2-minute samples. >>>>>> >>>>> >>>>>> >>>>> It would also be interesting to test this from a VmWare VM. If >>>>>> someone >>>>>> >>>>> wants to run such a test, feel free to contact me directly. >>>>>> >>>>> >>>>>> >>>>> >>>>>> >>>>> cheers, >>>>>> >>>>> stan >>>>>> >>>>> >>>>>> >>>>> >>>>>> >>>>> >>>>>> _________________________________________________________________________ >>>>>> >>>>> Professional FreeSWITCH Consulting Services: >>>>>> >>>>> consulting at freeswitch.org >>>>>> >>>>> http://www.freeswitchsolutions.com >>>>>> >>>>> >>>>>> >>>>> Official FreeSWITCH Sites >>>>>> >>>>> http://www.freeswitch.org >>>>>> >>>>> http://confluence.freeswitch.org >>>>>> >>>>> http://www.cluecon.com >>>>>> >>>>> >>>>>> >>>>> FreeSWITCH-users mailing list >>>>>> >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>> >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> >>>>> UNSUBSCRIBE: >>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> >>>>> http://www.freeswitch.org >>>>>> >>>> >>>>>> >>>> >>>>>> >>>> >>>>>> >>>> >>>>>> _________________________________________________________________________ >>>>>> >>>> Professional FreeSWITCH Consulting Services: >>>>>> >>>> consulting at freeswitch.org >>>>>> >>>> http://www.freeswitchsolutions.com >>>>>> >>>> >>>>>> >>>> Official FreeSWITCH Sites >>>>>> >>>> http://www.freeswitch.org >>>>>> >>>> http://confluence.freeswitch.org >>>>>> >>>> http://www.cluecon.com >>>>>> >>>> >>>>>> >>>> FreeSWITCH-users mailing list >>>>>> >>>> FreeSWITCH-users at lists.freeswitch.org >>>>>> >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> >>>> UNSUBSCRIBE: >>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> >>>> http://www.freeswitch.org >>>>>> >>> >>>>>> >>> >>>>>> >>> >>>>>> _________________________________________________________________________ >>>>>> >>> Professional FreeSWITCH Consulting Services: >>>>>> >>> consulting at freeswitch.org >>>>>> >>> http://www.freeswitchsolutions.com >>>>>> >>> >>>>>> >>> Official FreeSWITCH Sites >>>>>> >>> http://www.freeswitch.org >>>>>> >>> http://confluence.freeswitch.org >>>>>> >>> http://www.cluecon.com >>>>>> >>> >>>>>> >>> FreeSWITCH-users mailing list >>>>>> >>> FreeSWITCH-users at lists.freeswitch.org >>>>>> >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> >>> UNSUBSCRIBE: >>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> >>> http://www.freeswitch.org >>>>>> >> >>>>>> >> >>>>>> >> >>>>>> >> >>>>>> _________________________________________________________________________ >>>>>> >> Professional FreeSWITCH Consulting Services: >>>>>> >> consulting at freeswitch.org >>>>>> >> http://www.freeswitchsolutions.com >>>>>> >> >>>>>> >> Official FreeSWITCH Sites >>>>>> >> http://www.freeswitch.org >>>>>> >> http://confluence.freeswitch.org >>>>>> >> http://www.cluecon.com >>>>>> >> >>>>>> >> FreeSWITCH-users mailing list >>>>>> >> FreeSWITCH-users at lists.freeswitch.org >>>>>> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> >> UNSUBSCRIBE: >>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> >> http://www.freeswitch.org >>>>>> >>>>>> >>>>>> _________________________________________________________________________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at freeswitch.org >>>>>> http://www.freeswitchsolutions.com >>>>>> >>>>>> Official FreeSWITCH Sites >>>>>> http://www.freeswitch.org >>>>>> http://confluence.freeswitch.org >>>>>> http://www.cluecon.com >>>>>> >>>>>> FreeSWITCH-users mailing list >>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE: >>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>> >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150408/12d8037e/attachment-0001.html From idokan at gmail.com Wed Apr 8 16:25:58 2015 From: idokan at gmail.com (ik) Date: Wed, 8 Apr 2015 15:25:58 +0300 Subject: [Freeswitch-users] centos 6 and fs 1.4.18 rpms Message-ID: Hello, I know that there is a new version of FS, but I cannot find the rpms for CentOS 6 in the yum repos. There is no documentation about the repos (there used to be one in confluence) My freeswitch.repo looks like this: [freeswitch] name=FreeSWITCH Packages for Enterprise Linux $releasever - $basearch baseurl=http://files.freeswitch.org/yum/$releasever/$basearch #mirrorlist= http://mirrors.freeswitch.org/mirrorlist?repo=freeswitch-5&arch=$basearch #failovermethod=priority enabled=1 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-FREESWITCH So what am I missing here? Thanks, Ido -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150408/6475b720/attachment.html From paul.atreides83 at googlemail.com Wed Apr 8 16:36:36 2015 From: paul.atreides83 at googlemail.com (Paul Atreides) Date: Wed, 8 Apr 2015 14:36:36 +0200 Subject: [Freeswitch-users] Changing the voicemail recording menu In-Reply-To: <54F4987F.6010205@freeswitch.org> References: <54F4987F.6010205@freeswitch.org> Message-ID: Where can I find more information about the voicemail config files. I am totaly lost conf/autoload_config/voicemail.conf.xml Will the config file actually be used when voicemail_ivr is loaded? conf/autoload_config/voicemail_ivr.conf.xml Practically it has the same options as voicemail_ivr. Why double? conf/lang/de/vm/sounds.xml Which file calls the marco's inside sounds.xml? On Mon, Mar 2, 2015 at 6:06 PM, I put the Who? in Mishehu < mishehu at freeswitch.org> wrote: > You can modify the recordings that are played by looking at the files in > conf/lang//vm . Those contain the sound macros, and that's what > you'd want to modify. > > -- > Yossi Neiman > > > On 03/02/2015 03:36 AM, Paul Atreides wrote: > > Hi > > how do I change the menu when the voicemail answers for record a new > message? > > I want it to play the > > - greeting message > - record the message > - and then hangup after silence > > Is is possible to change the menu when the user access its voicemail as > well? > I found the voicemail_ivr.conf.xml, but I cant find any documentation to > it in the wiki > > Thanks > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: consulting at freeswitch.orghttp://www.freeswitchsolutions.com > > Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com > > FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150408/fa69ab88/attachment.html From brian at freeswitch.org Wed Apr 8 16:47:21 2015 From: brian at freeswitch.org (Brian West) Date: Wed, 8 Apr 2015 07:47:21 -0500 Subject: [Freeswitch-users] WebRTC + Chrome = RTP Socket Error! In-Reply-To: References: Message-ID: Logs? Does it look the same as before? With IPv6 candidates and what have your set you candidates ACL to? Still wan.auto? On Wednesday, April 8, 2015, Luiz Fernando Softov wrote: > Brian, > > I put this patch (https://freeswitch.org/jira/browse/FS-7396) in my > source, and this not work, so i cloned again the repository from git > > git clone https://freeswitch.org/stash/scm/fs/freeswitch.git > > I format the server, recompile and reinstall freeswitch. > > FreeSWITCH Version 1.5.15b+git~20150407T231134Z~d55c4a053b~64bit (git > d55c4a0 2015-04-07 23:11:34Z 64bit) > > But this not solve the problem > > Is the same, it's work fine in firefox, but i get Socket Error! > > I tried to call from > MicroSIP to Chrome - Chrome to MicroSIP > Zoiper to Chrome - Chrome to Zoiper > Firefox to Chrome - Chrome to Firefox > > And always is the same when i'm using Chrome (41.0.2272.118) in one leg > > There is the trace: https://pastebin.freeswitch.org/24100 > > I'm doing something wrong? > > > -- > Luiz Fernando Softov > http://www.softov.com.br > fernando at softov.com.br > > -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com ClueCon 2015 Call for Speakers | Register TODAY! | Reddit: /r/freeswitch *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150408/cb2f6c2d/attachment.html From tfred31 at yahoo.com Wed Apr 8 17:32:15 2015 From: tfred31 at yahoo.com (T Fred Farmington) Date: Wed, 8 Apr 2015 06:32:15 -0700 Subject: [Freeswitch-users] FS + WinSvr2008 - OK; FS + WinSvr2012 - NOT SO GOOD Message-ID: <1428499935.71257.YahooMailBasic@web160206.mail.bf1.yahoo.com> I know that many of you are using Linux with FS, but a few of us are using Windows OS's. I had a virtual server running FS + Windows Server 2008 up and running OK, but we wanted to put FS into a 'real' physical server. And we are currently using FS 1.5.12b (32bit) As a result of wanting to make the server change in mind I set up a new physical server. And wanting to run the most recent OS, I set it up to run Windows Server 2012 BUT I had LOTS of problems trying to get that running with SIP phones. The most recent problem was reported as: The error messages are: Error Creating SIP UA for profile: external-ipv6....... Error Creating SIP UA for profile: internal-ipv6....... The likely causes for this are.... 1. Another application is already listening on the specific address 2. The IP the profile is attempting to bind to is not local to this system But I had repeatedly confirmed that neither of the 'likely causes' was valid. Out of frustration I changed the server's OS to Windows Server 2008 (consistent with the previous virtual server) That, by itself, resolved the problem. Now without any change to the server's previous IP and no change to the FS Port, the new FS server was working. There MUST be something wrong with that version of FS running under Windows Server 2012. If anyone knows what the problem might be and how to resolve it, I'd appreciate learning what it might be. Thanks, TF From adam.ben.ayoun1 at gmail.com Wed Apr 8 18:13:41 2015 From: adam.ben.ayoun1 at gmail.com (Adam Ben-Ayoun) Date: Wed, 8 Apr 2015 17:13:41 +0300 Subject: [Freeswitch-users] Requirements details (1-many video conference) Message-ID: Hi, Following my discussion with Brian West, here is what we look for: We want to be able to have a similar functionality to mod_conference's video-bridge but also to be able to broadcast video from 1 member to all the other members in the conference. We wrote our own mobile client using Google's WebRTC stack, we are going to use iSAC (we are currently using it) and VP8 for video, hence, we do not need to transcode, just pass through the video. Please let me know if you have any questions! Thanks, Adam -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150408/a741ffaf/attachment.html From denis at ringme.ru Wed Apr 8 18:23:29 2015 From: denis at ringme.ru (=?UTF-8?B?0JTQtdC90LjRgQ==?=) Date: Wed, 08 Apr 2015 17:23:29 +0300 Subject: [Freeswitch-users] voicemail: customize Message-ID: <552539E1.4070104@ringme.ru> Hello. We need to change the behavior of voicemail module, ie disable phrases after message. how can this be done? module voicemail_ivr not earned as needed. From denis at ringme.ru Wed Apr 8 18:39:22 2015 From: denis at ringme.ru (=?UTF-8?B?0JTQtdC90LjRgQ==?=) Date: Wed, 08 Apr 2015 17:39:22 +0300 Subject: [Freeswitch-users] centos 6 and fs 1.4.18 rpms In-Reply-To: References: Message-ID: <55253D9A.8070307@ringme.ru> > I know that there is a new version of FS, but I cannot find the rpms > for CentOS 6 in the yum repos. > There is no documentation about the repos (there used to be one in > confluence) Wait until authors release a new RPMs. "Coming soon"? When? From denis at ringme.ru Wed Apr 8 18:49:58 2015 From: denis at ringme.ru (=?UTF-8?B?0JTQtdC90LjRgQ==?=) Date: Wed, 08 Apr 2015 17:49:58 +0300 Subject: [Freeswitch-users] Changing the voicemail recording menu In-Reply-To: <54F4987F.6010205@freeswitch.org> References: <54F4987F.6010205@freeswitch.org> Message-ID: <55254016.3080109@ringme.ru> in lang - only "play file", not macros. Basically, voicemail has hardcoded macroses. maybe voicemail_ivr can be needed, but we do not get it set up. On 02.03.2015 20:06, I put the Who? in Mishehu wrote: > You can modify the recordings that are played by looking at the files > in conf/lang//vm . Those contain the sound macros, and > that's what you'd want to modify. > > -- > Yossi Neiman > > On 03/02/2015 03:36 AM, Paul Atreides wrote: >> Hi >> >> how do I change the menu when the voicemail answers for record a new >> message? >> >> I want it to play the >> >> - greeting message >> - record the message >> - and then hangup after silence >> >> Is is possible to change the menu when the user access its voicemail >> as well? >> I found the voicemail_ivr.conf.xml, but I cant find any documentation >> to it in the wiki >> >> Thanks >> >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150408/e3f26bef/attachment.html From ali.jibran44 at gmail.com Wed Apr 8 18:50:34 2015 From: ali.jibran44 at gmail.com (Ali Jibran) Date: Wed, 08 Apr 2015 14:50:34 +0000 Subject: [Freeswitch-users] channel variables Message-ID: Hi. I wanted to know if there was any way to stop a gateway from overriding channel variables? I set effective_caller_id to XXXX but it is changed after the calls makes it way through the gateway. Can I somehow force it to use my variables? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150408/ea69a3f3/attachment.html From brian at freeswitch.org Wed Apr 8 19:04:16 2015 From: brian at freeswitch.org (Brian West) Date: Wed, 8 Apr 2015 10:04:16 -0500 Subject: [Freeswitch-users] centos 6 and fs 1.4.18 rpms In-Reply-To: <55253D9A.8070307@ringme.ru> References: <55253D9A.8070307@ringme.ru> Message-ID: https://freeswitch.org/jira/browse/DOCS-25 On Wed, Apr 8, 2015 at 9:39 AM, ????? wrote: > > > I know that there is a new version of FS, but I cannot find the rpms > > for CentOS 6 in the yum repos. > > There is no documentation about the repos (there used to be one in > > confluence) > Wait until authors release a new RPMs. "Coming soon"? When? > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com ClueCon 2015 Call for Speakers | Register TODAY! | Reddit: /r/freeswitch *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150408/e9d1bccc/attachment.html From denis at ringme.ru Wed Apr 8 19:21:02 2015 From: denis at ringme.ru (=?UTF-8?B?0JTQtdC90LjRgQ==?=) Date: Wed, 08 Apr 2015 18:21:02 +0300 Subject: [Freeswitch-users] centos 6 and fs 1.4.18 rpms In-Reply-To: References: <55253D9A.8070307@ringme.ru> Message-ID: <5525475E.5090904@ringme.ru> > http://files.freeswitch.org/freeswitch-release-1-0.noarch.rpm Only 1.4.15 here: http://files.freeswitch.org/yum/6/x86_64/ We wait 1.4.18 in "yum/6/x86_64/" On 08.04.2015 18:04, Brian West wrote: > https://freeswitch.org/jira/browse/DOCS-25 > > On Wed, Apr 8, 2015 at 9:39 AM, ????? > wrote: > > > > I know that there is a new version of FS, but I cannot find the rpms > > for CentOS 6 in the yum repos. > > There is no documentation about the repos (there used to be one in > > confluence) > Wait until authors release a new RPMs. "Coming soon"? When? > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > > -- > > */Brian West/* > brian at freeswitch.org > > > */Twitter: @FreeSWITCH , @briankwest/* > http://www.freeswitchbook.com > http://www.freeswitchcookbook.com > > ClueCon 2015 Call for Speakers > | Register > TODAY! | Reddit: /r/freeswitch > > > *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) > *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150408/31078a02/attachment-0001.html From krice at freeswitch.org Wed Apr 8 19:49:19 2015 From: krice at freeswitch.org (Ken Rice) Date: Wed, 08 Apr 2015 10:49:19 -0500 Subject: [Freeswitch-users] centos 6 and fs 1.4.18 rpms In-Reply-To: <55253D9A.8070307@ringme.ru> Message-ID: Looks like the repo is acting screwy again... Adding this to the list of things to fix... Give me a day to fix this On 4/8/15, 9:39 AM, "?????" wrote: > >> I know that there is a new version of FS, but I cannot find the rpms >> for CentOS 6 in the yum repos. >> There is no documentation about the repos (there used to be one in >> confluence) > Wait until authors release a new RPMs. "Coming soon"? When? > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -- Ken http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org irc.freenode.net #freeswitch Twitter: @FreeSWITCH From denis at ringme.ru Wed Apr 8 19:53:55 2015 From: denis at ringme.ru (=?UTF-8?B?0JTQtdC90LjRgQ==?=) Date: Wed, 08 Apr 2015 18:53:55 +0300 Subject: [Freeswitch-users] Mod_callcenter In-Reply-To: References: Message-ID: <55254F13.1050905@ringme.ru> We have a strange behavior: on freeswitch boot we have queues with old (local db) agents, but after "reload mod_callcenter" all fills as need. mod_xml_curl loads before callcenter. How we can request agents and tiers by one? callcenter makes full request for each agent. Each request - full select from db, on 10k agents and 10k tiers we have 20k requests + 1 req for queues. On 07.04.2015 14:27, ?talo Rossi wrote: > You can't bypass callcenter.conf, mod_callcenter reads queue > configuration from xml and creates in memory structs to store the > queues, but, you can use mod_xml_curl to dynamically generate > callcenter.conf to FreeSWITCH. > > On Tue, Apr 7, 2015 at 6:14 AM, Ali Jibran > wrote: > > I was wondering if there is any way to add queues and agents > directly through database and bypass the Callcenter.conf altogether? > > I tried using ODBC in the core. So I have a MYSQL database for > callcenter. I can add agents dynamically. Can I do that with > queues somehow? > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > > -- > ?talo Rossi > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150408/7c681ee6/attachment.html From gmaruzz at gmail.com Wed Apr 8 20:43:04 2015 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Wed, 8 Apr 2015 18:43:04 +0200 Subject: [Freeswitch-users] KVM vs. XEN virtualization In-Reply-To: References: Message-ID: sent from my mobile, Giovanni Maruzzelli cell: +39 347 266 56 18 On Apr 8, 2015 2:26 PM, "Sergey Safarov" wrote: > > 1) 125uS is the interval between FrameSync of ONE(!) PCM sample at 8000hz, > But here we are talking about packet telephony where commonly used frame length is 20000 uS. > So, intervals for testing should be 5000-10000-20000uS, not 125uS. > > Not all FS installation has SIP endpoint. Some can have TDM cards, USB dongle and other analog equipment. Can you say what is length of this frame type? Usb dongles goes to 20ms, and skype too (I wrote it :) ). I would be pretty sure TDM too. > I am wondering about this question. I know that the frame 125ms is enough. > > 2) Why you decided that all of 42 threads should wake up simultaneously? > That totally impossible in real world applications. > Here should be tens of uS. Dependent of network card and, possibly, other I/O hardware. > > Can you say how many FS create threads for 40-50 active calls? Not all of those threads will wake up at same time... You probably have very little threads active with 50 calls, lets say less than 5 if you dont transcode > > 3) -q switch is missing > I am thinking it is optional. Result is same > > 4) Precise time measurement and realtime processing in VM environment is a challenge. > To obtain acceptable results fine tuning of host's and guest's required. > WIthout that this numbers ... does not mean anything. > > Can you learn me how to correctly measure timer source quality in VM? I would say its by definition variable and impredictable, and depends on what else other VMs are doing millisecond by millisecond, and their interaction. I would test the application, and if percwived quality is not satisfying, just throw more resources at it. > > Sergey > > > On Wed, Apr 8, 2015 at 2:07 PM, Dmitry Lysenko wrote: >> >> 2015-04-07 10:48 GMT+03:00 Sergey Safarov : >>> >>> ... >>> 2) i 125 - time us between software timer interrupts for first thread. It time is equal time between samples rate in PSTN networks >>> In order to maintain our sampling rate we have 125 microseconds (uS) between consecutive samples (1/8,000Hz), which is more >>> >>> ... >> >> >> 125uS is the interval between FrameSync of ONE(!) PCM sample at 8000hz, >> But here we are talking about packet telephony where commonly used frame length is 20000 uS. >> So, intervals for testing should be 5000-10000-20000uS, not 125uS. >> >>> >>> 3) d 0 - this switch will make time between software timer interrupts for second and following threads is equal timer value for first thread >> >> >> Why you decided that all of 42 threads should wake up simultaneously? >> That totally impossible in real world applications. >> Here should be tens of uS. Dependent of network card and, possibly, other I/O hardware. >> >>> >>> 4) l 240000 - how many timer test must be made. It is adjusted for 30 s overall test >>> 5) n - use clock_nanosleep. it is allow take more accurate timer test values on my VM >>> 6) p 80 - it is copied from example on Cyclictest page >> >> >> -q switch is missing. >> >>> >>> And how in your opinion this numbers are related to Freeswitch in VM environment? >>> Relation between Cyclictest switches and FS described above. >>> Relation betwen Cyclictest results and FS simple >> >> >> Precise time measurement and realtime processing in VM environment is a challenge. >> To obtain acceptable results fine tuning of host's and guest's required. >> WIthout that this numbers ... does not mean anything. >> >> >>> On Tue, Apr 7, 2015 at 5:38 AM, Dmitry Lysenko < dvl36.ripe.nick at gmail.com> wrote: >>>> >>>> Sergey, >>>> Why you suggest to use exactly this numbers in cyclictest's switches? >>>> And how in your opinion this numbers are related to Freeswitch in VM environment? >>>> >>>> P.S. https://mindlinux.wordpress.com/2013/10/25/using-and-understanding-the-real-time-cyclictest-benchmark-frank-rowand-sony/ >>>> >>>> 2015-04-06 15:27 GMT+03:00 Sergey Safarov : >>>>> >>>>> Errol can you test VM timer with utility https://rt.wiki.kernel.org/index.php/Cyclictest >>>>> >>>>> My VM currently have folowing results >>>>> >>>>> [root at fs1 ~]# date && /tmp/rt-tests/cyclictest -t42 -p 80 -d 0 -n -i 125 -l 240000 && date >>>>> Sun Apr 5 07:01:31 GMT 2015 >>>>> # /dev/cpu_dma_latency set to 0us >>>>> policy: fifo: loadavg: 2.38 0.93 0.50 1/194 1574 >>>>> >>>>> T: 0 ( 1531) P:80 I:125 C: 240000 Min: 2 Act: 12 Avg: 16 Max: 1302 >>>>> T: 1 ( 1532) P:80 I:125 C: 240000 Min: 2 Act: 15 Avg: 14 Max: 2895 >>>>> T: 2 ( 1533) P:80 I:125 C: 240000 Min: 3 Act: 10 Avg: 12 Max: 2888 >>>>> T: 3 ( 1534) P:80 I:125 C: 240000 Min: 1 Act: 16 Avg: 13 Max: 1333 >>>>> T: 4 ( 1535) P:80 I:125 C: 240000 Min: 2 Act: 20 Avg: 14 Max: 2962 >>>>> T: 5 ( 1536) P:80 I:125 C: 240000 Min: 1 Act: 12 Avg: 14 Max: 2946 >>>>> T: 6 ( 1537) P:80 I:125 C: 240000 Min: 2 Act: 10 Avg: 13 Max: 1363 >>>>> T: 7 ( 1538) P:80 I:125 C: 240000 Min: 2 Act: 12 Avg: 13 Max: 1344 >>>>> T: 8 ( 1539) P:80 I:125 C: 240000 Min: 3 Act: 12 Avg: 16 Max: 1408 >>>>> T: 9 ( 1540) P:80 I:125 C: 240000 Min: 1 Act: 8 Avg: 13 Max: 2882 >>>>> T:10 ( 1541) P:80 I:125 C: 239974 Min: 2 Act: 12 Avg: 13 Max: 2908 >>>>> >>>>> >>>>> On Mon, Apr 6, 2015 at 11:15 AM, Errol Samuels wrote: >>>>>> >>>>>> Good job and Thanks for sharing! >>>>>> >>>>>>> KVM at digitalocean.com, Debian 7 64bit, FreeSWITCH 1.4.15: bad precision >>>>>> >>>>>> >>>>>> As someone who has been using KVM for a few years and has just migrated about 20 VMs across to Digital Ocean about 6 weeks ago I admit I am a little concerned about this finding. >>>>>> >>>>>> Just out of curiosity can you tell me the specs of the VM that you tested with and which DO Datacenter? I am using NYC3 so perhaps and I will do some tests as soon as I have some time. >>>>>> >>>>>> With regards to Xen was this at Linode or inhouse? >>>>>> >>>>>> Thanks >>>>>> >>>>>> Errol >>>>>> >>>>>> >>>>>> >>>>>> On Sun, Apr 5, 2015 at 1:37 AM, Stanislav Sinyagin < ssinyagin at gmail.com> wrote: >>>>>>> >>>>>>> here we go: >>>>>>> https://txlab.wordpress.com/2015/04/05/testing-rtp-clock-precision-on-a-virtual-machine/ >>>>>>> >>>>>>> >>>>>>> >>>>>>> On Sat, Apr 4, 2015 at 4:26 PM, Stanislav Sinyagin < ssinyagin at gmail.com> wrote: >>>>>>> > On Sat, Apr 4, 2015 at 1:03 PM, Regis M < regis.freeswitch.org at tornad.net> wrote: >>>>>>> >> How do you check wavs together in audacity ? >>>>>>> > >>>>>>> > you just open two WAV files, align their starting position, and >>>>>>> > visually check the waves. If there's a problem, you would see that >>>>>>> > after few seconds, the waves are not aligned any more. >>>>>>> > >>>>>>> >> Can you send me 2 samples wav (send... and recorded) so I could see the 20ms >>>>>>> >> diff that you exposed... >>>>>>> >> >>>>>>> >> Is there a way to automate the result checking, so it could help to monitor >>>>>>> >> itsp quality >>>>>>> > >>>>>>> > Here >>>>>>> > https://github.com/openpreserve/scape-xcorrsound/issues/17 >>>>>>> > this is a link to a tool which compares two sound files at the wave >>>>>>> > level. You can also see the sound samples in the ticket. >>>>>>> > The problem is, that currently this tool does not detect such slipping frames. >>>>>>> > >>>>>>> > I will also write a detailed article with examples, during the weekend. >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> >> >>>>>>> >> >>>>>>> >> 2015-04-04 12:53 GMT+02:00 Stanislav Sinyagin < ssinyagin at gmail.com>: >>>>>>> >>> >>>>>>> >>> Important is to send the media through two independent carriers - then you >>>>>>> >>> can be sure that your clock is compared against a high quality one. >>>>>>> >>> >>>>>>> >>> On Apr 4, 2015 12:46 PM, "Regis M" < regis.freeswitch.org at tornad.net> >>>>>>> >>> wrote: >>>>>>> >>>> >>>>>>> >>>> Hi, >>>>>>> >>>> >>>>>>> >>>> It's a very interresting test and conclusion. >>>>>>> >>>> >>>>>>> >>>> I will try to build a similar environnement on my freeswitch to check >>>>>>> >>>> some system :) >>>>>>> >>>> >>>>>>> >>>> thanks >>>>>>> >>>> >>>>>>> >>>> >>>>>>> >>>> >>>>>>> >>>> 2015-04-04 2:16 GMT+02:00 Stanislav Sinyagin < ssinyagin at gmail.com>: >>>>>>> >>>>> >>>>>>> >>>>> hi, >>>>>>> >>>>> >>>>>>> >>>>> Here are some test results which might be interesting: >>>>>>> >>>>> >>>>>>> >>>>> I've set up a test FreeSWITCH server at digitalocean (they use KVM), >>>>>>> >>>>> and originated test calls to some ITSP accounts. Each call played a >>>>>>> >>>>> test sound file (voice samples from ITU: >>>>>>> >>>>> http://www.itu.int/net/itu-t/sigdb/genaudio/AudioForm-g.aspx?val=1000050 >>>>>>> >>>>> ), and on the receiving end another FreeSWITCH server was recording >>>>>>> >>>>> the received session. The receiving server was on a XEN VM. Both >>>>>>> >>>>> servers talked G711 to their corresponding ITSP accounts. >>>>>>> >>>>> >>>>>>> >>>>> Then I compared the source audio and received audio in Audacity editor. >>>>>>> >>>>> >>>>>>> >>>>> The tests showed that the received voice wave shifts 20ms from the >>>>>>> >>>>> original sound every few seconds, randomly back and forward. This >>>>>>> >>>>> skewing was always present, regardless of ITSP and time of day. >>>>>>> >>>>> >>>>>>> >>>>> Then I moved the sending server to a XEN VM, and the waves appeared >>>>>>> >>>>> almost perfectly synchronized (there was a 5ms skew in one test, and I >>>>>>> >>>>> guess it's related to transcoding buffer, as the sound was obviously >>>>>>> >>>>> transcoded). >>>>>>> >>>>> >>>>>>> >>>>> The effect was always visible with a 30-second sample, and I also made >>>>>>> >>>>> additional tests with 2-minute samples. >>>>>>> >>>>> >>>>>>> >>>>> It would also be interesting to test this from a VmWare VM. If someone >>>>>>> >>>>> wants to run such a test, feel free to contact me directly. >>>>>>> >>>>> >>>>>>> >>>>> >>>>>>> >>>>> cheers, >>>>>>> >>>>> stan >>>>>>> >>>>> >>>>>>> >>>>> >>>>>>> >>>>> _________________________________________________________________________ >>>>>>> >>>>> Professional FreeSWITCH Consulting Services: >>>>>>> >>>>> consulting at freeswitch.org >>>>>>> >>>>> http://www.freeswitchsolutions.com >>>>>>> >>>>> >>>>>>> >>>>> Official FreeSWITCH Sites >>>>>>> >>>>> http://www.freeswitch.org >>>>>>> >>>>> http://confluence.freeswitch.org >>>>>>> >>>>> http://www.cluecon.com >>>>>>> >>>>> >>>>>>> >>>>> FreeSWITCH-users mailing list >>>>>>> >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>> >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> >>>>> UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>> >>>>> http://www.freeswitch.org >>>>>>> >>>> >>>>>>> >>>> >>>>>>> >>>> >>>>>>> >>>> _________________________________________________________________________ >>>>>>> >>>> Professional FreeSWITCH Consulting Services: >>>>>>> >>>> consulting at freeswitch.org >>>>>>> >>>> http://www.freeswitchsolutions.com >>>>>>> >>>> >>>>>>> >>>> Official FreeSWITCH Sites >>>>>>> >>>> http://www.freeswitch.org >>>>>>> >>>> http://confluence.freeswitch.org >>>>>>> >>>> http://www.cluecon.com >>>>>>> >>>> >>>>>>> >>>> FreeSWITCH-users mailing list >>>>>>> >>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>> >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> >>>> UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>> >>>> http://www.freeswitch.org >>>>>>> >>> >>>>>>> >>> >>>>>>> >>> _________________________________________________________________________ >>>>>>> >>> Professional FreeSWITCH Consulting Services: >>>>>>> >>> consulting at freeswitch.org >>>>>>> >>> http://www.freeswitchsolutions.com >>>>>>> >>> >>>>>>> >>> Official FreeSWITCH Sites >>>>>>> >>> http://www.freeswitch.org >>>>>>> >>> http://confluence.freeswitch.org >>>>>>> >>> http://www.cluecon.com >>>>>>> >>> >>>>>>> >>> FreeSWITCH-users mailing list >>>>>>> >>> FreeSWITCH-users at lists.freeswitch.org >>>>>>> >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> >>> UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>> >>> http://www.freeswitch.org >>>>>>> >> >>>>>>> >> >>>>>>> >> >>>>>>> >> _________________________________________________________________________ >>>>>>> >> Professional FreeSWITCH Consulting Services: >>>>>>> >> consulting at freeswitch.org >>>>>>> >> http://www.freeswitchsolutions.com >>>>>>> >> >>>>>>> >> Official FreeSWITCH Sites >>>>>>> >> http://www.freeswitch.org >>>>>>> >> http://confluence.freeswitch.org >>>>>>> >> http://www.cluecon.com >>>>>>> >> >>>>>>> >> FreeSWITCH-users mailing list >>>>>>> >> FreeSWITCH-users at lists.freeswitch.org >>>>>>> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> >> UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>> >> http://www.freeswitch.org >>>>>>> >>>>>>> _________________________________________________________________________ >>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>> consulting at freeswitch.org >>>>>>> http://www.freeswitchsolutions.com >>>>>>> >>>>>>> Official FreeSWITCH Sites >>>>>>> http://www.freeswitch.org >>>>>>> http://confluence.freeswitch.org >>>>>>> http://www.cluecon.com >>>>>>> >>>>>>> FreeSWITCH-users mailing list >>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>> http://www.freeswitch.org >>>>>> >>>>>> >>>>>> >>>>>> _________________________________________________________________________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at freeswitch.org >>>>>> http://www.freeswitchsolutions.com >>>>>> >>>>>> Official FreeSWITCH Sites >>>>>> http://www.freeswitch.org >>>>>> http://confluence.freeswitch.org >>>>>> http://www.cluecon.com >>>>>> >>>>>> FreeSWITCH-users mailing list >>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> http://www.freeswitch.org >>>>> >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150408/d554b33e/attachment-0001.html From gmaruzz at gmail.com Wed Apr 8 21:01:34 2015 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Wed, 8 Apr 2015 19:01:34 +0200 Subject: [Freeswitch-users] Mod-skypeopen In-Reply-To: References: Message-ID: sent from my mobile, Giovanni Maruzzelli cell: +39 347 266 56 18 On Apr 8, 2015 1:51 PM, "Ali Jibran" wrote: > > Hi. > I'm using mod_skypeopen and everything's working fine. > > The call comes in executes ivr and on DTMF it is forwarded into a queue. But for some reasons the phone aren't ringing. > > I have another trunk attached as a gateway. When I call from that number the phones rings fine. > > Can someone tell me why that is? Thanks. Is very strange, once inside FS a skype call behaves like a sip call... Maybe you forgot to set some channel variable? Or something else, pertaining to dialplan/scripting? If you cannot find the reason, please look in the skypopen confluence (wiki) page how to report a problem, and open a jira. Is important to give us a way to re produce the problem, so remember to read the skypopen page paragraph on how to report a.problem. -giovanni > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150408/0f15ada1/attachment.html From italorossib at gmail.com Wed Apr 8 21:27:59 2015 From: italorossib at gmail.com (=?UTF-8?B?w410YWxvIFJvc3Np?=) Date: Wed, 8 Apr 2015 14:27:59 -0300 Subject: [Freeswitch-users] Mod-skypeopen In-Reply-To: References: Message-ID: mod_callcenter or mod_fifo? Post your debug logs reproducing de problem and your configs On Wed, Apr 8, 2015 at 2:01 PM, Giovanni Maruzzelli wrote: > sent from my mobile, > Giovanni Maruzzelli > cell: +39 347 266 56 18 > > On Apr 8, 2015 1:51 PM, "Ali Jibran" wrote: > > > > Hi. > > I'm using mod_skypeopen and everything's working fine. > > > > The call comes in executes ivr and on DTMF it is forwarded into a queue. > But for some reasons the phone aren't ringing. > > > > I have another trunk attached as a gateway. When I call from that number > the phones rings fine. > > > > Can someone tell me why that is? Thanks. > > Is very strange, once inside FS a skype call behaves like a sip call... > > Maybe you forgot to set some channel variable? Or something else, > pertaining to dialplan/scripting? > > If you cannot find the reason, please look in the skypopen confluence > (wiki) page how to report a problem, and open a jira. Is important to give > us a way to re produce the problem, so remember to read the skypopen page > paragraph on how to report a.problem. > > -giovanni > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- ?talo Rossi -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150408/f32e82f0/attachment.html From paul.atreides83 at googlemail.com Wed Apr 8 21:29:55 2015 From: paul.atreides83 at googlemail.com (Paul Atreides) Date: Wed, 8 Apr 2015 19:29:55 +0200 Subject: [Freeswitch-users] Lookup effective_caller_id_name from directory Message-ID: Hi, when I make an internal call to a user then I just see "Outbound call" and the called number in my the display. The callee sees the value set in effective_caller_id_name in the display from my extension. Is it possible to look up the called number from the directory without using mod_cidlookup. I just want to use the directory from freeswitch. It would be really great if i could see the group name too when I call one. Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150408/1baf1e64/attachment.html From tfred31 at yahoo.com Wed Apr 8 21:34:18 2015 From: tfred31 at yahoo.com (T Fred Farmington) Date: Wed, 8 Apr 2015 10:34:18 -0700 Subject: [Freeswitch-users] Cannot call OUT Message-ID: <1428514458.89186.YahooMailBasic@web160205.mail.bf1.yahoo.com> My FS Server is working to: * Allow 'internal' extensions to call each other * Allow 'external' calls to be received and routed as intended But I cannot place a call from 'inside' to an 'outside' number In the file conf/sip_profiles/external/velocity_gateway.xml I have my Gateway defined Within that file I have defined: - username password Proxy IP address register=false (not needed) And in conf/sip_profiles/external.xml I have the command In my conf/dialplan/default/outbound_via_velocity.xml I have defined the 'extensions' local_call.velocity long_distance_call.velocity Among the other 'extension' parameters is includes: In my conf/dialplan/default.xml I have the command: As a result, within FS_CLI, when I do a sofia status I see the following: Name Type Data State ================================================================================================= external-ipv6 profile sip:mod_sofia@[::1]:5080 RUNNING (0) external-ipv6::velocity_outbound gateway sip:FreeSWITCH at velocity_outbound NOREG external profile sip:mod_sofia at 192.168.nnn.nn:5080 RUNNING (0) external::velocity_outbound gateway sip:FreeSWITCH at velocity_outbound NOREG external::velocity_outbound gateway sip:ClancySystems at 208.nn.nnn.nn NOREG 192.168.nnn.nn alias internal ALIASED internal-ipv6 profile sip:mod_sofia@[::1]:5060 RUNNING (0) internal profile sip:mod_sofia at 192.168.nnn.nn:5060 RUNNING (0) ================================================================================================= BUT when I attempt to make a call to an 'outside' number I find the following..... In my log I see where the outbound 'extension' is found (PASS) [local_call.velocity] destination_number(9nnnnnnnnnn) =~ /^9(\d{10})$/ break=on-false and it utilized the defined Gateway (velocity_outbound) Action bridge(sofia/gateway/velocity_outbound/nnnnnnnnnn) >From that point in the log, things continue, but do not lead to success. In the log I NEVER SEE that Gateway's Proxy IP utilized to make the call I do see where it looks like things are trying to move forward [NOTICE] switch_channel.c:1055 New Channel sofia/external-ipv6/nnnnnnnnnn And subsequent log lines continue to reference sofia/external-ipv6/...... Such as: Send signal sofia/external-ipv6/nnnnnnnnnn [BREAK] BUT at the network level my server is only using IPV4 and not utilizing IPV6 at all. And NOT defined to be included in external-ipv6.xml Why is this not utilizing the Gateway defined in external.xml ? From tfred31 at yahoo.com Wed Apr 8 21:34:23 2015 From: tfred31 at yahoo.com (T Fred Farmington) Date: Wed, 8 Apr 2015 10:34:23 -0700 Subject: [Freeswitch-users] Cannot call OUT Message-ID: <1428514463.8958.YahooMailBasic@web160204.mail.bf1.yahoo.com> My FS Server is working to: * Allow 'internal' extensions to call each other * Allow 'external' calls to be received and routed as intended But I cannot place a call from 'inside' to an 'outside' number In the file conf/sip_profiles/external/velocity_gateway.xml I have my Gateway defined Within that file I have defined: - username password Proxy IP address register=false (not needed) And in conf/sip_profiles/external.xml I have the command In my conf/dialplan/default/outbound_via_velocity.xml I have defined the 'extensions' local_call.velocity long_distance_call.velocity Among the other 'extension' parameters is includes: In my conf/dialplan/default.xml I have the command: As a result, within FS_CLI, when I do a sofia status I see the following: Name Type Data State ================================================================================================= external-ipv6 profile sip:mod_sofia@[::1]:5080 RUNNING (0) external-ipv6::velocity_outbound gateway sip:FreeSWITCH at velocity_outbound NOREG external profile sip:mod_sofia at 192.168.nnn.nn:5080 RUNNING (0) external::velocity_outbound gateway sip:FreeSWITCH at velocity_outbound NOREG external::velocity_outbound gateway sip:ClancySystems at 208.nn.nnn.nn NOREG 192.168.nnn.nn alias internal ALIASED internal-ipv6 profile sip:mod_sofia@[::1]:5060 RUNNING (0) internal profile sip:mod_sofia at 192.168.nnn.nn:5060 RUNNING (0) ================================================================================================= BUT when I attempt to make a call to an 'outside' number I find the following..... In my log I see where the outbound 'extension' is found (PASS) [local_call.velocity] destination_number(9nnnnnnnnnn) =~ /^9(\d{10})$/ break=on-false and it utilized the defined Gateway (velocity_outbound) Action bridge(sofia/gateway/velocity_outbound/nnnnnnnnnn) >From that point in the log, things continue, but do not lead to success. In the log I NEVER SEE that Gateway's Proxy IP utilized to make the call I do see where it looks like things are trying to move forward [NOTICE] switch_channel.c:1055 New Channel sofia/external-ipv6/nnnnnnnnnn And subsequent log lines continue to reference sofia/external-ipv6/...... Such as: Send signal sofia/external-ipv6/nnnnnnnnnn [BREAK] BUT at the network level my server is only using IPV4 and not utilizing IPV6 at all. And NOT defined to be included in external-ipv6.xml Why is this not utilizing the Gateway defined in external.xml ? From tfred31 at yahoo.com Wed Apr 8 23:21:32 2015 From: tfred31 at yahoo.com (T Fred Farmington) Date: Wed, 8 Apr 2015 12:21:32 -0700 Subject: [Freeswitch-users] Cannot call OUT Message-ID: <1428520892.88356.YahooMailBasic@web160202.mail.bf1.yahoo.com> To the list admin - please delete the previous 2 postings from me on this Subject as 'dead wood' I don't know how I posted the same info twice and, in so doing, broke the thread. Plus at this point the info contained is obsolete. Regardless... To the other gurus..... On the FreeSWITCH Confluence ( https://freeswitch.org/confluence/display/FREESWITCH/XML+Dialplan ) it says: Dialing Through A Gateway (SIP Provider) A gateway is a means for making outbound calls through a SIP provider. For example: sofia/gateway/mygateway.com/1234 This will dial through the gateway named "mygateway.com" to user 1234. Note how there is no need to append anything after the user "1234" On attempting to call to an 'outside' number I see the following In my FS log: bridge(sofia/gateway/velocity_outbound/nnnnnnnnnn) which, according to the FS Confluence info, should initiate the call through the defined Gateway -- velocity_outbound AND I should see the number going to to the defined SIP Gateway Proxy in the log file ( NOTE - the SIP Gateway Proxy IP is included in the acl_conf.xml file as "allow" ) But the log NEVER shows that this is happening. In fact I NEVER see any reference after that point to the SIP Gateway Proxy at all Why is this not working? Your assistance would be greatly appreciated. Thanks TF From mishehu at freeswitch.org Wed Apr 8 23:43:23 2015 From: mishehu at freeswitch.org (I put the Who? in Mishehu) Date: Wed, 08 Apr 2015 14:43:23 -0500 Subject: [Freeswitch-users] Cannot call OUT In-Reply-To: <1428520892.88356.YahooMailBasic@web160202.mail.bf1.yahoo.com> References: <1428520892.88356.YahooMailBasic@web160202.mail.bf1.yahoo.com> Message-ID: <552584DB.8070508@freeswitch.org> Careful with that axe, Eugene! Or, easy there, Tex! :-) -- Yossi Neiman On 04/08/2015 02:21 PM, T Fred Farmington wrote: > To the list admin - please delete the previous 2 postings from me on this Subject as 'dead wood' > I don't know how I posted the same info twice and, in so doing, broke the thread. > Plus at this point the info contained is obsolete. > > Regardless... > To the other gurus..... > > On the FreeSWITCH Confluence ( https://freeswitch.org/confluence/display/FREESWITCH/XML+Dialplan ) it says: > Dialing Through A Gateway (SIP Provider) > > A gateway is a means for making outbound calls through a SIP provider. For example: sofia/gateway/mygateway.com/1234 > > This will dial through the gateway named "mygateway.com" to user 1234. > Note how there is no need to append anything after the user "1234" > > > On attempting to call to an 'outside' number I see the following In my FS log: > bridge(sofia/gateway/velocity_outbound/nnnnnnnnnn) > which, according to the FS Confluence info, should initiate the call through the defined Gateway -- velocity_outbound > AND I should see the number going to to the defined SIP Gateway Proxy in the log file > ( NOTE - the SIP Gateway Proxy IP is included in the acl_conf.xml file as "allow" ) > > But the log NEVER shows that this is happening. > > In fact I NEVER see any reference after that point to the SIP Gateway Proxy at all > > Why is this not working? > > Your assistance would be greatly appreciated. > > Thanks > TF > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org From italorossib at gmail.com Thu Apr 9 00:06:30 2015 From: italorossib at gmail.com (=?UTF-8?B?w410YWxvIFJvc3Np?=) Date: Wed, 8 Apr 2015 17:06:30 -0300 Subject: [Freeswitch-users] Lookup effective_caller_id_name from directory In-Reply-To: References: Message-ID: On Wed, Apr 8, 2015 at 2:29 PM, Paul Atreides < paul.atreides83 at googlemail.com> wrote: > Hi, > > when I make an internal call to a user then I just see "Outbound call" and > the called number > in my the display. The callee sees the value set in > effective_caller_id_name in the display > from my extension. > > Is it possible to look up the called number from the directory without > using mod_cidlookup. > I just want to use the directory from freeswitch. It would be really great > if i could see > the group name too when I call one. > > Thanks > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- ?talo Rossi -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150408/db392b1d/attachment.html From tfred31 at yahoo.com Thu Apr 9 00:38:02 2015 From: tfred31 at yahoo.com (T Fred Farmington) Date: Wed, 8 Apr 2015 13:38:02 -0700 Subject: [Freeswitch-users] Cannot call OUT In-Reply-To: <552584DB.8070508@freeswitch.org> Message-ID: <1428525482.88252.YahooMailBasic@web160204.mail.bf1.yahoo.com> Hello, Thank you for the reply. I am not clear on what you mean by: "Careful with that axe" I am not intending to be 'dumping' on anyone nor am I complaining about FS. I am merely trying to indicate what I do or do not find in the log files because I am confused. I have tried what was presented in the info and it appears to not be working for some reason. I guess that I am used to clearly defining what is seen so that others might understand what I am experiencing - with the hopes that they might be able to advise me and/or offer suggestions towards a resolution. TF -------------------------------------------- On Wed, 4/8/15, I put the Who? in Mishehu wrote: Subject: Re: [Freeswitch-users] Cannot call OUT To: "FreeSWITCH Users Help" Date: Wednesday, April 8, 2015, 1:43 PM Careful with that axe, Eugene!? Or, easy there, Tex!? :-) -- Yossi Neiman ? On 04/08/2015 02:21 PM, T Fred Farmington wrote: > To the list admin - please delete the previous 2 postings from me on this Subject as 'dead wood' >? ? ? ? ? ? ? ? ? ? ? ? ???I don't know how I posted the same info twice and, in so doing, broke the thread. >? ? ? ? ? ? ? ? ? ? ? ? ???Plus at this point the info contained is obsolete. > > Regardless... > To the other gurus..... > > On the FreeSWITCH Confluence ( https://freeswitch.org/confluence/display/FREESWITCH/XML+Dialplan )? it says: >? ? ? Dialing Through A Gateway (SIP Provider) > >? ? ???A gateway is a means for making outbound calls through a SIP provider. For example:? ? sofia/gateway/mygateway.com/1234 > >? ? ???This will dial through the gateway named "mygateway.com" to user 1234. >? ? ???Note how there is no need to append anything after the user "1234" > > > On attempting to call to an 'outside' number I see the following In my FS log: >? ? ? ???bridge(sofia/gateway/velocity_outbound/nnnnnnnnnn) > which, according to the FS Confluence info, should initiate the call through the defined Gateway -- velocity_outbound > AND I should see the number going to to the defined SIP Gateway Proxy in the log file >? ? ???( NOTE - the SIP Gateway Proxy IP is included in the???acl_conf.xml???file as "allow" ) > > But the log NEVER shows that this is happening. > > In fact I NEVER see any reference after that point to the SIP Gateway Proxy at all > > Why is this not working? > > Your assistance would be greatly appreciated. > > Thanks > TF > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org From fernando at softov.com.br Thu Apr 9 02:21:08 2015 From: fernando at softov.com.br (Luiz Fernando Softov) Date: Wed, 8 Apr 2015 18:21:08 -0400 Subject: [Freeswitch-users] WebRTC + Chrome = RTP Socket Error! Message-ID: **** Logs? AS i send before, there is the trace: https://pastebin.freeswitch.org/24100 **** Does it look the same as before? YES **** With IPv6 candidates and what have your set you candidates ACL to? I'm not sure where i can define candidate-acl... The only thing i enable to work with websocket is ws-binding in profile/internal.xml There is anything i'm missing in conf? **** Still wan.auto? [WARNING] switch_core_media.c:2791 NO candidate ACL defined, Defaulting to wan.auto -- Luiz Fernando Softov http://www.softov.com.br fernando at softov.com.br From andrew.keil at visytel.com Thu Apr 9 02:49:10 2015 From: andrew.keil at visytel.com (Andrew Keil) Date: Wed, 8 Apr 2015 22:49:10 +0000 Subject: [Freeswitch-users] Re- Freetdm version inside FreeSWITCH In-Reply-To: <5566D3C5-E97F-4011-9262-61AD38DCA04B@440hz.fr> References: <4E435EC8-832C-4155-82D1-C784B20504A3@jerris.com> <5566D3C5-E97F-4011-9262-61AD38DCA04B@440hz.fr> Message-ID: Vallimamod, Thanks for your comment. Hopefully this will be cleared up in the coming two weeks as I am currently in touch with their R&D team in India where the freetdm is managed (as opposed to the wanpipe etc.. which is done in Canada). Once I have clarification and timeframes I will post it here. I also wish to see what changes have been done internally at Sangoma to the freetdm pack, so this is clear (instead of just a new revision being lodged into FreeSWITCH without change notes). Regards, Andrew -----Original Message----- From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Vallimamod Abdullah Sent: Thursday, 2 April 2015 7:56 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Re- Freetdm version inside FreeSWITCH Hi, I have the same issue as Andrew with ftmod_sangoma_ss7: the last commit from sangoma is from May 1st, 2014. So that would be great! Thank you, Vallimamod . > On 01 Apr 2015, at 22:34, Michael Jerris wrote: > > Sangoma has direct commit access to our tree to commit these changes. In the past they pushed the changes directly in on a regular basis, you would have to ask them in what way they have changed this approach. > > >> On Mar 31, 2015, at 7:03 PM, Andrew Keil wrote: >> >> To FreeSWITCH users, >> >> I am not sure if this should be posted inside the developers mailing list, however I thought I would start here first. >> >> Currently I am setting up a FreeSWITCH system (using the current production release version) in the UK which will be running off BT (British Telecom) and use both SIP and ISDN30e. >> >> The ISDN side will use Sangoma A104DE cards (which I have just purchased and I am testing currently). >> >> Now the fun begins? >> >> I came across an Open Circuit alarm issue, which Sangoma are investigating, which then caused an unmapped debug message to happen (correctly from inside FreeSWITCH ftmod_wanpipe.c). >> >> Sangoma then suggested I run: ftp://ftp.sangoma.com/linux/custom/freetdm/freetdm-1.9.0.tar.gz >> >> {since this has a temporary fix to skip open circuit alarms and let FreeSWITCH continue to run with no DEBUG messages, also it adds a header (ftmod_wanpipe_defines.h) to enable mapping of alarm status values to plain English ? instead of the current unmapped message} >> >> Which brings me to my primary question: >> >> Sangoma have advised me that they manage freetdm and I should use their version. However when I look at the source to ftmod_wanpipe.c (for example) their version (freetdm-1.9.0) has the following header: Copyright (c) 2007-2012, Anthony Minessale II vs. FreeSWITCH current version: Copyright (c) 2007-2014, Anthony Minessale II. Obviously there are other additions/changes done by Sangoma (including the Open Circuit alarm skipping). >> >> So what is FreeSWITCH?s point of view on this? Do you merge the changes every months from Sangoma?s freetdm or simply expect the freetdm component to be overwritten by Sangoma?s current version prior to FreeSWITCH being built? >> >> My main aim is to have a reasonably well supported system and not come across issues that have already been found and fixed by either Sangoma or FreeSWITCH. >> >> Thanks in advance for any feedback on this, as I just want to make sure I am using an agreed best version of freetdm. >> >> Andrew Keil >> Visytel Pty Ltd _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org From olegstolyar at gmail.com Thu Apr 9 04:01:24 2015 From: olegstolyar at gmail.com (Oleg Stolyar) Date: Wed, 8 Apr 2015 17:01:24 -0700 Subject: [Freeswitch-users] Intermittent audio issue with Chrome 40-42 and WebRTC In-Reply-To: References: <00bb01d06599$2d2d75a0$878860e0$@botecomm.com> Message-ID: To close the loop on this. This problem was https://freeswitch.org/jira/browse/FS-7396. Thanks Brian for fixing it!!! I owe you (and whoever else was involved the fix) lunch or dinner at a restaurant of your choice when I am in Chicago for ClueCon. On Wed, Mar 25, 2015 at 12:13 PM, Oleg Stolyar wrote: > Funny thing (kind of). After I switched from wired network to wifi, it > started working, Then when I disabled wifi and went back to wired, it kept > right on working. But after a reboot was again broken on wired. So far, > it all seems reproducible and matches what you said about Chrome mixing up > devices. > > My offer to ship it to you still stands > > > > On Wed, Mar 25, 2015 at 11:51 AM, Oleg Stolyar > wrote: > >> Hi Anthony, >> >> Not sure if it will help but I am able to consistently reproduce this >> problem on a Toshiba chromebook. It happens with 41, 42 and 43 builds and >> multiple reboots did not solve it. >> >> If you need a way to reproduce the problem I'll be happy to ship this >> chromebook to you to keep. >> >> On Mon, Mar 23, 2015 at 10:04 PM, ik wrote: >> >>> There was a security update last weekend for Chrome, they might have >>> solved this and placed it on that version. >>> >>> Ido >>> On Mar 23, 2015 8:45 PM, "Bote Man" wrote: >>> >>>> I am running >>>> >>>> Chrome Version 41.0.2272.101 m >>>> >>>> on Windows 7 and checked the 888 FreeSWITCH conference yesterday, it >>>> had audio both directions. I tried it 1 or 2 weeks ago and it had no audio >>>> so it must have updated itself behind my back because I did not explicitly >>>> update Chrome. >>>> >>>> >>>> >>>> Firefox 36.0.1 did not have any audio last week and now 36.0.4 has no >>>> audio either. >>>> >>>> >>>> >>>> I am testing this on my home network using a Cisco RV042 router and the >>>> default checkboxes on the FS WebRTC page which apparently default to using >>>> STUN. >>>> >>>> >>>> >>>> Anthm has stated many times that WebRTC is a moving target so enjoy the >>>> exhilaration of these rapid developments! I believe this is why he insists >>>> that WebRTC users keep FreeSWITCH updated so that it tracks the changes in >>>> the major web browsers. >>>> >>>> >>>> >>>> Bote >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> *From:* Oleg Stolyar >>>> *Sent:* Monday, 23 March, 2015 14:21 >>>> *Subject:* [Freeswitch-users] Intermittent audio issue with Chrome >>>> 40-42 and WebRTC >>>> >>>> >>>> >>>> Hi guys, >>>> >>>> >>>> >>>> Ever since my users switched to Chrome 40, 41 or 42 beta, every now and >>>> then they complain that they cannot hear audio from FreeSWITCH or send >>>> audio to FreeSWITCH. I cannot reproduce this at will but was able to catch >>>> several occurrences. It happens on both Windows and Macs. Here are some >>>> details" >>>> >>>> >>>> >>>> 1. Usually the problem is solved if we close Chrome and make sure all >>>> the Chrome processes are killed. >>>> >>>> >>>> >>>> 2. When the problem happens, FS logs this on connection: >>>> >>>> [ERR] switch_rtp.c:2976 audio DTLS packet not written >>>> >>>> >>>> >>>> 3. I tried using this WebRTC test on an affected computer: >>>> >>>> https://janus.conf.meetecho.com/echotest.html >>>> >>>> and that worked, so it is not a general WebRTC issue. >>>> >>>> >>>> >>>> 4. I tried FS WebRTC demo page >>>> >>>> https://webrtc.freeswitch.org/verto/index.html#page-main >>>> >>>> and on the affected computer the problem was still there - no audio. >>>> >>>> >>>> >>>> 5. This happened both on an old FS version from last May and on a very >>>> recent master FreeSWITCH Version >>>> 1.5.15b+git~20150316T164411Z~b32abaadd9~64bit (git b32abaa 2015-03-16 >>>> 16:44:11Z 64bit) >>>> >>>> >>>> >>>> Any ideas? >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150408/910476d9/attachment.html From paul.atreides83 at googlemail.com Thu Apr 9 11:03:07 2015 From: paul.atreides83 at googlemail.com (Paul Atreides) Date: Thu, 9 Apr 2015 09:03:07 +0200 Subject: [Freeswitch-users] Lookup effective_caller_id_name from directory In-Reply-To: References: Message-ID: I did set for every extension. On Wed, Apr 8, 2015 at 10:06 PM, ?talo Rossi wrote: > > > On Wed, Apr 8, 2015 at 2:29 PM, Paul Atreides < > paul.atreides83 at googlemail.com> wrote: > >> Hi, >> >> when I make an internal call to a user then I just see "Outbound call" >> and the called number >> in my the display. The callee sees the value set in >> effective_caller_id_name in the display >> from my extension. >> >> Is it possible to look up the called number from the directory without >> using mod_cidlookup. >> I just want to use the directory from freeswitch. It would be really >> great if i could see >> the group name too when I call one. >> >> Thanks >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > ?talo Rossi > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150409/c656ce78/attachment.html From keith at hubner.co.uk Thu Apr 9 12:19:04 2015 From: keith at hubner.co.uk (keithhubner) Date: Thu, 9 Apr 2015 01:19:04 -0700 (MST) Subject: [Freeswitch-users] Proxy Media and Call Transfer Message-ID: <1428567544113-7596153.post@n2.nabble.com> Hi, I am currently using Freeswitch in combination with Kamailio to act as a SBC. Freeswitch is bridging the media and acting as the B2BUA. I have an issue that if I proxy media (required so that the PBX behind the SBC can play MOH etc) when I do a transfer the caller stays on hold and the callee hears nothing. The SIP messaging is good as when you hangup one side the other is disconnected. Interestingly, when I do not proxy the media the transfer process works, however when using hold Freeswitch, because it is involved in the media path, tries to play back MOH. This is not suitable for two reasons; it requires suitable codecs on the SBC and also it means you only have a single MOH file for all customers. It will also, I believe, increase load. I can't see any way around this but hopefully someone out there can help. Many thanks Keith -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Proxy-Media-and-Call-Transfer-tp7596153.html Sent from the freeswitch-users mailing list archive at Nabble.com. From david.ponzone at ipeva.fr Thu Apr 9 12:42:40 2015 From: david.ponzone at ipeva.fr (David Ponzone) Date: Thu, 9 Apr 2015 10:42:40 +0200 Subject: [Freeswitch-users] Proxy Media and Call Transfer In-Reply-To: <1428567544113-7596153.post@n2.nabble.com> References: <1428567544113-7596153.post@n2.nabble.com> Message-ID: Keith, When you don?t proxy media, FreeSWITCH does not necessarily play its own MOH. Actually, if it does, it?s because your PBX sends a REINVITE, which it should not if it wants to handle the MOH locally. You should check your PBX config. If the behavior of your PBX is fixed, you can disable the MOH from FreeSWITCH: https://wiki.freeswitch.org/wiki/Variable_disable_hold Also, codec passthrough should work even not in proxy media, at least for standard codecs. Le 9 avr. 2015 ? 10:19, keithhubner a ?crit : > Hi, > > I am currently using Freeswitch in combination with Kamailio to act as a > SBC. Freeswitch is bridging the media and acting as the B2BUA. I have an > issue that if I proxy media (required so that the PBX behind the SBC can > play MOH etc) when I do a transfer the caller stays on hold and the callee > hears nothing. The SIP messaging is good as when you hangup one side the > other is disconnected. > > Interestingly, when I do not proxy the media the transfer process works, > however when using hold Freeswitch, because it is involved in the media > path, tries to play back MOH. This is not suitable for two reasons; it > requires suitable codecs on the SBC and also it means you only have a single > MOH file for all customers. It will also, I believe, increase load. > > I can't see any way around this but hopefully someone out there can help. > Many thanks > Keith > > > > -- > View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Proxy-Media-and-Call-Transfer-tp7596153.html > Sent from the freeswitch-users mailing list archive at Nabble.com. > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org From idokan at gmail.com Thu Apr 9 13:21:40 2015 From: idokan at gmail.com (ik) Date: Thu, 9 Apr 2015 12:21:40 +0300 Subject: [Freeswitch-users] centos 6 and fs 1.4.18 rpms In-Reply-To: References: <55253D9A.8070307@ringme.ru> Message-ID: I wish I could help in this is some way, I have no idea beside bug reports how to help the project On Wed, Apr 8, 2015 at 6:49 PM, Ken Rice wrote: > Looks like the repo is acting screwy again... Adding this to the list of > things to fix... Give me a day to fix this > > > On 4/8/15, 9:39 AM, "?????" wrote: > > > > >> I know that there is a new version of FS, but I cannot find the rpms > >> for CentOS 6 in the yum repos. > >> There is no documentation about the repos (there used to be one in > >> confluence) > > Wait until authors release a new RPMs. "Coming soon"? When? > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > -- > Ken > http://www.FreeSWITCH.org > http://www.ClueCon.com > http://www.OSTAG.org > irc.freenode.net #freeswitch > Twitter: @FreeSWITCH > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150409/dd6d0d29/attachment.html From denis at ringme.ru Thu Apr 9 13:31:03 2015 From: denis at ringme.ru (=?UTF-8?B?0JTQtdC90LjRgQ==?=) Date: Thu, 09 Apr 2015 12:31:03 +0300 Subject: [Freeswitch-users] centos 6 and fs 1.4.18 rpms In-Reply-To: References: <55253D9A.8070307@ringme.ru> Message-ID: <552646D7.7090703@ringme.ru> I can update document with setup from repo (centos + debian) On 09.04.2015 12:21, ik wrote: > I wish I could help in this is some way, I have no idea beside bug > reports how to help the project > > On Wed, Apr 8, 2015 at 6:49 PM, Ken Rice > wrote: > > Looks like the repo is acting screwy again... Adding this to the > list of > things to fix... Give me a day to fix this > > > On 4/8/15, 9:39 AM, "?????" > wrote: > > > > >> I know that there is a new version of FS, but I cannot find the > rpms > >> for CentOS 6 in the yum repos. > >> There is no documentation about the repos (there used to be one in > >> confluence) > > Wait until authors release a new RPMs. "Coming soon"? When? > > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > -- > Ken > http://www.FreeSWITCH.org > http://www.ClueCon.com > http://www.OSTAG.org > irc.freenode.net #freeswitch > Twitter: @FreeSWITCH > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150409/1b1d79e2/attachment.html From ssinyagin at gmail.com Thu Apr 9 13:48:39 2015 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Thu, 9 Apr 2015 11:48:39 +0200 Subject: [Freeswitch-users] KVM vs. XEN virtualization In-Reply-To: References: Message-ID: I made additional tests, and... I'm not sure any more. So, I removed the statement about bad precision. This needs a lab environment with predictable network and known CPU load on the host machine. Does anyone know any tools that would automatically detect sound distortions in WAV files and also find the shifts because of slipping clock or lost frames? Up to now, the only tool I could find is visually comparing the waves in Audacity. On Sun, Apr 5, 2015 at 2:37 AM, Stanislav Sinyagin wrote: > here we go: > https://txlab.wordpress.com/2015/04/05/testing-rtp-clock-precision-on-a-virtual-machine/ > > > > On Sat, Apr 4, 2015 at 4:26 PM, Stanislav Sinyagin wrote: >> On Sat, Apr 4, 2015 at 1:03 PM, Regis M wrote: >>> How do you check wavs together in audacity ? >> >> you just open two WAV files, align their starting position, and >> visually check the waves. If there's a problem, you would see that >> after few seconds, the waves are not aligned any more. >> >>> Can you send me 2 samples wav (send... and recorded) so I could see the 20ms >>> diff that you exposed... >>> >>> Is there a way to automate the result checking, so it could help to monitor >>> itsp quality >> >> Here >> https://github.com/openpreserve/scape-xcorrsound/issues/17 >> this is a link to a tool which compares two sound files at the wave >> level. You can also see the sound samples in the ticket. >> The problem is, that currently this tool does not detect such slipping frames. >> >> I will also write a detailed article with examples, during the weekend. >> >> >> >> >> >>> >>> >>> 2015-04-04 12:53 GMT+02:00 Stanislav Sinyagin : >>>> >>>> Important is to send the media through two independent carriers - then you >>>> can be sure that your clock is compared against a high quality one. >>>> >>>> On Apr 4, 2015 12:46 PM, "Regis M" >>>> wrote: >>>>> >>>>> Hi, >>>>> >>>>> It's a very interresting test and conclusion. >>>>> >>>>> I will try to build a similar environnement on my freeswitch to check >>>>> some system :) >>>>> >>>>> thanks >>>>> >>>>> >>>>> >>>>> 2015-04-04 2:16 GMT+02:00 Stanislav Sinyagin : >>>>>> >>>>>> hi, >>>>>> >>>>>> Here are some test results which might be interesting: >>>>>> >>>>>> I've set up a test FreeSWITCH server at digitalocean (they use KVM), >>>>>> and originated test calls to some ITSP accounts. Each call played a >>>>>> test sound file (voice samples from ITU: >>>>>> http://www.itu.int/net/itu-t/sigdb/genaudio/AudioForm-g.aspx?val=1000050 >>>>>> ), and on the receiving end another FreeSWITCH server was recording >>>>>> the received session. The receiving server was on a XEN VM. Both >>>>>> servers talked G711 to their corresponding ITSP accounts. >>>>>> >>>>>> Then I compared the source audio and received audio in Audacity editor. >>>>>> >>>>>> The tests showed that the received voice wave shifts 20ms from the >>>>>> original sound every few seconds, randomly back and forward. This >>>>>> skewing was always present, regardless of ITSP and time of day. >>>>>> >>>>>> Then I moved the sending server to a XEN VM, and the waves appeared >>>>>> almost perfectly synchronized (there was a 5ms skew in one test, and I >>>>>> guess it's related to transcoding buffer, as the sound was obviously >>>>>> transcoded). >>>>>> >>>>>> The effect was always visible with a 30-second sample, and I also made >>>>>> additional tests with 2-minute samples. >>>>>> >>>>>> It would also be interesting to test this from a VmWare VM. If someone >>>>>> wants to run such a test, feel free to contact me directly. >>>>>> >>>>>> >>>>>> cheers, >>>>>> stan >>>>>> >>>>>> >>>>>> _________________________________________________________________________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at freeswitch.org >>>>>> http://www.freeswitchsolutions.com >>>>>> >>>>>> Official FreeSWITCH Sites >>>>>> http://www.freeswitch.org >>>>>> http://confluence.freeswitch.org >>>>>> http://www.cluecon.com >>>>>> >>>>>> FreeSWITCH-users mailing list >>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> http://www.freeswitch.org >>>>> >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org From jayachar88 at gmail.com Thu Apr 9 14:36:44 2015 From: jayachar88 at gmail.com (Jayanth Acharya) Date: Thu, 9 Apr 2015 16:06:44 +0530 Subject: [Freeswitch-users] KVM vs. XEN virtualization In-Reply-To: References: Message-ID: See if this helps - http://www.voip-info.org/wiki/view/Call+Quality+Metrics http://www.tamos.com/htmlhelp/voip-analysis/mosandr_factor.htm On Thu, Apr 9, 2015 at 3:18 PM, Stanislav Sinyagin wrote: > I made additional tests, and... I'm not sure any more. So, I removed > the statement about bad precision. This needs a lab environment with > predictable network and known CPU load on the host machine. > > Does anyone know any tools that would automatically detect sound > distortions in WAV files and also find the shifts because of slipping > clock or lost frames? Up to now, the only tool I could find is > visually comparing the waves in Audacity. > > > > On Sun, Apr 5, 2015 at 2:37 AM, Stanislav Sinyagin > wrote: > > here we go: > > > https://txlab.wordpress.com/2015/04/05/testing-rtp-clock-precision-on-a-virtual-machine/ > > > > > > > > On Sat, Apr 4, 2015 at 4:26 PM, Stanislav Sinyagin > wrote: > >> On Sat, Apr 4, 2015 at 1:03 PM, Regis M < > regis.freeswitch.org at tornad.net> wrote: > >>> How do you check wavs together in audacity ? > >> > >> you just open two WAV files, align their starting position, and > >> visually check the waves. If there's a problem, you would see that > >> after few seconds, the waves are not aligned any more. > >> > >>> Can you send me 2 samples wav (send... and recorded) so I could see > the 20ms > >>> diff that you exposed... > >>> > >>> Is there a way to automate the result checking, so it could help to > monitor > >>> itsp quality > >> > >> Here > >> https://github.com/openpreserve/scape-xcorrsound/issues/17 > >> this is a link to a tool which compares two sound files at the wave > >> level. You can also see the sound samples in the ticket. > >> The problem is, that currently this tool does not detect such slipping > frames. > >> > >> I will also write a detailed article with examples, during the weekend. > >> > >> > >> > >> > >> > >>> > >>> > >>> 2015-04-04 12:53 GMT+02:00 Stanislav Sinyagin : > >>>> > >>>> Important is to send the media through two independent carriers - > then you > >>>> can be sure that your clock is compared against a high quality one. > >>>> > >>>> On Apr 4, 2015 12:46 PM, "Regis M" > >>>> wrote: > >>>>> > >>>>> Hi, > >>>>> > >>>>> It's a very interresting test and conclusion. > >>>>> > >>>>> I will try to build a similar environnement on my freeswitch to check > >>>>> some system :) > >>>>> > >>>>> thanks > >>>>> > >>>>> > >>>>> > >>>>> 2015-04-04 2:16 GMT+02:00 Stanislav Sinyagin : > >>>>>> > >>>>>> hi, > >>>>>> > >>>>>> Here are some test results which might be interesting: > >>>>>> > >>>>>> I've set up a test FreeSWITCH server at digitalocean (they use KVM), > >>>>>> and originated test calls to some ITSP accounts. Each call played a > >>>>>> test sound file (voice samples from ITU: > >>>>>> > http://www.itu.int/net/itu-t/sigdb/genaudio/AudioForm-g.aspx?val=1000050 > >>>>>> ), and on the receiving end another FreeSWITCH server was recording > >>>>>> the received session. The receiving server was on a XEN VM. Both > >>>>>> servers talked G711 to their corresponding ITSP accounts. > >>>>>> > >>>>>> Then I compared the source audio and received audio in Audacity > editor. > >>>>>> > >>>>>> The tests showed that the received voice wave shifts 20ms from the > >>>>>> original sound every few seconds, randomly back and forward. This > >>>>>> skewing was always present, regardless of ITSP and time of day. > >>>>>> > >>>>>> Then I moved the sending server to a XEN VM, and the waves appeared > >>>>>> almost perfectly synchronized (there was a 5ms skew in one test, > and I > >>>>>> guess it's related to transcoding buffer, as the sound was obviously > >>>>>> transcoded). > >>>>>> > >>>>>> The effect was always visible with a 30-second sample, and I also > made > >>>>>> additional tests with 2-minute samples. > >>>>>> > >>>>>> It would also be interesting to test this from a VmWare VM. If > someone > >>>>>> wants to run such a test, feel free to contact me directly. > >>>>>> > >>>>>> > >>>>>> cheers, > >>>>>> stan > >>>>>> > >>>>>> > >>>>>> > _________________________________________________________________________ > >>>>>> Professional FreeSWITCH Consulting Services: > >>>>>> consulting at freeswitch.org > >>>>>> http://www.freeswitchsolutions.com > >>>>>> > >>>>>> Official FreeSWITCH Sites > >>>>>> http://www.freeswitch.org > >>>>>> http://confluence.freeswitch.org > >>>>>> http://www.cluecon.com > >>>>>> > >>>>>> FreeSWITCH-users mailing list > >>>>>> FreeSWITCH-users at lists.freeswitch.org > >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >>>>>> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >>>>>> http://www.freeswitch.org > >>>>> > >>>>> > >>>>> > >>>>> > _________________________________________________________________________ > >>>>> Professional FreeSWITCH Consulting Services: > >>>>> consulting at freeswitch.org > >>>>> http://www.freeswitchsolutions.com > >>>>> > >>>>> Official FreeSWITCH Sites > >>>>> http://www.freeswitch.org > >>>>> http://confluence.freeswitch.org > >>>>> http://www.cluecon.com > >>>>> > >>>>> FreeSWITCH-users mailing list > >>>>> FreeSWITCH-users at lists.freeswitch.org > >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >>>>> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >>>>> http://www.freeswitch.org > >>>> > >>>> > >>>> > _________________________________________________________________________ > >>>> Professional FreeSWITCH Consulting Services: > >>>> consulting at freeswitch.org > >>>> http://www.freeswitchsolutions.com > >>>> > >>>> Official FreeSWITCH Sites > >>>> http://www.freeswitch.org > >>>> http://confluence.freeswitch.org > >>>> http://www.cluecon.com > >>>> > >>>> FreeSWITCH-users mailing list > >>>> FreeSWITCH-users at lists.freeswitch.org > >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >>>> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >>>> http://www.freeswitch.org > >>> > >>> > >>> > >>> > _________________________________________________________________________ > >>> Professional FreeSWITCH Consulting Services: > >>> consulting at freeswitch.org > >>> http://www.freeswitchsolutions.com > >>> > >>> Official FreeSWITCH Sites > >>> http://www.freeswitch.org > >>> http://confluence.freeswitch.org > >>> http://www.cluecon.com > >>> > >>> FreeSWITCH-users mailing list > >>> FreeSWITCH-users at lists.freeswitch.org > >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >>> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >>> http://www.freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150409/0356eb69/attachment.html From s.safarov at gmail.com Thu Apr 9 14:37:03 2015 From: s.safarov at gmail.com (Sergey Safarov) Date: Thu, 9 Apr 2015 13:37:03 +0300 Subject: [Freeswitch-users] KVM vs. XEN virtualization In-Reply-To: References: Message-ID: Hi Giovanni 1) Usb dongles goes to 20ms, and skype too (I wrote it :) ). I would be pretty sure TDM too. I has virtualized Digium card and has flowing result [root at localhost tools]# lspci -k | tail -n 11 03:00.0 Serial Attached SCSI controller: VMware PVSCSI SCSI Controller (rev 02) Subsystem: VMware PVSCSI SCSI Controller Kernel driver in use: vmw_pvscsi 0b:00.0 Ethernet controller: VMware VMXNET3 Ethernet Controller (rev 01) Subsystem: VMware VMXNET3 Ethernet Controller Kernel driver in use: vmxnet3 13:00.0 Ethernet controller: VMware VMXNET3 Ethernet Controller (rev 01) Subsystem: VMware VMXNET3 Ethernet Controller Kernel driver in use: vmxnet3 1b:00.0 Network controller: Digium, Inc. Wildcard TE133 single-span T1/E1/J1 card (PCI Express) (rev 02) Kernel driver in use: wcte13xp [root at localhost tools]# [root at localhost ~]# /usr/sbin/dahdi_scan [1] active=yes alarms=OK description=Wildcard TE131/TE133 Card 0 name=WCT13x/0 manufacturer=Digium devicetype=Wildcard TE131/TE133 (VPMOCT032) location=PCI Bus 27 Slot 01 basechan=1 totchans=31 irq=0 type=digital-E1 syncsrc=1 lbo=0 db (CSU)/0-133 feet (DSX-1) coding_opts=AMI,HDB3 framing_opts=CCS,CRC4 coding=HDB3 framing=CCS/CRC4 [root at localhost tools]# /tmp/dahdi-linux-complete-2.10.1+2.10.1/tools/timertest Opened timer... Set timer duration to 8000 samples (1000 ms) Waiting... Timer Expired (1000 ms)! Timer Expired (2000 ms)! Timer Expired (3000 ms)! Timer Expired (4000 ms)! Timer Expired (5000 ms)! [root at localhost rt-tests]# ./cyclictest -t1 -p 80 -d 0 -n -i 125 -l 240000 -q # /dev/cpu_dma_latency set to 0us T: 0 ( 1469) P:80 I:125 C: 240000 Min: 3 Act: 22 Avg: 22 Max: 965 2) Not all of those threads will wake up at same time... You probably have very little threads active with 50 calls, lets say less than 5 if you dont transcode My test VM has two cores and only two cyclictest threads may run simultaneously. Other treads is seeping like FS treads. ;o) On Wed, Apr 8, 2015 at 7:43 PM, Giovanni Maruzzelli wrote: > sent from my mobile, > Giovanni Maruzzelli > cell: +39 347 266 56 18 > On Apr 8, 2015 2:26 PM, "Sergey Safarov" wrote: > > > > 1) 125uS is the interval between FrameSync of ONE(!) PCM sample at > 8000hz, > > But here we are talking about packet telephony where commonly used frame > length is 20000 uS. > > So, intervals for testing should be 5000-10000-20000uS, not 125uS. > > > > Not all FS installation has SIP endpoint. Some can have TDM cards, USB > dongle and other analog equipment. Can you say what is length of this frame > type? > > Usb dongles goes to 20ms, and skype too (I wrote it :) ). > > I would be pretty sure TDM too. > > > I am wondering about this question. I know that the frame 125ms is > enough. > > > > 2) Why you decided that all of 42 threads should wake up simultaneously? > > That totally impossible in real world applications. > > Here should be tens of uS. Dependent of network card and, possibly, > other I/O hardware. > > > > Can you say how many FS create threads for 40-50 active calls? > > Not all of those threads will wake up at same time... You probably have > very little threads active with 50 calls, lets say less than 5 if you dont > transcode > > > > > 3) -q switch is missing > > I am thinking it is optional. Result is same > > > > 4) Precise time measurement and realtime processing in VM environment > is a challenge. > > To obtain acceptable results fine tuning of host's and guest's required. > > WIthout that this numbers ... does not mean anything. > > > > Can you learn me how to correctly measure timer source quality in VM? > > I would say its by definition variable and impredictable, and depends on > what else other VMs are doing millisecond by millisecond, and their > interaction. > I would test the application, and if percwived quality is not satisfying, > just throw more resources at it. > > > > > Sergey > > > > > > On Wed, Apr 8, 2015 at 2:07 PM, Dmitry Lysenko < > dvl36.ripe.nick at gmail.com> wrote: > >> > >> 2015-04-07 10:48 GMT+03:00 Sergey Safarov : > >>> > >>> ... > >>> 2) i 125 - time us between software timer interrupts for first thread. > It time is equal time between samples rate in PSTN networks > >>> In order to maintain our sampling rate we have 125 microseconds (uS) > between consecutive samples (1/8,000Hz), which is more > >>> > >>> ... > >> > >> > >> 125uS is the interval between FrameSync of ONE(!) PCM sample at 8000hz, > >> But here we are talking about packet telephony where commonly used > frame length is 20000 uS. > >> So, intervals for testing should be 5000-10000-20000uS, not 125uS. > >> > >>> > >>> 3) d 0 - this switch will make time between software timer interrupts > for second and following threads is equal timer value for first thread > >> > >> > >> Why you decided that all of 42 threads should wake up simultaneously? > >> That totally impossible in real world applications. > >> Here should be tens of uS. Dependent of network card and, possibly, > other I/O hardware. > >> > >>> > >>> 4) l 240000 - how many timer test must be made. It is adjusted for 30 > s overall test > >>> 5) n - use clock_nanosleep. it is allow take more accurate timer test > values on my VM > >>> 6) p 80 - it is copied from example on Cyclictest page > >> > >> > >> -q switch is missing. > >> > >>> > >>> And how in your opinion this numbers are related to Freeswitch in VM > environment? > >>> Relation between Cyclictest switches and FS described above. > >>> Relation betwen Cyclictest results and FS simple > >> > >> > >> Precise time measurement and realtime processing in VM environment is > a challenge. > >> To obtain acceptable results fine tuning of host's and guest's > required. > >> WIthout that this numbers ... does not mean anything. > >> > >> > >>> On Tue, Apr 7, 2015 at 5:38 AM, Dmitry Lysenko < > dvl36.ripe.nick at gmail.com> wrote: > >>>> > >>>> Sergey, > >>>> Why you suggest to use exactly this numbers in cyclictest's switches? > >>>> And how in your opinion this numbers are related to Freeswitch in VM > environment? > >>>> > >>>> P.S. > https://mindlinux.wordpress.com/2013/10/25/using-and-understanding-the-real-time-cyclictest-benchmark-frank-rowand-sony/ > >>>> > >>>> 2015-04-06 15:27 GMT+03:00 Sergey Safarov : > >>>>> > >>>>> Errol can you test VM timer with utility > https://rt.wiki.kernel.org/index.php/Cyclictest > >>>>> > >>>>> My VM currently have folowing results > >>>>> > >>>>> [root at fs1 ~]# date && /tmp/rt-tests/cyclictest -t42 -p 80 -d 0 -n > -i 125 -l 240000 && date > >>>>> Sun Apr 5 07:01:31 GMT 2015 > >>>>> # /dev/cpu_dma_latency set to 0us > >>>>> policy: fifo: loadavg: 2.38 0.93 0.50 1/194 1574 > >>>>> > >>>>> T: 0 ( 1531) P:80 I:125 C: 240000 Min: 2 Act: 12 Avg: 16 > Max: 1302 > >>>>> T: 1 ( 1532) P:80 I:125 C: 240000 Min: 2 Act: 15 Avg: 14 > Max: 2895 > >>>>> T: 2 ( 1533) P:80 I:125 C: 240000 Min: 3 Act: 10 Avg: 12 > Max: 2888 > >>>>> T: 3 ( 1534) P:80 I:125 C: 240000 Min: 1 Act: 16 Avg: 13 > Max: 1333 > >>>>> T: 4 ( 1535) P:80 I:125 C: 240000 Min: 2 Act: 20 Avg: 14 > Max: 2962 > >>>>> T: 5 ( 1536) P:80 I:125 C: 240000 Min: 1 Act: 12 Avg: 14 > Max: 2946 > >>>>> T: 6 ( 1537) P:80 I:125 C: 240000 Min: 2 Act: 10 Avg: 13 > Max: 1363 > >>>>> T: 7 ( 1538) P:80 I:125 C: 240000 Min: 2 Act: 12 Avg: 13 > Max: 1344 > >>>>> T: 8 ( 1539) P:80 I:125 C: 240000 Min: 3 Act: 12 Avg: 16 > Max: 1408 > >>>>> T: 9 ( 1540) P:80 I:125 C: 240000 Min: 1 Act: 8 Avg: 13 > Max: 2882 > >>>>> T:10 ( 1541) P:80 I:125 C: 239974 Min: 2 Act: 12 Avg: 13 > Max: 2908 > >>>>> > >>>>> > >>>>> On Mon, Apr 6, 2015 at 11:15 AM, Errol Samuels > wrote: > >>>>>> > >>>>>> Good job and Thanks for sharing! > >>>>>> > >>>>>>> KVM at digitalocean.com, Debian 7 64bit, FreeSWITCH 1.4.15: bad > precision > >>>>>> > >>>>>> > >>>>>> As someone who has been using KVM for a few years and has just > migrated about 20 VMs across to Digital Ocean about 6 weeks ago I admit I > am a little concerned about this finding. > >>>>>> > >>>>>> Just out of curiosity can you tell me the specs of the VM that you > tested with and which DO Datacenter? I am using NYC3 so perhaps and I will > do some tests as soon as I have some time. > >>>>>> > >>>>>> With regards to Xen was this at Linode or inhouse? > >>>>>> > >>>>>> Thanks > >>>>>> > >>>>>> Errol > >>>>>> > >>>>>> > >>>>>> > >>>>>> On Sun, Apr 5, 2015 at 1:37 AM, Stanislav Sinyagin < > ssinyagin at gmail.com> wrote: > >>>>>>> > >>>>>>> here we go: > >>>>>>> > https://txlab.wordpress.com/2015/04/05/testing-rtp-clock-precision-on-a-virtual-machine/ > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> On Sat, Apr 4, 2015 at 4:26 PM, Stanislav Sinyagin < > ssinyagin at gmail.com> wrote: > >>>>>>> > On Sat, Apr 4, 2015 at 1:03 PM, Regis M < > regis.freeswitch.org at tornad.net> wrote: > >>>>>>> >> How do you check wavs together in audacity ? > >>>>>>> > > >>>>>>> > you just open two WAV files, align their starting position, and > >>>>>>> > visually check the waves. If there's a problem, you would see > that > >>>>>>> > after few seconds, the waves are not aligned any more. > >>>>>>> > > >>>>>>> >> Can you send me 2 samples wav (send... and recorded) so I could > see the 20ms > >>>>>>> >> diff that you exposed... > >>>>>>> >> > >>>>>>> >> Is there a way to automate the result checking, so it could > help to monitor > >>>>>>> >> itsp quality > >>>>>>> > > >>>>>>> > Here > >>>>>>> > https://github.com/openpreserve/scape-xcorrsound/issues/17 > >>>>>>> > this is a link to a tool which compares two sound files at the > wave > >>>>>>> > level. You can also see the sound samples in the ticket. > >>>>>>> > The problem is, that currently this tool does not detect such > slipping frames. > >>>>>>> > > >>>>>>> > I will also write a detailed article with examples, during the > weekend. > >>>>>>> > > >>>>>>> > > >>>>>>> > > >>>>>>> > > >>>>>>> > > >>>>>>> >> > >>>>>>> >> > >>>>>>> >> 2015-04-04 12:53 GMT+02:00 Stanislav Sinyagin < > ssinyagin at gmail.com>: > >>>>>>> >>> > >>>>>>> >>> Important is to send the media through two independent > carriers - then you > >>>>>>> >>> can be sure that your clock is compared against a high quality > one. > >>>>>>> >>> > >>>>>>> >>> On Apr 4, 2015 12:46 PM, "Regis M" < > regis.freeswitch.org at tornad.net> > >>>>>>> >>> wrote: > >>>>>>> >>>> > >>>>>>> >>>> Hi, > >>>>>>> >>>> > >>>>>>> >>>> It's a very interresting test and conclusion. > >>>>>>> >>>> > >>>>>>> >>>> I will try to build a similar environnement on my freeswitch > to check > >>>>>>> >>>> some system :) > >>>>>>> >>>> > >>>>>>> >>>> thanks > >>>>>>> >>>> > >>>>>>> >>>> > >>>>>>> >>>> > >>>>>>> >>>> 2015-04-04 2:16 GMT+02:00 Stanislav Sinyagin < > ssinyagin at gmail.com>: > >>>>>>> >>>>> > >>>>>>> >>>>> hi, > >>>>>>> >>>>> > >>>>>>> >>>>> Here are some test results which might be interesting: > >>>>>>> >>>>> > >>>>>>> >>>>> I've set up a test FreeSWITCH server at digitalocean (they > use KVM), > >>>>>>> >>>>> and originated test calls to some ITSP accounts. Each call > played a > >>>>>>> >>>>> test sound file (voice samples from ITU: > >>>>>>> >>>>> > http://www.itu.int/net/itu-t/sigdb/genaudio/AudioForm-g.aspx?val=1000050 > >>>>>>> >>>>> ), and on the receiving end another FreeSWITCH server was > recording > >>>>>>> >>>>> the received session. The receiving server was on a XEN VM. > Both > >>>>>>> >>>>> servers talked G711 to their corresponding ITSP accounts. > >>>>>>> >>>>> > >>>>>>> >>>>> Then I compared the source audio and received audio in > Audacity editor. > >>>>>>> >>>>> > >>>>>>> >>>>> The tests showed that the received voice wave shifts 20ms > from the > >>>>>>> >>>>> original sound every few seconds, randomly back and forward. > This > >>>>>>> >>>>> skewing was always present, regardless of ITSP and time of > day. > >>>>>>> >>>>> > >>>>>>> >>>>> Then I moved the sending server to a XEN VM, and the waves > appeared > >>>>>>> >>>>> almost perfectly synchronized (there was a 5ms skew in one > test, and I > >>>>>>> >>>>> guess it's related to transcoding buffer, as the sound was > obviously > >>>>>>> >>>>> transcoded). > >>>>>>> >>>>> > >>>>>>> >>>>> The effect was always visible with a 30-second sample, and I > also made > >>>>>>> >>>>> additional tests with 2-minute samples. > >>>>>>> >>>>> > >>>>>>> >>>>> It would also be interesting to test this from a VmWare VM. > If someone > >>>>>>> >>>>> wants to run such a test, feel free to contact me directly. > >>>>>>> >>>>> > >>>>>>> >>>>> > >>>>>>> >>>>> cheers, > >>>>>>> >>>>> stan > >>>>>>> >>>>> > >>>>>>> >>>>> > >>>>>>> >>>>> > _________________________________________________________________________ > >>>>>>> >>>>> Professional FreeSWITCH Consulting Services: > >>>>>>> >>>>> consulting at freeswitch.org > >>>>>>> >>>>> http://www.freeswitchsolutions.com > >>>>>>> >>>>> > >>>>>>> >>>>> Official FreeSWITCH Sites > >>>>>>> >>>>> http://www.freeswitch.org > >>>>>>> >>>>> http://confluence.freeswitch.org > >>>>>>> >>>>> http://www.cluecon.com > >>>>>>> >>>>> > >>>>>>> >>>>> FreeSWITCH-users mailing list > >>>>>>> >>>>> FreeSWITCH-users at lists.freeswitch.org > >>>>>>> >>>>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >>>>>>> >>>>> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >>>>>>> >>>>> http://www.freeswitch.org > >>>>>>> >>>> > >>>>>>> >>>> > >>>>>>> >>>> > >>>>>>> >>>> > _________________________________________________________________________ > >>>>>>> >>>> Professional FreeSWITCH Consulting Services: > >>>>>>> >>>> consulting at freeswitch.org > >>>>>>> >>>> http://www.freeswitchsolutions.com > >>>>>>> >>>> > >>>>>>> >>>> Official FreeSWITCH Sites > >>>>>>> >>>> http://www.freeswitch.org > >>>>>>> >>>> http://confluence.freeswitch.org > >>>>>>> >>>> http://www.cluecon.com > >>>>>>> >>>> > >>>>>>> >>>> FreeSWITCH-users mailing list > >>>>>>> >>>> FreeSWITCH-users at lists.freeswitch.org > >>>>>>> >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >>>>>>> >>>> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >>>>>>> >>>> http://www.freeswitch.org > >>>>>>> >>> > >>>>>>> >>> > >>>>>>> >>> > _________________________________________________________________________ > >>>>>>> >>> Professional FreeSWITCH Consulting Services: > >>>>>>> >>> consulting at freeswitch.org > >>>>>>> >>> http://www.freeswitchsolutions.com > >>>>>>> >>> > >>>>>>> >>> Official FreeSWITCH Sites > >>>>>>> >>> http://www.freeswitch.org > >>>>>>> >>> http://confluence.freeswitch.org > >>>>>>> >>> http://www.cluecon.com > >>>>>>> >>> > >>>>>>> >>> FreeSWITCH-users mailing list > >>>>>>> >>> FreeSWITCH-users at lists.freeswitch.org > >>>>>>> >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >>>>>>> >>> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >>>>>>> >>> http://www.freeswitch.org > >>>>>>> >> > >>>>>>> >> > >>>>>>> >> > >>>>>>> >> > _________________________________________________________________________ > >>>>>>> >> Professional FreeSWITCH Consulting Services: > >>>>>>> >> consulting at freeswitch.org > >>>>>>> >> http://www.freeswitchsolutions.com > >>>>>>> >> > >>>>>>> >> Official FreeSWITCH Sites > >>>>>>> >> http://www.freeswitch.org > >>>>>>> >> http://confluence.freeswitch.org > >>>>>>> >> http://www.cluecon.com > >>>>>>> >> > >>>>>>> >> FreeSWITCH-users mailing list > >>>>>>> >> FreeSWITCH-users at lists.freeswitch.org > >>>>>>> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >>>>>>> >> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >>>>>>> >> http://www.freeswitch.org > >>>>>>> > >>>>>>> > _________________________________________________________________________ > >>>>>>> Professional FreeSWITCH Consulting Services: > >>>>>>> consulting at freeswitch.org > >>>>>>> http://www.freeswitchsolutions.com > >>>>>>> > >>>>>>> Official FreeSWITCH Sites > >>>>>>> http://www.freeswitch.org > >>>>>>> http://confluence.freeswitch.org > >>>>>>> http://www.cluecon.com > >>>>>>> > >>>>>>> FreeSWITCH-users mailing list > >>>>>>> FreeSWITCH-users at lists.freeswitch.org > >>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >>>>>>> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >>>>>>> http://www.freeswitch.org > >>>>>> > >>>>>> > >>>>>> > >>>>>> > _________________________________________________________________________ > >>>>>> Professional FreeSWITCH Consulting Services: > >>>>>> consulting at freeswitch.org > >>>>>> http://www.freeswitchsolutions.com > >>>>>> > >>>>>> Official FreeSWITCH Sites > >>>>>> http://www.freeswitch.org > >>>>>> http://confluence.freeswitch.org > >>>>>> http://www.cluecon.com > >>>>>> > >>>>>> FreeSWITCH-users mailing list > >>>>>> FreeSWITCH-users at lists.freeswitch.org > >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >>>>>> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >>>>>> http://www.freeswitch.org > >>>>> > >>>>> > >>>>> > >>>>> > _________________________________________________________________________ > >>>>> Professional FreeSWITCH Consulting Services: > >>>>> consulting at freeswitch.org > >>>>> http://www.freeswitchsolutions.com > >>>>> > >>>>> Official FreeSWITCH Sites > >>>>> http://www.freeswitch.org > >>>>> http://confluence.freeswitch.org > >>>>> http://www.cluecon.com > >>>>> > >>>>> FreeSWITCH-users mailing list > >>>>> FreeSWITCH-users at lists.freeswitch.org > >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >>>>> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >>>>> http://www.freeswitch.org > >>>> > >>>> > >>>> > >>>> > _________________________________________________________________________ > >>>> Professional FreeSWITCH Consulting Services: > >>>> consulting at freeswitch.org > >>>> http://www.freeswitchsolutions.com > >>>> > >>>> Official FreeSWITCH Sites > >>>> http://www.freeswitch.org > >>>> http://confluence.freeswitch.org > >>>> http://www.cluecon.com > >>>> > >>>> FreeSWITCH-users mailing list > >>>> FreeSWITCH-users at lists.freeswitch.org > >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >>>> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >>>> http://www.freeswitch.org > >>> > >>> > >>> > >>> > _________________________________________________________________________ > >>> Professional FreeSWITCH Consulting Services: > >>> consulting at freeswitch.org > >>> http://www.freeswitchsolutions.com > >>> > >>> Official FreeSWITCH Sites > >>> http://www.freeswitch.org > >>> http://confluence.freeswitch.org > >>> http://www.cluecon.com > >>> > >>> FreeSWITCH-users mailing list > >>> FreeSWITCH-users at lists.freeswitch.org > >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >>> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >>> http://www.freeswitch.org > >> > >> > >> > >> > _________________________________________________________________________ > >> Professional FreeSWITCH Consulting Services: > >> consulting at freeswitch.org > >> http://www.freeswitchsolutions.com > >> > >> Official FreeSWITCH Sites > >> http://www.freeswitch.org > >> http://confluence.freeswitch.org > >> http://www.cluecon.com > >> > >> FreeSWITCH-users mailing list > >> FreeSWITCH-users at lists.freeswitch.org > >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >> http://www.freeswitch.org > > > > > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150409/09b2b9ac/attachment-0001.html From ssinyagin at gmail.com Thu Apr 9 15:21:46 2015 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Thu, 9 Apr 2015 13:21:46 +0200 Subject: [Freeswitch-users] KVM vs. XEN virtualization In-Reply-To: References: Message-ID: thanks, the PESQ tool appears to be open-source and free for non-commercial use, so I started a series of tests. I'll post an update. http://www.itu.int/rec/T-REC-P.862-200511-I!Amd2/en On Thu, Apr 9, 2015 at 12:36 PM, Jayanth Acharya wrote: > See if this helps - > http://www.voip-info.org/wiki/view/Call+Quality+Metrics > http://www.tamos.com/htmlhelp/voip-analysis/mosandr_factor.htm > > > On Thu, Apr 9, 2015 at 3:18 PM, Stanislav Sinyagin > wrote: >> >> I made additional tests, and... I'm not sure any more. So, I removed >> the statement about bad precision. This needs a lab environment with >> predictable network and known CPU load on the host machine. >> >> Does anyone know any tools that would automatically detect sound >> distortions in WAV files and also find the shifts because of slipping >> clock or lost frames? Up to now, the only tool I could find is >> visually comparing the waves in Audacity. >> >> >> >> On Sun, Apr 5, 2015 at 2:37 AM, Stanislav Sinyagin >> wrote: >> > here we go: >> > >> > https://txlab.wordpress.com/2015/04/05/testing-rtp-clock-precision-on-a-virtual-machine/ >> > >> > >> > >> > On Sat, Apr 4, 2015 at 4:26 PM, Stanislav Sinyagin >> > wrote: >> >> On Sat, Apr 4, 2015 at 1:03 PM, Regis M >> >> wrote: >> >>> How do you check wavs together in audacity ? >> >> >> >> you just open two WAV files, align their starting position, and >> >> visually check the waves. If there's a problem, you would see that >> >> after few seconds, the waves are not aligned any more. >> >> >> >>> Can you send me 2 samples wav (send... and recorded) so I could see >> >>> the 20ms >> >>> diff that you exposed... >> >>> >> >>> Is there a way to automate the result checking, so it could help to >> >>> monitor >> >>> itsp quality >> >> >> >> Here >> >> https://github.com/openpreserve/scape-xcorrsound/issues/17 >> >> this is a link to a tool which compares two sound files at the wave >> >> level. You can also see the sound samples in the ticket. >> >> The problem is, that currently this tool does not detect such slipping >> >> frames. >> >> >> >> I will also write a detailed article with examples, during the weekend. >> >> >> >> >> >> >> >> >> >> >> >>> >> >>> >> >>> 2015-04-04 12:53 GMT+02:00 Stanislav Sinyagin : >> >>>> >> >>>> Important is to send the media through two independent carriers - >> >>>> then you >> >>>> can be sure that your clock is compared against a high quality one. >> >>>> >> >>>> On Apr 4, 2015 12:46 PM, "Regis M" >> >>>> wrote: >> >>>>> >> >>>>> Hi, >> >>>>> >> >>>>> It's a very interresting test and conclusion. >> >>>>> >> >>>>> I will try to build a similar environnement on my freeswitch to >> >>>>> check >> >>>>> some system :) >> >>>>> >> >>>>> thanks >> >>>>> >> >>>>> >> >>>>> >> >>>>> 2015-04-04 2:16 GMT+02:00 Stanislav Sinyagin : >> >>>>>> >> >>>>>> hi, >> >>>>>> >> >>>>>> Here are some test results which might be interesting: >> >>>>>> >> >>>>>> I've set up a test FreeSWITCH server at digitalocean (they use >> >>>>>> KVM), >> >>>>>> and originated test calls to some ITSP accounts. Each call played a >> >>>>>> test sound file (voice samples from ITU: >> >>>>>> >> >>>>>> http://www.itu.int/net/itu-t/sigdb/genaudio/AudioForm-g.aspx?val=1000050 >> >>>>>> ), and on the receiving end another FreeSWITCH server was recording >> >>>>>> the received session. The receiving server was on a XEN VM. Both >> >>>>>> servers talked G711 to their corresponding ITSP accounts. >> >>>>>> >> >>>>>> Then I compared the source audio and received audio in Audacity >> >>>>>> editor. >> >>>>>> >> >>>>>> The tests showed that the received voice wave shifts 20ms from the >> >>>>>> original sound every few seconds, randomly back and forward. This >> >>>>>> skewing was always present, regardless of ITSP and time of day. >> >>>>>> >> >>>>>> Then I moved the sending server to a XEN VM, and the waves appeared >> >>>>>> almost perfectly synchronized (there was a 5ms skew in one test, >> >>>>>> and I >> >>>>>> guess it's related to transcoding buffer, as the sound was >> >>>>>> obviously >> >>>>>> transcoded). >> >>>>>> >> >>>>>> The effect was always visible with a 30-second sample, and I also >> >>>>>> made >> >>>>>> additional tests with 2-minute samples. >> >>>>>> >> >>>>>> It would also be interesting to test this from a VmWare VM. If >> >>>>>> someone >> >>>>>> wants to run such a test, feel free to contact me directly. >> >>>>>> >> >>>>>> >> >>>>>> cheers, >> >>>>>> stan >> >>>>>> >> >>>>>> >> >>>>>> >> >>>>>> _________________________________________________________________________ >> >>>>>> Professional FreeSWITCH Consulting Services: >> >>>>>> consulting at freeswitch.org >> >>>>>> http://www.freeswitchsolutions.com >> >>>>>> >> >>>>>> Official FreeSWITCH Sites >> >>>>>> http://www.freeswitch.org >> >>>>>> http://confluence.freeswitch.org >> >>>>>> http://www.cluecon.com >> >>>>>> >> >>>>>> FreeSWITCH-users mailing list >> >>>>>> FreeSWITCH-users at lists.freeswitch.org >> >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >>>>>> >> >>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> >>>>>> http://www.freeswitch.org >> >>>>> >> >>>>> >> >>>>> >> >>>>> >> >>>>> _________________________________________________________________________ >> >>>>> Professional FreeSWITCH Consulting Services: >> >>>>> consulting at freeswitch.org >> >>>>> http://www.freeswitchsolutions.com >> >>>>> >> >>>>> Official FreeSWITCH Sites >> >>>>> http://www.freeswitch.org >> >>>>> http://confluence.freeswitch.org >> >>>>> http://www.cluecon.com >> >>>>> >> >>>>> FreeSWITCH-users mailing list >> >>>>> FreeSWITCH-users at lists.freeswitch.org >> >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >>>>> >> >>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> >>>>> http://www.freeswitch.org >> >>>> >> >>>> >> >>>> >> >>>> _________________________________________________________________________ >> >>>> Professional FreeSWITCH Consulting Services: >> >>>> consulting at freeswitch.org >> >>>> http://www.freeswitchsolutions.com >> >>>> >> >>>> Official FreeSWITCH Sites >> >>>> http://www.freeswitch.org >> >>>> http://confluence.freeswitch.org >> >>>> http://www.cluecon.com >> >>>> >> >>>> FreeSWITCH-users mailing list >> >>>> FreeSWITCH-users at lists.freeswitch.org >> >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >>>> >> >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> >>>> http://www.freeswitch.org >> >>> >> >>> >> >>> >> >>> >> >>> _________________________________________________________________________ >> >>> Professional FreeSWITCH Consulting Services: >> >>> consulting at freeswitch.org >> >>> http://www.freeswitchsolutions.com >> >>> >> >>> Official FreeSWITCH Sites >> >>> http://www.freeswitch.org >> >>> http://confluence.freeswitch.org >> >>> http://www.cluecon.com >> >>> >> >>> FreeSWITCH-users mailing list >> >>> FreeSWITCH-users at lists.freeswitch.org >> >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >>> >> >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> >>> http://www.freeswitch.org >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org From ali.jibran44 at gmail.com Thu Apr 9 15:49:11 2015 From: ali.jibran44 at gmail.com (Ali Jibran) Date: Thu, 9 Apr 2015 16:49:11 +0500 Subject: [Freeswitch-users] Mod-skypeopen In-Reply-To: References: Message-ID: Mod_callcenter I'll post the logs...but as far as I can see is that it says new channel but doesn't go to ring ready when calling from skypeopen. Where as when calling normally from the trunk the logs show ring ready state. That's the only difference I can see. On Wednesday, April 8, 2015, ?talo Rossi wrote: > mod_callcenter or mod_fifo? > > Post your debug logs reproducing de problem and your configs > > On Wed, Apr 8, 2015 at 2:01 PM, Giovanni Maruzzelli > wrote: > >> sent from my mobile, >> Giovanni Maruzzelli >> cell: +39 347 266 56 18 >> >> On Apr 8, 2015 1:51 PM, "Ali Jibran" > > wrote: >> > >> > Hi. >> > I'm using mod_skypeopen and everything's working fine. >> > >> > The call comes in executes ivr and on DTMF it is forwarded into a >> queue. But for some reasons the phone aren't ringing. >> > >> > I have another trunk attached as a gateway. When I call from that >> number the phones rings fine. >> > >> > Can someone tell me why that is? Thanks. >> >> Is very strange, once inside FS a skype call behaves like a sip call... >> >> Maybe you forgot to set some channel variable? Or something else, >> pertaining to dialplan/scripting? >> >> If you cannot find the reason, please look in the skypopen confluence >> (wiki) page how to report a problem, and open a jira. Is important to give >> us a way to re produce the problem, so remember to read the skypopen page >> paragraph on how to report a.problem. >> >> -giovanni >> >> > >> _________________________________________________________________________ >> > Professional FreeSWITCH Consulting Services: >> > consulting at freeswitch.org >> >> > http://www.freeswitchsolutions.com >> > >> > Official FreeSWITCH Sites >> > http://www.freeswitch.org >> > http://confluence.freeswitch.org >> > http://www.cluecon.com >> > >> > FreeSWITCH-users mailing list >> > FreeSWITCH-users at lists.freeswitch.org >> >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> > UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> > http://www.freeswitch.org >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > ?talo Rossi > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150409/ca38e89b/attachment.html From gmaruzz at gmail.com Thu Apr 9 15:52:27 2015 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Thu, 9 Apr 2015 13:52:27 +0200 Subject: [Freeswitch-users] Mod-skypeopen In-Reply-To: References: Message-ID: Follow the instruction on skypopen wiki/co fluence page on how to report problems, please. sent from my mobile, Giovanni Maruzzelli cell: +39 347 266 56 18 On Apr 9, 2015 1:50 PM, "Ali Jibran" wrote: > Mod_callcenter > > I'll post the logs...but as far as I can see is that it says new channel > but doesn't go to ring ready when calling from skypeopen. > > Where as when calling normally from the trunk the logs show ring ready > state. That's the only difference I can see. > > On Wednesday, April 8, 2015, ?talo Rossi wrote: > >> mod_callcenter or mod_fifo? >> >> Post your debug logs reproducing de problem and your configs >> >> On Wed, Apr 8, 2015 at 2:01 PM, Giovanni Maruzzelli >> wrote: >> >>> sent from my mobile, >>> Giovanni Maruzzelli >>> cell: +39 347 266 56 18 >>> >>> On Apr 8, 2015 1:51 PM, "Ali Jibran" wrote: >>> > >>> > Hi. >>> > I'm using mod_skypeopen and everything's working fine. >>> > >>> > The call comes in executes ivr and on DTMF it is forwarded into a >>> queue. But for some reasons the phone aren't ringing. >>> > >>> > I have another trunk attached as a gateway. When I call from that >>> number the phones rings fine. >>> > >>> > Can someone tell me why that is? Thanks. >>> >>> Is very strange, once inside FS a skype call behaves like a sip call... >>> >>> Maybe you forgot to set some channel variable? Or something else, >>> pertaining to dialplan/scripting? >>> >>> If you cannot find the reason, please look in the skypopen confluence >>> (wiki) page how to report a problem, and open a jira. Is important to give >>> us a way to re produce the problem, so remember to read the skypopen page >>> paragraph on how to report a.problem. >>> >>> -giovanni >>> >>> > >>> _________________________________________________________________________ >>> > Professional FreeSWITCH Consulting Services: >>> > consulting at freeswitch.org >>> > http://www.freeswitchsolutions.com >>> > >>> > Official FreeSWITCH Sites >>> > http://www.freeswitch.org >>> > http://confluence.freeswitch.org >>> > http://www.cluecon.com >>> > >>> > FreeSWITCH-users mailing list >>> > FreeSWITCH-users at lists.freeswitch.org >>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> > UNSUBSCRIBE: >>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>> > http://www.freeswitch.org >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> >> -- >> ?talo Rossi >> > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150409/eebc0d84/attachment-0001.html From ali.jibran44 at gmail.com Thu Apr 9 15:52:27 2015 From: ali.jibran44 at gmail.com (Ali Jibran) Date: Thu, 09 Apr 2015 11:52:27 +0000 Subject: [Freeswitch-users] mod_callcenter Message-ID: Is it possible to stop the MOH and let the caller hear a ringing sound as soon as the agent is in ring ready state? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150409/8451e19d/attachment.html From vipkilla at gmail.com Thu Apr 9 15:58:03 2015 From: vipkilla at gmail.com (Vik Killa) Date: Thu, 9 Apr 2015 07:58:03 -0400 Subject: [Freeswitch-users] mod_callcenter In-Reply-To: References: Message-ID: Ali, Yes, you need to use the tone_stream:// .... Thanks. /V On Thu, Apr 9, 2015 at 7:52 AM, Ali Jibran wrote: > Is it possible to stop the MOH and let the caller hear a ringing sound as > soon as the agent is in ring ready state? > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150409/34bdc3fd/attachment.html From ali.jibran44 at gmail.com Thu Apr 9 16:17:51 2015 From: ali.jibran44 at gmail.com (Ali Jibran) Date: Thu, 9 Apr 2015 17:17:51 +0500 Subject: [Freeswitch-users] mod_callcenter In-Reply-To: References: Message-ID: Can you give me a little detail how to use that and where? Like in the dialplan before I put a call in queue? Or in callcenter.conf? On Thursday, April 9, 2015, Vik Killa wrote: > Ali, > Yes, you need to use the tone_stream:// .... > Thanks. > /V > > On Thu, Apr 9, 2015 at 7:52 AM, Ali Jibran > wrote: > >> Is it possible to stop the MOH and let the caller hear a ringing sound as >> soon as the agent is in ring ready state? >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150409/c3169884/attachment.html From ali.jibran44 at gmail.com Thu Apr 9 16:36:36 2015 From: ali.jibran44 at gmail.com (Ali Jibran) Date: Thu, 9 Apr 2015 17:36:36 +0500 Subject: [Freeswitch-users] mod_callcenter In-Reply-To: References: Message-ID: Ok I figured that out. I meant MOH with a ringing tone. As in the MOH plays but as soon as the agents phone starts ringing the caller hear a tone. Is that possible? On Thursday, April 9, 2015, Ali Jibran wrote: > Can you give me a little detail how to use that and where? > > Like in the dialplan before I put a call in queue? Or in callcenter.conf? > > On Thursday, April 9, 2015, Vik Killa > wrote: > >> Ali, >> Yes, you need to use the tone_stream:// .... >> Thanks. >> /V >> >> On Thu, Apr 9, 2015 at 7:52 AM, Ali Jibran >> wrote: >> >>> Is it possible to stop the MOH and let the caller hear a ringing sound >>> as soon as the agent is in ring ready state? >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150409/d95d27f3/attachment.html From ssinyagin at gmail.com Thu Apr 9 18:12:54 2015 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Thu, 9 Apr 2015 16:12:54 +0200 Subject: [Freeswitch-users] KVM vs. XEN virtualization In-Reply-To: References: Message-ID: I made 5 calls from each of 3 test servers (KVM at DigitalOcean in London, Scaleway physical in Paris, and a XEN host at softronics.ch near Zurich), and the PESQ assessment tool shows varying results: for each host, the MOS score was fluctuating between 2.5 and 3.8. So, KVM doesn't seem to be too bad :-) On Thu, Apr 9, 2015 at 1:21 PM, Stanislav Sinyagin wrote: > thanks, the PESQ tool appears to be open-source and free for > non-commercial use, so I started a series of tests. I'll post an > update. > http://www.itu.int/rec/T-REC-P.862-200511-I!Amd2/en > > > > On Thu, Apr 9, 2015 at 12:36 PM, Jayanth Acharya wrote: >> See if this helps - >> http://www.voip-info.org/wiki/view/Call+Quality+Metrics >> http://www.tamos.com/htmlhelp/voip-analysis/mosandr_factor.htm >> >> >> On Thu, Apr 9, 2015 at 3:18 PM, Stanislav Sinyagin >> wrote: >>> >>> I made additional tests, and... I'm not sure any more. So, I removed >>> the statement about bad precision. This needs a lab environment with >>> predictable network and known CPU load on the host machine. >>> >>> Does anyone know any tools that would automatically detect sound >>> distortions in WAV files and also find the shifts because of slipping >>> clock or lost frames? Up to now, the only tool I could find is >>> visually comparing the waves in Audacity. >>> >>> >>> >>> On Sun, Apr 5, 2015 at 2:37 AM, Stanislav Sinyagin >>> wrote: >>> > here we go: >>> > >>> > https://txlab.wordpress.com/2015/04/05/testing-rtp-clock-precision-on-a-virtual-machine/ >>> > >>> > >>> > >>> > On Sat, Apr 4, 2015 at 4:26 PM, Stanislav Sinyagin >>> > wrote: >>> >> On Sat, Apr 4, 2015 at 1:03 PM, Regis M >>> >> wrote: >>> >>> How do you check wavs together in audacity ? >>> >> >>> >> you just open two WAV files, align their starting position, and >>> >> visually check the waves. If there's a problem, you would see that >>> >> after few seconds, the waves are not aligned any more. >>> >> >>> >>> Can you send me 2 samples wav (send... and recorded) so I could see >>> >>> the 20ms >>> >>> diff that you exposed... >>> >>> >>> >>> Is there a way to automate the result checking, so it could help to >>> >>> monitor >>> >>> itsp quality >>> >> >>> >> Here >>> >> https://github.com/openpreserve/scape-xcorrsound/issues/17 >>> >> this is a link to a tool which compares two sound files at the wave >>> >> level. You can also see the sound samples in the ticket. >>> >> The problem is, that currently this tool does not detect such slipping >>> >> frames. >>> >> >>> >> I will also write a detailed article with examples, during the weekend. >>> >> >>> >> >>> >> >>> >> >>> >> >>> >>> >>> >>> >>> >>> 2015-04-04 12:53 GMT+02:00 Stanislav Sinyagin : >>> >>>> >>> >>>> Important is to send the media through two independent carriers - >>> >>>> then you >>> >>>> can be sure that your clock is compared against a high quality one. >>> >>>> >>> >>>> On Apr 4, 2015 12:46 PM, "Regis M" >>> >>>> wrote: >>> >>>>> >>> >>>>> Hi, >>> >>>>> >>> >>>>> It's a very interresting test and conclusion. >>> >>>>> >>> >>>>> I will try to build a similar environnement on my freeswitch to >>> >>>>> check >>> >>>>> some system :) >>> >>>>> >>> >>>>> thanks >>> >>>>> >>> >>>>> >>> >>>>> >>> >>>>> 2015-04-04 2:16 GMT+02:00 Stanislav Sinyagin : >>> >>>>>> >>> >>>>>> hi, >>> >>>>>> >>> >>>>>> Here are some test results which might be interesting: >>> >>>>>> >>> >>>>>> I've set up a test FreeSWITCH server at digitalocean (they use >>> >>>>>> KVM), >>> >>>>>> and originated test calls to some ITSP accounts. Each call played a >>> >>>>>> test sound file (voice samples from ITU: >>> >>>>>> >>> >>>>>> http://www.itu.int/net/itu-t/sigdb/genaudio/AudioForm-g.aspx?val=1000050 >>> >>>>>> ), and on the receiving end another FreeSWITCH server was recording >>> >>>>>> the received session. The receiving server was on a XEN VM. Both >>> >>>>>> servers talked G711 to their corresponding ITSP accounts. >>> >>>>>> >>> >>>>>> Then I compared the source audio and received audio in Audacity >>> >>>>>> editor. >>> >>>>>> >>> >>>>>> The tests showed that the received voice wave shifts 20ms from the >>> >>>>>> original sound every few seconds, randomly back and forward. This >>> >>>>>> skewing was always present, regardless of ITSP and time of day. >>> >>>>>> >>> >>>>>> Then I moved the sending server to a XEN VM, and the waves appeared >>> >>>>>> almost perfectly synchronized (there was a 5ms skew in one test, >>> >>>>>> and I >>> >>>>>> guess it's related to transcoding buffer, as the sound was >>> >>>>>> obviously >>> >>>>>> transcoded). >>> >>>>>> >>> >>>>>> The effect was always visible with a 30-second sample, and I also >>> >>>>>> made >>> >>>>>> additional tests with 2-minute samples. >>> >>>>>> >>> >>>>>> It would also be interesting to test this from a VmWare VM. If >>> >>>>>> someone >>> >>>>>> wants to run such a test, feel free to contact me directly. >>> >>>>>> >>> >>>>>> >>> >>>>>> cheers, >>> >>>>>> stan >>> >>>>>> >>> >>>>>> >>> >>>>>> >>> >>>>>> _________________________________________________________________________ >>> >>>>>> Professional FreeSWITCH Consulting Services: >>> >>>>>> consulting at freeswitch.org >>> >>>>>> http://www.freeswitchsolutions.com >>> >>>>>> >>> >>>>>> Official FreeSWITCH Sites >>> >>>>>> http://www.freeswitch.org >>> >>>>>> http://confluence.freeswitch.org >>> >>>>>> http://www.cluecon.com >>> >>>>>> >>> >>>>>> FreeSWITCH-users mailing list >>> >>>>>> FreeSWITCH-users at lists.freeswitch.org >>> >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> >>>>>> >>> >>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> >>>>>> http://www.freeswitch.org >>> >>>>> >>> >>>>> >>> >>>>> >>> >>>>> >>> >>>>> _________________________________________________________________________ >>> >>>>> Professional FreeSWITCH Consulting Services: >>> >>>>> consulting at freeswitch.org >>> >>>>> http://www.freeswitchsolutions.com >>> >>>>> >>> >>>>> Official FreeSWITCH Sites >>> >>>>> http://www.freeswitch.org >>> >>>>> http://confluence.freeswitch.org >>> >>>>> http://www.cluecon.com >>> >>>>> >>> >>>>> FreeSWITCH-users mailing list >>> >>>>> FreeSWITCH-users at lists.freeswitch.org >>> >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> >>>>> >>> >>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> >>>>> http://www.freeswitch.org >>> >>>> >>> >>>> >>> >>>> >>> >>>> _________________________________________________________________________ >>> >>>> Professional FreeSWITCH Consulting Services: >>> >>>> consulting at freeswitch.org >>> >>>> http://www.freeswitchsolutions.com >>> >>>> >>> >>>> Official FreeSWITCH Sites >>> >>>> http://www.freeswitch.org >>> >>>> http://confluence.freeswitch.org >>> >>>> http://www.cluecon.com >>> >>>> >>> >>>> FreeSWITCH-users mailing list >>> >>>> FreeSWITCH-users at lists.freeswitch.org >>> >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> >>>> >>> >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> >>>> http://www.freeswitch.org >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> _________________________________________________________________________ >>> >>> Professional FreeSWITCH Consulting Services: >>> >>> consulting at freeswitch.org >>> >>> http://www.freeswitchsolutions.com >>> >>> >>> >>> Official FreeSWITCH Sites >>> >>> http://www.freeswitch.org >>> >>> http://confluence.freeswitch.org >>> >>> http://www.cluecon.com >>> >>> >>> >>> FreeSWITCH-users mailing list >>> >>> FreeSWITCH-users at lists.freeswitch.org >>> >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> >>> >>> >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> >>> http://www.freeswitch.org >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org From s.safarov at gmail.com Thu Apr 9 18:19:53 2015 From: s.safarov at gmail.com (Sergey Safarov) Date: Thu, 9 Apr 2015 17:19:53 +0300 Subject: [Freeswitch-users] KVM vs. XEN virtualization In-Reply-To: References: Message-ID: These results are consistent with FS data in "/var/log/freeswitch/xml_cdr" files? x.xx On Thu, Apr 9, 2015 at 5:12 PM, Stanislav Sinyagin wrote: > I made 5 calls from each of 3 test servers (KVM at DigitalOcean in > London, Scaleway physical in Paris, and a XEN host at softronics.ch > near Zurich), and the PESQ assessment tool shows varying results: for > each host, the MOS score was fluctuating between 2.5 and 3.8. > > So, KVM doesn't seem to be too bad :-) > > > > > On Thu, Apr 9, 2015 at 1:21 PM, Stanislav Sinyagin > wrote: > > thanks, the PESQ tool appears to be open-source and free for > > non-commercial use, so I started a series of tests. I'll post an > > update. > > http://www.itu.int/rec/T-REC-P.862-200511-I!Amd2/en > > > > > > > > On Thu, Apr 9, 2015 at 12:36 PM, Jayanth Acharya > wrote: > >> See if this helps - > >> http://www.voip-info.org/wiki/view/Call+Quality+Metrics > >> http://www.tamos.com/htmlhelp/voip-analysis/mosandr_factor.htm > >> > >> > >> On Thu, Apr 9, 2015 at 3:18 PM, Stanislav Sinyagin > > >> wrote: > >>> > >>> I made additional tests, and... I'm not sure any more. So, I removed > >>> the statement about bad precision. This needs a lab environment with > >>> predictable network and known CPU load on the host machine. > >>> > >>> Does anyone know any tools that would automatically detect sound > >>> distortions in WAV files and also find the shifts because of slipping > >>> clock or lost frames? Up to now, the only tool I could find is > >>> visually comparing the waves in Audacity. > >>> > >>> > >>> > >>> On Sun, Apr 5, 2015 at 2:37 AM, Stanislav Sinyagin < > ssinyagin at gmail.com> > >>> wrote: > >>> > here we go: > >>> > > >>> > > https://txlab.wordpress.com/2015/04/05/testing-rtp-clock-precision-on-a-virtual-machine/ > >>> > > >>> > > >>> > > >>> > On Sat, Apr 4, 2015 at 4:26 PM, Stanislav Sinyagin < > ssinyagin at gmail.com> > >>> > wrote: > >>> >> On Sat, Apr 4, 2015 at 1:03 PM, Regis M > >>> >> wrote: > >>> >>> How do you check wavs together in audacity ? > >>> >> > >>> >> you just open two WAV files, align their starting position, and > >>> >> visually check the waves. If there's a problem, you would see that > >>> >> after few seconds, the waves are not aligned any more. > >>> >> > >>> >>> Can you send me 2 samples wav (send... and recorded) so I could see > >>> >>> the 20ms > >>> >>> diff that you exposed... > >>> >>> > >>> >>> Is there a way to automate the result checking, so it could help to > >>> >>> monitor > >>> >>> itsp quality > >>> >> > >>> >> Here > >>> >> https://github.com/openpreserve/scape-xcorrsound/issues/17 > >>> >> this is a link to a tool which compares two sound files at the wave > >>> >> level. You can also see the sound samples in the ticket. > >>> >> The problem is, that currently this tool does not detect such > slipping > >>> >> frames. > >>> >> > >>> >> I will also write a detailed article with examples, during the > weekend. > >>> >> > >>> >> > >>> >> > >>> >> > >>> >> > >>> >>> > >>> >>> > >>> >>> 2015-04-04 12:53 GMT+02:00 Stanislav Sinyagin >: > >>> >>>> > >>> >>>> Important is to send the media through two independent carriers - > >>> >>>> then you > >>> >>>> can be sure that your clock is compared against a high quality > one. > >>> >>>> > >>> >>>> On Apr 4, 2015 12:46 PM, "Regis M" < > regis.freeswitch.org at tornad.net> > >>> >>>> wrote: > >>> >>>>> > >>> >>>>> Hi, > >>> >>>>> > >>> >>>>> It's a very interresting test and conclusion. > >>> >>>>> > >>> >>>>> I will try to build a similar environnement on my freeswitch to > >>> >>>>> check > >>> >>>>> some system :) > >>> >>>>> > >>> >>>>> thanks > >>> >>>>> > >>> >>>>> > >>> >>>>> > >>> >>>>> 2015-04-04 2:16 GMT+02:00 Stanislav Sinyagin < > ssinyagin at gmail.com>: > >>> >>>>>> > >>> >>>>>> hi, > >>> >>>>>> > >>> >>>>>> Here are some test results which might be interesting: > >>> >>>>>> > >>> >>>>>> I've set up a test FreeSWITCH server at digitalocean (they use > >>> >>>>>> KVM), > >>> >>>>>> and originated test calls to some ITSP accounts. Each call > played a > >>> >>>>>> test sound file (voice samples from ITU: > >>> >>>>>> > >>> >>>>>> > http://www.itu.int/net/itu-t/sigdb/genaudio/AudioForm-g.aspx?val=1000050 > >>> >>>>>> ), and on the receiving end another FreeSWITCH server was > recording > >>> >>>>>> the received session. The receiving server was on a XEN VM. Both > >>> >>>>>> servers talked G711 to their corresponding ITSP accounts. > >>> >>>>>> > >>> >>>>>> Then I compared the source audio and received audio in Audacity > >>> >>>>>> editor. > >>> >>>>>> > >>> >>>>>> The tests showed that the received voice wave shifts 20ms from > the > >>> >>>>>> original sound every few seconds, randomly back and forward. > This > >>> >>>>>> skewing was always present, regardless of ITSP and time of day. > >>> >>>>>> > >>> >>>>>> Then I moved the sending server to a XEN VM, and the waves > appeared > >>> >>>>>> almost perfectly synchronized (there was a 5ms skew in one test, > >>> >>>>>> and I > >>> >>>>>> guess it's related to transcoding buffer, as the sound was > >>> >>>>>> obviously > >>> >>>>>> transcoded). > >>> >>>>>> > >>> >>>>>> The effect was always visible with a 30-second sample, and I > also > >>> >>>>>> made > >>> >>>>>> additional tests with 2-minute samples. > >>> >>>>>> > >>> >>>>>> It would also be interesting to test this from a VmWare VM. If > >>> >>>>>> someone > >>> >>>>>> wants to run such a test, feel free to contact me directly. > >>> >>>>>> > >>> >>>>>> > >>> >>>>>> cheers, > >>> >>>>>> stan > >>> >>>>>> > >>> >>>>>> > >>> >>>>>> > >>> >>>>>> > _________________________________________________________________________ > >>> >>>>>> Professional FreeSWITCH Consulting Services: > >>> >>>>>> consulting at freeswitch.org > >>> >>>>>> http://www.freeswitchsolutions.com > >>> >>>>>> > >>> >>>>>> Official FreeSWITCH Sites > >>> >>>>>> http://www.freeswitch.org > >>> >>>>>> http://confluence.freeswitch.org > >>> >>>>>> http://www.cluecon.com > >>> >>>>>> > >>> >>>>>> FreeSWITCH-users mailing list > >>> >>>>>> FreeSWITCH-users at lists.freeswitch.org > >>> >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >>> >>>>>> > >>> >>>>>> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >>> >>>>>> http://www.freeswitch.org > >>> >>>>> > >>> >>>>> > >>> >>>>> > >>> >>>>> > >>> >>>>> > _________________________________________________________________________ > >>> >>>>> Professional FreeSWITCH Consulting Services: > >>> >>>>> consulting at freeswitch.org > >>> >>>>> http://www.freeswitchsolutions.com > >>> >>>>> > >>> >>>>> Official FreeSWITCH Sites > >>> >>>>> http://www.freeswitch.org > >>> >>>>> http://confluence.freeswitch.org > >>> >>>>> http://www.cluecon.com > >>> >>>>> > >>> >>>>> FreeSWITCH-users mailing list > >>> >>>>> FreeSWITCH-users at lists.freeswitch.org > >>> >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >>> >>>>> > >>> >>>>> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >>> >>>>> http://www.freeswitch.org > >>> >>>> > >>> >>>> > >>> >>>> > >>> >>>> > _________________________________________________________________________ > >>> >>>> Professional FreeSWITCH Consulting Services: > >>> >>>> consulting at freeswitch.org > >>> >>>> http://www.freeswitchsolutions.com > >>> >>>> > >>> >>>> Official FreeSWITCH Sites > >>> >>>> http://www.freeswitch.org > >>> >>>> http://confluence.freeswitch.org > >>> >>>> http://www.cluecon.com > >>> >>>> > >>> >>>> FreeSWITCH-users mailing list > >>> >>>> FreeSWITCH-users at lists.freeswitch.org > >>> >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >>> >>>> > >>> >>>> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >>> >>>> http://www.freeswitch.org > >>> >>> > >>> >>> > >>> >>> > >>> >>> > >>> >>> > _________________________________________________________________________ > >>> >>> Professional FreeSWITCH Consulting Services: > >>> >>> consulting at freeswitch.org > >>> >>> http://www.freeswitchsolutions.com > >>> >>> > >>> >>> Official FreeSWITCH Sites > >>> >>> http://www.freeswitch.org > >>> >>> http://confluence.freeswitch.org > >>> >>> http://www.cluecon.com > >>> >>> > >>> >>> FreeSWITCH-users mailing list > >>> >>> FreeSWITCH-users at lists.freeswitch.org > >>> >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >>> >>> > >>> >>> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >>> >>> http://www.freeswitch.org > >>> > >>> > _________________________________________________________________________ > >>> Professional FreeSWITCH Consulting Services: > >>> consulting at freeswitch.org > >>> http://www.freeswitchsolutions.com > >>> > >>> Official FreeSWITCH Sites > >>> http://www.freeswitch.org > >>> http://confluence.freeswitch.org > >>> http://www.cluecon.com > >>> > >>> FreeSWITCH-users mailing list > >>> FreeSWITCH-users at lists.freeswitch.org > >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >>> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >>> http://www.freeswitch.org > >> > >> > >> > >> > _________________________________________________________________________ > >> Professional FreeSWITCH Consulting Services: > >> consulting at freeswitch.org > >> http://www.freeswitchsolutions.com > >> > >> Official FreeSWITCH Sites > >> http://www.freeswitch.org > >> http://confluence.freeswitch.org > >> http://www.cluecon.com > >> > >> FreeSWITCH-users mailing list > >> FreeSWITCH-users at lists.freeswitch.org > >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >> http://www.freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150409/046f9ab4/attachment-0001.html From ssinyagin at gmail.com Thu Apr 9 18:34:49 2015 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Thu, 9 Apr 2015 16:34:49 +0200 Subject: [Freeswitch-users] KVM vs. XEN virtualization In-Reply-To: References: Message-ID: I wasn't collecting xml_cdr, and the PESQ tool compared the original audio with the recorded session, so its output would be more reliable anyway. On Thu, Apr 9, 2015 at 4:19 PM, Sergey Safarov wrote: > These results are consistent with FS data in "/var/log/freeswitch/xml_cdr" > files? > x.xx > > > On Thu, Apr 9, 2015 at 5:12 PM, Stanislav Sinyagin > wrote: >> >> I made 5 calls from each of 3 test servers (KVM at DigitalOcean in >> London, Scaleway physical in Paris, and a XEN host at softronics.ch >> near Zurich), and the PESQ assessment tool shows varying results: for >> each host, the MOS score was fluctuating between 2.5 and 3.8. >> >> So, KVM doesn't seem to be too bad :-) >> >> >> >> >> On Thu, Apr 9, 2015 at 1:21 PM, Stanislav Sinyagin >> wrote: >> > thanks, the PESQ tool appears to be open-source and free for >> > non-commercial use, so I started a series of tests. I'll post an >> > update. >> > http://www.itu.int/rec/T-REC-P.862-200511-I!Amd2/en >> > >> > >> > >> > On Thu, Apr 9, 2015 at 12:36 PM, Jayanth Acharya >> > wrote: >> >> See if this helps - >> >> http://www.voip-info.org/wiki/view/Call+Quality+Metrics >> >> http://www.tamos.com/htmlhelp/voip-analysis/mosandr_factor.htm >> >> >> >> >> >> On Thu, Apr 9, 2015 at 3:18 PM, Stanislav Sinyagin >> >> >> >> wrote: >> >>> >> >>> I made additional tests, and... I'm not sure any more. So, I removed >> >>> the statement about bad precision. This needs a lab environment with >> >>> predictable network and known CPU load on the host machine. >> >>> >> >>> Does anyone know any tools that would automatically detect sound >> >>> distortions in WAV files and also find the shifts because of slipping >> >>> clock or lost frames? Up to now, the only tool I could find is >> >>> visually comparing the waves in Audacity. >> >>> >> >>> >> >>> >> >>> On Sun, Apr 5, 2015 at 2:37 AM, Stanislav Sinyagin >> >>> >> >>> wrote: >> >>> > here we go: >> >>> > >> >>> > >> >>> > https://txlab.wordpress.com/2015/04/05/testing-rtp-clock-precision-on-a-virtual-machine/ >> >>> > >> >>> > >> >>> > >> >>> > On Sat, Apr 4, 2015 at 4:26 PM, Stanislav Sinyagin >> >>> > >> >>> > wrote: >> >>> >> On Sat, Apr 4, 2015 at 1:03 PM, Regis M >> >>> >> wrote: >> >>> >>> How do you check wavs together in audacity ? >> >>> >> >> >>> >> you just open two WAV files, align their starting position, and >> >>> >> visually check the waves. If there's a problem, you would see that >> >>> >> after few seconds, the waves are not aligned any more. >> >>> >> >> >>> >>> Can you send me 2 samples wav (send... and recorded) so I could >> >>> >>> see >> >>> >>> the 20ms >> >>> >>> diff that you exposed... >> >>> >>> >> >>> >>> Is there a way to automate the result checking, so it could help >> >>> >>> to >> >>> >>> monitor >> >>> >>> itsp quality >> >>> >> >> >>> >> Here >> >>> >> https://github.com/openpreserve/scape-xcorrsound/issues/17 >> >>> >> this is a link to a tool which compares two sound files at the wave >> >>> >> level. You can also see the sound samples in the ticket. >> >>> >> The problem is, that currently this tool does not detect such >> >>> >> slipping >> >>> >> frames. >> >>> >> >> >>> >> I will also write a detailed article with examples, during the >> >>> >> weekend. >> >>> >> >> >>> >> >> >>> >> >> >>> >> >> >>> >> >> >>> >>> >> >>> >>> >> >>> >>> 2015-04-04 12:53 GMT+02:00 Stanislav Sinyagin >> >>> >>> : >> >>> >>>> >> >>> >>>> Important is to send the media through two independent carriers - >> >>> >>>> then you >> >>> >>>> can be sure that your clock is compared against a high quality >> >>> >>>> one. >> >>> >>>> >> >>> >>>> On Apr 4, 2015 12:46 PM, "Regis M" >> >>> >>>> >> >>> >>>> wrote: >> >>> >>>>> >> >>> >>>>> Hi, >> >>> >>>>> >> >>> >>>>> It's a very interresting test and conclusion. >> >>> >>>>> >> >>> >>>>> I will try to build a similar environnement on my freeswitch to >> >>> >>>>> check >> >>> >>>>> some system :) >> >>> >>>>> >> >>> >>>>> thanks >> >>> >>>>> >> >>> >>>>> >> >>> >>>>> >> >>> >>>>> 2015-04-04 2:16 GMT+02:00 Stanislav Sinyagin >> >>> >>>>> : >> >>> >>>>>> >> >>> >>>>>> hi, >> >>> >>>>>> >> >>> >>>>>> Here are some test results which might be interesting: >> >>> >>>>>> >> >>> >>>>>> I've set up a test FreeSWITCH server at digitalocean (they use >> >>> >>>>>> KVM), >> >>> >>>>>> and originated test calls to some ITSP accounts. Each call >> >>> >>>>>> played a >> >>> >>>>>> test sound file (voice samples from ITU: >> >>> >>>>>> >> >>> >>>>>> >> >>> >>>>>> http://www.itu.int/net/itu-t/sigdb/genaudio/AudioForm-g.aspx?val=1000050 >> >>> >>>>>> ), and on the receiving end another FreeSWITCH server was >> >>> >>>>>> recording >> >>> >>>>>> the received session. The receiving server was on a XEN VM. >> >>> >>>>>> Both >> >>> >>>>>> servers talked G711 to their corresponding ITSP accounts. >> >>> >>>>>> >> >>> >>>>>> Then I compared the source audio and received audio in Audacity >> >>> >>>>>> editor. >> >>> >>>>>> >> >>> >>>>>> The tests showed that the received voice wave shifts 20ms from >> >>> >>>>>> the >> >>> >>>>>> original sound every few seconds, randomly back and forward. >> >>> >>>>>> This >> >>> >>>>>> skewing was always present, regardless of ITSP and time of day. >> >>> >>>>>> >> >>> >>>>>> Then I moved the sending server to a XEN VM, and the waves >> >>> >>>>>> appeared >> >>> >>>>>> almost perfectly synchronized (there was a 5ms skew in one >> >>> >>>>>> test, >> >>> >>>>>> and I >> >>> >>>>>> guess it's related to transcoding buffer, as the sound was >> >>> >>>>>> obviously >> >>> >>>>>> transcoded). >> >>> >>>>>> >> >>> >>>>>> The effect was always visible with a 30-second sample, and I >> >>> >>>>>> also >> >>> >>>>>> made >> >>> >>>>>> additional tests with 2-minute samples. >> >>> >>>>>> >> >>> >>>>>> It would also be interesting to test this from a VmWare VM. If >> >>> >>>>>> someone >> >>> >>>>>> wants to run such a test, feel free to contact me directly. >> >>> >>>>>> >> >>> >>>>>> >> >>> >>>>>> cheers, >> >>> >>>>>> stan >> >>> >>>>>> >> >>> >>>>>> >> >>> >>>>>> >> >>> >>>>>> >> >>> >>>>>> _________________________________________________________________________ >> >>> >>>>>> Professional FreeSWITCH Consulting Services: >> >>> >>>>>> consulting at freeswitch.org >> >>> >>>>>> http://www.freeswitchsolutions.com >> >>> >>>>>> >> >>> >>>>>> Official FreeSWITCH Sites >> >>> >>>>>> http://www.freeswitch.org >> >>> >>>>>> http://confluence.freeswitch.org >> >>> >>>>>> http://www.cluecon.com >> >>> >>>>>> >> >>> >>>>>> FreeSWITCH-users mailing list >> >>> >>>>>> FreeSWITCH-users at lists.freeswitch.org >> >>> >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >>> >>>>>> >> >>> >>>>>> >> >>> >>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> >>> >>>>>> http://www.freeswitch.org >> >>> >>>>> >> >>> >>>>> >> >>> >>>>> >> >>> >>>>> >> >>> >>>>> >> >>> >>>>> _________________________________________________________________________ >> >>> >>>>> Professional FreeSWITCH Consulting Services: >> >>> >>>>> consulting at freeswitch.org >> >>> >>>>> http://www.freeswitchsolutions.com >> >>> >>>>> >> >>> >>>>> Official FreeSWITCH Sites >> >>> >>>>> http://www.freeswitch.org >> >>> >>>>> http://confluence.freeswitch.org >> >>> >>>>> http://www.cluecon.com >> >>> >>>>> >> >>> >>>>> FreeSWITCH-users mailing list >> >>> >>>>> FreeSWITCH-users at lists.freeswitch.org >> >>> >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >>> >>>>> >> >>> >>>>> >> >>> >>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> >>> >>>>> http://www.freeswitch.org >> >>> >>>> >> >>> >>>> >> >>> >>>> >> >>> >>>> >> >>> >>>> _________________________________________________________________________ >> >>> >>>> Professional FreeSWITCH Consulting Services: >> >>> >>>> consulting at freeswitch.org >> >>> >>>> http://www.freeswitchsolutions.com >> >>> >>>> >> >>> >>>> Official FreeSWITCH Sites >> >>> >>>> http://www.freeswitch.org >> >>> >>>> http://confluence.freeswitch.org >> >>> >>>> http://www.cluecon.com >> >>> >>>> >> >>> >>>> FreeSWITCH-users mailing list >> >>> >>>> FreeSWITCH-users at lists.freeswitch.org >> >>> >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >>> >>>> >> >>> >>>> >> >>> >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> >>> >>>> http://www.freeswitch.org >> >>> >>> >> >>> >>> >> >>> >>> >> >>> >>> >> >>> >>> >> >>> >>> _________________________________________________________________________ >> >>> >>> Professional FreeSWITCH Consulting Services: >> >>> >>> consulting at freeswitch.org >> >>> >>> http://www.freeswitchsolutions.com >> >>> >>> >> >>> >>> Official FreeSWITCH Sites >> >>> >>> http://www.freeswitch.org >> >>> >>> http://confluence.freeswitch.org >> >>> >>> http://www.cluecon.com >> >>> >>> >> >>> >>> FreeSWITCH-users mailing list >> >>> >>> FreeSWITCH-users at lists.freeswitch.org >> >>> >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >>> >>> >> >>> >>> >> >>> >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> >>> >>> http://www.freeswitch.org >> >>> >> >>> >> >>> _________________________________________________________________________ >> >>> Professional FreeSWITCH Consulting Services: >> >>> consulting at freeswitch.org >> >>> http://www.freeswitchsolutions.com >> >>> >> >>> Official FreeSWITCH Sites >> >>> http://www.freeswitch.org >> >>> http://confluence.freeswitch.org >> >>> http://www.cluecon.com >> >>> >> >>> FreeSWITCH-users mailing list >> >>> FreeSWITCH-users at lists.freeswitch.org >> >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >>> >> >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> >>> http://www.freeswitch.org >> >> >> >> >> >> >> >> >> >> _________________________________________________________________________ >> >> Professional FreeSWITCH Consulting Services: >> >> consulting at freeswitch.org >> >> http://www.freeswitchsolutions.com >> >> >> >> Official FreeSWITCH Sites >> >> http://www.freeswitch.org >> >> http://confluence.freeswitch.org >> >> http://www.cluecon.com >> >> >> >> FreeSWITCH-users mailing list >> >> FreeSWITCH-users at lists.freeswitch.org >> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >> >> >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> >> http://www.freeswitch.org >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org From ssinyagin at gmail.com Thu Apr 9 18:58:11 2015 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Thu, 9 Apr 2015 16:58:11 +0200 Subject: [Freeswitch-users] ARM servers at Scaleway.com In-Reply-To: References: Message-ID: I started running this test: https://txlab.wordpress.com/2014/04/18/freeswitch-performance-test-on-pc-engines-apu/ with 45 active channels, the quality was completely fine. Later I will try to bring it to the maximum. On Wed, Apr 8, 2015 at 1:23 PM, Andrew Cassidy < andrew at cassidywebservices.co.uk> wrote: > I'd be interested to see some benchmarks and load testing. > > > On 8 April 2015 at 11:22, Stanislav Sinyagin wrote: > >> Scaleway > > > > > > -- > *Andrew Cassidy BSc (Hons) MBCS SSCA* > Managing Director > > > *T *03300 100 960 *F > *03300 100 961 > *E *andrew at cassidywebservices.co.uk > *W *www.cassidywebservices.co.uk > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150409/b0168e70/attachment.html From adam.ben.ayoun1 at gmail.com Thu Apr 9 19:30:37 2015 From: adam.ben.ayoun1 at gmail.com (Adam Ben-Ayoun) Date: Thu, 9 Apr 2015 18:30:37 +0300 Subject: [Freeswitch-users] Video with mod_conference Message-ID: Hi guys, I am experimenting with mod_conference and video, I have a conference (not in video-bridge mode), I am connecting with 2 clients using SIPjs, my goal is to have video from client1 to client2. Here is what I'v tried: Assume client1 is the broadcaster while client2 is the receiver. Client1 connects to the conference first, he is floor at this point: freeswitch at internal> conference list Conference 1234-172.30.3.212 (2 members rate: 16000 flags: running|answered|enforce_min|dynamic|exit_sound|enter_sound) 1;sofia/internal/anonymous.2po4ni at anonymous.invalid ;7c8e7494-decc-11e4-93cd-2391a0614a29;anonymous.2po4ni;anonymous.2po4ni;video|floor;0;0;0;0 Now, client2 joins in, as expected, client1 is still floor: freeswitch at internal> conference list Conference 1234-172.30.3.212 (2 members rate: 16000 flags: running|answered|enforce_min|dynamic|exit_sound|enter_sound) 2;sofia/internal/anonymous.hgbmm4 at anonymous.invalid ;80a2f38e-decc-11e4-93d3-2391a0614a29;anonymous.hgbmm4;anonymous.hgbmm4;video;0;0;0;0 1;sofia/internal/anonymous.2po4ni at anonymous.invalid ;7c8e7494-decc-11e4-93cd-2391a0614a29;anonymous.2po4ni;anonymous.2po4ni;video|floor;0;0;0;0 No video goes through to client2. Now, if I am setting client2 as floor and then setting back client1 as floor, video start to come in.. And just before the video starts, the log shows that client2's video DTLS handshake becomes READY: 2015-04-09 15:24:40.391590 [DEBUG] switch_core_media.c:4361 sofia/internal/anonymous.2po4ni at anonymous.invalid Video thread resumed Echo is off 2015-04-09 15:24:41.851825 [INFO] switch_rtp.c:2923 Changing video DTLS state from HANDSHAKE to SETUP 2015-04-09 15:24:41.851825 [INFO] switch_rtp.c:2831 video Fingerprint Verified. 2015-04-09 15:24:41.851825 [INFO] switch_rtp.c:3373 Activating Video Secure RTP SEND 2015-04-09 15:24:41.851825 [INFO] switch_rtp.c:3351 Activating Video Secure RTP RECV 2015-04-09 15:24:41.851825 [INFO] switch_rtp.c:2871 Changing video DTLS state from SETUP to READY In addition, even before doing the floor toggle to get the video going, I see mod_conference's video thread doing: switch_core_session_write_video_frame(imember->session, vid_frame, SWITCH_IO_FLAG_NONE, 0); on line 2991. Something in the video thread seems to delay/lock the video DTLS handshake.... Any idea? Thanks! Adam -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150409/09faa23c/attachment.html From dvl36.ripe.nick at gmail.com Thu Apr 9 21:09:40 2015 From: dvl36.ripe.nick at gmail.com (Dmitry Lysenko) Date: Thu, 9 Apr 2015 20:09:40 +0300 Subject: [Freeswitch-users] KVM vs. XEN virtualization In-Reply-To: References: Message-ID: 2015-04-08 15:25 GMT+03:00 Sergey Safarov : > 1) 125uS is the interval between FrameSync of ONE(!) PCM sample at 8000hz, > But here we are talking about packet telephony where commonly used frame > length is 20000 uS. > So, intervals for testing should be 5000-10000-20000uS, not 125uS. > > Not all FS installation has SIP endpoint. Some can have TDM cards, USB > dongle and other analog equipment. Can you say what is length of this frame > type? > I am wondering about this question. I know that the frame 125ms is enough. > Most(if not all) of modern equipment have buffers. TDM cards too. Even $0.25 microcontrollers have buffers. Firing interrupts at each PCM sample not needed. If you want massive sync audio processing (w/o buffering) you can use hard realtime OS. PC and Linux (even on bare metal) is not suitable for this, at least without RT patched kernel. > 2) Why you decided that all of 42 threads should wake up simultaneously? > That totally impossible in real world applications. > Here should be tens of uS. Dependent of network card and, possibly, other > I/O hardware. > > Can you say how many FS create threads for 40-50 active calls? > AFAIR, 1 thread per call leg, but depends of endpoints. Most of time threads in I/O waiting/sleeping and encoding/decoding state. > 3) -q switch is missing > I am thinking it is optional. Result is same > Dynamic output to screen consumes resources. How much, depends on method.(VGA, Serial console, SSH). In my case difference is significiant. So, fair testing should exclude such things, IMO. > 4) Precise time measurement and realtime processing in VM environment is > a challenge. > To obtain acceptable results fine tuning of host's and guest's required. > WIthout that this numbers ... does not mean anything. > > Can you learn me how to correctly measure timer source quality in VM? > Serious players, as Wind River, use external timer. In your case, most capable realtime hypervisor with RT_PREEMPT guest would be one of the best solution. Dmitry. > On Wed, Apr 8, 2015 at 2:07 PM, Dmitry Lysenko > wrote: > >> 2015-04-07 10:48 GMT+03:00 Sergey Safarov : >> >>> ... >>> 2) i 125 - time us between software timer interrupts for first thread. >>> It time is equal time between samples rate in PSTN networks >>> In order to maintain our sampling rate we have 125 microseconds (uS) >>> between consecutive samples (1/8,000Hz), which is more >>> >> ... >>> >> >> 125uS is the interval between FrameSync of ONE(!) PCM sample at 8000hz, >> But here we are talking about packet telephony where commonly used frame >> length is 20000 uS. >> So, intervals for testing should be 5000-10000-20000uS, not 125uS. >> >> >>> 3) d 0 - this switch will make time between software timer interrupts >>> for second and following threads is equal timer value for first thread >>> >> >> Why you decided that all of 42 threads should wake up simultaneously? >> That totally impossible in real world applications. >> Here should be tens of uS. Dependent of network card and, possibly, other >> I/O hardware. >> >> >>> 4) l 240000 - how many timer test must be made. It is adjusted for 30 s >>> overall test >>> 5) n - use clock_nanosleep. it is allow take more accurate timer test >>> values on my VM >>> 6) p 80 - it is copied from example on Cyclictest page >>> >> >> -q switch is missing. >> >> >>> And how in your opinion this numbers are related to Freeswitch in VM >>> environment? >>> Relation between Cyclictest switches and FS described above. >>> Relation betwen Cyclictest results and FS simple >>> >> >> Precise time measurement and realtime processing in VM environment is a >> challenge. >> To obtain acceptable results fine tuning of host's and guest's required. >> WIthout that this numbers ... does not mean anything. >> >> >> On Tue, Apr 7, 2015 at 5:38 AM, Dmitry Lysenko >> > wrote: >>> >>>> Sergey, >>>> Why you suggest to use exactly this numbers in cyclictest's switches? >>>> And how in your opinion this numbers are related to Freeswitch in VM >>>> environment? >>>> >>>> P.S. >>>> https://mindlinux.wordpress.com/2013/10/25/using-and-understanding-the-real-time-cyclictest-benchmark-frank-rowand-sony/ >>>> >>>> 2015-04-06 15:27 GMT+03:00 Sergey Safarov : >>>> >>>>> Errol can you test VM timer with utility >>>>> https://rt.wiki.kernel.org/index.php/Cyclictest >>>>> >>>>> My VM currently have folowing results >>>>> >>>>> [root at fs1 ~]# date && /tmp/rt-tests/cyclictest -t42 -p 80 -d 0 -n -i 125 -l 240000 && date >>>>> Sun Apr 5 07:01:31 GMT 2015 >>>>> # /dev/cpu_dma_latency set to 0us >>>>> policy: fifo: loadavg: 2.38 0.93 0.50 1/194 1574 >>>>> >>>>> T: 0 ( 1531) P:80 I:125 C: 240000 Min: 2 Act: 12 Avg: 16 Max: 1302 >>>>> T: 1 ( 1532) P:80 I:125 C: 240000 Min: 2 Act: 15 Avg: 14 Max: 2895 >>>>> T: 2 ( 1533) P:80 I:125 C: 240000 Min: 3 Act: 10 Avg: 12 Max: 2888 >>>>> T: 3 ( 1534) P:80 I:125 C: 240000 Min: 1 Act: 16 Avg: 13 Max: 1333 >>>>> T: 4 ( 1535) P:80 I:125 C: 240000 Min: 2 Act: 20 Avg: 14 Max: 2962 >>>>> T: 5 ( 1536) P:80 I:125 C: 240000 Min: 1 Act: 12 Avg: 14 Max: 2946 >>>>> T: 6 ( 1537) P:80 I:125 C: 240000 Min: 2 Act: 10 Avg: 13 Max: 1363 >>>>> T: 7 ( 1538) P:80 I:125 C: 240000 Min: 2 Act: 12 Avg: 13 Max: 1344 >>>>> T: 8 ( 1539) P:80 I:125 C: 240000 Min: 3 Act: 12 Avg: 16 Max: 1408 >>>>> T: 9 ( 1540) P:80 I:125 C: 240000 Min: 1 Act: 8 Avg: 13 Max: 2882 >>>>> T:10 ( 1541) P:80 I:125 C: 239974 Min: 2 Act: 12 Avg: 13 Max: 2908 >>>>> >>>>> >>>>> On Mon, Apr 6, 2015 at 11:15 AM, Errol Samuels >>>>> wrote: >>>>> >>>>>> Good job and Thanks for sharing! >>>>>> >>>>>> KVM at digitalocean.com, Debian 7 64bit, FreeSWITCH 1.4.15: bad >>>>>>> precision >>>>>> >>>>>> >>>>>> As someone who has been using KVM for a few years and has just >>>>>> migrated about 20 VMs across to Digital Ocean about 6 weeks ago I admit I >>>>>> am a little concerned about this finding. >>>>>> >>>>>> Just out of curiosity can you tell me the specs of the VM that you >>>>>> tested with and which DO Datacenter? I am using NYC3 so perhaps and I will >>>>>> do some tests as soon as I have some time. >>>>>> >>>>>> With regards to Xen was this at Linode or inhouse? >>>>>> >>>>>> Thanks >>>>>> >>>>>> Errol >>>>>> >>>>>> >>>>>> >>>>>> On Sun, Apr 5, 2015 at 1:37 AM, Stanislav Sinyagin < >>>>>> ssinyagin at gmail.com> wrote: >>>>>> >>>>>>> here we go: >>>>>>> >>>>>>> https://txlab.wordpress.com/2015/04/05/testing-rtp-clock-precision-on-a-virtual-machine/ >>>>>>> >>>>>>> >>>>>>> >>>>>>> On Sat, Apr 4, 2015 at 4:26 PM, Stanislav Sinyagin < >>>>>>> ssinyagin at gmail.com> wrote: >>>>>>> > On Sat, Apr 4, 2015 at 1:03 PM, Regis M < >>>>>>> regis.freeswitch.org at tornad.net> wrote: >>>>>>> >> How do you check wavs together in audacity ? >>>>>>> > >>>>>>> > you just open two WAV files, align their starting position, and >>>>>>> > visually check the waves. If there's a problem, you would see that >>>>>>> > after few seconds, the waves are not aligned any more. >>>>>>> > >>>>>>> >> Can you send me 2 samples wav (send... and recorded) so I could >>>>>>> see the 20ms >>>>>>> >> diff that you exposed... >>>>>>> >> >>>>>>> >> Is there a way to automate the result checking, so it could help >>>>>>> to monitor >>>>>>> >> itsp quality >>>>>>> > >>>>>>> > Here >>>>>>> > https://github.com/openpreserve/scape-xcorrsound/issues/17 >>>>>>> > this is a link to a tool which compares two sound files at the wave >>>>>>> > level. You can also see the sound samples in the ticket. >>>>>>> > The problem is, that currently this tool does not detect such >>>>>>> slipping frames. >>>>>>> > >>>>>>> > I will also write a detailed article with examples, during the >>>>>>> weekend. >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> >> >>>>>>> >> >>>>>>> >> 2015-04-04 12:53 GMT+02:00 Stanislav Sinyagin < >>>>>>> ssinyagin at gmail.com>: >>>>>>> >>> >>>>>>> >>> Important is to send the media through two independent carriers >>>>>>> - then you >>>>>>> >>> can be sure that your clock is compared against a high quality >>>>>>> one. >>>>>>> >>> >>>>>>> >>> On Apr 4, 2015 12:46 PM, "Regis M" < >>>>>>> regis.freeswitch.org at tornad.net> >>>>>>> >>> wrote: >>>>>>> >>>> >>>>>>> >>>> Hi, >>>>>>> >>>> >>>>>>> >>>> It's a very interresting test and conclusion. >>>>>>> >>>> >>>>>>> >>>> I will try to build a similar environnement on my freeswitch to >>>>>>> check >>>>>>> >>>> some system :) >>>>>>> >>>> >>>>>>> >>>> thanks >>>>>>> >>>> >>>>>>> >>>> >>>>>>> >>>> >>>>>>> >>>> 2015-04-04 2:16 GMT+02:00 Stanislav Sinyagin < >>>>>>> ssinyagin at gmail.com>: >>>>>>> >>>>> >>>>>>> >>>>> hi, >>>>>>> >>>>> >>>>>>> >>>>> Here are some test results which might be interesting: >>>>>>> >>>>> >>>>>>> >>>>> I've set up a test FreeSWITCH server at digitalocean (they use >>>>>>> KVM), >>>>>>> >>>>> and originated test calls to some ITSP accounts. Each call >>>>>>> played a >>>>>>> >>>>> test sound file (voice samples from ITU: >>>>>>> >>>>> >>>>>>> http://www.itu.int/net/itu-t/sigdb/genaudio/AudioForm-g.aspx?val=1000050 >>>>>>> >>>>> ), and on the receiving end another FreeSWITCH server was >>>>>>> recording >>>>>>> >>>>> the received session. The receiving server was on a XEN VM. >>>>>>> Both >>>>>>> >>>>> servers talked G711 to their corresponding ITSP accounts. >>>>>>> >>>>> >>>>>>> >>>>> Then I compared the source audio and received audio in >>>>>>> Audacity editor. >>>>>>> >>>>> >>>>>>> >>>>> The tests showed that the received voice wave shifts 20ms from >>>>>>> the >>>>>>> >>>>> original sound every few seconds, randomly back and forward. >>>>>>> This >>>>>>> >>>>> skewing was always present, regardless of ITSP and time of day. >>>>>>> >>>>> >>>>>>> >>>>> Then I moved the sending server to a XEN VM, and the waves >>>>>>> appeared >>>>>>> >>>>> almost perfectly synchronized (there was a 5ms skew in one >>>>>>> test, and I >>>>>>> >>>>> guess it's related to transcoding buffer, as the sound was >>>>>>> obviously >>>>>>> >>>>> transcoded). >>>>>>> >>>>> >>>>>>> >>>>> The effect was always visible with a 30-second sample, and I >>>>>>> also made >>>>>>> >>>>> additional tests with 2-minute samples. >>>>>>> >>>>> >>>>>>> >>>>> It would also be interesting to test this from a VmWare VM. If >>>>>>> someone >>>>>>> >>>>> wants to run such a test, feel free to contact me directly. >>>>>>> >>>>> >>>>>>> >>>>> >>>>>>> >>>>> cheers, >>>>>>> >>>>> stan >>>>>>> >>>>> >>>>>>> >>>>> >>>>>>> >>>>> >>>>>>> _________________________________________________________________________ >>>>>>> >>>>> Professional FreeSWITCH Consulting Services: >>>>>>> >>>>> consulting at freeswitch.org >>>>>>> >>>>> http://www.freeswitchsolutions.com >>>>>>> >>>>> >>>>>>> >>>>> Official FreeSWITCH Sites >>>>>>> >>>>> http://www.freeswitch.org >>>>>>> >>>>> http://confluence.freeswitch.org >>>>>>> >>>>> http://www.cluecon.com >>>>>>> >>>>> >>>>>>> >>>>> FreeSWITCH-users mailing list >>>>>>> >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>> >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> >>>>> UNSUBSCRIBE: >>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>> >>>>> http://www.freeswitch.org >>>>>>> >>>> >>>>>>> >>>> >>>>>>> >>>> >>>>>>> >>>> >>>>>>> _________________________________________________________________________ >>>>>>> >>>> Professional FreeSWITCH Consulting Services: >>>>>>> >>>> consulting at freeswitch.org >>>>>>> >>>> http://www.freeswitchsolutions.com >>>>>>> >>>> >>>>>>> >>>> Official FreeSWITCH Sites >>>>>>> >>>> http://www.freeswitch.org >>>>>>> >>>> http://confluence.freeswitch.org >>>>>>> >>>> http://www.cluecon.com >>>>>>> >>>> >>>>>>> >>>> FreeSWITCH-users mailing list >>>>>>> >>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>> >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> >>>> UNSUBSCRIBE: >>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>> >>>> http://www.freeswitch.org >>>>>>> >>> >>>>>>> >>> >>>>>>> >>> >>>>>>> _________________________________________________________________________ >>>>>>> >>> Professional FreeSWITCH Consulting Services: >>>>>>> >>> consulting at freeswitch.org >>>>>>> >>> http://www.freeswitchsolutions.com >>>>>>> >>> >>>>>>> >>> Official FreeSWITCH Sites >>>>>>> >>> http://www.freeswitch.org >>>>>>> >>> http://confluence.freeswitch.org >>>>>>> >>> http://www.cluecon.com >>>>>>> >>> >>>>>>> >>> FreeSWITCH-users mailing list >>>>>>> >>> FreeSWITCH-users at lists.freeswitch.org >>>>>>> >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> >>> UNSUBSCRIBE: >>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>> >>> http://www.freeswitch.org >>>>>>> >> >>>>>>> >> >>>>>>> >> >>>>>>> >> >>>>>>> _________________________________________________________________________ >>>>>>> >> Professional FreeSWITCH Consulting Services: >>>>>>> >> consulting at freeswitch.org >>>>>>> >> http://www.freeswitchsolutions.com >>>>>>> >> >>>>>>> >> Official FreeSWITCH Sites >>>>>>> >> http://www.freeswitch.org >>>>>>> >> http://confluence.freeswitch.org >>>>>>> >> http://www.cluecon.com >>>>>>> >> >>>>>>> >> FreeSWITCH-users mailing list >>>>>>> >> FreeSWITCH-users at lists.freeswitch.org >>>>>>> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> >> UNSUBSCRIBE: >>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>> >> http://www.freeswitch.org >>>>>>> >>>>>>> >>>>>>> _________________________________________________________________________ >>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>> consulting at freeswitch.org >>>>>>> http://www.freeswitchsolutions.com >>>>>>> >>>>>>> Official FreeSWITCH Sites >>>>>>> http://www.freeswitch.org >>>>>>> http://confluence.freeswitch.org >>>>>>> http://www.cluecon.com >>>>>>> >>>>>>> FreeSWITCH-users mailing list >>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> UNSUBSCRIBE: >>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>> http://www.freeswitch.org >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> _________________________________________________________________________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at freeswitch.org >>>>>> http://www.freeswitchsolutions.com >>>>>> >>>>>> Official FreeSWITCH Sites >>>>>> http://www.freeswitch.org >>>>>> http://confluence.freeswitch.org >>>>>> http://www.cluecon.com >>>>>> >>>>>> FreeSWITCH-users mailing list >>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE: >>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>> >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150409/a25b92b0/attachment-0001.html From william.king at quentustech.com Thu Apr 9 23:00:35 2015 From: william.king at quentustech.com (William King) Date: Thu, 09 Apr 2015 12:00:35 -0700 Subject: [Freeswitch-users] KVM vs. XEN virtualization In-Reply-To: References: Message-ID: <5526CC53.4080209@quentustech.com> I'm surprised nobody has suggested doing point to point(FS to FS) within the same data center testing to remove the provider from the mix, then doing a packet capture on the receiving box. Wireshark will be able to determine the network jitter. Once you can determine and compensate for the level of RTP network jitter, then you can start looking for potential audio issues. I've seen situations like you are describing, and they've all come down to the host machine was overloaded either at the CPU level, or the network stack. William King Senior Engineer Quentus Technologies, INC 1037 NE 65th St Suite 273 Seattle, WA 98115 Main: (877) 211-9337 Office: (206) 388-4772 Cell: (253) 686-5518 william.king at quentustech.com On 04/03/2015 05:16 PM, Stanislav Sinyagin wrote: > hi, > > Here are some test results which might be interesting: > > I've set up a test FreeSWITCH server at digitalocean (they use KVM), > and originated test calls to some ITSP accounts. Each call played a > test sound file (voice samples from ITU: > http://www.itu.int/net/itu-t/sigdb/genaudio/AudioForm-g.aspx?val=1000050 > ), and on the receiving end another FreeSWITCH server was recording > the received session. The receiving server was on a XEN VM. Both > servers talked G711 to their corresponding ITSP accounts. > > Then I compared the source audio and received audio in Audacity editor. > > The tests showed that the received voice wave shifts 20ms from the > original sound every few seconds, randomly back and forward. This > skewing was always present, regardless of ITSP and time of day. > > Then I moved the sending server to a XEN VM, and the waves appeared > almost perfectly synchronized (there was a 5ms skew in one test, and I > guess it's related to transcoding buffer, as the sound was obviously > transcoded). > > The effect was always visible with a 30-second sample, and I also made > additional tests with 2-minute samples. > > It would also be interesting to test this from a VmWare VM. If someone > wants to run such a test, feel free to contact me directly. > > > cheers, > stan > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > From gmaruzz at gmail.com Thu Apr 9 23:02:58 2015 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Thu, 9 Apr 2015 21:02:58 +0200 Subject: [Freeswitch-users] KVM vs. XEN virtualization In-Reply-To: <5526CC53.4080209@quentustech.com> References: <5526CC53.4080209@quentustech.com> Message-ID: +1 sent from my mobile, Giovanni Maruzzelli cell: +39 347 266 56 18 On Apr 9, 2015 9:01 PM, "William King" wrote: > I'm surprised nobody has suggested doing point to point(FS to FS) within > the same data center testing to remove the provider from the mix, then > doing a packet capture on the receiving box. Wireshark will be able to > determine the network jitter. Once you can determine and compensate for > the level of RTP network jitter, then you can start looking for > potential audio issues. > > I've seen situations like you are describing, and they've all come down > to the host machine was overloaded either at the CPU level, or the > network stack. > > William King > Senior Engineer > Quentus Technologies, INC > 1037 NE 65th St Suite 273 > Seattle, WA 98115 > Main: (877) 211-9337 > Office: (206) 388-4772 > Cell: (253) 686-5518 > william.king at quentustech.com > > On 04/03/2015 05:16 PM, Stanislav Sinyagin wrote: > > hi, > > > > Here are some test results which might be interesting: > > > > I've set up a test FreeSWITCH server at digitalocean (they use KVM), > > and originated test calls to some ITSP accounts. Each call played a > > test sound file (voice samples from ITU: > > http://www.itu.int/net/itu-t/sigdb/genaudio/AudioForm-g.aspx?val=1000050 > > ), and on the receiving end another FreeSWITCH server was recording > > the received session. The receiving server was on a XEN VM. Both > > servers talked G711 to their corresponding ITSP accounts. > > > > Then I compared the source audio and received audio in Audacity editor. > > > > The tests showed that the received voice wave shifts 20ms from the > > original sound every few seconds, randomly back and forward. This > > skewing was always present, regardless of ITSP and time of day. > > > > Then I moved the sending server to a XEN VM, and the waves appeared > > almost perfectly synchronized (there was a 5ms skew in one test, and I > > guess it's related to transcoding buffer, as the sound was obviously > > transcoded). > > > > The effect was always visible with a 30-second sample, and I also made > > additional tests with 2-minute samples. > > > > It would also be interesting to test this from a VmWare VM. If someone > > wants to run such a test, feel free to contact me directly. > > > > > > cheers, > > stan > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150409/2aa3f33b/attachment.html From ssinyagin at gmail.com Thu Apr 9 23:21:09 2015 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Thu, 9 Apr 2015 21:21:09 +0200 Subject: [Freeswitch-users] KVM vs. XEN virtualization In-Reply-To: <5526CC53.4080209@quentustech.com> References: <5526CC53.4080209@quentustech.com> Message-ID: Of course I made such direct tests too. They usually don't show anything interesting, as both machines rely on Linux clock. In my tests, the calls were passing through TDM links where the clock should be much more precise. On Apr 9, 2015 9:01 PM, "William King" wrote: > I'm surprised nobody has suggested doing point to point(FS to FS) within > the same data center testing to remove the provider from the mix, then > doing a packet capture on the receiving box. Wireshark will be able to > determine the network jitter. Once you can determine and compensate for > the level of RTP network jitter, then you can start looking for > potential audio issues. > > I've seen situations like you are describing, and they've all come down > to the host machine was overloaded either at the CPU level, or the > network stack. > > William King > Senior Engineer > Quentus Technologies, INC > 1037 NE 65th St Suite 273 > Seattle, WA 98115 > Main: (877) 211-9337 > Office: (206) 388-4772 > Cell: (253) 686-5518 > william.king at quentustech.com > > On 04/03/2015 05:16 PM, Stanislav Sinyagin wrote: > > hi, > > > > Here are some test results which might be interesting: > > > > I've set up a test FreeSWITCH server at digitalocean (they use KVM), > > and originated test calls to some ITSP accounts. Each call played a > > test sound file (voice samples from ITU: > > http://www.itu.int/net/itu-t/sigdb/genaudio/AudioForm-g.aspx?val=1000050 > > ), and on the receiving end another FreeSWITCH server was recording > > the received session. The receiving server was on a XEN VM. Both > > servers talked G711 to their corresponding ITSP accounts. > > > > Then I compared the source audio and received audio in Audacity editor. > > > > The tests showed that the received voice wave shifts 20ms from the > > original sound every few seconds, randomly back and forward. This > > skewing was always present, regardless of ITSP and time of day. > > > > Then I moved the sending server to a XEN VM, and the waves appeared > > almost perfectly synchronized (there was a 5ms skew in one test, and I > > guess it's related to transcoding buffer, as the sound was obviously > > transcoded). > > > > The effect was always visible with a 30-second sample, and I also made > > additional tests with 2-minute samples. > > > > It would also be interesting to test this from a VmWare VM. If someone > > wants to run such a test, feel free to contact me directly. > > > > > > cheers, > > stan > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150409/94f58490/attachment.html From aqsyounas at gmail.com Thu Apr 9 23:31:12 2015 From: aqsyounas at gmail.com (Aqs Younas) Date: Fri, 10 Apr 2015 00:31:12 +0500 Subject: [Freeswitch-users] how to increase/decrease stream volume. Message-ID: Hi, users. I am playing streams with mod_vlc. Some streams are higher in volume and other lower. I want to control stream volume by pressing some dtmf. Is there any way to do so, like in mod_conference we can increase/decrease volume by pressing some dtmf. Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150410/2b73b624/attachment-0001.html From max at nysolutions.com Fri Apr 10 00:14:05 2015 From: max at nysolutions.com (Moishe Grunstein) Date: Thu, 9 Apr 2015 20:14:05 +0000 Subject: [Freeswitch-users] how to increase/decrease stream volume. In-Reply-To: References: Message-ID: See https://wiki.freeswitch.org/wiki/Session_streamFile (I could not find it in Confluence) I know it works with Shout I am not sure if it works with VLC. Thanks, Moishe Grunstein Tornado Computer Systems, Inc. 212.400.7650 888.IPPBX.US Service Request Email: support at nysolutions.com [cid:image001.jpg at 01C72F94.9EE45D60] Computer Networking * Managed Services * IP Video Surveillance * Network Assessments * Web Solutions * Voice over IP * Disaster Recovery * Network Security * Site Surveys * CMS From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Aqs Younas Sent: Thursday, April 9, 2015 3:31 PM To: FreeSWITCH Users Help Subject: [Freeswitch-users] how to increase/decrease stream volume. Hi, users. I am playing streams with mod_vlc. Some streams are higher in volume and other lower. I want to control stream volume by pressing some dtmf. Is there any way to do so, like in mod_conference we can increase/decrease volume by pressing some dtmf. Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150409/f9e9b6e2/attachment.html -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 2424 bytes Desc: image001.jpg Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150409/f9e9b6e2/attachment.jpg From s.safarov at gmail.com Fri Apr 10 01:33:43 2015 From: s.safarov at gmail.com (Sergey Safarov) Date: Fri, 10 Apr 2015 00:33:43 +0300 Subject: [Freeswitch-users] KVM vs. XEN virtualization In-Reply-To: References: Message-ID: 1) Most(if not all) of modern equipment have buffers. TDM cards too. Even $0.25 microcontrollers have buffers. Firing interrupts at each PCM sample not needed. The problem is whether there is or not the buffer. Is exist in all the equipment. The problem is the amount of buffer, and through any time it overflows. I thing you cannot say buffer size has TDM card and USB modems. :o) The above i write results of testing Digium E1 card in virtual environment. Test that is successful on real host, will fail in virtual environment. I you see source of timertest utility you will see that Digium test timer for 8000 samples for 1000 ms (1s). (Primary utility author Mark Spencer < markster at digium.com>) It is same value I recommend early. 2) If you want massive sync audio processing (w/o buffering) you can use hard realtime OS. PC and Linux (even on bare metal) is not suitable for this, at least without RT patched kernel. I am not understanding about you speaking. E1 card can be used on real host without problems. 3) AFAIR, 1 thread per call leg, but depends of endpoints. Most of time threads in I/O waiting/sleeping and encoding/decoding state. One thread per FS call, equal one thread cyclictest. In cyclictest most time threads sleep also. This threads measure time interval and sleep again. 4) Dynamic output to screen consumes resources. How much, depends on method.(VGA, Serial console, SSH). In my case difference is significiant. So, fair testing should exclude such things, IMO. You rightly pointed out it 5) Serious players, as Wind River, use external timer. Wind River solutions for highly specialized market. Not for simple user. 6) In your case, most capable realtime hypervisor with RT_PREEMPT guest would be one of the best solution. May be. According this publication ( http://www.linux-kvm.org/wiki/images/0/03/KVM-Forum-2011-RT-KVM.pdf) guest threads can be interrupted not more 112 uS. Simple solution - for TDM card enough ordinary processor without virtualization. :o) On Thu, Apr 9, 2015 at 8:09 PM, Dmitry Lysenko wrote: > > > 2015-04-08 15:25 GMT+03:00 Sergey Safarov : > >> 1) 125uS is the interval between FrameSync of ONE(!) PCM sample at 8000hz, >> But here we are talking about packet telephony where commonly used frame >> length is 20000 uS. >> So, intervals for testing should be 5000-10000-20000uS, not 125uS. >> >> Not all FS installation has SIP endpoint. Some can have TDM cards, USB >> dongle and other analog equipment. Can you say what is length of this frame >> type? >> I am wondering about this question. I know that the frame 125ms is enough. >> > > Most(if not all) of modern equipment have buffers. TDM cards too. Even > $0.25 microcontrollers have buffers. > Firing interrupts at each PCM sample not needed. > If you want massive sync audio processing (w/o buffering) you can use hard > realtime OS. PC and Linux (even on bare metal) is not suitable for this, at > least without RT patched kernel. > > >> 2) Why you decided that all of 42 threads should wake up simultaneously? >> That totally impossible in real world applications. >> Here should be tens of uS. Dependent of network card and, possibly, other >> I/O hardware. >> >> Can you say how many FS create threads for 40-50 active calls? >> > > > AFAIR, 1 thread per call leg, but depends of endpoints. Most of time > threads in I/O waiting/sleeping and encoding/decoding state. > > >> 3) -q switch is missing >> I am thinking it is optional. Result is same >> > > Dynamic output to screen consumes resources. How much, depends on > method.(VGA, Serial console, SSH). In my case difference is significiant. > So, fair testing should exclude such things, IMO. > > >> 4) Precise time measurement and realtime processing in VM environment >> is a challenge. >> To obtain acceptable results fine tuning of host's and guest's required. >> WIthout that this numbers ... does not mean anything. >> >> Can you learn me how to correctly measure timer source quality in VM? >> > > Serious players, as Wind River, use external timer. > > In your case, most capable realtime hypervisor with RT_PREEMPT guest would > be one of the best solution. > > Dmitry. > > >> On Wed, Apr 8, 2015 at 2:07 PM, Dmitry Lysenko > > wrote: >> >>> 2015-04-07 10:48 GMT+03:00 Sergey Safarov : >>> >>>> ... >>>> 2) i 125 - time us between software timer interrupts for first thread. >>>> It time is equal time between samples rate in PSTN networks >>>> In order to maintain our sampling rate we have 125 microseconds (uS) >>>> between consecutive samples (1/8,000Hz), which is more >>>> >>> ... >>>> >>> >>> 125uS is the interval between FrameSync of ONE(!) PCM sample at 8000hz, >>> But here we are talking about packet telephony where commonly used frame >>> length is 20000 uS. >>> So, intervals for testing should be 5000-10000-20000uS, not 125uS. >>> >>> >>>> 3) d 0 - this switch will make time between software timer interrupts >>>> for second and following threads is equal timer value for first thread >>>> >>> >>> Why you decided that all of 42 threads should wake up simultaneously? >>> That totally impossible in real world applications. >>> Here should be tens of uS. Dependent of network card and, possibly, >>> other I/O hardware. >>> >>> >>>> 4) l 240000 - how many timer test must be made. It is adjusted for 30 s >>>> overall test >>>> 5) n - use clock_nanosleep. it is allow take more accurate timer test >>>> values on my VM >>>> 6) p 80 - it is copied from example on Cyclictest page >>>> >>> >>> -q switch is missing. >>> >>> >>>> And how in your opinion this numbers are related to Freeswitch in VM >>>> environment? >>>> Relation between Cyclictest switches and FS described above. >>>> Relation betwen Cyclictest results and FS simple >>>> >>> >>> Precise time measurement and realtime processing in VM environment is a >>> challenge. >>> To obtain acceptable results fine tuning of host's and guest's required. >>> WIthout that this numbers ... does not mean anything. >>> >>> >>> On Tue, Apr 7, 2015 at 5:38 AM, Dmitry Lysenko < >>>> dvl36.ripe.nick at gmail.com> wrote: >>>> >>>>> Sergey, >>>>> Why you suggest to use exactly this numbers in cyclictest's switches? >>>>> And how in your opinion this numbers are related to Freeswitch in VM >>>>> environment? >>>>> >>>>> P.S. >>>>> https://mindlinux.wordpress.com/2013/10/25/using-and-understanding-the-real-time-cyclictest-benchmark-frank-rowand-sony/ >>>>> >>>>> 2015-04-06 15:27 GMT+03:00 Sergey Safarov : >>>>> >>>>>> Errol can you test VM timer with utility >>>>>> https://rt.wiki.kernel.org/index.php/Cyclictest >>>>>> >>>>>> My VM currently have folowing results >>>>>> >>>>>> [root at fs1 ~]# date && /tmp/rt-tests/cyclictest -t42 -p 80 -d 0 -n -i 125 -l 240000 && date >>>>>> Sun Apr 5 07:01:31 GMT 2015 >>>>>> # /dev/cpu_dma_latency set to 0us >>>>>> policy: fifo: loadavg: 2.38 0.93 0.50 1/194 1574 >>>>>> >>>>>> T: 0 ( 1531) P:80 I:125 C: 240000 Min: 2 Act: 12 Avg: 16 Max: 1302 >>>>>> T: 1 ( 1532) P:80 I:125 C: 240000 Min: 2 Act: 15 Avg: 14 Max: 2895 >>>>>> T: 2 ( 1533) P:80 I:125 C: 240000 Min: 3 Act: 10 Avg: 12 Max: 2888 >>>>>> T: 3 ( 1534) P:80 I:125 C: 240000 Min: 1 Act: 16 Avg: 13 Max: 1333 >>>>>> T: 4 ( 1535) P:80 I:125 C: 240000 Min: 2 Act: 20 Avg: 14 Max: 2962 >>>>>> T: 5 ( 1536) P:80 I:125 C: 240000 Min: 1 Act: 12 Avg: 14 Max: 2946 >>>>>> T: 6 ( 1537) P:80 I:125 C: 240000 Min: 2 Act: 10 Avg: 13 Max: 1363 >>>>>> T: 7 ( 1538) P:80 I:125 C: 240000 Min: 2 Act: 12 Avg: 13 Max: 1344 >>>>>> T: 8 ( 1539) P:80 I:125 C: 240000 Min: 3 Act: 12 Avg: 16 Max: 1408 >>>>>> T: 9 ( 1540) P:80 I:125 C: 240000 Min: 1 Act: 8 Avg: 13 Max: 2882 >>>>>> T:10 ( 1541) P:80 I:125 C: 239974 Min: 2 Act: 12 Avg: 13 Max: 2908 >>>>>> >>>>>> >>>>>> On Mon, Apr 6, 2015 at 11:15 AM, Errol Samuels >>>>>> wrote: >>>>>> >>>>>>> Good job and Thanks for sharing! >>>>>>> >>>>>>> KVM at digitalocean.com, Debian 7 64bit, FreeSWITCH 1.4.15: bad >>>>>>>> precision >>>>>>> >>>>>>> >>>>>>> As someone who has been using KVM for a few years and has just >>>>>>> migrated about 20 VMs across to Digital Ocean about 6 weeks ago I admit I >>>>>>> am a little concerned about this finding. >>>>>>> >>>>>>> Just out of curiosity can you tell me the specs of the VM that you >>>>>>> tested with and which DO Datacenter? I am using NYC3 so perhaps and I will >>>>>>> do some tests as soon as I have some time. >>>>>>> >>>>>>> With regards to Xen was this at Linode or inhouse? >>>>>>> >>>>>>> Thanks >>>>>>> >>>>>>> Errol >>>>>>> >>>>>>> >>>>>>> >>>>>>> On Sun, Apr 5, 2015 at 1:37 AM, Stanislav Sinyagin < >>>>>>> ssinyagin at gmail.com> wrote: >>>>>>> >>>>>>>> here we go: >>>>>>>> >>>>>>>> https://txlab.wordpress.com/2015/04/05/testing-rtp-clock-precision-on-a-virtual-machine/ >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> On Sat, Apr 4, 2015 at 4:26 PM, Stanislav Sinyagin < >>>>>>>> ssinyagin at gmail.com> wrote: >>>>>>>> > On Sat, Apr 4, 2015 at 1:03 PM, Regis M < >>>>>>>> regis.freeswitch.org at tornad.net> wrote: >>>>>>>> >> How do you check wavs together in audacity ? >>>>>>>> > >>>>>>>> > you just open two WAV files, align their starting position, and >>>>>>>> > visually check the waves. If there's a problem, you would see that >>>>>>>> > after few seconds, the waves are not aligned any more. >>>>>>>> > >>>>>>>> >> Can you send me 2 samples wav (send... and recorded) so I could >>>>>>>> see the 20ms >>>>>>>> >> diff that you exposed... >>>>>>>> >> >>>>>>>> >> Is there a way to automate the result checking, so it could help >>>>>>>> to monitor >>>>>>>> >> itsp quality >>>>>>>> > >>>>>>>> > Here >>>>>>>> > https://github.com/openpreserve/scape-xcorrsound/issues/17 >>>>>>>> > this is a link to a tool which compares two sound files at the >>>>>>>> wave >>>>>>>> > level. You can also see the sound samples in the ticket. >>>>>>>> > The problem is, that currently this tool does not detect such >>>>>>>> slipping frames. >>>>>>>> > >>>>>>>> > I will also write a detailed article with examples, during the >>>>>>>> weekend. >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> >> >>>>>>>> >> >>>>>>>> >> 2015-04-04 12:53 GMT+02:00 Stanislav Sinyagin < >>>>>>>> ssinyagin at gmail.com>: >>>>>>>> >>> >>>>>>>> >>> Important is to send the media through two independent carriers >>>>>>>> - then you >>>>>>>> >>> can be sure that your clock is compared against a high quality >>>>>>>> one. >>>>>>>> >>> >>>>>>>> >>> On Apr 4, 2015 12:46 PM, "Regis M" < >>>>>>>> regis.freeswitch.org at tornad.net> >>>>>>>> >>> wrote: >>>>>>>> >>>> >>>>>>>> >>>> Hi, >>>>>>>> >>>> >>>>>>>> >>>> It's a very interresting test and conclusion. >>>>>>>> >>>> >>>>>>>> >>>> I will try to build a similar environnement on my freeswitch >>>>>>>> to check >>>>>>>> >>>> some system :) >>>>>>>> >>>> >>>>>>>> >>>> thanks >>>>>>>> >>>> >>>>>>>> >>>> >>>>>>>> >>>> >>>>>>>> >>>> 2015-04-04 2:16 GMT+02:00 Stanislav Sinyagin < >>>>>>>> ssinyagin at gmail.com>: >>>>>>>> >>>>> >>>>>>>> >>>>> hi, >>>>>>>> >>>>> >>>>>>>> >>>>> Here are some test results which might be interesting: >>>>>>>> >>>>> >>>>>>>> >>>>> I've set up a test FreeSWITCH server at digitalocean (they >>>>>>>> use KVM), >>>>>>>> >>>>> and originated test calls to some ITSP accounts. Each call >>>>>>>> played a >>>>>>>> >>>>> test sound file (voice samples from ITU: >>>>>>>> >>>>> >>>>>>>> http://www.itu.int/net/itu-t/sigdb/genaudio/AudioForm-g.aspx?val=1000050 >>>>>>>> >>>>> ), and on the receiving end another FreeSWITCH server was >>>>>>>> recording >>>>>>>> >>>>> the received session. The receiving server was on a XEN VM. >>>>>>>> Both >>>>>>>> >>>>> servers talked G711 to their corresponding ITSP accounts. >>>>>>>> >>>>> >>>>>>>> >>>>> Then I compared the source audio and received audio in >>>>>>>> Audacity editor. >>>>>>>> >>>>> >>>>>>>> >>>>> The tests showed that the received voice wave shifts 20ms >>>>>>>> from the >>>>>>>> >>>>> original sound every few seconds, randomly back and forward. >>>>>>>> This >>>>>>>> >>>>> skewing was always present, regardless of ITSP and time of >>>>>>>> day. >>>>>>>> >>>>> >>>>>>>> >>>>> Then I moved the sending server to a XEN VM, and the waves >>>>>>>> appeared >>>>>>>> >>>>> almost perfectly synchronized (there was a 5ms skew in one >>>>>>>> test, and I >>>>>>>> >>>>> guess it's related to transcoding buffer, as the sound was >>>>>>>> obviously >>>>>>>> >>>>> transcoded). >>>>>>>> >>>>> >>>>>>>> >>>>> The effect was always visible with a 30-second sample, and I >>>>>>>> also made >>>>>>>> >>>>> additional tests with 2-minute samples. >>>>>>>> >>>>> >>>>>>>> >>>>> It would also be interesting to test this from a VmWare VM. >>>>>>>> If someone >>>>>>>> >>>>> wants to run such a test, feel free to contact me directly. >>>>>>>> >>>>> >>>>>>>> >>>>> >>>>>>>> >>>>> cheers, >>>>>>>> >>>>> stan >>>>>>>> >>>>> >>>>>>>> >>>>> >>>>>>>> >>>>> >>>>>>>> _________________________________________________________________________ >>>>>>>> >>>>> Professional FreeSWITCH Consulting Services: >>>>>>>> >>>>> consulting at freeswitch.org >>>>>>>> >>>>> http://www.freeswitchsolutions.com >>>>>>>> >>>>> >>>>>>>> >>>>> Official FreeSWITCH Sites >>>>>>>> >>>>> http://www.freeswitch.org >>>>>>>> >>>>> http://confluence.freeswitch.org >>>>>>>> >>>>> http://www.cluecon.com >>>>>>>> >>>>> >>>>>>>> >>>>> FreeSWITCH-users mailing list >>>>>>>> >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>> >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>> >>>>> UNSUBSCRIBE: >>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>> >>>>> http://www.freeswitch.org >>>>>>>> >>>> >>>>>>>> >>>> >>>>>>>> >>>> >>>>>>>> >>>> >>>>>>>> _________________________________________________________________________ >>>>>>>> >>>> Professional FreeSWITCH Consulting Services: >>>>>>>> >>>> consulting at freeswitch.org >>>>>>>> >>>> http://www.freeswitchsolutions.com >>>>>>>> >>>> >>>>>>>> >>>> Official FreeSWITCH Sites >>>>>>>> >>>> http://www.freeswitch.org >>>>>>>> >>>> http://confluence.freeswitch.org >>>>>>>> >>>> http://www.cluecon.com >>>>>>>> >>>> >>>>>>>> >>>> FreeSWITCH-users mailing list >>>>>>>> >>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>> >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>> >>>> UNSUBSCRIBE: >>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>> >>>> http://www.freeswitch.org >>>>>>>> >>> >>>>>>>> >>> >>>>>>>> >>> >>>>>>>> _________________________________________________________________________ >>>>>>>> >>> Professional FreeSWITCH Consulting Services: >>>>>>>> >>> consulting at freeswitch.org >>>>>>>> >>> http://www.freeswitchsolutions.com >>>>>>>> >>> >>>>>>>> >>> Official FreeSWITCH Sites >>>>>>>> >>> http://www.freeswitch.org >>>>>>>> >>> http://confluence.freeswitch.org >>>>>>>> >>> http://www.cluecon.com >>>>>>>> >>> >>>>>>>> >>> FreeSWITCH-users mailing list >>>>>>>> >>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>> >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>> >>> UNSUBSCRIBE: >>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>> >>> http://www.freeswitch.org >>>>>>>> >> >>>>>>>> >> >>>>>>>> >> >>>>>>>> >> >>>>>>>> _________________________________________________________________________ >>>>>>>> >> Professional FreeSWITCH Consulting Services: >>>>>>>> >> consulting at freeswitch.org >>>>>>>> >> http://www.freeswitchsolutions.com >>>>>>>> >> >>>>>>>> >> Official FreeSWITCH Sites >>>>>>>> >> http://www.freeswitch.org >>>>>>>> >> http://confluence.freeswitch.org >>>>>>>> >> http://www.cluecon.com >>>>>>>> >> >>>>>>>> >> FreeSWITCH-users mailing list >>>>>>>> >> FreeSWITCH-users at lists.freeswitch.org >>>>>>>> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>> >> UNSUBSCRIBE: >>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>> >> http://www.freeswitch.org >>>>>>>> >>>>>>>> >>>>>>>> _________________________________________________________________________ >>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>> consulting at freeswitch.org >>>>>>>> http://www.freeswitchsolutions.com >>>>>>>> >>>>>>>> Official FreeSWITCH Sites >>>>>>>> http://www.freeswitch.org >>>>>>>> http://confluence.freeswitch.org >>>>>>>> http://www.cluecon.com >>>>>>>> >>>>>>>> FreeSWITCH-users mailing list >>>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>> UNSUBSCRIBE: >>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>> http://www.freeswitch.org >>>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> _________________________________________________________________________ >>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>> consulting at freeswitch.org >>>>>>> http://www.freeswitchsolutions.com >>>>>>> >>>>>>> Official FreeSWITCH Sites >>>>>>> http://www.freeswitch.org >>>>>>> http://confluence.freeswitch.org >>>>>>> http://www.cluecon.com >>>>>>> >>>>>>> FreeSWITCH-users mailing list >>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> UNSUBSCRIBE: >>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>> http://www.freeswitch.org >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> _________________________________________________________________________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at freeswitch.org >>>>>> http://www.freeswitchsolutions.com >>>>>> >>>>>> Official FreeSWITCH Sites >>>>>> http://www.freeswitch.org >>>>>> http://confluence.freeswitch.org >>>>>> http://www.cluecon.com >>>>>> >>>>>> FreeSWITCH-users mailing list >>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE: >>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>> >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150410/ad8a8340/attachment-0001.html From bote_radio at botecomm.com Fri Apr 10 01:34:07 2015 From: bote_radio at botecomm.com (Bote Man) Date: Thu, 9 Apr 2015 17:34:07 -0400 Subject: [Freeswitch-users] how to increase/decrease stream volume. In-Reply-To: References: Message-ID: <0e1201d0730c$e9058800$bb109800$@botecomm.com> You might also look at the Normalize tool in VLC if they ever got that working. There?s also an AGC (Automatic Gain Control) feature. That would automate it. Bote From: Moishe Grunstein Sent: Thursday, 09 April, 2015 16:14 Subject: Re: [Freeswitch-users] how to increase/decrease stream volume. See https://wiki.freeswitch.org/wiki/Session_streamFile (I could not find it in Confluence) I know it works with Shout I am not sure if it works with VLC. Thanks, Moishe Grunstein Tornado Computer Systems, Inc. 212.400.7650 888.IPPBX.US Service Request Email: support at nysolutions.com cid:image001.jpg at 01C72F94.9EE45D60 Computer Networking * Managed Services * IP Video Surveillance * Network Assessments * Web Solutions * Voice over IP * Disaster Recovery * Network Security * Site Surveys * CMS From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Aqs Younas Sent: Thursday, April 9, 2015 3:31 PM To: FreeSWITCH Users Help Subject: [Freeswitch-users] how to increase/decrease stream volume. Hi, users. I am playing streams with mod_vlc. Some streams are higher in volume and other lower. I want to control stream volume by pressing some dtmf. Is there any way to do so, like in mod_conference we can increase/decrease volume by pressing some dtmf. Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150409/953c2f18/attachment.html -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/jpeg Size: 2424 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150409/953c2f18/attachment.jpe From ssinyagin at gmail.com Fri Apr 10 02:38:30 2015 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Fri, 10 Apr 2015 00:38:30 +0200 Subject: [Freeswitch-users] ARM servers at Scaleway.com In-Reply-To: References: Message-ID: the device is pretty decent: 101 channels (50 transcoding sessions with PCM->G722 translation) are running fine, with about 25% average CPU utilization across its 4 cores. Each core utilization is fluctuating between 0 and 70% (using "mpstat -P ALL 10" command). could not test it with OPUS, filed a bug report: https://freeswitch.org/jira/browse/FS-7423 On Thu, Apr 9, 2015 at 4:58 PM, Stanislav Sinyagin wrote: > I started running this test: > > https://txlab.wordpress.com/2014/04/18/freeswitch-performance-test-on-pc-engines-apu/ > with 45 active channels, the quality was completely fine. > Later I will try to bring it to the maximum. > > > > On Wed, Apr 8, 2015 at 1:23 PM, Andrew Cassidy < > andrew at cassidywebservices.co.uk> wrote: > >> I'd be interested to see some benchmarks and load testing. >> >> >> On 8 April 2015 at 11:22, Stanislav Sinyagin wrote: >> >>> Scaleway >> >> >> >> >> >> -- >> *Andrew Cassidy BSc (Hons) MBCS SSCA* >> Managing Director >> >> >> *T *03300 100 960 *F >> *03300 100 961 >> *E *andrew at cassidywebservices.co.uk >> *W *www.cassidywebservices.co.uk >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150410/4377fe46/attachment.html From dvl36.ripe.nick at gmail.com Fri Apr 10 07:38:32 2015 From: dvl36.ripe.nick at gmail.com (Dmitry Lysenko) Date: Fri, 10 Apr 2015 06:38:32 +0300 Subject: [Freeswitch-users] ARM servers at Scaleway.com In-Reply-To: References: Message-ID: Hi Stanislav, Good results. I think they can be even slightly better. There was a small typo in sources: https://freeswitch.org/fisheye/browse/~br=master/freeswitch/libs/spandsp/src/spandsp/bit_operations.h?r=0d6c3a1d73697ae3d1b01d5fb375c6a6fb8e333f Was corrected 32 hours ago. Best regards, Dmitry. 2015-04-10 1:38 GMT+03:00 Stanislav Sinyagin : > the device is pretty decent: 101 channels (50 transcoding sessions with > PCM->G722 translation) are running fine, with about 25% average CPU > utilization across its 4 cores. Each core utilization is fluctuating > between 0 and 70% (using "mpstat -P ALL 10" command). > > could not test it with OPUS, filed a bug report: > https://freeswitch.org/jira/browse/FS-7423 > > > > > On Thu, Apr 9, 2015 at 4:58 PM, Stanislav Sinyagin > wrote: > >> I started running this test: >> >> https://txlab.wordpress.com/2014/04/18/freeswitch-performance-test-on-pc-engines-apu/ >> with 45 active channels, the quality was completely fine. >> Later I will try to bring it to the maximum. >> >> >> >> On Wed, Apr 8, 2015 at 1:23 PM, Andrew Cassidy < >> andrew at cassidywebservices.co.uk> wrote: >> >>> I'd be interested to see some benchmarks and load testing. >>> >>> >>> On 8 April 2015 at 11:22, Stanislav Sinyagin >>> wrote: >>> >>>> Scaleway >>> >>> >>> >>> >>> >>> -- >>> *Andrew Cassidy BSc (Hons) MBCS SSCA* >>> Managing Director >>> >>> >>> *T *03300 100 960 *F >>> *03300 100 961 >>> *E *andrew at cassidywebservices.co.uk >>> *W *www.cassidywebservices.co.uk >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150410/e5d91d0c/attachment-0001.html From mishehu at freeswitch.org Fri Apr 10 09:01:14 2015 From: mishehu at freeswitch.org (I put the Who? in Mishehu) Date: Fri, 10 Apr 2015 00:01:14 -0500 Subject: [Freeswitch-users] Cannot call OUT In-Reply-To: <1428525482.88252.YahooMailBasic@web160204.mail.bf1.yahoo.com> References: <1428525482.88252.YahooMailBasic@web160204.mail.bf1.yahoo.com> Message-ID: <5527591A.2070907@freeswitch.org> It was a Pink Floyd reference, and a joke about the accidental "dead wood" postings. It wasn't meant to be taken seriously. :-) I have been watching some of your threads, and just in case you didn't know about it already, we do hang out on the #freeswitch channel on irc.freenode.net if you'd ever like to drop on by for some more real-time interaction as you work through FreeSWITCH. :-) -- Yossi Neiman On 04/08/2015 03:38 PM, T Fred Farmington wrote: > Hello, > > Thank you for the reply. > > I am not clear on what you mean by: "Careful with that axe" > > I am not intending to be 'dumping' on anyone nor am I complaining about FS. > > I am merely trying to indicate what I do or do not find in the log files because I am confused. > I have tried what was presented in the info and it appears to not be working for some reason. > > I guess that I am used to clearly defining what is seen so that others might understand what I am experiencing - with the hopes that they might be able to advise me and/or offer suggestions towards a resolution. > > TF > > > -------------------------------------------- > On Wed, 4/8/15, I put the Who? in Mishehu wrote: > > Subject: Re: [Freeswitch-users] Cannot call OUT > To: "FreeSWITCH Users Help" > Date: Wednesday, April 8, 2015, 1:43 PM > > Careful with that axe, > Eugene! Or, easy there, Tex! :-) > > -- > Yossi Neiman > > On 04/08/2015 02:21 PM, T > Fred Farmington wrote: > > > > To the list admin - please delete the previous 2 postings > from me on this Subject as 'dead wood' > > > I don't know how I posted the same info > twice and, in so doing, broke the thread. > > > Plus at this point the info contained is > obsolete. > > > > > Regardless... > > To the other > gurus..... > > > > On the > FreeSWITCH Confluence ( https://freeswitch.org/confluence/display/FREESWITCH/XML+Dialplan > ) it says: > > Dialing > Through A Gateway (SIP Provider) > > > > A gateway is a means > for making outbound calls through a SIP provider. For > example: sofia/gateway/mygateway.com/1234 > > > > > This will dial through the gateway named > "mygateway.com" to user 1234. > > Note how there is no > need to append anything after the user "1234" > > > > > > > On attempting to call to an 'outside' number I see > the following In my FS log: > > > bridge(sofia/gateway/velocity_outbound/nnnnnnnnnn) > > which, according to the FS Confluence > info, should initiate the call through the defined Gateway > -- velocity_outbound > > AND I should see > the number going to to the defined SIP Gateway Proxy in the > log file > > ( NOTE - > the SIP Gateway Proxy IP is included in > the acl_conf.xml file as > "allow" ) > > > > But the log NEVER shows that this is > happening. > > > > In fact > I NEVER see any reference after that point to the SIP > Gateway Proxy at all > > > > Why is this not working? > > > > Your assistance would > be greatly appreciated. > > > > Thanks > > TF > > > > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting > Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH > Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users > mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing > list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org From keith at hubner.co.uk Fri Apr 10 11:52:32 2015 From: keith at hubner.co.uk (Keith) Date: Fri, 10 Apr 2015 08:52:32 +0100 Subject: [Freeswitch-users] Proxy Media and Call Transfer Message-ID: Hi, I am currently using Freeswitch in combination with Kamailio to act as a SBC. Freeswitch is bridging the media and acting as the B2BUA. I have an issue that if I proxy media (required so that the PBX behind the SBC can play MOH etc) when I do a transfer the caller stays on hold and the callee hears nothing. The SIP messaging is good as when you hangup one side the other is disconnected. Interestingly, when I do not proxy the media the transfer process works, however when using hold Freeswitch, because it is involved in the media path, tries to play back MOH. This is not suitable for two reasons; it requires suitable codecs on the SBC and also it means you only have a single MOH file for all customers. It will also, I believe, increase load. I can't see any way around this but hopefully someone out there can help. Many thanks Keith -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150410/462cda25/attachment.html From silvagustavo at yandex.ru Fri Apr 10 13:21:49 2015 From: silvagustavo at yandex.ru (Gustavo Silva) Date: Fri, 10 Apr 2015 12:21:49 +0300 Subject: [Freeswitch-users] Disconnect a call from the same number (mod_xml_radius) Message-ID: <20150410092149.5853254.3408.322@yandex.ru> An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150410/12db51b3/attachment.html From dvl36.ripe.nick at gmail.com Fri Apr 10 18:06:34 2015 From: dvl36.ripe.nick at gmail.com (Dmitry Lysenko) Date: Fri, 10 Apr 2015 17:06:34 +0300 Subject: [Freeswitch-users] KVM vs. XEN virtualization In-Reply-To: References: Message-ID: 2015-04-10 0:33 GMT+03:00 Sergey Safarov : > 1) Most(if not all) of modern equipment have buffers. TDM cards too. Even > $0.25 microcontrollers have buffers. > Firing interrupts at each PCM sample not needed. > > The problem is whether there is or not the buffer. Is exist in all the > equipment. > The problem is the amount of buffer, and through any time it overflows. I > thing you cannot say buffer size has TDM card and USB modems. :o) > According to Digium sources your TDM card have 20ms max buffer size(3ms default) USB dongles have at least 20 ms. > The above i write results of testing Digium E1 card in virtual > environment. Test that is successful on real host, will fail in virtual > environment. > I you see source of timertest utility you will see that Digium test timer > for 8000 samples for 1000 ms (1s). (Primary utility author Mark Spencer < > markster at digium.com>) > It is same value I recommend early. > But in your case, cyclictest can generate 336000 (42*8000) hardware timer irqs per second VS 8000 from TDM card's. Look: root at debian:~# vmstat 1 procs -----------memory---------- ---swap-- -----io---- -system-- ----cpu---- r b swpd free buff cache si so bi bo in cs us sy id wa 0 0 0 2348 85428 21156 0 0 134 0 1856 3409 1 2 92 5 0 0 0 2320 85428 21156 0 0 0 0 106 224 1 0 99 0 [similar, skipped] 0 0 0 2312 85436 21156 0 0 0 0 110 231 0 0 100 0 0 0 0 2312 85436 21156 0 0 0 0 109 225 0 2 98 0 45 0 0 1924 84908 21156 0 0 0 0 102909 146412 0 60 39 0 Starting of cyclictest with your parameters ^^^^^. 102909 interrupts and 146412 context switches per second. For one TDM card there should be slightly more then 8000 of interrupts. Results: root at debian:~/rt-tests# ./cyclictest -t42 -p 80 *-d 0* -n -i 125 -l 240000 -q WARN: stat /dev/cpu_dma_latency failed: No such file or directory T: 0 ( 4028) P:80 I:125 C: 239821 Min: 0 Act:100534 Avg:38764 Max: 229794 T: 1 ( 4029) P:80 I:125 C: 239820 Min: 0 Act:100536 Avg:39646 Max: 233558 T: 2 ( 4030) P:80 I:125 C: 240000 Min: 0 Act:100478 Avg:37947 Max: 229143 T: 3 ( 4031) P:80 I:125 C: 240000 Min: 0 Act:106202 Avg:38130 Max: 239031 [similar,skipped] T:38 ( 4066) P:80 I:125 C: 239821 Min: 1 Act:100292 Avg:41273 Max: 238424 T:39 ( 4067) P:80 I:125 C: 239822 Min: 0 Act:100174 Avg:40254 Max: 238881 T:40 ( 4068) P:80 I:125 C: 239816 Min: 0 Act:100650 Avg:39910 Max: 239104 T:41 ( 4069) P:80 I:125 C: 239817 Min: 0 Act:100526 Avg:38282 Max: 224452 root at debian:~/rt-tests# Increased intervals between threads: root at debian:~/rt-tests# ./cyclictest -t42 -p 80 *-d 40* -n -i 125 -l 240000 -q WARN: stat /dev/cpu_dma_latency failed: No such file or directory T: 0 ( 4203) P:80 I:125 C: 240000 Min: 1 Act: 35 Avg: 28 Max: 159 T: 1 ( 4204) P:80 I:165 C: 181909 Min: 6 Act: 47 Avg: 29 Max: 170 T: 2 ( 4205) P:80 I:205 C: 146417 Min: 6 Act: 15 Avg: 29 Max: 157 T: 3 ( 4206) P:80 I:245 C: 122512 Min: 6 Act: 33 Avg: 30 Max: 166 [similar,skipped] T:38 ( 4241) P:80 I:1645 C: 18246 Min: 7 Act: 27 Avg: 34 Max: 167 T:39 ( 4242) P:80 I:1685 C: 17813 Min: 8 Act: 13 Avg: 34 Max: 164 T:40 ( 4243) P:80 I:1725 C: 17398 Min: 7 Act: 22 Avg: 33 Max: 156 T:41 ( 4244) P:80 I:1765 C: 17004 Min: 8 Act: 49 Avg: 34 Max: 141 root at debian:~/rt-tests# Huge difference, isn't it? 2) If you want massive sync audio processing (w/o buffering) you can use > hard realtime OS. PC and Linux (even on bare metal) is not suitable for > this, at least without RT patched kernel. > > I am not understanding about you speaking. E1 card can be used on real > host without problems. > They use buffering. Delays of 125uS is not uncommon in ordinary Linux kernel. BTW, google "system management interrupt". 3) AFAIR, 1 thread per call leg, but depends of endpoints. Most of time > threads in I/O waiting/sleeping and encoding/decoding state. > > One thread per FS call, equal one thread cyclictest. In cyclictest most > time threads sleep also. This threads measure time interval and sleep again. > In Freeswitch all of threads are not waking up every 125uS synchronously. .And TDM cards are not generating tens/hundreds of thousands interrupts per second as cyclictest can do. IMO, to simulate something like 1 TDM E1 card using cyclictest you should use parameters that give you additional ~8000 irqs. root at debian:~# vmstat 1 procs -----------memory---------- ---swap-- -----io---- -system-- ----cpu---- r b swpd free buff cache si so bi bo in cs us sy id wa 0 0 0 3496 84304 21156 0 0 45 0 999 562 1 1 97 2 0 0 0 3496 84304 21156 0 0 0 0 105 222 0 0 100 0 0 0 0 2784 84304 21156 0 0 0 0 4276 8482 2 15 83 0 0 0 0 2784 84304 21156 0 0 0 0 8705 17146 2 35 63 0 0 0 0 2784 84304 21156 0 0 0 0 8678 17099 3 33 64 0 0 0 0 2784 84304 21156 0 0 0 0 8707 17135 2 37 61 0 In my case additional 8000 irqs with these parameters: root at debian:~/rt-tests# ./cyclictest -t 30 -p 80 -d 30 -n -i 3000 -l 24000 -q WARN: stat /dev/cpu_dma_latency failed: No such file or directory T: 0 ( 5862) P:80 I:3000 C: 24000 Min: 7 Act: 9 Avg: 9 Max: 33 T: 1 ( 5863) P:80 I:3030 C: 23767 Min: 6 Act: 17 Avg: 8 Max: 49 T: 2 ( 5864) P:80 I:3060 C: 23534 Min: 6 Act: 12 Avg: 8 Max: 45 [same,skipped] T:26 ( 5888) P:80 I:3780 C: 19051 Min: 7 Act: 8 Avg: 9 Max: 35 T:27 ( 5889) P:80 I:3810 C: 18901 Min: 7 Act: 11 Avg: 8 Max: 40 T:28 ( 5890) P:80 I:3840 C: 18754 Min: 7 Act: 14 Avg: 8 Max: 39 T:29 ( 5891) P:80 I:3870 C: 18608 Min: 7 Act: 14 Avg: 8 Max: 36 > 6) In your case, most capable realtime hypervisor with RT_PREEMPT guest > would be one of the best solution. > > May be. According this publication ( > http://www.linux-kvm.org/wiki/images/0/03/KVM-Forum-2011-RT-KVM.pdf) > guest threads can be interrupted not more 112 uS. > > Simple solution - for TDM card enough ordinary processor without > virtualization. :o) > This is a best solution. > On Thu, Apr 9, 2015 at 8:09 PM, Dmitry Lysenko > wrote: > >> >> >> 2015-04-08 15:25 GMT+03:00 Sergey Safarov : >> >>> 1) 125uS is the interval between FrameSync of ONE(!) PCM sample at >>> 8000hz, >>> But here we are talking about packet telephony where commonly used frame >>> length is 20000 uS. >>> So, intervals for testing should be 5000-10000-20000uS, not 125uS. >>> >>> Not all FS installation has SIP endpoint. Some can have TDM cards, USB >>> dongle and other analog equipment. Can you say what is length of this frame >>> type? >>> I am wondering about this question. I know that the frame 125ms is >>> enough. >>> >> >> Most(if not all) of modern equipment have buffers. TDM cards too. Even >> $0.25 microcontrollers have buffers. >> Firing interrupts at each PCM sample not needed. >> If you want massive sync audio processing (w/o buffering) you can use >> hard realtime OS. PC and Linux (even on bare metal) is not suitable for >> this, at least without RT patched kernel. >> >> >>> 2) Why you decided that all of 42 threads should wake up simultaneously? >>> That totally impossible in real world applications. >>> Here should be tens of uS. Dependent of network card and, possibly, >>> other I/O hardware. >>> >>> Can you say how many FS create threads for 40-50 active calls? >>> >> >> >> AFAIR, 1 thread per call leg, but depends of endpoints. Most of time >> threads in I/O waiting/sleeping and encoding/decoding state. >> >> >>> 3) -q switch is missing >>> I am thinking it is optional. Result is same >>> >> >> Dynamic output to screen consumes resources. How much, depends on >> method.(VGA, Serial console, SSH). In my case difference is significiant. >> So, fair testing should exclude such things, IMO. >> >> >>> 4) Precise time measurement and realtime processing in VM environment >>> is a challenge. >>> To obtain acceptable results fine tuning of host's and guest's required. >>> WIthout that this numbers ... does not mean anything. >>> >>> Can you learn me how to correctly measure timer source quality in VM? >>> >> >> Serious players, as Wind River, use external timer. >> >> In your case, most capable realtime hypervisor with RT_PREEMPT guest >> would be one of the best solution. >> >> Dmitry. >> >> >>> On Wed, Apr 8, 2015 at 2:07 PM, Dmitry Lysenko < >>> dvl36.ripe.nick at gmail.com> wrote: >>> >>>> 2015-04-07 10:48 GMT+03:00 Sergey Safarov : >>>> >>>>> ... >>>>> 2) i 125 - time us between software timer interrupts for first thread. >>>>> It time is equal time between samples rate in PSTN networks >>>>> In order to maintain our sampling rate we have 125 microseconds (uS) >>>>> between consecutive samples (1/8,000Hz), which is more >>>>> >>>> ... >>>>> >>>> >>>> 125uS is the interval between FrameSync of ONE(!) PCM sample at 8000hz, >>>> But here we are talking about packet telephony where commonly used >>>> frame length is 20000 uS. >>>> So, intervals for testing should be 5000-10000-20000uS, not 125uS. >>>> >>>> >>>>> 3) d 0 - this switch will make time between software timer interrupts >>>>> for second and following threads is equal timer value for first thread >>>>> >>>> >>>> Why you decided that all of 42 threads should wake up simultaneously? >>>> That totally impossible in real world applications. >>>> Here should be tens of uS. Dependent of network card and, possibly, >>>> other I/O hardware. >>>> >>>> >>>>> 4) l 240000 - how many timer test must be made. It is adjusted for 30 >>>>> s overall test >>>>> 5) n - use clock_nanosleep. it is allow take more accurate timer test >>>>> values on my VM >>>>> 6) p 80 - it is copied from example on Cyclictest page >>>>> >>>> >>>> -q switch is missing. >>>> >>>> >>>>> And how in your opinion this numbers are related to Freeswitch in VM >>>>> environment? >>>>> Relation between Cyclictest switches and FS described above. >>>>> Relation betwen Cyclictest results and FS simple >>>>> >>>> >>>> Precise time measurement and realtime processing in VM environment is >>>> a challenge. >>>> To obtain acceptable results fine tuning of host's and guest's >>>> required. >>>> WIthout that this numbers ... does not mean anything. >>>> >>>> >>>> On Tue, Apr 7, 2015 at 5:38 AM, Dmitry Lysenko < >>>>> dvl36.ripe.nick at gmail.com> wrote: >>>>> >>>>>> Sergey, >>>>>> Why you suggest to use exactly this numbers in cyclictest's switches? >>>>>> And how in your opinion this numbers are related to Freeswitch in VM >>>>>> environment? >>>>>> >>>>>> P.S. >>>>>> https://mindlinux.wordpress.com/2013/10/25/using-and-understanding-the-real-time-cyclictest-benchmark-frank-rowand-sony/ >>>>>> >>>>>> 2015-04-06 15:27 GMT+03:00 Sergey Safarov : >>>>>> >>>>>>> Errol can you test VM timer with utility >>>>>>> https://rt.wiki.kernel.org/index.php/Cyclictest >>>>>>> >>>>>>> My VM currently have folowing results >>>>>>> >>>>>>> [root at fs1 ~]# date && /tmp/rt-tests/cyclictest -t42 -p 80 -d 0 -n -i 125 -l 240000 && date >>>>>>> Sun Apr 5 07:01:31 GMT 2015 >>>>>>> # /dev/cpu_dma_latency set to 0us >>>>>>> policy: fifo: loadavg: 2.38 0.93 0.50 1/194 1574 >>>>>>> >>>>>>> T: 0 ( 1531) P:80 I:125 C: 240000 Min: 2 Act: 12 Avg: 16 Max: 1302 >>>>>>> T: 1 ( 1532) P:80 I:125 C: 240000 Min: 2 Act: 15 Avg: 14 Max: 2895 >>>>>>> T: 2 ( 1533) P:80 I:125 C: 240000 Min: 3 Act: 10 Avg: 12 Max: 2888 >>>>>>> T: 3 ( 1534) P:80 I:125 C: 240000 Min: 1 Act: 16 Avg: 13 Max: 1333 >>>>>>> T: 4 ( 1535) P:80 I:125 C: 240000 Min: 2 Act: 20 Avg: 14 Max: 2962 >>>>>>> T: 5 ( 1536) P:80 I:125 C: 240000 Min: 1 Act: 12 Avg: 14 Max: 2946 >>>>>>> T: 6 ( 1537) P:80 I:125 C: 240000 Min: 2 Act: 10 Avg: 13 Max: 1363 >>>>>>> T: 7 ( 1538) P:80 I:125 C: 240000 Min: 2 Act: 12 Avg: 13 Max: 1344 >>>>>>> T: 8 ( 1539) P:80 I:125 C: 240000 Min: 3 Act: 12 Avg: 16 Max: 1408 >>>>>>> T: 9 ( 1540) P:80 I:125 C: 240000 Min: 1 Act: 8 Avg: 13 Max: 2882 >>>>>>> T:10 ( 1541) P:80 I:125 C: 239974 Min: 2 Act: 12 Avg: 13 Max: 2908 >>>>>>> >>>>>>> >>>>>>> On Mon, Apr 6, 2015 at 11:15 AM, Errol Samuels >>>>>>> wrote: >>>>>>> >>>>>>>> Good job and Thanks for sharing! >>>>>>>> >>>>>>>> KVM at digitalocean.com, Debian 7 64bit, FreeSWITCH 1.4.15: bad >>>>>>>>> precision >>>>>>>> >>>>>>>> >>>>>>>> As someone who has been using KVM for a few years and has just >>>>>>>> migrated about 20 VMs across to Digital Ocean about 6 weeks ago I admit I >>>>>>>> am a little concerned about this finding. >>>>>>>> >>>>>>>> Just out of curiosity can you tell me the specs of the VM that you >>>>>>>> tested with and which DO Datacenter? I am using NYC3 so perhaps and I will >>>>>>>> do some tests as soon as I have some time. >>>>>>>> >>>>>>>> With regards to Xen was this at Linode or inhouse? >>>>>>>> >>>>>>>> Thanks >>>>>>>> >>>>>>>> Errol >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> On Sun, Apr 5, 2015 at 1:37 AM, Stanislav Sinyagin < >>>>>>>> ssinyagin at gmail.com> wrote: >>>>>>>> >>>>>>>>> here we go: >>>>>>>>> >>>>>>>>> https://txlab.wordpress.com/2015/04/05/testing-rtp-clock-precision-on-a-virtual-machine/ >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> On Sat, Apr 4, 2015 at 4:26 PM, Stanislav Sinyagin < >>>>>>>>> ssinyagin at gmail.com> wrote: >>>>>>>>> > On Sat, Apr 4, 2015 at 1:03 PM, Regis M < >>>>>>>>> regis.freeswitch.org at tornad.net> wrote: >>>>>>>>> >> How do you check wavs together in audacity ? >>>>>>>>> > >>>>>>>>> > you just open two WAV files, align their starting position, and >>>>>>>>> > visually check the waves. If there's a problem, you would see >>>>>>>>> that >>>>>>>>> > after few seconds, the waves are not aligned any more. >>>>>>>>> > >>>>>>>>> >> Can you send me 2 samples wav (send... and recorded) so I could >>>>>>>>> see the 20ms >>>>>>>>> >> diff that you exposed... >>>>>>>>> >> >>>>>>>>> >> Is there a way to automate the result checking, so it could >>>>>>>>> help to monitor >>>>>>>>> >> itsp quality >>>>>>>>> > >>>>>>>>> > Here >>>>>>>>> > https://github.com/openpreserve/scape-xcorrsound/issues/17 >>>>>>>>> > this is a link to a tool which compares two sound files at the >>>>>>>>> wave >>>>>>>>> > level. You can also see the sound samples in the ticket. >>>>>>>>> > The problem is, that currently this tool does not detect such >>>>>>>>> slipping frames. >>>>>>>>> > >>>>>>>>> > I will also write a detailed article with examples, during the >>>>>>>>> weekend. >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> >> >>>>>>>>> >> >>>>>>>>> >> 2015-04-04 12:53 GMT+02:00 Stanislav Sinyagin < >>>>>>>>> ssinyagin at gmail.com>: >>>>>>>>> >>> >>>>>>>>> >>> Important is to send the media through two independent >>>>>>>>> carriers - then you >>>>>>>>> >>> can be sure that your clock is compared against a high quality >>>>>>>>> one. >>>>>>>>> >>> >>>>>>>>> >>> On Apr 4, 2015 12:46 PM, "Regis M" < >>>>>>>>> regis.freeswitch.org at tornad.net> >>>>>>>>> >>> wrote: >>>>>>>>> >>>> >>>>>>>>> >>>> Hi, >>>>>>>>> >>>> >>>>>>>>> >>>> It's a very interresting test and conclusion. >>>>>>>>> >>>> >>>>>>>>> >>>> I will try to build a similar environnement on my freeswitch >>>>>>>>> to check >>>>>>>>> >>>> some system :) >>>>>>>>> >>>> >>>>>>>>> >>>> thanks >>>>>>>>> >>>> >>>>>>>>> >>>> >>>>>>>>> >>>> >>>>>>>>> >>>> 2015-04-04 2:16 GMT+02:00 Stanislav Sinyagin < >>>>>>>>> ssinyagin at gmail.com>: >>>>>>>>> >>>>> >>>>>>>>> >>>>> hi, >>>>>>>>> >>>>> >>>>>>>>> >>>>> Here are some test results which might be interesting: >>>>>>>>> >>>>> >>>>>>>>> >>>>> I've set up a test FreeSWITCH server at digitalocean (they >>>>>>>>> use KVM), >>>>>>>>> >>>>> and originated test calls to some ITSP accounts. Each call >>>>>>>>> played a >>>>>>>>> >>>>> test sound file (voice samples from ITU: >>>>>>>>> >>>>> >>>>>>>>> http://www.itu.int/net/itu-t/sigdb/genaudio/AudioForm-g.aspx?val=1000050 >>>>>>>>> >>>>> ), and on the receiving end another FreeSWITCH server was >>>>>>>>> recording >>>>>>>>> >>>>> the received session. The receiving server was on a XEN VM. >>>>>>>>> Both >>>>>>>>> >>>>> servers talked G711 to their corresponding ITSP accounts. >>>>>>>>> >>>>> >>>>>>>>> >>>>> Then I compared the source audio and received audio in >>>>>>>>> Audacity editor. >>>>>>>>> >>>>> >>>>>>>>> >>>>> The tests showed that the received voice wave shifts 20ms >>>>>>>>> from the >>>>>>>>> >>>>> original sound every few seconds, randomly back and forward. >>>>>>>>> This >>>>>>>>> >>>>> skewing was always present, regardless of ITSP and time of >>>>>>>>> day. >>>>>>>>> >>>>> >>>>>>>>> >>>>> Then I moved the sending server to a XEN VM, and the waves >>>>>>>>> appeared >>>>>>>>> >>>>> almost perfectly synchronized (there was a 5ms skew in one >>>>>>>>> test, and I >>>>>>>>> >>>>> guess it's related to transcoding buffer, as the sound was >>>>>>>>> obviously >>>>>>>>> >>>>> transcoded). >>>>>>>>> >>>>> >>>>>>>>> >>>>> The effect was always visible with a 30-second sample, and I >>>>>>>>> also made >>>>>>>>> >>>>> additional tests with 2-minute samples. >>>>>>>>> >>>>> >>>>>>>>> >>>>> It would also be interesting to test this from a VmWare VM. >>>>>>>>> If someone >>>>>>>>> >>>>> wants to run such a test, feel free to contact me directly. >>>>>>>>> >>>>> >>>>>>>>> >>>>> >>>>>>>>> >>>>> cheers, >>>>>>>>> >>>>> stan >>>>>>>>> >>>>> >>>>>>>>> >>>>> >>>>>>>>> >>>>> >>>>>>>>> _________________________________________________________________________ >>>>>>>>> >>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>> >>>>> consulting at freeswitch.org >>>>>>>>> >>>>> http://www.freeswitchsolutions.com >>>>>>>>> >>>>> >>>>>>>>> >>>>> Official FreeSWITCH Sites >>>>>>>>> >>>>> http://www.freeswitch.org >>>>>>>>> >>>>> http://confluence.freeswitch.org >>>>>>>>> >>>>> http://www.cluecon.com >>>>>>>>> >>>>> >>>>>>>>> >>>>> FreeSWITCH-users mailing list >>>>>>>>> >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>>> >>>>> >>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>> >>>>> UNSUBSCRIBE: >>>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>>> >>>>> http://www.freeswitch.org >>>>>>>>> >>>> >>>>>>>>> >>>> >>>>>>>>> >>>> >>>>>>>>> >>>> >>>>>>>>> _________________________________________________________________________ >>>>>>>>> >>>> Professional FreeSWITCH Consulting Services: >>>>>>>>> >>>> consulting at freeswitch.org >>>>>>>>> >>>> http://www.freeswitchsolutions.com >>>>>>>>> >>>> >>>>>>>>> >>>> Official FreeSWITCH Sites >>>>>>>>> >>>> http://www.freeswitch.org >>>>>>>>> >>>> http://confluence.freeswitch.org >>>>>>>>> >>>> http://www.cluecon.com >>>>>>>>> >>>> >>>>>>>>> >>>> FreeSWITCH-users mailing list >>>>>>>>> >>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>>> >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>> >>>> UNSUBSCRIBE: >>>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>>> >>>> http://www.freeswitch.org >>>>>>>>> >>> >>>>>>>>> >>> >>>>>>>>> >>> >>>>>>>>> _________________________________________________________________________ >>>>>>>>> >>> Professional FreeSWITCH Consulting Services: >>>>>>>>> >>> consulting at freeswitch.org >>>>>>>>> >>> http://www.freeswitchsolutions.com >>>>>>>>> >>> >>>>>>>>> >>> Official FreeSWITCH Sites >>>>>>>>> >>> http://www.freeswitch.org >>>>>>>>> >>> http://confluence.freeswitch.org >>>>>>>>> >>> http://www.cluecon.com >>>>>>>>> >>> >>>>>>>>> >>> FreeSWITCH-users mailing list >>>>>>>>> >>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>>> >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>> >>> UNSUBSCRIBE: >>>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>>> >>> http://www.freeswitch.org >>>>>>>>> >> >>>>>>>>> >> >>>>>>>>> >> >>>>>>>>> >> >>>>>>>>> _________________________________________________________________________ >>>>>>>>> >> Professional FreeSWITCH Consulting Services: >>>>>>>>> >> consulting at freeswitch.org >>>>>>>>> >> http://www.freeswitchsolutions.com >>>>>>>>> >> >>>>>>>>> >> Official FreeSWITCH Sites >>>>>>>>> >> http://www.freeswitch.org >>>>>>>>> >> http://confluence.freeswitch.org >>>>>>>>> >> http://www.cluecon.com >>>>>>>>> >> >>>>>>>>> >> FreeSWITCH-users mailing list >>>>>>>>> >> FreeSWITCH-users at lists.freeswitch.org >>>>>>>>> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>> >> UNSUBSCRIBE: >>>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>>> >> http://www.freeswitch.org >>>>>>>>> >>>>>>>>> >>>>>>>>> _________________________________________________________________________ >>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>> consulting at freeswitch.org >>>>>>>>> http://www.freeswitchsolutions.com >>>>>>>>> >>>>>>>>> Official FreeSWITCH Sites >>>>>>>>> http://www.freeswitch.org >>>>>>>>> http://confluence.freeswitch.org >>>>>>>>> http://www.cluecon.com >>>>>>>>> >>>>>>>>> FreeSWITCH-users mailing list >>>>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>> UNSUBSCRIBE: >>>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>>> http://www.freeswitch.org >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> _________________________________________________________________________ >>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>> consulting at freeswitch.org >>>>>>>> http://www.freeswitchsolutions.com >>>>>>>> >>>>>>>> Official FreeSWITCH Sites >>>>>>>> http://www.freeswitch.org >>>>>>>> http://confluence.freeswitch.org >>>>>>>> http://www.cluecon.com >>>>>>>> >>>>>>>> FreeSWITCH-users mailing list >>>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>> UNSUBSCRIBE: >>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>> http://www.freeswitch.org >>>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> _________________________________________________________________________ >>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>> consulting at freeswitch.org >>>>>>> http://www.freeswitchsolutions.com >>>>>>> >>>>>>> Official FreeSWITCH Sites >>>>>>> http://www.freeswitch.org >>>>>>> http://confluence.freeswitch.org >>>>>>> http://www.cluecon.com >>>>>>> >>>>>>> FreeSWITCH-users mailing list >>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> UNSUBSCRIBE: >>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>> http://www.freeswitch.org >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> _________________________________________________________________________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at freeswitch.org >>>>>> http://www.freeswitchsolutions.com >>>>>> >>>>>> Official FreeSWITCH Sites >>>>>> http://www.freeswitch.org >>>>>> http://confluence.freeswitch.org >>>>>> http://www.cluecon.com >>>>>> >>>>>> FreeSWITCH-users mailing list >>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE: >>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>> >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150410/6b153092/attachment-0001.html From aqsyounas at gmail.com Fri Apr 10 19:02:43 2015 From: aqsyounas at gmail.com (Aqs Younas) Date: Fri, 10 Apr 2015 20:02:43 +0500 Subject: [Freeswitch-users] how to increase/decrease stream volume. In-Reply-To: <0e1201d0730c$e9058800$bb109800$@botecomm.com> References: <0e1201d0730c$e9058800$bb109800$@botecomm.com> Message-ID: Thanks. Grunstein, Man for your reply Grunstein, could you please provide me a simple example in lua that just increase volume on # with mod_shout. Because the given examples are written in js.When I try to call function in lua with streamfile it gives following error. 2015-04-10 19:57:13.074086 [ERR] mod_lua.cpp:203 Error in streamFile (arg 3), expected 'int' got 'function' stack traceback: [C]: in function 'streamFile' /usr/local/freeswitch/scripts/test.lua:19: in main chunk Man, How can I set AGC or Normalize the audio in freeswitch using mod_vlc? Thanks a lot. On 10 April 2015 at 02:34, Bote Man wrote: > You might also look at the Normalize tool in VLC if they ever got that > working. There?s also an AGC (Automatic Gain Control) feature. That would > automate it. > > > > Bote > > > > > > *From:* Moishe Grunstein > *Sent:* Thursday, 09 April, 2015 16:14 > *Subject:* Re: [Freeswitch-users] how to increase/decrease stream volume. > > > > See https://wiki.freeswitch.org/wiki/Session_streamFile (I could not find > it in Confluence) I know it works with Shout I am not sure if it works > with VLC. > > > > Thanks, > > > > Moishe Grunstein > > Tornado Computer Systems, Inc. > > 212.400.7650 888.IPPBX.US > *Service Request Email: support at nysolutions.com * > > [image: cid:image001.jpg at 01C72F94.9EE45D60] > > Computer Networking * Managed Services * IP Video Surveillance * Network > Assessments * Web Solutions * Voice over IP * Disaster Recovery * Network > Security * Site Surveys * CMS > > > > *From:* freeswitch-users-bounces at lists.freeswitch.org [ > mailto:freeswitch-users-bounces at lists.freeswitch.org > ] *On Behalf Of *Aqs Younas > *Sent:* Thursday, April 9, 2015 3:31 PM > *To:* FreeSWITCH Users Help > *Subject:* [Freeswitch-users] how to increase/decrease stream volume. > > > > Hi, users. > > I am playing streams with mod_vlc. Some streams are higher in volume and > other lower. I want to control stream volume by pressing some dtmf. > > Is there any way to do so, like in mod_conference we can increase/decrease > volume by pressing some dtmf. > > Thanks. > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150410/e5a265fe/attachment.html -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 2424 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150410/e5a265fe/attachment.jpg From italorossib at gmail.com Fri Apr 10 21:29:42 2015 From: italorossib at gmail.com (=?UTF-8?B?w410YWxvIFJvc3Np?=) Date: Fri, 10 Apr 2015 14:29:42 -0300 Subject: [Freeswitch-users] mod_callcenter In-Reply-To: References: Message-ID: I think it's not implemented at this time. On Thu, Apr 9, 2015 at 9:36 AM, Ali Jibran wrote: > Ok I figured that out. > > I meant MOH with a ringing tone. > > As in the MOH plays but as soon as the agents phone starts ringing the > caller hear a tone. Is that possible? > > > On Thursday, April 9, 2015, Ali Jibran wrote: > >> Can you give me a little detail how to use that and where? >> >> Like in the dialplan before I put a call in queue? Or in >> callcenter.conf? >> >> On Thursday, April 9, 2015, Vik Killa wrote: >> >>> Ali, >>> Yes, you need to use the tone_stream:// .... >>> Thanks. >>> /V >>> >>> On Thu, Apr 9, 2015 at 7:52 AM, Ali Jibran >>> wrote: >>> >>>> Is it possible to stop the MOH and let the caller hear a ringing sound >>>> as soon as the agent is in ring ready state? >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- ?talo Rossi -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150410/1f9c6984/attachment.html From joeyutong at gmail.com Fri Apr 10 17:22:15 2015 From: joeyutong at gmail.com (Joey) Date: Fri, 10 Apr 2015 21:22:15 +0800 Subject: [Freeswitch-users] unable to send fax using txfax from freeswitch to kapanga on LAN Message-ID: <3F6E9ED1-DCDF-40BA-B0D0-8CBB2E48D5A4@gmail.com> I am trying to send fax from freeswitch on Ubuntu 14.10 to kapanga on Windows 7 in the same LAN. The command I am using on fs console is: originate {ignore_early_media=true,fax_verbose=true,fax_enable_t38=true,fax_enable_t38_request=true}user/1003 &txfax(/tmp/txfax.tif) I can receive the fax from kapanga using rxfax. The complete error log is at pastebin https://pastebin.freeswitch.org/24095 And here are some snippets from log 2015-04-10 15:44:32.135053 [DEBUG] mod_spandsp_fax.c:286 FLOW T.30 T0 expired in state T 2015-04-10 15:44:32.135053 [DEBUG] mod_spandsp_fax.c:286 FLOW T.30 Status changing to 'Timed out waiting for initial communication' 2015-04-10 15:44:32.135053 [DEBUG] mod_spandsp_fax.c:506 ============================================================================== 2015-04-10 15:44:32.135053 [DEBUG] mod_spandsp_fax.c:518 Fax processing not successful - result (2) Timed out waiting for initial communication. 2015-04-10 15:44:32.135053 [DEBUG] mod_spandsp_fax.c:523 Remote station id: 2015-04-10 15:44:32.135053 [DEBUG] mod_spandsp_fax.c:524 Local station id: SpanDSP Fax Ident 2015-04-10 15:44:32.135053 [DEBUG] mod_spandsp_fax.c:525 Pages transferred: 0 2015-04-10 15:44:32.135053 [DEBUG] mod_spandsp_fax.c:527 Total fax pages: 0 2015-04-10 15:44:32.135053 [DEBUG] mod_spandsp_fax.c:528 Image resolution: 0x0 2015-04-10 15:44:32.135053 [DEBUG] mod_spandsp_fax.c:529 Transfer Rate: 14400 2015-04-10 15:44:32.135053 [DEBUG] mod_spandsp_fax.c:531 ECM status off 2015-04-10 15:44:32.135053 [DEBUG] mod_spandsp_fax.c:532 remote country: 2015-04-10 15:44:32.135053 [DEBUG] mod_spandsp_fax.c:533 remote vendor: 2015-04-10 15:44:32.135053 [DEBUG] mod_spandsp_fax.c:534 remote model: 2015-04-10 15:44:32.135053 [DEBUG] mod_spandsp_fax.c:536 ============================================================================== 2015-04-10 15:44:32.135053 [DEBUG] mod_spandsp_fax.c:286 FLOW T.30 Changing from state T to CALL_FINISHED 2015-04-10 15:44:32.135053 [DEBUG] mod_spandsp_fax.c:286 FLOW T.30 Changing from phase A_CNG to CALL_FINISHED 2015-04-10 15:44:32.135053 [DEBUG] mod_spandsp_fax.c:286 FLOW T.38T Set rx type 9 2015-04-10 15:44:32.135053 [DEBUG] mod_spandsp_fax.c:286 FLOW T.38T Set tx type 9 2015-04-10 15:44:32.135053 [DEBUG] mod_spandsp_fax.c:286 FLOW T.38T FAX exchange complete 2015-04-10 15:44:32.135053 [DEBUG] mod_spandsp_fax.c:286 FLOW T.30 Call completed 2015-04-10 15:44:32.135053 [DEBUG] switch_core_codec.c:246 sofia/internal/1003 at 192.168.0.81 :5060 Restore previous codec PCMU:0. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150410/1efdec0a/attachment-0001.html From mike at jerris.com Fri Apr 10 23:35:54 2015 From: mike at jerris.com (Michael Jerris) Date: Fri, 10 Apr 2015 15:35:54 -0400 Subject: [Freeswitch-users] voicemail: customize In-Reply-To: <552539E1.4070104@ringme.ru> References: <552539E1.4070104@ringme.ru> Message-ID: <987542F7-852C-4A32-AC04-16F09A89EC77@jerris.com> The phrases are all in config files, you can edit them to have whatever you want in them, including having them do nothing. > On Apr 8, 2015, at 10:23 AM, ????? wrote: > > Hello. > > We need to change the behavior of voicemail module, ie disable phrases > after message. how can this be done? module voicemail_ivr not earned as > needed. From mike at jerris.com Fri Apr 10 23:39:37 2015 From: mike at jerris.com (Michael Jerris) Date: Fri, 10 Apr 2015 15:39:37 -0400 Subject: [Freeswitch-users] Video with mod_conference In-Reply-To: References: Message-ID: <19AC0F8E-B34C-42F3-8A56-BC2C68720F24@jerris.com> These features are significantly better in the upcoming 1.6 version. Keep an eye out for upcoming announcements on that. I would not expect the video features to be very stable in 1.4 except for point to point passthrough with no transcoding. > On Apr 9, 2015, at 11:30 AM, Adam Ben-Ayoun wrote: > > Hi guys, > > I am experimenting with mod_conference and video, I have a conference (not in video-bridge mode), I am connecting with 2 clients using SIPjs, my goal is to have video from client1 to client2. > > Here is what I'v tried: > Assume client1 is the broadcaster while client2 is the receiver. Client1 connects to the conference first, he is floor at this point: > freeswitch at internal> conference list > Conference 1234-172.30.3.212 (2 members rate: 16000 flags: running|answered|enforce_min|dynamic|exit_sound|enter_sound) > 1;sofia/internal/anonymous.2po4ni at anonymous.invalid;7c8e7494-decc-11e4-93cd-2391a0614a29;anonymous.2po4ni;anonymous.2po4ni;video|floor;0;0;0;0 > > Now, client2 joins in, as expected, client1 is still floor: > freeswitch at internal> conference list > Conference 1234-172.30.3.212 (2 members rate: 16000 flags: running|answered|enforce_min|dynamic|exit_sound|enter_sound) > 2;sofia/internal/anonymous.hgbmm4 at anonymous.invalid;80a2f38e-decc-11e4-93d3-2391a0614a29;anonymous.hgbmm4;anonymous.hgbmm4;video;0;0;0;0 > 1;sofia/internal/anonymous.2po4ni at anonymous.invalid;7c8e7494-decc-11e4-93cd-2391a0614a29;anonymous.2po4ni;anonymous.2po4ni;video|floor;0;0;0;0 > > No video goes through to client2. Now, if I am setting client2 as floor and then setting back client1 as floor, video start to come in.. And just before the video starts, the log shows that client2's video DTLS handshake becomes READY: > 2015-04-09 15:24:40.391590 [DEBUG] switch_core_media.c:4361 sofia/internal/anonymous.2po4ni at anonymous.invalid Video thread resumed Echo is off > 2015-04-09 15:24:41.851825 [INFO] switch_rtp.c:2923 Changing video DTLS state from HANDSHAKE to SETUP > 2015-04-09 15:24:41.851825 [INFO] switch_rtp.c:2831 video Fingerprint Verified. > 2015-04-09 15:24:41.851825 [INFO] switch_rtp.c:3373 Activating Video Secure RTP SEND > 2015-04-09 15:24:41.851825 [INFO] switch_rtp.c:3351 Activating Video Secure RTP RECV > 2015-04-09 15:24:41.851825 [INFO] switch_rtp.c:2871 Changing video DTLS state from SETUP to READY > > In addition, even before doing the floor toggle to get the video going, I see mod_conference's video thread doing: switch_core_session_write_video_frame(imember->session, vid_frame, SWITCH_IO_FLAG_NONE, 0); on line 2991. > > Something in the video thread seems to delay/lock the video DTLS handshake.... > > Any idea? > > Thanks! > Adam From ssinyagin at gmail.com Sat Apr 11 03:28:01 2015 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Sat, 11 Apr 2015 01:28:01 +0200 Subject: [Freeswitch-users] ARM servers at Scaleway.com In-Reply-To: References: Message-ID: some more tests: https://txlab.wordpress.com/tag/scaleway/ On Fri, Apr 10, 2015 at 12:38 AM, Stanislav Sinyagin wrote: > the device is pretty decent: 101 channels (50 transcoding sessions with > PCM->G722 translation) are running fine, with about 25% average CPU > utilization across its 4 cores. Each core utilization is fluctuating > between 0 and 70% (using "mpstat -P ALL 10" command). > > could not test it with OPUS, filed a bug report: > https://freeswitch.org/jira/browse/FS-7423 > > > > > On Thu, Apr 9, 2015 at 4:58 PM, Stanislav Sinyagin > wrote: > >> I started running this test: >> >> https://txlab.wordpress.com/2014/04/18/freeswitch-performance-test-on-pc-engines-apu/ >> with 45 active channels, the quality was completely fine. >> Later I will try to bring it to the maximum. >> >> >> >> On Wed, Apr 8, 2015 at 1:23 PM, Andrew Cassidy < >> andrew at cassidywebservices.co.uk> wrote: >> >>> I'd be interested to see some benchmarks and load testing. >>> >>> >>> On 8 April 2015 at 11:22, Stanislav Sinyagin >>> wrote: >>> >>>> Scaleway >>> >>> >>> >>> >>> >>> -- >>> *Andrew Cassidy BSc (Hons) MBCS SSCA* >>> Managing Director >>> >>> >>> *T *03300 100 960 *F >>> *03300 100 961 >>> *E *andrew at cassidywebservices.co.uk >>> *W *www.cassidywebservices.co.uk >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150411/525c3a57/attachment.html From ali.jibran44 at gmail.com Sat Apr 11 12:22:39 2015 From: ali.jibran44 at gmail.com (Ali Jibran) Date: Sat, 11 Apr 2015 13:22:39 +0500 Subject: [Freeswitch-users] mod_callcenter In-Reply-To: References: Message-ID: Ah alright. Thanks ;) On Friday, April 10, 2015, ?talo Rossi wrote: > I think it's not implemented at this time. > > On Thu, Apr 9, 2015 at 9:36 AM, Ali Jibran > wrote: > >> Ok I figured that out. >> >> I meant MOH with a ringing tone. >> >> As in the MOH plays but as soon as the agents phone starts ringing the >> caller hear a tone. Is that possible? >> >> >> On Thursday, April 9, 2015, Ali Jibran > > wrote: >> >>> Can you give me a little detail how to use that and where? >>> >>> Like in the dialplan before I put a call in queue? Or in >>> callcenter.conf? >>> >>> On Thursday, April 9, 2015, Vik Killa wrote: >>> >>>> Ali, >>>> Yes, you need to use the tone_stream:// .... >>>> Thanks. >>>> /V >>>> >>>> On Thu, Apr 9, 2015 at 7:52 AM, Ali Jibran >>>> wrote: >>>> >>>>> Is it possible to stop the MOH and let the caller hear a ringing sound >>>>> as soon as the agent is in ring ready state? >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > ?talo Rossi > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150411/3d671ae3/attachment.html From jayesh1017 at gmail.com Sat Apr 11 15:44:10 2015 From: jayesh1017 at gmail.com (Jayesh Nambiar) Date: Sat, 11 Apr 2015 11:44:10 +0000 Subject: [Freeswitch-users] transfer on fail in originate string for A Leg Message-ID: Hi, I am looking at parking the A Leg of the call when the B Leg in the originate string fails for any reason. In the current scenario the A Leg just hangs up even if it has the park_after_bridge variable set to true. Basically, the park_after_bridge comes into the picture when the B leg is answered and then B Leg hangs up. I tried the following and it worked: originate {transfer_on_fail='USER_BUSY BRIDGE_FAIL XML bridge_fail',park_after_bridge=true}sofia/abc/1234 at dest_ip &bridge(sofia/abc/5678 at dest_ip) Then I have a dialplan as: This works perfectly when the B-Leg fails with USER_BUSY response and I figured that if I comma separate the hangup causes it will work for the causes that I have defined. But I want the A Leg to get parked if the B Leg fails in any scenario so that I dont miss out on some weird Hangup Cause. I read about auto_cause which can be used in place of the HANGUP Causes but that doesn't seem to work as expected. Is there a straight forward way where I can replace the USER_BUSY with a string which will catch all hangup cause and allow the call to be taken to destination and context defined?? Any assistance will be of great help. Thanks, - Jayesh -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150411/ba2f9cd6/attachment-0001.html From ali.jibran44 at gmail.com Sat Apr 11 16:42:58 2015 From: ali.jibran44 at gmail.com (Ali Jibran) Date: Sat, 11 Apr 2015 12:42:58 +0000 Subject: [Freeswitch-users] WEBRTC Message-ID: Is there anyway I can use WEBRTC through a SBC? I'm using Kamailio as a load balancer. And I want to make WEBRTC calls come in through Kamailio and not directly to freeSWITCH. I'm using sip.js. Can someone guide me in the right deprecation on this? Thanks :) -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150411/5a811767/attachment.html From paul.atreides83 at googlemail.com Sat Apr 11 19:43:23 2015 From: paul.atreides83 at googlemail.com (Paul Atreides) Date: Sat, 11 Apr 2015 17:43:23 +0200 Subject: [Freeswitch-users] voicemail_inject - INVALID COMMAND Message-ID: Hi, What am I doing wrong? apicall = 10 at 192.168.176.6 /usr/local/freeswitch/storage/voicemail/default/ 192.168.176.6/10/msg_19e18faf-5951-4743-a6a5-ce3a5535c80d.wav result = api:execute("voicemail_inject " .. apicall); The result is INVALID COMMAND. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150411/1e846594/attachment.html From rossbcan at gmail.com Sat Apr 11 20:04:36 2015 From: rossbcan at gmail.com (Bill Ross) Date: Sat, 11 Apr 2015 12:04:36 -0400 Subject: [Freeswitch-users] Freeswitch / FusionPBX T.38 Fax Message-ID: <0da001d07471$357aef80$a070ce80$@gmail.com> Hi; I am attempting to get T38 Fax working between two FS/FusionPBX installations using mod_spandsp. I am unable to get into T.38 mode, T.30 used, successful fax. Note that zrtp is disabled for fax calls, due to T38 udpl (not rtp media) incompatibility Thanks Brian West!: "T.38 Fax takes place over UDPTL, There for it can NOT be encrypted as there was never really a standard for doing so." Details (both FS's): SIP Provider: freephoneline.ca (claims T38 capable) freeswitch - 1.4.18 x86_64 Topology: FS#1: rossco.org, using FusionPBX web GUI to send fax FS#2:rossco.duckdns.org, using spandsp extension to receive fax (spandsp txfax, x1020)FS#1 -> cloud -> FS#2(spandsp rxfax, x9000) Key variables for fax sender (FS#1), during call: $domain= rossco.org Spandsp Fax extension: 1020 t38_passthru = false zrtp_secure_media = false fax_enable_t38 = true fax_enable_t38_request = true fax_use_ecm = off inbound-late-negotiation = true ignore_early_media = false Key variables for fax receiver (FS#2), during call: $domain= rossco.duckdns.org Spandsp Fax extension: 9000 t38_passthru = false zrtp_secure_media = false fax_enable_t38 = true fax_enable_t38_request = true fax_use_ecm = off inbound-late-negotiation = true ignore_early_media = false Full Logs w/siptrace: Sender(rossco.org): https://pastebin.freeswitch.org/24115 Receiver(rossco.duckdns.org): https://pastebin.freeswitch.org/24116 Note that the SDP's are correct for T38: 590fc4c4-3035-438e-a4c7-4a9d8e51ee42 v=0 590fc4c4-3035-438e-a4c7-4a9d8e51ee42 o=FreeSWITCH 1428750600 1428750602 IN IP4 198.48.238.130 590fc4c4-3035-438e-a4c7-4a9d8e51ee42 s=FreeSWITCH 590fc4c4-3035-438e-a4c7-4a9d8e51ee42 c=IN IP4 198.48.238.130 590fc4c4-3035-438e-a4c7-4a9d8e51ee42 t=0 0 590fc4c4-3035-438e-a4c7-4a9d8e51ee42 m=image 16448 udptl t38 590fc4c4-3035-438e-a4c7-4a9d8e51ee42 a=T38FaxVersion:0 590fc4c4-3035-438e-a4c7-4a9d8e51ee42 a=T38MaxBitRate:14400 590fc4c4-3035-438e-a4c7-4a9d8e51ee42 a=T38FaxFillBitRemoval 590fc4c4-3035-438e-a4c7-4a9d8e51ee42 a=T38FaxRateManagement:transferredTCF 590fc4c4-3035-438e-a4c7-4a9d8e51ee42 a=T38FaxMaxBuffer:2000 590fc4c4-3035-438e-a4c7-4a9d8e51ee42 a=T38FaxMaxDatagram:400 590fc4c4-3035-438e-a4c7-4a9d8e51ee42 a=T38FaxUdpEC:t38UDPRedundancy Questions: 1 - According to my interpretation of logs, T38 is not negotiated, despite T38 SDP's 2 - What am I missing? Thanks; Bill Ross -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150411/362d13ca/attachment.html From bote_radio at botecomm.com Sun Apr 12 07:56:10 2015 From: bote_radio at botecomm.com (Bote Man) Date: Sat, 11 Apr 2015 23:56:10 -0400 Subject: [Freeswitch-users] transfer on fail in originate string for A Leg In-Reply-To: References: Message-ID: <00da01d074d4$9d2c7690$d78563b0$@botecomm.com> There is the FreeSWITCH channel variable ?failure_causes? which can be set to the various cause codes. There is also ?continue_on_fail? which can be set to ?true? in the dialplan to continue regardless of the type of failure on the B-leg in a bridge command. I don?t know if it will work in your transfer scenario, but maybe you can work some magic with these to accomplish what you want? I suspect you will need to rework your dialplan approach to use this, though. See this humongous wiki page: https://freeswitch.org/confluence/display/FREESWITCH/Channel+Variables#ChannelVariables-continue_on_fail Bote From: Jayesh Nambiar Sent: Saturday, 11 April, 2015 07:44 Subject: [Freeswitch-users] transfer on fail in originate string for A Leg Hi, I am looking at parking the A Leg of the call when the B Leg in the originate string fails for any reason. In the current scenario the A Leg just hangs up even if it has the park_after_bridge variable set to true. Basically, the park_after_bridge comes into the picture when the B leg is answered and then B Leg hangs up. I tried the following and it worked: originate {transfer_on_fail='USER_BUSY BRIDGE_FAIL XML bridge_fail',park_after_bridge=true}sofia/abc/1234 at dest_ip &bridge(sofia/abc/5678 at dest_ip) Then I have a dialplan as: This works perfectly when the B-Leg fails with USER_BUSY response and I figured that if I comma separate the hangup causes it will work for the causes that I have defined. But I want the A Leg to get parked if the B Leg fails in any scenario so that I dont miss out on some weird Hangup Cause. I read about auto_cause which can be used in place of the HANGUP Causes but that doesn't seem to work as expected. Is there a straight forward way where I can replace the USER_BUSY with a string which will catch all hangup cause and allow the call to be taken to destination and context defined?? Any assistance will be of great help. Thanks, - Jayesh -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150411/252c61aa/attachment-0001.html From adam.ben.ayoun1 at gmail.com Sat Apr 11 00:45:21 2015 From: adam.ben.ayoun1 at gmail.com (Adam Ben-Ayoun) Date: Fri, 10 Apr 2015 23:45:21 +0300 Subject: [Freeswitch-users] Video with mod_conference In-Reply-To: <19AC0F8E-B34C-42F3-8A56-BC2C68720F24@jerris.com> References: <19AC0F8E-B34C-42F3-8A56-BC2C68720F24@jerris.com> Message-ID: Would using mod_verto with v1.4 make any difference? On 10 April 2015 at 22:39, Michael Jerris wrote: > These features are significantly better in the upcoming 1.6 version. Keep > an eye out for upcoming announcements on that. I would not expect the > video features to be very stable in 1.4 except for point to point > passthrough with no transcoding. > > > > On Apr 9, 2015, at 11:30 AM, Adam Ben-Ayoun > wrote: > > > > Hi guys, > > > > I am experimenting with mod_conference and video, I have a conference > (not in video-bridge mode), I am connecting with 2 clients using SIPjs, my > goal is to have video from client1 to client2. > > > > Here is what I'v tried: > > Assume client1 is the broadcaster while client2 is the receiver. Client1 > connects to the conference first, he is floor at this point: > > freeswitch at internal> conference list > > Conference 1234-172.30.3.212 (2 members rate: 16000 flags: > running|answered|enforce_min|dynamic|exit_sound|enter_sound) > > 1;sofia/internal/anonymous.2po4ni at anonymous.invalid > ;7c8e7494-decc-11e4-93cd-2391a0614a29;anonymous.2po4ni;anonymous.2po4ni;video|floor;0;0;0;0 > > > > Now, client2 joins in, as expected, client1 is still floor: > > freeswitch at internal> conference list > > Conference 1234-172.30.3.212 (2 members rate: 16000 flags: > running|answered|enforce_min|dynamic|exit_sound|enter_sound) > > 2;sofia/internal/anonymous.hgbmm4 at anonymous.invalid > ;80a2f38e-decc-11e4-93d3-2391a0614a29;anonymous.hgbmm4;anonymous.hgbmm4;video;0;0;0;0 > > 1;sofia/internal/anonymous.2po4ni at anonymous.invalid > ;7c8e7494-decc-11e4-93cd-2391a0614a29;anonymous.2po4ni;anonymous.2po4ni;video|floor;0;0;0;0 > > > > No video goes through to client2. Now, if I am setting client2 as floor > and then setting back client1 as floor, video start to come in.. And just > before the video starts, the log shows that client2's video DTLS handshake > becomes READY: > > 2015-04-09 15:24:40.391590 [DEBUG] switch_core_media.c:4361 > sofia/internal/anonymous.2po4ni at anonymous.invalid Video thread resumed > Echo is off > > 2015-04-09 15:24:41.851825 [INFO] switch_rtp.c:2923 Changing video DTLS > state from HANDSHAKE to SETUP > > 2015-04-09 15:24:41.851825 [INFO] switch_rtp.c:2831 video Fingerprint > Verified. > > 2015-04-09 15:24:41.851825 [INFO] switch_rtp.c:3373 Activating Video > Secure RTP SEND > > 2015-04-09 15:24:41.851825 [INFO] switch_rtp.c:3351 Activating Video > Secure RTP RECV > > 2015-04-09 15:24:41.851825 [INFO] switch_rtp.c:2871 Changing video DTLS > state from SETUP to READY > > > > In addition, even before doing the floor toggle to get the video going, > I see mod_conference's video thread doing: > switch_core_session_write_video_frame(imember->session, vid_frame, > SWITCH_IO_FLAG_NONE, 0); on line 2991. > > > > Something in the video thread seems to delay/lock the video DTLS > handshake.... > > > > Any idea? > > > > Thanks! > > Adam > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150410/4f855c02/attachment.html From rossbcan at gmail.com Sun Apr 12 17:07:53 2015 From: rossbcan at gmail.com (Bill Ross) Date: Sun, 12 Apr 2015 09:07:53 -0400 Subject: [Freeswitch-users] Freeswitch / FusionPBX faxback <-> faxback extensions T.38 Fax FAIL: Ack Time Out Message-ID: <0db701d07521$b04a3c10$10deb430$@gmail.com> Hi; Faxback Support - SUP-00019595 I am attempting to get T38 Fax working between two FS/FusionPBX installations using faxback VOIP plugin extensions. The fax TX (FS#1) endpoint drops the call due to "Ack Timeout" after two pages. Faxback VoIP client plugin: http://www.faxback.com/Products/FreeMSFaxDownload.aspx I am able to successfully receive a fax using this faxback endpoint if transmitted by FS/spandsp. Note that zrtp is disabled for fax calls, due to T38 udpl (not rtp media) incompatibility Thanks Brian West!: "T.38 Fax takes place over UDPTL, There for it can NOT be encrypted as there was never really a standard for doing so." Details (both FS's): SIP Provider: freephoneline.ca (claims T38 capable) freeswitch - 1.4.18 x86_64 Topology: FS#1: rossco.org, using faxback plugin (x1019) to send fax FS#2:rossco.duckdns.org, using faxback plugin (x1019) to receive fax (faxback x1019)FS#1 -> cloud -> FS#2(faxback x1019) Key variables for fax sender (FS#1), during call: $domain= rossco.org Faxback Fax extension: 1019 t38_passthru = true zrtp_secure_media = false fax_enable_t38 = false (not set) fax_enable_t38_request = false (not set) fax_use_ecm = off (not set) inbound-late-negotiation = true ignore_early_media = true Key variables for fax receiver (FS#2), during call: $domain= rossco.duckdns.org Faxback Fax extension: 1019 t38_passthru = true zrtp_secure_media = false fax_enable_t38 = false (not set) fax_enable_t38_request = false (not set) fax_use_ecm = false (not set) inbound-late-negotiation = true ignore_early_media = false Full Logs w/siptrace: Sender(rossco.org): https://pastebin.freeswitch.org/24117 Receiver(rossco.duckdns.org): https://pastebin.freeswitch.org/24118 Note that the SDP's are correct for T38: v=0 o=Sippy 177245968 2 IN IP4 208.65.240.165 s=FreeSWITCH t=0 0 m=image 49714 udptl t38 c=IN IP4 208.65.240.165 a=T38FaxVersion:0 a=T38MaxBitRate:14400 a=T38FaxRateManagement:transferredTCF a=T38FaxMaxBuffer:200 a=T38FaxMaxDatagram:72 a=T38FaxUdpEC:t38UDPRedundancy Questions: 1 - According to my interpretation of logs, T38 and t38_passthru is negotiated 2 - I do not have the expertise (yet) to determine the reason for "Ack Timeout" 2 - What am I missing? Thanks; Bill Ross -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150412/6bcdd23e/attachment.html From bote_radio at botecomm.com Sun Apr 12 17:29:52 2015 From: bote_radio at botecomm.com (Bote Man) Date: Sun, 12 Apr 2015 09:29:52 -0400 Subject: [Freeswitch-users] Video with mod_conference In-Reply-To: References: <19AC0F8E-B34C-42F3-8A56-BC2C68720F24@jerris.com> Message-ID: <000c01d07524$c275d900$47618b00$@botecomm.com> Verto is a signaling protocol unique to FreeSWITCH. It would not change how the conference bridge handles video media. As Mike said, the core developers are feverishly working on perfecting the video capabilities of FreeSWITCH and I suspect their efforts will go a long way toward helping you achieve your goal. I don?t know any more than that, but I have seen a glimpse of it and it is substantially better than before. Bote From: Adam Ben-Ayoun Sent: Friday, 10 April, 2015 16:45 Subject: Re: [Freeswitch-users] Video with mod_conference Would using mod_verto with v1.4 make any difference? On 10 April 2015 at 22:39, Michael Jerris wrote: These features are significantly better in the upcoming 1.6 version. Keep an eye out for upcoming announcements on that. I would not expect the video features to be very stable in 1.4 except for point to point passthrough with no transcoding. > On Apr 9, 2015, at 11:30 AM, Adam Ben-Ayoun wrote: > > Hi guys, > > I am experimenting with mod_conference and video, I have a conference (not in video-bridge mode), I am connecting with 2 clients using SIPjs, my goal is to have video from client1 to client2. > > Here is what I'v tried: -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150412/81f04cdb/attachment-0001.html From jayesh1017 at gmail.com Sun Apr 12 20:27:33 2015 From: jayesh1017 at gmail.com (Jayesh Nambiar) Date: Sun, 12 Apr 2015 16:27:33 +0000 Subject: [Freeswitch-users] transfer on fail in originate string for A Leg In-Reply-To: <00da01d074d4$9d2c7690$d78563b0$@botecomm.com> References: <00da01d074d4$9d2c7690$d78563b0$@botecomm.com> Message-ID: Hello, Continue on fail works if you run it from the dial plan. When I originate there's no dial plan associated with the first leg and hence it hangs up anyways. This variable transfer_on_fail works good, all it needs is a string which will be true for all hang up causes except NORMAL_CLEARING and things should be fine. - Jayesh On Sun, 12 Apr 2015 at 9:27 am, Bote Man wrote: > There is the FreeSWITCH channel variable ?failure_causes? which can be set > to the various cause codes. > > > > There is also ?continue_on_fail? which can be set to ?true? in the > dialplan to continue regardless of the type of failure on the B-leg in a > bridge command. I don?t know if it will work in your transfer scenario, but > maybe you can work some magic with these to accomplish what you want? I > suspect you will need to rework your dialplan approach to use this, though. > > > > See this humongous wiki page: > > > https://freeswitch.org/confluence/display/FREESWITCH/Channel+Variables#ChannelVariables-continue_on_fail > > > > Bote > > > > > > > > > > *From:* Jayesh Nambiar > *Sent:* Saturday, 11 April, 2015 07:44 > *Subject:* [Freeswitch-users] transfer on fail in originate string for A > Leg > > > > Hi, > > I am looking at parking the A Leg of the call when the B Leg in the > originate string fails for any reason. In the current scenario the A Leg > just hangs up even if it has the park_after_bridge variable set to true. > Basically, the park_after_bridge comes into the picture when the B leg is > answered and then B Leg hangs up. I tried the following and it worked: > > originate {transfer_on_fail='USER_BUSY BRIDGE_FAIL XML > bridge_fail',park_after_bridge=true}sofia/abc/1234 at dest_ip > &bridge(sofia/abc/5678 at dest_ip) > > Then I have a dialplan as: > > > > > > > > > > > > > > > > > > This works perfectly when the B-Leg fails with USER_BUSY response and I > figured that if I comma separate the hangup causes it will work for the > causes that I have defined. But I want the A Leg to get parked if the B Leg > fails in any scenario so that I dont miss out on some weird Hangup Cause. I > read about auto_cause which can be used in place of the HANGUP Causes but > that doesn't seem to work as expected. > > > > Is there a straight forward way where I can replace the USER_BUSY with a > string which will catch all hangup cause and allow the call to be taken to > destination and context defined?? Any assistance will be of great help. > > > > Thanks, > > > > - Jayesh > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150412/4cccbbcd/attachment.html From s.safarov at gmail.com Sun Apr 12 22:01:36 2015 From: s.safarov at gmail.com (Sergey Safarov) Date: Sun, 12 Apr 2015 21:01:36 +0300 Subject: [Freeswitch-users] KVM vs. XEN virtualization In-Reply-To: References: Message-ID: 1) But in your case, cyclictest can generate 336000 (42*8000) hardware timer irqs per second VS 8000 from TDM card's. Very interest results. My example creates a lot of unnecessary interruptions For VoIP only host more correctly measured so cyclictest -t42 -p -d 80 0 -n -i -l 5000 6000 or cyclictest -t42 -p -d 80 0 -n -i -l 10000 3000 If FS has one TDM cards then cyclictest -t1 -p -d 80 0 -n -i -l 125 240000 If two TDM cards cyclictest -t2 -p -d 80 0 -n -i -l 125 240000 Where "-t" key equal number of TDM cards 2) According to Digium sources your TDM card have 20ms max buffer size(3ms default) USB dongles have at least 20 ms. Can you describe how you have found this information. It is very interest. Sergey On Fri, Apr 10, 2015 at 5:06 PM, Dmitry Lysenko wrote: > 2015-04-10 0:33 GMT+03:00 Sergey Safarov : > >> 1) Most(if not all) of modern equipment have buffers. TDM cards too. Even >> $0.25 microcontrollers have buffers. >> Firing interrupts at each PCM sample not needed. >> >> The problem is whether there is or not the buffer. Is exist in all the >> equipment. >> The problem is the amount of buffer, and through any time it overflows. I >> thing you cannot say buffer size has TDM card and USB modems. :o) >> > > According to Digium sources your TDM card have 20ms max buffer size(3ms > default) > USB dongles have at least 20 ms. > > >> The above i write results of testing Digium E1 card in virtual >> environment. Test that is successful on real host, will fail in virtual >> environment. >> I you see source of timertest utility you will see that Digium test timer >> for 8000 samples for 1000 ms (1s). (Primary utility author Mark Spencer < >> markster at digium.com>) >> It is same value I recommend early. >> > > But in your case, cyclictest can generate 336000 (42*8000) hardware timer > irqs per second VS 8000 from TDM card's. > > Look: > root at debian:~# vmstat 1 > procs -----------memory---------- ---swap-- -----io---- -system-- > ----cpu---- > r b swpd free buff cache si so bi bo in cs us sy id > wa > 0 0 0 2348 85428 21156 0 0 134 0 1856 3409 1 2 92 > 5 > 0 0 0 2320 85428 21156 0 0 0 0 106 224 1 0 99 > 0 > [similar, skipped] > 0 0 0 2312 85436 21156 0 0 0 0 110 231 0 0 > 100 0 > 0 0 0 2312 85436 21156 0 0 0 0 109 225 0 2 98 > 0 > 45 0 0 1924 84908 21156 0 0 0 0 102909 146412 0 > 60 39 0 > Starting of cyclictest with your parameters ^^^^^. > > 102909 interrupts and 146412 context switches per second. > For one TDM card there should be slightly more then 8000 of interrupts. > > Results: > > root at debian:~/rt-tests# ./cyclictest -t42 -p 80 *-d 0* -n -i 125 -l > 240000 -q > WARN: stat /dev/cpu_dma_latency failed: No such file or directory > T: 0 ( 4028) P:80 I:125 C: 239821 Min: 0 Act:100534 Avg:38764 Max: > 229794 > T: 1 ( 4029) P:80 I:125 C: 239820 Min: 0 Act:100536 Avg:39646 Max: > 233558 > T: 2 ( 4030) P:80 I:125 C: 240000 Min: 0 Act:100478 Avg:37947 Max: > 229143 > T: 3 ( 4031) P:80 I:125 C: 240000 Min: 0 Act:106202 Avg:38130 Max: > 239031 > [similar,skipped] > T:38 ( 4066) P:80 I:125 C: 239821 Min: 1 Act:100292 Avg:41273 Max: > 238424 > T:39 ( 4067) P:80 I:125 C: 239822 Min: 0 Act:100174 Avg:40254 Max: > 238881 > T:40 ( 4068) P:80 I:125 C: 239816 Min: 0 Act:100650 Avg:39910 Max: > 239104 > T:41 ( 4069) P:80 I:125 C: 239817 Min: 0 Act:100526 Avg:38282 Max: > 224452 > root at debian:~/rt-tests# > > Increased intervals between threads: > > root at debian:~/rt-tests# ./cyclictest -t42 -p 80 *-d 40* -n -i 125 -l > 240000 -q > WARN: stat /dev/cpu_dma_latency failed: No such file or directory > T: 0 ( 4203) P:80 I:125 C: 240000 Min: 1 Act: 35 Avg: 28 Max: > 159 > T: 1 ( 4204) P:80 I:165 C: 181909 Min: 6 Act: 47 Avg: 29 Max: > 170 > T: 2 ( 4205) P:80 I:205 C: 146417 Min: 6 Act: 15 Avg: 29 Max: > 157 > T: 3 ( 4206) P:80 I:245 C: 122512 Min: 6 Act: 33 Avg: 30 Max: > 166 > [similar,skipped] > T:38 ( 4241) P:80 I:1645 C: 18246 Min: 7 Act: 27 Avg: 34 Max: > 167 > T:39 ( 4242) P:80 I:1685 C: 17813 Min: 8 Act: 13 Avg: 34 Max: > 164 > T:40 ( 4243) P:80 I:1725 C: 17398 Min: 7 Act: 22 Avg: 33 Max: > 156 > T:41 ( 4244) P:80 I:1765 C: 17004 Min: 8 Act: 49 Avg: 34 Max: > 141 > root at debian:~/rt-tests# > > Huge difference, isn't it? > > 2) If you want massive sync audio processing (w/o buffering) you can use >> hard realtime OS. PC and Linux (even on bare metal) is not suitable for >> this, at least without RT patched kernel. >> >> I am not understanding about you speaking. E1 card can be used on real >> host without problems. >> > > They use buffering. Delays of 125uS is not uncommon in ordinary Linux > kernel. BTW, google "system management interrupt". > > 3) AFAIR, 1 thread per call leg, but depends of endpoints. Most of time >> threads in I/O waiting/sleeping and encoding/decoding state. >> >> One thread per FS call, equal one thread cyclictest. In cyclictest most >> time threads sleep also. This threads measure time interval and sleep again. >> > > In Freeswitch all of threads are not waking up every 125uS synchronously. > .And TDM cards are not generating tens/hundreds of thousands interrupts per > second as cyclictest can do. > > IMO, to simulate something like 1 TDM E1 card using cyclictest you should > use parameters that give you additional ~8000 irqs. > > root at debian:~# vmstat 1 > procs -----------memory---------- ---swap-- -----io---- -system-- > ----cpu---- > r b swpd free buff cache si so bi bo in cs us sy id > wa > 0 0 0 3496 84304 21156 0 0 45 0 999 562 1 1 97 > 2 > 0 0 0 3496 84304 21156 0 0 0 0 105 222 0 0 > 100 0 > 0 0 0 2784 84304 21156 0 0 0 0 4276 8482 2 15 83 > 0 > 0 0 0 2784 84304 21156 0 0 0 0 8705 17146 2 35 > 63 0 > 0 0 0 2784 84304 21156 0 0 0 0 8678 17099 3 33 > 64 0 > 0 0 0 2784 84304 21156 0 0 0 0 8707 17135 2 37 > 61 0 > > In my case additional 8000 irqs with these parameters: > > root at debian:~/rt-tests# ./cyclictest -t 30 -p 80 -d 30 -n -i 3000 -l > 24000 -q > WARN: stat /dev/cpu_dma_latency failed: No such file or directory > T: 0 ( 5862) P:80 I:3000 C: 24000 Min: 7 Act: 9 Avg: 9 Max: > 33 > T: 1 ( 5863) P:80 I:3030 C: 23767 Min: 6 Act: 17 Avg: 8 Max: > 49 > T: 2 ( 5864) P:80 I:3060 C: 23534 Min: 6 Act: 12 Avg: 8 Max: > 45 > [same,skipped] > T:26 ( 5888) P:80 I:3780 C: 19051 Min: 7 Act: 8 Avg: 9 Max: > 35 > T:27 ( 5889) P:80 I:3810 C: 18901 Min: 7 Act: 11 Avg: 8 Max: > 40 > T:28 ( 5890) P:80 I:3840 C: 18754 Min: 7 Act: 14 Avg: 8 Max: > 39 > T:29 ( 5891) P:80 I:3870 C: 18608 Min: 7 Act: 14 Avg: 8 Max: > 36 > > >> 6) In your case, most capable realtime hypervisor with RT_PREEMPT guest >> would be one of the best solution. >> >> May be. According this publication ( >> http://www.linux-kvm.org/wiki/images/0/03/KVM-Forum-2011-RT-KVM.pdf) >> guest threads can be interrupted not more 112 uS. >> >> Simple solution - for TDM card enough ordinary processor without >> virtualization. :o) >> > > This is a best solution. > > >> On Thu, Apr 9, 2015 at 8:09 PM, Dmitry Lysenko > > wrote: >> >>> >>> >>> 2015-04-08 15:25 GMT+03:00 Sergey Safarov : >>> >>>> 1) 125uS is the interval between FrameSync of ONE(!) PCM sample at >>>> 8000hz, >>>> But here we are talking about packet telephony where commonly used >>>> frame length is 20000 uS. >>>> So, intervals for testing should be 5000-10000-20000uS, not 125uS. >>>> >>>> Not all FS installation has SIP endpoint. Some can have TDM cards, USB >>>> dongle and other analog equipment. Can you say what is length of this frame >>>> type? >>>> I am wondering about this question. I know that the frame 125ms is >>>> enough. >>>> >>> >>> Most(if not all) of modern equipment have buffers. TDM cards too. Even >>> $0.25 microcontrollers have buffers. >>> Firing interrupts at each PCM sample not needed. >>> If you want massive sync audio processing (w/o buffering) you can use >>> hard realtime OS. PC and Linux (even on bare metal) is not suitable for >>> this, at least without RT patched kernel. >>> >>> >>>> 2) Why you decided that all of 42 threads should wake up simultaneously? >>>> That totally impossible in real world applications. >>>> Here should be tens of uS. Dependent of network card and, possibly, >>>> other I/O hardware. >>>> >>>> Can you say how many FS create threads for 40-50 active calls? >>>> >>> >>> >>> AFAIR, 1 thread per call leg, but depends of endpoints. Most of time >>> threads in I/O waiting/sleeping and encoding/decoding state. >>> >>> >>>> 3) -q switch is missing >>>> I am thinking it is optional. Result is same >>>> >>> >>> Dynamic output to screen consumes resources. How much, depends on >>> method.(VGA, Serial console, SSH). In my case difference is significiant. >>> So, fair testing should exclude such things, IMO. >>> >>> >>>> 4) Precise time measurement and realtime processing in VM environment >>>> is a challenge. >>>> To obtain acceptable results fine tuning of host's and guest's >>>> required. >>>> WIthout that this numbers ... does not mean anything. >>>> >>>> Can you learn me how to correctly measure timer source quality in VM? >>>> >>> >>> Serious players, as Wind River, use external timer. >>> >>> In your case, most capable realtime hypervisor with RT_PREEMPT guest >>> would be one of the best solution. >>> >>> Dmitry. >>> >>> >>>> On Wed, Apr 8, 2015 at 2:07 PM, Dmitry Lysenko < >>>> dvl36.ripe.nick at gmail.com> wrote: >>>> >>>>> 2015-04-07 10:48 GMT+03:00 Sergey Safarov : >>>>> >>>>>> ... >>>>>> 2) i 125 - time us between software timer interrupts for first >>>>>> thread. It time is equal time between samples rate in PSTN networks >>>>>> In order to maintain our sampling rate we have 125 microseconds (uS) >>>>>> between consecutive samples (1/8,000Hz), which is more >>>>>> >>>>> ... >>>>>> >>>>> >>>>> 125uS is the interval between FrameSync of ONE(!) PCM sample at 8000hz, >>>>> But here we are talking about packet telephony where commonly used >>>>> frame length is 20000 uS. >>>>> So, intervals for testing should be 5000-10000-20000uS, not 125uS. >>>>> >>>>> >>>>>> 3) d 0 - this switch will make time between software timer interrupts >>>>>> for second and following threads is equal timer value for first thread >>>>>> >>>>> >>>>> Why you decided that all of 42 threads should wake up simultaneously? >>>>> That totally impossible in real world applications. >>>>> Here should be tens of uS. Dependent of network card and, possibly, >>>>> other I/O hardware. >>>>> >>>>> >>>>>> 4) l 240000 - how many timer test must be made. It is adjusted for 30 >>>>>> s overall test >>>>>> 5) n - use clock_nanosleep. it is allow take more accurate timer test >>>>>> values on my VM >>>>>> 6) p 80 - it is copied from example on Cyclictest page >>>>>> >>>>> >>>>> -q switch is missing. >>>>> >>>>> >>>>>> And how in your opinion this numbers are related to Freeswitch in VM >>>>>> environment? >>>>>> Relation between Cyclictest switches and FS described above. >>>>>> Relation betwen Cyclictest results and FS simple >>>>>> >>>>> >>>>> Precise time measurement and realtime processing in VM environment is >>>>> a challenge. >>>>> To obtain acceptable results fine tuning of host's and guest's >>>>> required. >>>>> WIthout that this numbers ... does not mean anything. >>>>> >>>>> >>>>> On Tue, Apr 7, 2015 at 5:38 AM, Dmitry Lysenko < >>>>>> dvl36.ripe.nick at gmail.com> wrote: >>>>>> >>>>>>> Sergey, >>>>>>> Why you suggest to use exactly this numbers in cyclictest's switches? >>>>>>> And how in your opinion this numbers are related to Freeswitch in VM >>>>>>> environment? >>>>>>> >>>>>>> P.S. >>>>>>> https://mindlinux.wordpress.com/2013/10/25/using-and-understanding-the-real-time-cyclictest-benchmark-frank-rowand-sony/ >>>>>>> >>>>>>> 2015-04-06 15:27 GMT+03:00 Sergey Safarov : >>>>>>> >>>>>>>> Errol can you test VM timer with utility >>>>>>>> https://rt.wiki.kernel.org/index.php/Cyclictest >>>>>>>> >>>>>>>> My VM currently have folowing results >>>>>>>> >>>>>>>> [root at fs1 ~]# date && /tmp/rt-tests/cyclictest -t42 -p 80 -d 0 -n -i 125 -l 240000 && date >>>>>>>> Sun Apr 5 07:01:31 GMT 2015 >>>>>>>> # /dev/cpu_dma_latency set to 0us >>>>>>>> policy: fifo: loadavg: 2.38 0.93 0.50 1/194 1574 >>>>>>>> >>>>>>>> T: 0 ( 1531) P:80 I:125 C: 240000 Min: 2 Act: 12 Avg: 16 Max: 1302 >>>>>>>> T: 1 ( 1532) P:80 I:125 C: 240000 Min: 2 Act: 15 Avg: 14 Max: 2895 >>>>>>>> T: 2 ( 1533) P:80 I:125 C: 240000 Min: 3 Act: 10 Avg: 12 Max: 2888 >>>>>>>> T: 3 ( 1534) P:80 I:125 C: 240000 Min: 1 Act: 16 Avg: 13 Max: 1333 >>>>>>>> T: 4 ( 1535) P:80 I:125 C: 240000 Min: 2 Act: 20 Avg: 14 Max: 2962 >>>>>>>> T: 5 ( 1536) P:80 I:125 C: 240000 Min: 1 Act: 12 Avg: 14 Max: 2946 >>>>>>>> T: 6 ( 1537) P:80 I:125 C: 240000 Min: 2 Act: 10 Avg: 13 Max: 1363 >>>>>>>> T: 7 ( 1538) P:80 I:125 C: 240000 Min: 2 Act: 12 Avg: 13 Max: 1344 >>>>>>>> T: 8 ( 1539) P:80 I:125 C: 240000 Min: 3 Act: 12 Avg: 16 Max: 1408 >>>>>>>> T: 9 ( 1540) P:80 I:125 C: 240000 Min: 1 Act: 8 Avg: 13 Max: 2882 >>>>>>>> T:10 ( 1541) P:80 I:125 C: 239974 Min: 2 Act: 12 Avg: 13 Max: 2908 >>>>>>>> >>>>>>>> >>>>>>>> On Mon, Apr 6, 2015 at 11:15 AM, Errol Samuels >>>>>>> > wrote: >>>>>>>> >>>>>>>>> Good job and Thanks for sharing! >>>>>>>>> >>>>>>>>> KVM at digitalocean.com, Debian 7 64bit, FreeSWITCH 1.4.15: bad >>>>>>>>>> precision >>>>>>>>> >>>>>>>>> >>>>>>>>> As someone who has been using KVM for a few years and has just >>>>>>>>> migrated about 20 VMs across to Digital Ocean about 6 weeks ago I admit I >>>>>>>>> am a little concerned about this finding. >>>>>>>>> >>>>>>>>> Just out of curiosity can you tell me the specs of the VM that you >>>>>>>>> tested with and which DO Datacenter? I am using NYC3 so perhaps and I will >>>>>>>>> do some tests as soon as I have some time. >>>>>>>>> >>>>>>>>> With regards to Xen was this at Linode or inhouse? >>>>>>>>> >>>>>>>>> Thanks >>>>>>>>> >>>>>>>>> Errol >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> On Sun, Apr 5, 2015 at 1:37 AM, Stanislav Sinyagin < >>>>>>>>> ssinyagin at gmail.com> wrote: >>>>>>>>> >>>>>>>>>> here we go: >>>>>>>>>> >>>>>>>>>> https://txlab.wordpress.com/2015/04/05/testing-rtp-clock-precision-on-a-virtual-machine/ >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> On Sat, Apr 4, 2015 at 4:26 PM, Stanislav Sinyagin < >>>>>>>>>> ssinyagin at gmail.com> wrote: >>>>>>>>>> > On Sat, Apr 4, 2015 at 1:03 PM, Regis M < >>>>>>>>>> regis.freeswitch.org at tornad.net> wrote: >>>>>>>>>> >> How do you check wavs together in audacity ? >>>>>>>>>> > >>>>>>>>>> > you just open two WAV files, align their starting position, and >>>>>>>>>> > visually check the waves. If there's a problem, you would see >>>>>>>>>> that >>>>>>>>>> > after few seconds, the waves are not aligned any more. >>>>>>>>>> > >>>>>>>>>> >> Can you send me 2 samples wav (send... and recorded) so I >>>>>>>>>> could see the 20ms >>>>>>>>>> >> diff that you exposed... >>>>>>>>>> >> >>>>>>>>>> >> Is there a way to automate the result checking, so it could >>>>>>>>>> help to monitor >>>>>>>>>> >> itsp quality >>>>>>>>>> > >>>>>>>>>> > Here >>>>>>>>>> > https://github.com/openpreserve/scape-xcorrsound/issues/17 >>>>>>>>>> > this is a link to a tool which compares two sound files at the >>>>>>>>>> wave >>>>>>>>>> > level. You can also see the sound samples in the ticket. >>>>>>>>>> > The problem is, that currently this tool does not detect such >>>>>>>>>> slipping frames. >>>>>>>>>> > >>>>>>>>>> > I will also write a detailed article with examples, during the >>>>>>>>>> weekend. >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> >> >>>>>>>>>> >> >>>>>>>>>> >> 2015-04-04 12:53 GMT+02:00 Stanislav Sinyagin < >>>>>>>>>> ssinyagin at gmail.com>: >>>>>>>>>> >>> >>>>>>>>>> >>> Important is to send the media through two independent >>>>>>>>>> carriers - then you >>>>>>>>>> >>> can be sure that your clock is compared against a high >>>>>>>>>> quality one. >>>>>>>>>> >>> >>>>>>>>>> >>> On Apr 4, 2015 12:46 PM, "Regis M" < >>>>>>>>>> regis.freeswitch.org at tornad.net> >>>>>>>>>> >>> wrote: >>>>>>>>>> >>>> >>>>>>>>>> >>>> Hi, >>>>>>>>>> >>>> >>>>>>>>>> >>>> It's a very interresting test and conclusion. >>>>>>>>>> >>>> >>>>>>>>>> >>>> I will try to build a similar environnement on my freeswitch >>>>>>>>>> to check >>>>>>>>>> >>>> some system :) >>>>>>>>>> >>>> >>>>>>>>>> >>>> thanks >>>>>>>>>> >>>> >>>>>>>>>> >>>> >>>>>>>>>> >>>> >>>>>>>>>> >>>> 2015-04-04 2:16 GMT+02:00 Stanislav Sinyagin < >>>>>>>>>> ssinyagin at gmail.com>: >>>>>>>>>> >>>>> >>>>>>>>>> >>>>> hi, >>>>>>>>>> >>>>> >>>>>>>>>> >>>>> Here are some test results which might be interesting: >>>>>>>>>> >>>>> >>>>>>>>>> >>>>> I've set up a test FreeSWITCH server at digitalocean (they >>>>>>>>>> use KVM), >>>>>>>>>> >>>>> and originated test calls to some ITSP accounts. Each call >>>>>>>>>> played a >>>>>>>>>> >>>>> test sound file (voice samples from ITU: >>>>>>>>>> >>>>> >>>>>>>>>> http://www.itu.int/net/itu-t/sigdb/genaudio/AudioForm-g.aspx?val=1000050 >>>>>>>>>> >>>>> ), and on the receiving end another FreeSWITCH server was >>>>>>>>>> recording >>>>>>>>>> >>>>> the received session. The receiving server was on a XEN VM. >>>>>>>>>> Both >>>>>>>>>> >>>>> servers talked G711 to their corresponding ITSP accounts. >>>>>>>>>> >>>>> >>>>>>>>>> >>>>> Then I compared the source audio and received audio in >>>>>>>>>> Audacity editor. >>>>>>>>>> >>>>> >>>>>>>>>> >>>>> The tests showed that the received voice wave shifts 20ms >>>>>>>>>> from the >>>>>>>>>> >>>>> original sound every few seconds, randomly back and >>>>>>>>>> forward. This >>>>>>>>>> >>>>> skewing was always present, regardless of ITSP and time of >>>>>>>>>> day. >>>>>>>>>> >>>>> >>>>>>>>>> >>>>> Then I moved the sending server to a XEN VM, and the waves >>>>>>>>>> appeared >>>>>>>>>> >>>>> almost perfectly synchronized (there was a 5ms skew in one >>>>>>>>>> test, and I >>>>>>>>>> >>>>> guess it's related to transcoding buffer, as the sound was >>>>>>>>>> obviously >>>>>>>>>> >>>>> transcoded). >>>>>>>>>> >>>>> >>>>>>>>>> >>>>> The effect was always visible with a 30-second sample, and >>>>>>>>>> I also made >>>>>>>>>> >>>>> additional tests with 2-minute samples. >>>>>>>>>> >>>>> >>>>>>>>>> >>>>> It would also be interesting to test this from a VmWare VM. >>>>>>>>>> If someone >>>>>>>>>> >>>>> wants to run such a test, feel free to contact me directly. >>>>>>>>>> >>>>> >>>>>>>>>> >>>>> >>>>>>>>>> >>>>> cheers, >>>>>>>>>> >>>>> stan >>>>>>>>>> >>>>> >>>>>>>>>> >>>>> >>>>>>>>>> >>>>> >>>>>>>>>> _________________________________________________________________________ >>>>>>>>>> >>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>>> >>>>> consulting at freeswitch.org >>>>>>>>>> >>>>> http://www.freeswitchsolutions.com >>>>>>>>>> >>>>> >>>>>>>>>> >>>>> Official FreeSWITCH Sites >>>>>>>>>> >>>>> http://www.freeswitch.org >>>>>>>>>> >>>>> http://confluence.freeswitch.org >>>>>>>>>> >>>>> http://www.cluecon.com >>>>>>>>>> >>>>> >>>>>>>>>> >>>>> FreeSWITCH-users mailing list >>>>>>>>>> >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>>>> >>>>> >>>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>>> >>>>> UNSUBSCRIBE: >>>>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>>>> >>>>> http://www.freeswitch.org >>>>>>>>>> >>>> >>>>>>>>>> >>>> >>>>>>>>>> >>>> >>>>>>>>>> >>>> >>>>>>>>>> _________________________________________________________________________ >>>>>>>>>> >>>> Professional FreeSWITCH Consulting Services: >>>>>>>>>> >>>> consulting at freeswitch.org >>>>>>>>>> >>>> http://www.freeswitchsolutions.com >>>>>>>>>> >>>> >>>>>>>>>> >>>> Official FreeSWITCH Sites >>>>>>>>>> >>>> http://www.freeswitch.org >>>>>>>>>> >>>> http://confluence.freeswitch.org >>>>>>>>>> >>>> http://www.cluecon.com >>>>>>>>>> >>>> >>>>>>>>>> >>>> FreeSWITCH-users mailing list >>>>>>>>>> >>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>>>> >>>> >>>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>>> >>>> UNSUBSCRIBE: >>>>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>>>> >>>> http://www.freeswitch.org >>>>>>>>>> >>> >>>>>>>>>> >>> >>>>>>>>>> >>> >>>>>>>>>> _________________________________________________________________________ >>>>>>>>>> >>> Professional FreeSWITCH Consulting Services: >>>>>>>>>> >>> consulting at freeswitch.org >>>>>>>>>> >>> http://www.freeswitchsolutions.com >>>>>>>>>> >>> >>>>>>>>>> >>> Official FreeSWITCH Sites >>>>>>>>>> >>> http://www.freeswitch.org >>>>>>>>>> >>> http://confluence.freeswitch.org >>>>>>>>>> >>> http://www.cluecon.com >>>>>>>>>> >>> >>>>>>>>>> >>> FreeSWITCH-users mailing list >>>>>>>>>> >>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>>>> >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>>> >>> UNSUBSCRIBE: >>>>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>>>> >>> http://www.freeswitch.org >>>>>>>>>> >> >>>>>>>>>> >> >>>>>>>>>> >> >>>>>>>>>> >> >>>>>>>>>> _________________________________________________________________________ >>>>>>>>>> >> Professional FreeSWITCH Consulting Services: >>>>>>>>>> >> consulting at freeswitch.org >>>>>>>>>> >> http://www.freeswitchsolutions.com >>>>>>>>>> >> >>>>>>>>>> >> Official FreeSWITCH Sites >>>>>>>>>> >> http://www.freeswitch.org >>>>>>>>>> >> http://confluence.freeswitch.org >>>>>>>>>> >> http://www.cluecon.com >>>>>>>>>> >> >>>>>>>>>> >> FreeSWITCH-users mailing list >>>>>>>>>> >> FreeSWITCH-users at lists.freeswitch.org >>>>>>>>>> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>>> >> UNSUBSCRIBE: >>>>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>>>> >> http://www.freeswitch.org >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> _________________________________________________________________________ >>>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>>> consulting at freeswitch.org >>>>>>>>>> http://www.freeswitchsolutions.com >>>>>>>>>> >>>>>>>>>> Official FreeSWITCH Sites >>>>>>>>>> http://www.freeswitch.org >>>>>>>>>> http://confluence.freeswitch.org >>>>>>>>>> http://www.cluecon.com >>>>>>>>>> >>>>>>>>>> FreeSWITCH-users mailing list >>>>>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>>> UNSUBSCRIBE: >>>>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>>>> http://www.freeswitch.org >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> _________________________________________________________________________ >>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>> consulting at freeswitch.org >>>>>>>>> http://www.freeswitchsolutions.com >>>>>>>>> >>>>>>>>> Official FreeSWITCH Sites >>>>>>>>> http://www.freeswitch.org >>>>>>>>> http://confluence.freeswitch.org >>>>>>>>> http://www.cluecon.com >>>>>>>>> >>>>>>>>> FreeSWITCH-users mailing list >>>>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>> UNSUBSCRIBE: >>>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>>> http://www.freeswitch.org >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> _________________________________________________________________________ >>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>> consulting at freeswitch.org >>>>>>>> http://www.freeswitchsolutions.com >>>>>>>> >>>>>>>> Official FreeSWITCH Sites >>>>>>>> http://www.freeswitch.org >>>>>>>> http://confluence.freeswitch.org >>>>>>>> http://www.cluecon.com >>>>>>>> >>>>>>>> FreeSWITCH-users mailing list >>>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>> UNSUBSCRIBE: >>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>> http://www.freeswitch.org >>>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> _________________________________________________________________________ >>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>> consulting at freeswitch.org >>>>>>> http://www.freeswitchsolutions.com >>>>>>> >>>>>>> Official FreeSWITCH Sites >>>>>>> http://www.freeswitch.org >>>>>>> http://confluence.freeswitch.org >>>>>>> http://www.cluecon.com >>>>>>> >>>>>>> FreeSWITCH-users mailing list >>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> UNSUBSCRIBE: >>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>> http://www.freeswitch.org >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> _________________________________________________________________________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at freeswitch.org >>>>>> http://www.freeswitchsolutions.com >>>>>> >>>>>> Official FreeSWITCH Sites >>>>>> http://www.freeswitch.org >>>>>> http://confluence.freeswitch.org >>>>>> http://www.cluecon.com >>>>>> >>>>>> FreeSWITCH-users mailing list >>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE: >>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>> >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150412/21de4489/attachment-0001.html From s.safarov at gmail.com Sun Apr 12 22:02:33 2015 From: s.safarov at gmail.com (Sergey Safarov) Date: Sun, 12 Apr 2015 21:02:33 +0300 Subject: [Freeswitch-users] KVM vs. XEN virtualization In-Reply-To: References: Message-ID: Key "-q" is recommended also. ;o) On Sun, Apr 12, 2015 at 9:01 PM, Sergey Safarov wrote: > 1) But in your case, cyclictest can generate 336000 (42*8000) hardware > timer irqs per second VS 8000 from TDM card's. > > Very interest results. > My example creates a lot of unnecessary interruptions > For VoIP only host more correctly measured so > cyclictest -t42 -p -d 80 0 -n -i -l 5000 6000 > or > cyclictest -t42 -p -d 80 0 -n -i -l 10000 3000 > > If FS has one TDM cards then > cyclictest -t1 -p -d 80 0 -n -i -l 125 240000 > > If two TDM cards > cyclictest -t2 -p -d 80 0 -n -i -l 125 240000 > > Where "-t" key equal number of TDM cards > > 2) According to Digium sources your TDM card have 20ms max buffer size(3ms > default) > USB dongles have at least 20 ms. > > Can you describe how you have found this information. It is very interest. > > Sergey > > > On Fri, Apr 10, 2015 at 5:06 PM, Dmitry Lysenko > wrote: > >> 2015-04-10 0:33 GMT+03:00 Sergey Safarov : >> >>> 1) Most(if not all) of modern equipment have buffers. TDM cards too. >>> Even $0.25 microcontrollers have buffers. >>> Firing interrupts at each PCM sample not needed. >>> >>> The problem is whether there is or not the buffer. Is exist in all the >>> equipment. >>> The problem is the amount of buffer, and through any time it overflows. >>> I thing you cannot say buffer size has TDM card and USB modems. :o) >>> >> >> According to Digium sources your TDM card have 20ms max buffer size(3ms >> default) >> USB dongles have at least 20 ms. >> >> >>> The above i write results of testing Digium E1 card in virtual >>> environment. Test that is successful on real host, will fail in virtual >>> environment. >>> I you see source of timertest utility you will see that Digium test >>> timer for 8000 samples for 1000 ms (1s). (Primary utility author Mark >>> Spencer ) >>> It is same value I recommend early. >>> >> >> But in your case, cyclictest can generate 336000 (42*8000) hardware timer >> irqs per second VS 8000 from TDM card's. >> >> Look: >> root at debian:~# vmstat 1 >> procs -----------memory---------- ---swap-- -----io---- -system-- >> ----cpu---- >> r b swpd free buff cache si so bi bo in cs us sy >> id wa >> 0 0 0 2348 85428 21156 0 0 134 0 1856 3409 1 2 >> 92 5 >> 0 0 0 2320 85428 21156 0 0 0 0 106 224 1 0 >> 99 0 >> [similar, skipped] >> 0 0 0 2312 85436 21156 0 0 0 0 110 231 0 0 >> 100 0 >> 0 0 0 2312 85436 21156 0 0 0 0 109 225 0 2 >> 98 0 >> 45 0 0 1924 84908 21156 0 0 0 0 102909 146412 0 >> 60 39 0 >> Starting of cyclictest with your parameters ^^^^^. >> >> 102909 interrupts and 146412 context switches per second. >> For one TDM card there should be slightly more then 8000 of interrupts. >> >> Results: >> >> root at debian:~/rt-tests# ./cyclictest -t42 -p 80 *-d 0* -n -i 125 -l >> 240000 -q >> WARN: stat /dev/cpu_dma_latency failed: No such file or directory >> T: 0 ( 4028) P:80 I:125 C: 239821 Min: 0 Act:100534 Avg:38764 Max: >> 229794 >> T: 1 ( 4029) P:80 I:125 C: 239820 Min: 0 Act:100536 Avg:39646 Max: >> 233558 >> T: 2 ( 4030) P:80 I:125 C: 240000 Min: 0 Act:100478 Avg:37947 Max: >> 229143 >> T: 3 ( 4031) P:80 I:125 C: 240000 Min: 0 Act:106202 Avg:38130 Max: >> 239031 >> [similar,skipped] >> T:38 ( 4066) P:80 I:125 C: 239821 Min: 1 Act:100292 Avg:41273 Max: >> 238424 >> T:39 ( 4067) P:80 I:125 C: 239822 Min: 0 Act:100174 Avg:40254 Max: >> 238881 >> T:40 ( 4068) P:80 I:125 C: 239816 Min: 0 Act:100650 Avg:39910 Max: >> 239104 >> T:41 ( 4069) P:80 I:125 C: 239817 Min: 0 Act:100526 Avg:38282 Max: >> 224452 >> root at debian:~/rt-tests# >> >> Increased intervals between threads: >> >> root at debian:~/rt-tests# ./cyclictest -t42 -p 80 *-d 40* -n -i 125 -l >> 240000 -q >> WARN: stat /dev/cpu_dma_latency failed: No such file or directory >> T: 0 ( 4203) P:80 I:125 C: 240000 Min: 1 Act: 35 Avg: 28 Max: >> 159 >> T: 1 ( 4204) P:80 I:165 C: 181909 Min: 6 Act: 47 Avg: 29 Max: >> 170 >> T: 2 ( 4205) P:80 I:205 C: 146417 Min: 6 Act: 15 Avg: 29 Max: >> 157 >> T: 3 ( 4206) P:80 I:245 C: 122512 Min: 6 Act: 33 Avg: 30 Max: >> 166 >> [similar,skipped] >> T:38 ( 4241) P:80 I:1645 C: 18246 Min: 7 Act: 27 Avg: 34 Max: >> 167 >> T:39 ( 4242) P:80 I:1685 C: 17813 Min: 8 Act: 13 Avg: 34 Max: >> 164 >> T:40 ( 4243) P:80 I:1725 C: 17398 Min: 7 Act: 22 Avg: 33 Max: >> 156 >> T:41 ( 4244) P:80 I:1765 C: 17004 Min: 8 Act: 49 Avg: 34 Max: >> 141 >> root at debian:~/rt-tests# >> >> Huge difference, isn't it? >> >> 2) If you want massive sync audio processing (w/o buffering) you can use >>> hard realtime OS. PC and Linux (even on bare metal) is not suitable for >>> this, at least without RT patched kernel. >>> >>> I am not understanding about you speaking. E1 card can be used on real >>> host without problems. >>> >> >> They use buffering. Delays of 125uS is not uncommon in ordinary Linux >> kernel. BTW, google "system management interrupt". >> >> 3) AFAIR, 1 thread per call leg, but depends of endpoints. Most of time >>> threads in I/O waiting/sleeping and encoding/decoding state. >>> >>> One thread per FS call, equal one thread cyclictest. In cyclictest most >>> time threads sleep also. This threads measure time interval and sleep again. >>> >> >> In Freeswitch all of threads are not waking up every 125uS synchronously. >> .And TDM cards are not generating tens/hundreds of thousands interrupts per >> second as cyclictest can do. >> >> IMO, to simulate something like 1 TDM E1 card using cyclictest you should >> use parameters that give you additional ~8000 irqs. >> >> root at debian:~# vmstat 1 >> procs -----------memory---------- ---swap-- -----io---- -system-- >> ----cpu---- >> r b swpd free buff cache si so bi bo in cs us sy >> id wa >> 0 0 0 3496 84304 21156 0 0 45 0 999 562 1 1 >> 97 2 >> 0 0 0 3496 84304 21156 0 0 0 0 105 222 0 0 >> 100 0 >> 0 0 0 2784 84304 21156 0 0 0 0 4276 8482 2 15 >> 83 0 >> 0 0 0 2784 84304 21156 0 0 0 0 8705 17146 2 35 >> 63 0 >> 0 0 0 2784 84304 21156 0 0 0 0 8678 17099 3 33 >> 64 0 >> 0 0 0 2784 84304 21156 0 0 0 0 8707 17135 2 37 >> 61 0 >> >> In my case additional 8000 irqs with these parameters: >> >> root at debian:~/rt-tests# ./cyclictest -t 30 -p 80 -d 30 -n -i 3000 -l >> 24000 -q >> WARN: stat /dev/cpu_dma_latency failed: No such file or directory >> T: 0 ( 5862) P:80 I:3000 C: 24000 Min: 7 Act: 9 Avg: 9 Max: >> 33 >> T: 1 ( 5863) P:80 I:3030 C: 23767 Min: 6 Act: 17 Avg: 8 Max: >> 49 >> T: 2 ( 5864) P:80 I:3060 C: 23534 Min: 6 Act: 12 Avg: 8 Max: >> 45 >> [same,skipped] >> T:26 ( 5888) P:80 I:3780 C: 19051 Min: 7 Act: 8 Avg: 9 Max: >> 35 >> T:27 ( 5889) P:80 I:3810 C: 18901 Min: 7 Act: 11 Avg: 8 Max: >> 40 >> T:28 ( 5890) P:80 I:3840 C: 18754 Min: 7 Act: 14 Avg: 8 Max: >> 39 >> T:29 ( 5891) P:80 I:3870 C: 18608 Min: 7 Act: 14 Avg: 8 Max: >> 36 >> >> >>> 6) In your case, most capable realtime hypervisor with RT_PREEMPT guest >>> would be one of the best solution. >>> >>> May be. According this publication ( >>> http://www.linux-kvm.org/wiki/images/0/03/KVM-Forum-2011-RT-KVM.pdf) >>> guest threads can be interrupted not more 112 uS. >>> >>> Simple solution - for TDM card enough ordinary processor without >>> virtualization. :o) >>> >> >> This is a best solution. >> >> >>> On Thu, Apr 9, 2015 at 8:09 PM, Dmitry Lysenko < >>> dvl36.ripe.nick at gmail.com> wrote: >>> >>>> >>>> >>>> 2015-04-08 15:25 GMT+03:00 Sergey Safarov : >>>> >>>>> 1) 125uS is the interval between FrameSync of ONE(!) PCM sample at >>>>> 8000hz, >>>>> But here we are talking about packet telephony where commonly used >>>>> frame length is 20000 uS. >>>>> So, intervals for testing should be 5000-10000-20000uS, not 125uS. >>>>> >>>>> Not all FS installation has SIP endpoint. Some can have TDM cards, USB >>>>> dongle and other analog equipment. Can you say what is length of this frame >>>>> type? >>>>> I am wondering about this question. I know that the frame 125ms is >>>>> enough. >>>>> >>>> >>>> Most(if not all) of modern equipment have buffers. TDM cards too. Even >>>> $0.25 microcontrollers have buffers. >>>> Firing interrupts at each PCM sample not needed. >>>> If you want massive sync audio processing (w/o buffering) you can use >>>> hard realtime OS. PC and Linux (even on bare metal) is not suitable for >>>> this, at least without RT patched kernel. >>>> >>>> >>>>> 2) Why you decided that all of 42 threads should wake up >>>>> simultaneously? >>>>> That totally impossible in real world applications. >>>>> Here should be tens of uS. Dependent of network card and, possibly, >>>>> other I/O hardware. >>>>> >>>>> Can you say how many FS create threads for 40-50 active calls? >>>>> >>>> >>>> >>>> AFAIR, 1 thread per call leg, but depends of endpoints. Most of time >>>> threads in I/O waiting/sleeping and encoding/decoding state. >>>> >>>> >>>>> 3) -q switch is missing >>>>> I am thinking it is optional. Result is same >>>>> >>>> >>>> Dynamic output to screen consumes resources. How much, depends on >>>> method.(VGA, Serial console, SSH). In my case difference is significiant. >>>> So, fair testing should exclude such things, IMO. >>>> >>>> >>>>> 4) Precise time measurement and realtime processing in VM environment >>>>> is a challenge. >>>>> To obtain acceptable results fine tuning of host's and guest's >>>>> required. >>>>> WIthout that this numbers ... does not mean anything. >>>>> >>>>> Can you learn me how to correctly measure timer source quality in VM? >>>>> >>>> >>>> Serious players, as Wind River, use external timer. >>>> >>>> In your case, most capable realtime hypervisor with RT_PREEMPT guest >>>> would be one of the best solution. >>>> >>>> Dmitry. >>>> >>>> >>>>> On Wed, Apr 8, 2015 at 2:07 PM, Dmitry Lysenko < >>>>> dvl36.ripe.nick at gmail.com> wrote: >>>>> >>>>>> 2015-04-07 10:48 GMT+03:00 Sergey Safarov : >>>>>> >>>>>>> ... >>>>>>> 2) i 125 - time us between software timer interrupts for first >>>>>>> thread. It time is equal time between samples rate in PSTN networks >>>>>>> In order to maintain our sampling rate we have 125 microseconds (uS) >>>>>>> between consecutive samples (1/8,000Hz), which is more >>>>>>> >>>>>> ... >>>>>>> >>>>>> >>>>>> 125uS is the interval between FrameSync of ONE(!) PCM sample at >>>>>> 8000hz, >>>>>> But here we are talking about packet telephony where commonly used >>>>>> frame length is 20000 uS. >>>>>> So, intervals for testing should be 5000-10000-20000uS, not 125uS. >>>>>> >>>>>> >>>>>>> 3) d 0 - this switch will make time between software timer >>>>>>> interrupts for second and following threads is equal timer value for first >>>>>>> thread >>>>>>> >>>>>> >>>>>> Why you decided that all of 42 threads should wake up simultaneously? >>>>>> That totally impossible in real world applications. >>>>>> Here should be tens of uS. Dependent of network card and, possibly, >>>>>> other I/O hardware. >>>>>> >>>>>> >>>>>>> 4) l 240000 - how many timer test must be made. It is adjusted for >>>>>>> 30 s overall test >>>>>>> 5) n - use clock_nanosleep. it is allow take more accurate timer >>>>>>> test values on my VM >>>>>>> 6) p 80 - it is copied from example on Cyclictest page >>>>>>> >>>>>> >>>>>> -q switch is missing. >>>>>> >>>>>> >>>>>>> And how in your opinion this numbers are related to Freeswitch in VM >>>>>>> environment? >>>>>>> Relation between Cyclictest switches and FS described above. >>>>>>> Relation betwen Cyclictest results and FS simple >>>>>>> >>>>>> >>>>>> Precise time measurement and realtime processing in VM environment >>>>>> is a challenge. >>>>>> To obtain acceptable results fine tuning of host's and guest's >>>>>> required. >>>>>> WIthout that this numbers ... does not mean anything. >>>>>> >>>>>> >>>>>> On Tue, Apr 7, 2015 at 5:38 AM, Dmitry Lysenko < >>>>>>> dvl36.ripe.nick at gmail.com> wrote: >>>>>>> >>>>>>>> Sergey, >>>>>>>> Why you suggest to use exactly this numbers in cyclictest's >>>>>>>> switches? >>>>>>>> And how in your opinion this numbers are related to Freeswitch in >>>>>>>> VM environment? >>>>>>>> >>>>>>>> P.S. >>>>>>>> https://mindlinux.wordpress.com/2013/10/25/using-and-understanding-the-real-time-cyclictest-benchmark-frank-rowand-sony/ >>>>>>>> >>>>>>>> 2015-04-06 15:27 GMT+03:00 Sergey Safarov : >>>>>>>> >>>>>>>>> Errol can you test VM timer with utility >>>>>>>>> https://rt.wiki.kernel.org/index.php/Cyclictest >>>>>>>>> >>>>>>>>> My VM currently have folowing results >>>>>>>>> >>>>>>>>> [root at fs1 ~]# date && /tmp/rt-tests/cyclictest -t42 -p 80 -d 0 -n -i 125 -l 240000 && date >>>>>>>>> Sun Apr 5 07:01:31 GMT 2015 >>>>>>>>> # /dev/cpu_dma_latency set to 0us >>>>>>>>> policy: fifo: loadavg: 2.38 0.93 0.50 1/194 1574 >>>>>>>>> >>>>>>>>> T: 0 ( 1531) P:80 I:125 C: 240000 Min: 2 Act: 12 Avg: 16 Max: 1302 >>>>>>>>> T: 1 ( 1532) P:80 I:125 C: 240000 Min: 2 Act: 15 Avg: 14 Max: 2895 >>>>>>>>> T: 2 ( 1533) P:80 I:125 C: 240000 Min: 3 Act: 10 Avg: 12 Max: 2888 >>>>>>>>> T: 3 ( 1534) P:80 I:125 C: 240000 Min: 1 Act: 16 Avg: 13 Max: 1333 >>>>>>>>> T: 4 ( 1535) P:80 I:125 C: 240000 Min: 2 Act: 20 Avg: 14 Max: 2962 >>>>>>>>> T: 5 ( 1536) P:80 I:125 C: 240000 Min: 1 Act: 12 Avg: 14 Max: 2946 >>>>>>>>> T: 6 ( 1537) P:80 I:125 C: 240000 Min: 2 Act: 10 Avg: 13 Max: 1363 >>>>>>>>> T: 7 ( 1538) P:80 I:125 C: 240000 Min: 2 Act: 12 Avg: 13 Max: 1344 >>>>>>>>> T: 8 ( 1539) P:80 I:125 C: 240000 Min: 3 Act: 12 Avg: 16 Max: 1408 >>>>>>>>> T: 9 ( 1540) P:80 I:125 C: 240000 Min: 1 Act: 8 Avg: 13 Max: 2882 >>>>>>>>> T:10 ( 1541) P:80 I:125 C: 239974 Min: 2 Act: 12 Avg: 13 Max: 2908 >>>>>>>>> >>>>>>>>> >>>>>>>>> On Mon, Apr 6, 2015 at 11:15 AM, Errol Samuels < >>>>>>>>> ewsamuels at gmail.com> wrote: >>>>>>>>> >>>>>>>>>> Good job and Thanks for sharing! >>>>>>>>>> >>>>>>>>>> KVM at digitalocean.com, Debian 7 64bit, FreeSWITCH 1.4.15: bad >>>>>>>>>>> precision >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> As someone who has been using KVM for a few years and has just >>>>>>>>>> migrated about 20 VMs across to Digital Ocean about 6 weeks ago I admit I >>>>>>>>>> am a little concerned about this finding. >>>>>>>>>> >>>>>>>>>> Just out of curiosity can you tell me the specs of the VM that >>>>>>>>>> you tested with and which DO Datacenter? I am using NYC3 so perhaps and I >>>>>>>>>> will do some tests as soon as I have some time. >>>>>>>>>> >>>>>>>>>> With regards to Xen was this at Linode or inhouse? >>>>>>>>>> >>>>>>>>>> Thanks >>>>>>>>>> >>>>>>>>>> Errol >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> On Sun, Apr 5, 2015 at 1:37 AM, Stanislav Sinyagin < >>>>>>>>>> ssinyagin at gmail.com> wrote: >>>>>>>>>> >>>>>>>>>>> here we go: >>>>>>>>>>> >>>>>>>>>>> https://txlab.wordpress.com/2015/04/05/testing-rtp-clock-precision-on-a-virtual-machine/ >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> On Sat, Apr 4, 2015 at 4:26 PM, Stanislav Sinyagin < >>>>>>>>>>> ssinyagin at gmail.com> wrote: >>>>>>>>>>> > On Sat, Apr 4, 2015 at 1:03 PM, Regis M < >>>>>>>>>>> regis.freeswitch.org at tornad.net> wrote: >>>>>>>>>>> >> How do you check wavs together in audacity ? >>>>>>>>>>> > >>>>>>>>>>> > you just open two WAV files, align their starting position, and >>>>>>>>>>> > visually check the waves. If there's a problem, you would see >>>>>>>>>>> that >>>>>>>>>>> > after few seconds, the waves are not aligned any more. >>>>>>>>>>> > >>>>>>>>>>> >> Can you send me 2 samples wav (send... and recorded) so I >>>>>>>>>>> could see the 20ms >>>>>>>>>>> >> diff that you exposed... >>>>>>>>>>> >> >>>>>>>>>>> >> Is there a way to automate the result checking, so it could >>>>>>>>>>> help to monitor >>>>>>>>>>> >> itsp quality >>>>>>>>>>> > >>>>>>>>>>> > Here >>>>>>>>>>> > https://github.com/openpreserve/scape-xcorrsound/issues/17 >>>>>>>>>>> > this is a link to a tool which compares two sound files at the >>>>>>>>>>> wave >>>>>>>>>>> > level. You can also see the sound samples in the ticket. >>>>>>>>>>> > The problem is, that currently this tool does not detect such >>>>>>>>>>> slipping frames. >>>>>>>>>>> > >>>>>>>>>>> > I will also write a detailed article with examples, during the >>>>>>>>>>> weekend. >>>>>>>>>>> > >>>>>>>>>>> > >>>>>>>>>>> > >>>>>>>>>>> > >>>>>>>>>>> > >>>>>>>>>>> >> >>>>>>>>>>> >> >>>>>>>>>>> >> 2015-04-04 12:53 GMT+02:00 Stanislav Sinyagin < >>>>>>>>>>> ssinyagin at gmail.com>: >>>>>>>>>>> >>> >>>>>>>>>>> >>> Important is to send the media through two independent >>>>>>>>>>> carriers - then you >>>>>>>>>>> >>> can be sure that your clock is compared against a high >>>>>>>>>>> quality one. >>>>>>>>>>> >>> >>>>>>>>>>> >>> On Apr 4, 2015 12:46 PM, "Regis M" < >>>>>>>>>>> regis.freeswitch.org at tornad.net> >>>>>>>>>>> >>> wrote: >>>>>>>>>>> >>>> >>>>>>>>>>> >>>> Hi, >>>>>>>>>>> >>>> >>>>>>>>>>> >>>> It's a very interresting test and conclusion. >>>>>>>>>>> >>>> >>>>>>>>>>> >>>> I will try to build a similar environnement on my >>>>>>>>>>> freeswitch to check >>>>>>>>>>> >>>> some system :) >>>>>>>>>>> >>>> >>>>>>>>>>> >>>> thanks >>>>>>>>>>> >>>> >>>>>>>>>>> >>>> >>>>>>>>>>> >>>> >>>>>>>>>>> >>>> 2015-04-04 2:16 GMT+02:00 Stanislav Sinyagin < >>>>>>>>>>> ssinyagin at gmail.com>: >>>>>>>>>>> >>>>> >>>>>>>>>>> >>>>> hi, >>>>>>>>>>> >>>>> >>>>>>>>>>> >>>>> Here are some test results which might be interesting: >>>>>>>>>>> >>>>> >>>>>>>>>>> >>>>> I've set up a test FreeSWITCH server at digitalocean (they >>>>>>>>>>> use KVM), >>>>>>>>>>> >>>>> and originated test calls to some ITSP accounts. Each call >>>>>>>>>>> played a >>>>>>>>>>> >>>>> test sound file (voice samples from ITU: >>>>>>>>>>> >>>>> >>>>>>>>>>> http://www.itu.int/net/itu-t/sigdb/genaudio/AudioForm-g.aspx?val=1000050 >>>>>>>>>>> >>>>> ), and on the receiving end another FreeSWITCH server was >>>>>>>>>>> recording >>>>>>>>>>> >>>>> the received session. The receiving server was on a XEN >>>>>>>>>>> VM. Both >>>>>>>>>>> >>>>> servers talked G711 to their corresponding ITSP accounts. >>>>>>>>>>> >>>>> >>>>>>>>>>> >>>>> Then I compared the source audio and received audio in >>>>>>>>>>> Audacity editor. >>>>>>>>>>> >>>>> >>>>>>>>>>> >>>>> The tests showed that the received voice wave shifts 20ms >>>>>>>>>>> from the >>>>>>>>>>> >>>>> original sound every few seconds, randomly back and >>>>>>>>>>> forward. This >>>>>>>>>>> >>>>> skewing was always present, regardless of ITSP and time of >>>>>>>>>>> day. >>>>>>>>>>> >>>>> >>>>>>>>>>> >>>>> Then I moved the sending server to a XEN VM, and the waves >>>>>>>>>>> appeared >>>>>>>>>>> >>>>> almost perfectly synchronized (there was a 5ms skew in one >>>>>>>>>>> test, and I >>>>>>>>>>> >>>>> guess it's related to transcoding buffer, as the sound was >>>>>>>>>>> obviously >>>>>>>>>>> >>>>> transcoded). >>>>>>>>>>> >>>>> >>>>>>>>>>> >>>>> The effect was always visible with a 30-second sample, and >>>>>>>>>>> I also made >>>>>>>>>>> >>>>> additional tests with 2-minute samples. >>>>>>>>>>> >>>>> >>>>>>>>>>> >>>>> It would also be interesting to test this from a VmWare >>>>>>>>>>> VM. If someone >>>>>>>>>>> >>>>> wants to run such a test, feel free to contact me directly. >>>>>>>>>>> >>>>> >>>>>>>>>>> >>>>> >>>>>>>>>>> >>>>> cheers, >>>>>>>>>>> >>>>> stan >>>>>>>>>>> >>>>> >>>>>>>>>>> >>>>> >>>>>>>>>>> >>>>> >>>>>>>>>>> _________________________________________________________________________ >>>>>>>>>>> >>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>>>> >>>>> consulting at freeswitch.org >>>>>>>>>>> >>>>> http://www.freeswitchsolutions.com >>>>>>>>>>> >>>>> >>>>>>>>>>> >>>>> Official FreeSWITCH Sites >>>>>>>>>>> >>>>> http://www.freeswitch.org >>>>>>>>>>> >>>>> http://confluence.freeswitch.org >>>>>>>>>>> >>>>> http://www.cluecon.com >>>>>>>>>>> >>>>> >>>>>>>>>>> >>>>> FreeSWITCH-users mailing list >>>>>>>>>>> >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>>>>> >>>>> >>>>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>>>> >>>>> UNSUBSCRIBE: >>>>>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>>>>> >>>>> http://www.freeswitch.org >>>>>>>>>>> >>>> >>>>>>>>>>> >>>> >>>>>>>>>>> >>>> >>>>>>>>>>> >>>> >>>>>>>>>>> _________________________________________________________________________ >>>>>>>>>>> >>>> Professional FreeSWITCH Consulting Services: >>>>>>>>>>> >>>> consulting at freeswitch.org >>>>>>>>>>> >>>> http://www.freeswitchsolutions.com >>>>>>>>>>> >>>> >>>>>>>>>>> >>>> Official FreeSWITCH Sites >>>>>>>>>>> >>>> http://www.freeswitch.org >>>>>>>>>>> >>>> http://confluence.freeswitch.org >>>>>>>>>>> >>>> http://www.cluecon.com >>>>>>>>>>> >>>> >>>>>>>>>>> >>>> FreeSWITCH-users mailing list >>>>>>>>>>> >>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>>>>> >>>> >>>>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>>>> >>>> UNSUBSCRIBE: >>>>>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>>>>> >>>> http://www.freeswitch.org >>>>>>>>>>> >>> >>>>>>>>>>> >>> >>>>>>>>>>> >>> >>>>>>>>>>> _________________________________________________________________________ >>>>>>>>>>> >>> Professional FreeSWITCH Consulting Services: >>>>>>>>>>> >>> consulting at freeswitch.org >>>>>>>>>>> >>> http://www.freeswitchsolutions.com >>>>>>>>>>> >>> >>>>>>>>>>> >>> Official FreeSWITCH Sites >>>>>>>>>>> >>> http://www.freeswitch.org >>>>>>>>>>> >>> http://confluence.freeswitch.org >>>>>>>>>>> >>> http://www.cluecon.com >>>>>>>>>>> >>> >>>>>>>>>>> >>> FreeSWITCH-users mailing list >>>>>>>>>>> >>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>>>>> >>> >>>>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>>>> >>> UNSUBSCRIBE: >>>>>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>>>>> >>> http://www.freeswitch.org >>>>>>>>>>> >> >>>>>>>>>>> >> >>>>>>>>>>> >> >>>>>>>>>>> >> >>>>>>>>>>> _________________________________________________________________________ >>>>>>>>>>> >> Professional FreeSWITCH Consulting Services: >>>>>>>>>>> >> consulting at freeswitch.org >>>>>>>>>>> >> http://www.freeswitchsolutions.com >>>>>>>>>>> >> >>>>>>>>>>> >> Official FreeSWITCH Sites >>>>>>>>>>> >> http://www.freeswitch.org >>>>>>>>>>> >> http://confluence.freeswitch.org >>>>>>>>>>> >> http://www.cluecon.com >>>>>>>>>>> >> >>>>>>>>>>> >> FreeSWITCH-users mailing list >>>>>>>>>>> >> FreeSWITCH-users at lists.freeswitch.org >>>>>>>>>>> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>>>> >> UNSUBSCRIBE: >>>>>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>>>>> >> http://www.freeswitch.org >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> _________________________________________________________________________ >>>>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>>>> consulting at freeswitch.org >>>>>>>>>>> http://www.freeswitchsolutions.com >>>>>>>>>>> >>>>>>>>>>> Official FreeSWITCH Sites >>>>>>>>>>> http://www.freeswitch.org >>>>>>>>>>> http://confluence.freeswitch.org >>>>>>>>>>> http://www.cluecon.com >>>>>>>>>>> >>>>>>>>>>> FreeSWITCH-users mailing list >>>>>>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>>>> UNSUBSCRIBE: >>>>>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>>>>> http://www.freeswitch.org >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> _________________________________________________________________________ >>>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>>> consulting at freeswitch.org >>>>>>>>>> http://www.freeswitchsolutions.com >>>>>>>>>> >>>>>>>>>> Official FreeSWITCH Sites >>>>>>>>>> http://www.freeswitch.org >>>>>>>>>> http://confluence.freeswitch.org >>>>>>>>>> http://www.cluecon.com >>>>>>>>>> >>>>>>>>>> FreeSWITCH-users mailing list >>>>>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>>> UNSUBSCRIBE: >>>>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>>>> http://www.freeswitch.org >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> _________________________________________________________________________ >>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>> consulting at freeswitch.org >>>>>>>>> http://www.freeswitchsolutions.com >>>>>>>>> >>>>>>>>> Official FreeSWITCH Sites >>>>>>>>> http://www.freeswitch.org >>>>>>>>> http://confluence.freeswitch.org >>>>>>>>> http://www.cluecon.com >>>>>>>>> >>>>>>>>> FreeSWITCH-users mailing list >>>>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>> UNSUBSCRIBE: >>>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>>> http://www.freeswitch.org >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> _________________________________________________________________________ >>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>> consulting at freeswitch.org >>>>>>>> http://www.freeswitchsolutions.com >>>>>>>> >>>>>>>> Official FreeSWITCH Sites >>>>>>>> http://www.freeswitch.org >>>>>>>> http://confluence.freeswitch.org >>>>>>>> http://www.cluecon.com >>>>>>>> >>>>>>>> FreeSWITCH-users mailing list >>>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>> UNSUBSCRIBE: >>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>> http://www.freeswitch.org >>>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> _________________________________________________________________________ >>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>> consulting at freeswitch.org >>>>>>> http://www.freeswitchsolutions.com >>>>>>> >>>>>>> Official FreeSWITCH Sites >>>>>>> http://www.freeswitch.org >>>>>>> http://confluence.freeswitch.org >>>>>>> http://www.cluecon.com >>>>>>> >>>>>>> FreeSWITCH-users mailing list >>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> UNSUBSCRIBE: >>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>> http://www.freeswitch.org >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> _________________________________________________________________________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at freeswitch.org >>>>>> http://www.freeswitchsolutions.com >>>>>> >>>>>> Official FreeSWITCH Sites >>>>>> http://www.freeswitch.org >>>>>> http://confluence.freeswitch.org >>>>>> http://www.cluecon.com >>>>>> >>>>>> FreeSWITCH-users mailing list >>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE: >>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>> >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150412/d126e6ff/attachment-0001.html From silvagustavo at yandex.ru Mon Apr 13 11:24:05 2015 From: silvagustavo at yandex.ru (Gustavo Silva) Date: Mon, 13 Apr 2015 10:24:05 +0300 Subject: [Freeswitch-users] Diaplan_auth to authenticate calls Message-ID: <20150413072405.5853254.80230.349@yandex.ru> An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150413/1a969ab1/attachment.html From steveayre at gmail.com Mon Apr 13 11:55:32 2015 From: steveayre at gmail.com (Steven Ayre) Date: Mon, 13 Apr 2015 08:55:32 +0100 Subject: [Freeswitch-users] voicemail_inject - INVALID COMMAND In-Reply-To: References: Message-ID: Have you loaded mod_voicemail? Were there any errors when doing so? If in doubt try 'load mod_voicemail' - it'll either try to load it or tell you it's already loaded. On 11 April 2015 at 16:43, Paul Atreides wrote: > Hi, > > What am I doing wrong? > > apicall = 10 at 192.168.176.6 > /usr/local/freeswitch/storage/voicemail/default/ > 192.168.176.6/10/msg_19e18faf-5951-4743-a6a5-ce3a5535c80d.wav > > result = api:execute("voicemail_inject " .. apicall); > > The result is INVALID COMMAND. > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150413/9b57de55/attachment.html From paul.atreides83 at googlemail.com Mon Apr 13 13:19:06 2015 From: paul.atreides83 at googlemail.com (Paul Atreides) Date: Mon, 13 Apr 2015 11:19:06 +0200 Subject: [Freeswitch-users] voicemail_inject - INVALID COMMAND In-Reply-To: References: Message-ID: Hi Steven, is says that it is already loaded. The other voicemail api functions are working. On Mon, Apr 13, 2015 at 9:55 AM, Steven Ayre wrote: > Have you loaded mod_voicemail? Were there any errors when doing so? > > If in doubt try 'load mod_voicemail' - it'll either try to load it or tell > you it's already loaded. > > On 11 April 2015 at 16:43, Paul Atreides > wrote: > >> Hi, >> >> What am I doing wrong? >> >> apicall = 10 at 192.168.176.6 >> /usr/local/freeswitch/storage/voicemail/default/ >> 192.168.176.6/10/msg_19e18faf-5951-4743-a6a5-ce3a5535c80d.wav >> >> result = api:execute("voicemail_inject " .. apicall); >> >> The result is INVALID COMMAND. >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150413/fa50bc7e/attachment.html From v.bychenkov at zonatelecom.ru Mon Apr 13 15:30:26 2015 From: v.bychenkov at zonatelecom.ru (=?utf-8?B?0JLQuNGC0LDQu9C40Lkg0JHRi9GH0LXQvdC60L7Qsg==?=) Date: Mon, 13 Apr 2015 11:30:26 +0000 Subject: [Freeswitch-users] Verto record VP8 video Message-ID: Good day! Anybody know how to record VP8 video in freeswitch for verto calls. If I use fsv: On calledstation I don't see call. On freeswitch console I see: [NOTICE] switch_channel.c:3438 Hangup verto.rtc/1007 at video-ce.XXXXXXX.com [CS_EXECUTE] [INCOMPATIBLE_DESTINATION] Does mod_fsv support verto call? ???????? ???! ? ?????????, ??????? ???????? ???. +7 (4872) 70 43 21 ???. ???.?????????: 8-800-333-84-64 ZONATELECOM www.zonatelecom.ru From dujinfang at gmail.com Mon Apr 13 16:45:59 2015 From: dujinfang at gmail.com (Seven Du) Date: Mon, 13 Apr 2015 20:45:59 +0800 Subject: [Freeswitch-users] Verto record VP8 video In-Reply-To: References: Message-ID: try record_fsv On Mon, Apr 13, 2015 at 7:30 PM, ??????? ???????? < v.bychenkov at zonatelecom.ru> wrote: > Good day! Anybody know how to record VP8 video in freeswitch for verto > calls. If I use fsv: > > > > On calledstation I don't see call. On freeswitch console I see: > > [NOTICE] switch_channel.c:3438 Hangup > verto.rtc/1007 at video-ce.XXXXXXX.com [CS_EXECUTE] > [INCOMPATIBLE_DESTINATION] > Does mod_fsv support verto call? > > > > > > > > ???????? ???! > > ? ?????????, ??????? ???????? > > > ???. +7 (4872) 70 43 21 ???. > ???.?????????: 8-800-333-84-64 > > ZONATELECOM > www.zonatelecom.ru > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -- About: http://about.me/dujinfang Blog: http://www.dujinfang.com Proj: http://www.freeswitch.org.cn -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150413/f3f63c35/attachment.html From mike at jerris.com Mon Apr 13 17:01:18 2015 From: mike at jerris.com (Michael Jerris) Date: Mon, 13 Apr 2015 09:01:18 -0400 Subject: [Freeswitch-users] WEBRTC In-Reply-To: References: Message-ID: You can use kamillio to proxy, but that is not an SBC. FreeSWITCH is an SBC. > On Apr 11, 2015, at 8:42 AM, Ali Jibran wrote: > > Is there anyway I can use WEBRTC through a SBC? > > I'm using Kamailio as a load balancer. And I want to make WEBRTC calls come in through Kamailio and not directly to freeSWITCH. > > I'm using sip.js. > > Can someone guide me in the right deprecation on this? Thanks :) From mike at jerris.com Mon Apr 13 17:02:54 2015 From: mike at jerris.com (Michael Jerris) Date: Mon, 13 Apr 2015 09:02:54 -0400 Subject: [Freeswitch-users] Freeswitch / FusionPBX T.38 Fax In-Reply-To: <0da001d07471$357aef80$a070ce80$@gmail.com> References: <0da001d07471$357aef80$a070ce80$@gmail.com> Message-ID: <787C997F-C9B4-4BC9-8324-03015E96686E@jerris.com> you probably don't want to use fax_enable_t38_request = true unless you know for sure that you need it, and you would NEVER want that on both sides. > On Apr 11, 2015, at 12:04 PM, Bill Ross wrote: > > Hi; > > I am attempting to get T38 Fax working between two FS/FusionPBX installations using mod_spandsp. I am unable to get into T.38 mode, T.30 used, successful fax. > Note that zrtp is disabled for fax calls, due to T38 udpl (not rtp media) incompatibility > Thanks Brian West!: ?T.38 Fax takes place over UDPTL, There for it can NOT be encrypted as there was never really a standard for doing so.? > > Details (both FS?s): > > SIP Provider: freephoneline.ca (claims T38 capable) > freeswitch - 1.4.18 > x86_64 > > Topology: > > FS#1: rossco.org , using FusionPBX web GUI to send fax > FS#2:rossco.duckdns.org , using spandsp extension to receive fax > > (spandsp txfax, x1020)FS#1 -> cloud -> FS#2(spandsp rxfax, x9000) > > Key variables for fax sender (FS#1), during call: > $domain= rossco.org > Spandsp Fax extension: 1020 > t38_passthru = false > zrtp_secure_media = false > fax_enable_t38 = true > fax_enable_t38_request = true > fax_use_ecm = off > inbound-late-negotiation = true > ignore_early_media = false > > Key variables for fax receiver (FS#2), during call: > $domain= rossco.duckdns.org > Spandsp Fax extension: 9000 > t38_passthru = false > zrtp_secure_media = false > fax_enable_t38 = true > fax_enable_t38_request = true > fax_use_ecm = off > inbound-late-negotiation = true > ignore_early_media = false > > Full Logs w/siptrace: > > Sender(rossco.org ): https://pastebin.freeswitch.org/24115 > > Receiver(rossco.duckdns.org ): https://pastebin.freeswitch.org/24116 > > Note that the SDP?s are correct for T38: > > 590fc4c4-3035-438e-a4c7-4a9d8e51ee42 v=0 > 590fc4c4-3035-438e-a4c7-4a9d8e51ee42 o=FreeSWITCH 1428750600 1428750602 IN IP4 198.48.238.130 > 590fc4c4-3035-438e-a4c7-4a9d8e51ee42 s=FreeSWITCH > 590fc4c4-3035-438e-a4c7-4a9d8e51ee42 c=IN IP4 198.48.238.130 > 590fc4c4-3035-438e-a4c7-4a9d8e51ee42 t=0 0 > 590fc4c4-3035-438e-a4c7-4a9d8e51ee42 m=image 16448 udptl t38 > 590fc4c4-3035-438e-a4c7-4a9d8e51ee42 a=T38FaxVersion:0 > 590fc4c4-3035-438e-a4c7-4a9d8e51ee42 a=T38MaxBitRate:14400 > 590fc4c4-3035-438e-a4c7-4a9d8e51ee42 a=T38FaxFillBitRemoval > 590fc4c4-3035-438e-a4c7-4a9d8e51ee42 a=T38FaxRateManagement:transferredTCF > 590fc4c4-3035-438e-a4c7-4a9d8e51ee42 a=T38FaxMaxBuffer:2000 > 590fc4c4-3035-438e-a4c7-4a9d8e51ee42 a=T38FaxMaxDatagram:400 > 590fc4c4-3035-438e-a4c7-4a9d8e51ee42 a=T38FaxUdpEC:t38UDPRedundancy > > Questions: > > 1 - According to my interpretation of logs, T38 is not negotiated, despite T38 SDP?s > 2 - What am I missing? > > Thanks; > Bill Ross > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150413/778b53d6/attachment-0001.html From dujinfang at gmail.com Mon Apr 13 17:26:37 2015 From: dujinfang at gmail.com (Seven Du) Date: Mon, 13 Apr 2015 21:26:37 +0800 Subject: [Freeswitch-users] Bounty In-Reply-To: <068c01d07186$bd3c0cd0$37b42670$@verizon.net> References: <068c01d07186$bd3c0cd0$37b42670$@verizon.net> Message-ID: create a jira you should can add a bounty label in Components. On Wed, Apr 8, 2015 at 7:01 AM, Andre DeMattia wrote: > How do I create a bounty for a bug in FS? > > Thanks > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- About: http://about.me/dujinfang Blog: http://www.dujinfang.com Proj: http://www.freeswitch.org.cn -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150413/06a2ec8a/attachment.html From dujinfang at gmail.com Mon Apr 13 17:28:18 2015 From: dujinfang at gmail.com (Seven Du) Date: Mon, 13 Apr 2015 21:28:18 +0800 Subject: [Freeswitch-users] Freeswitch basic VP8 passthrough In-Reply-To: References: Message-ID: check with uuid_debug_media ? On Tue, Apr 7, 2015 at 6:39 PM, Adam Ben-Ayoun wrote: > I got this working with 2 clients. My goal is to broadcast from one client > to all the rest. This seems to work fine with 2 clients, meaning, one > client gets video from the other client, now, when I am adding a 3rd > client, it doesn't get video (verified with chrome://webrtc-internals). Any > idea? > > On 3 April 2015 at 15:23, Adam Ben-Ayoun > wrote: > >> Sorry about that... I assumed that if mod_vp8 is uncommented >> in conf/autoload_configs/modules.conf.xml then it's actually compiled... >> After looking at the src I compiled I see that mod_vp8 is commented out, I >> will compile it and try again. Thanks! >> >> On 3 April 2015 at 13:14, Adam Ben-Ayoun >> wrote: >> >>> Hi guys, >>> >>> I am trying to setup a simple WebRTC video conference using VP8 with >>> mod_conference, while audio conferencing works fine, I am not able to setup >>> a video conference using clients like SIPjs, basically, I am opening 2 >>> clients and expect to see video streaming to each side. >>> >>> I did the following: >>> 1. Added the following config to my conference profile in >>> conference.conf.xml: >>> >>> >>> >>> 2. Added VP8 to vars.xml: >>> >>> >>> Any idea? >>> >>> P.S The client seem to pass the video params correctly in the SDP, but >>> Freeswitch still responses with the following SDP: >>> v=0 >>> o=FreeSWITCH 1428032845 1428032846 IN IP4 X.X.X.X >>> s=FreeSWITCH >>> c=IN IP4 52.1.148.244 >>> t=0 0 >>> a=msid-semantic: WMS QyrjMP4wDDWQeK1hU3mBsJvovhMMWjKD >>> m=audio 23118 UDP/TLS/RTP/SAVPF 111 126 106 >>> a=rtpmap:111 opus/48000/2 >>> a=fmtp:111 useinbandfec=1; minptime=10 >>> a=rtpmap:126 telephone-event/8000 >>> a=rtpmap:106 CN/8000 >>> a=ptime:20 >>> a=fingerprint:sha-256 >>> 83:F4:57:6D:F9:40:C7:E8:28:6D:59:AE:5F:08:23:3E:9E:17:1E:2F:D8:A9:D5:E7:DB:13:92:B5:DE:4A:66:CA >>> a=rtcp-mux >>> a=rtcp:23118 IN IP4 X.X.X.X >>> a=ssrc:3173617819 cname:I1MkHHGaasQf3InN >>> a=ssrc:3173617819 msid:QyrjMP4wDDWQeK1hU3mBsJvovhMMWjKD a0 >>> a=ssrc:3173617819 mslabel:QyrjMP4wDDWQeK1hU3mBsJvovhMMWjKD >>> a=ssrc:3173617819 label:QyrjMP4wDDWQeK1hU3mBsJvovhMMWjKDa0 >>> a=ice-ufrag:CzeU8A9uHL6uVHXu >>> a=ice-pwd:zzF67b78uOeomr1PR6zQwzb4 >>> a=candidate:8368394426 1 udp 659136 X.X.X.X 23118 typ host generation >>> 0 >>> m=video 0 UDP/TLS/RTP/SAVPF 19 >>> >>> >>> >>> Thanks! >>> Adam >>> >> >> > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- About: http://about.me/dujinfang Blog: http://www.dujinfang.com Proj: http://www.freeswitch.org.cn -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150413/250c7deb/attachment.html From dujinfang at gmail.com Mon Apr 13 17:30:08 2015 From: dujinfang at gmail.com (Seven Du) Date: Mon, 13 Apr 2015 21:30:08 +0800 Subject: [Freeswitch-users] Freeswitch video conference (broadcast) In-Reply-To: References: Message-ID: don't use video-bridge, the default conf should work ok. On Sun, Apr 5, 2015 at 1:08 AM, Adam Ben-Ayoun wrote: > Hi guys, > > I have a conference configured with conference-flags and member-flags set > to video-bridge and I am using SIPjs as a WebRTC client to test the setup. > My goal is to broadcast from one client to all the rest. This seems to work > fine with 2 clients, meaning, one client gets video from the other client, > now, when I am adding a 3rd client, it doesn't get video (verified with > chrome://webrtc-internals). Any idea? Am I missing something? > > Thanks! > Adam > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- About: http://about.me/dujinfang Blog: http://www.dujinfang.com Proj: http://www.freeswitch.org.cn -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150413/b6ef2a17/attachment.html From vipkilla at gmail.com Mon Apr 13 17:42:04 2015 From: vipkilla at gmail.com (Vik Killa) Date: Mon, 13 Apr 2015 09:42:04 -0400 Subject: [Freeswitch-users] Bounty In-Reply-To: References: <068c01d07186$bd3c0cd0$37b42670$@verizon.net> Message-ID: You can email out the request on here too. Thanks. /V On Mon, Apr 13, 2015 at 9:26 AM, Seven Du wrote: > create a jira you should can add a bounty label in Components. > > On Wed, Apr 8, 2015 at 7:01 AM, Andre DeMattia > wrote: > >> How do I create a bounty for a bug in FS? >> >> Thanks >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > About: http://about.me/dujinfang > Blog: http://www.dujinfang.com > Proj: http://www.freeswitch.org.cn > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150413/35995ef1/attachment-0001.html From rossbcan at gmail.com Mon Apr 13 18:41:04 2015 From: rossbcan at gmail.com (Bill Ross) Date: Mon, 13 Apr 2015 10:41:04 -0400 Subject: [Freeswitch-users] Freeswitch / FusionPBX T.38 Fax In-Reply-To: <787C997F-C9B4-4BC9-8324-03015E96686E@jerris.com> References: <0da001d07471$357aef80$a070ce80$@gmail.com> <787C997F-C9B4-4BC9-8324-03015E96686E@jerris.com> Message-ID: <0e2501d075f7$df34dd60$9d9e9820$@gmail.com> Thanks Michael; I took your advice and set: fax_enable_t38_request = Not set for the fax receiver (FS#2) Made no difference and, I suspect two things: #1 ? May actually be doing T.38 in both cases, fax transaction is using various values for: FLOW T.38T Set rx type 9 and FLOW T.38T Set tx type 9 And, the transaction ends with: FLOW T.38T FAX exchange complete Is this sufficient evidence that T.38 was used? The T.30 packet transfer messages caused me confusion. #2 ? IMHO, the glare condition of both ends setting fax_enable_t38_request = true Is unavoidable due to lack of signalling / race condition knowledge regarding state of t38_request from the other end. Strongly suspect since freeswitch has supported T.38 for some time that FS already handles this condition. Gurus, please weigh in on this. Regards; Bill Ross From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Michael Jerris Sent: April-13-15 9:03 AM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Freeswitch / FusionPBX T.38 Fax you probably don't want to use fax_enable_t38_request = true unless you know for sure that you need it, and you would NEVER want that on both sides. On Apr 11, 2015, at 12:04 PM, Bill Ross wrote: Hi; I am attempting to get T38 Fax working between two FS/FusionPBX installations using mod_spandsp. I am unable to get into T.38 mode, T.30 used, successful fax. Note that zrtp is disabled for fax calls, due to T38 udpl (not rtp media) incompatibility Thanks Brian West!: ?T.38 Fax takes place over UDPTL, There for it can NOT be encrypted as there was never really a standard for doing so.? Details (both FS?s): SIP Provider: freephoneline.ca (claims T38 capable) freeswitch - 1.4.18 x86_64 Topology: FS#1: rossco.org, using FusionPBX web GUI to send fax FS#2: rossco.duckdns.org, using spandsp extension to receive fax (spandsp txfax, x1020)FS#1 -> cloud -> FS#2(spandsp rxfax, x9000) Key variables for fax sender (FS#1), during call: $domain= rossco.org Spandsp Fax extension: 1020 t38_passthru = false zrtp_secure_media = false fax_enable_t38 = true fax_enable_t38_request = true fax_use_ecm = off inbound-late-negotiation = true ignore_early_media = false Key variables for fax receiver (FS#2), during call: $domain= rossco.duckdns.org Spandsp Fax extension: 9000 t38_passthru = false zrtp_secure_media = false fax_enable_t38 = true fax_enable_t38_request = true fax_use_ecm = off inbound-late-negotiation = true ignore_early_media = false Full Logs w/siptrace: Sender( rossco.org): https://pastebin.freeswitch.org/24115 Receiver( rossco.duckdns.org): https://pastebin.freeswitch.org/24116 Note that the SDP?s are correct for T38: 590fc4c4-3035-438e-a4c7-4a9d8e51ee42 v=0 590fc4c4-3035-438e-a4c7-4a9d8e51ee42 o=FreeSWITCH 1428750600 1428750602 IN IP4 198.48.238.130 590fc4c4-3035-438e-a4c7-4a9d8e51ee42 s=FreeSWITCH 590fc4c4-3035-438e-a4c7-4a9d8e51ee42 c=IN IP4 198.48.238.130 590fc4c4-3035-438e-a4c7-4a9d8e51ee42 t=0 0 590fc4c4-3035-438e-a4c7-4a9d8e51ee42 m=image 16448 udptl t38 590fc4c4-3035-438e-a4c7-4a9d8e51ee42 a=T38FaxVersion:0 590fc4c4-3035-438e-a4c7-4a9d8e51ee42 a=T38MaxBitRate:14400 590fc4c4-3035-438e-a4c7-4a9d8e51ee42 a=T38FaxFillBitRemoval 590fc4c4-3035-438e-a4c7-4a9d8e51ee42 a=T38FaxRateManagement:transferredTCF 590fc4c4-3035-438e-a4c7-4a9d8e51ee42 a=T38FaxMaxBuffer:2000 590fc4c4-3035-438e-a4c7-4a9d8e51ee42 a=T38FaxMaxDatagram:400 590fc4c4-3035-438e-a4c7-4a9d8e51ee42 a=T38FaxUdpEC:t38UDPRedundancy Questions: 1 - According to my interpretation of logs, T38 is not negotiated, despite T38 SDP?s 2 - What am I missing? Thanks; Bill Ross -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150413/9e7c331b/attachment-0001.html From kamil.nigmatullin at gmail.com Mon Apr 13 18:49:32 2015 From: kamil.nigmatullin at gmail.com (Kamil Nigmatullin) Date: Mon, 13 Apr 2015 20:49:32 +0600 Subject: [Freeswitch-users] FEC feature in mod_opus Message-ID: Hello. Anybody from developers could please clarify if FreeSWITCH uses Forward Error Correction feature in opus codec? We actually are not a specialists in C and cannot fully understand how decode function works in 414 line. According to opus documentation decode function is called with special flag if previous packet is lost in order to call fec feature. In mod_opus it is hard to say for me as i don't see i or i+1 packets. Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150413/b7da34ef/attachment.html From mike at jerris.com Mon Apr 13 18:54:07 2015 From: mike at jerris.com (Michael Jerris) Date: Mon, 13 Apr 2015 10:54:07 -0400 Subject: [Freeswitch-users] Freeswitch / FusionPBX T.38 Fax In-Reply-To: <0e2501d075f7$df34dd60$9d9e9820$@gmail.com> References: <0da001d07471$357aef80$a070ce80$@gmail.com> <787C997F-C9B4-4BC9-8324-03015E96686E@jerris.com> <0e2501d075f7$df34dd60$9d9e9820$@gmail.com> Message-ID: You would typically have that on the receiver end, not the sender. > On Apr 13, 2015, at 10:41 AM, Bill Ross wrote: > > Thanks Michael; > > I took your advice and set: > > fax_enable_t38_request = Not set for the fax receiver (FS#2) > > Made no difference and, I suspect two things: > > #1 ? May actually be doing T.38 in both cases, fax transaction is using various values for: > > FLOW T.38T Set rx type 9 and FLOW T.38T Set tx type 9 > And, the transaction ends with: > > FLOW T.38T FAX exchange complete > > Is this sufficient evidence that T.38 was used? The T.30 packet transfer messages caused me confusion. > > #2 ? IMHO, the glare condition of both ends setting fax_enable_t38_request = true > Is unavoidable due to lack of signalling / race condition knowledge regarding state of t38_request from the other end. > Strongly suspect since freeswitch has supported T.38 for some time that FS already handles this condition. > Gurus, please weigh in on this. > > Regards; > Bill Ross > > From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Michael Jerris > Sent: April-13-15 9:03 AM > To: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] Freeswitch / FusionPBX T.38 Fax > > you probably don't want to use fax_enable_t38_request = true unless you know for sure that you need it, and you would NEVER want that on both sides. > > >> On Apr 11, 2015, at 12:04 PM, Bill Ross > wrote: >> >> Hi; >> >> I am attempting to get T38 Fax working between two FS/FusionPBX installations using mod_spandsp. I am unable to get into T.38 mode, T.30 used, successful fax. >> Note that zrtp is disabled for fax calls, due to T38 udpl (not rtp media) incompatibility >> Thanks Brian West!: ?T.38 Fax takes place over UDPTL, There for it can NOT be encrypted as there was never really a standard for doing so.? >> >> Details (both FS?s): >> >> SIP Provider: freephoneline.ca (claims T38 capable) >> freeswitch - 1.4.18 >> x86_64 >> >> Topology: >> >> FS#1: rossco.org , using FusionPBX web GUI to send fax >> FS#2:rossco.duckdns.org , using spandsp extension to receive fax >> >> (spandsp txfax, x1020)FS#1 -> cloud -> FS#2(spandsp rxfax, x9000) >> >> Key variables for fax sender (FS#1), during call: >> $domain= rossco.org >> Spandsp Fax extension: 1020 >> t38_passthru = false >> zrtp_secure_media = false >> fax_enable_t38 = true >> fax_enable_t38_request = true >> fax_use_ecm = off >> inbound-late-negotiation = true >> ignore_early_media = false >> >> Key variables for fax receiver (FS#2), during call: >> $domain= rossco.duckdns.org >> Spandsp Fax extension: 9000 >> t38_passthru = false >> zrtp_secure_media = false >> fax_enable_t38 = true >> fax_enable_t38_request = true >> fax_use_ecm = off >> inbound-late-negotiation = true >> ignore_early_media = false >> >> Full Logs w/siptrace: >> >> Sender(rossco.org ): https://pastebin.freeswitch.org/24115 >> >> Receiver(rossco.duckdns.org ): https://pastebin.freeswitch.org/24116 >> >> Note that the SDP?s are correct for T38: >> >> 590fc4c4-3035-438e-a4c7-4a9d8e51ee42 v=0 >> 590fc4c4-3035-438e-a4c7-4a9d8e51ee42 o=FreeSWITCH 1428750600 1428750602 IN IP4 198.48.238.130 >> 590fc4c4-3035-438e-a4c7-4a9d8e51ee42 s=FreeSWITCH >> 590fc4c4-3035-438e-a4c7-4a9d8e51ee42 c=IN IP4 198.48.238.130 >> 590fc4c4-3035-438e-a4c7-4a9d8e51ee42 t=0 0 >> 590fc4c4-3035-438e-a4c7-4a9d8e51ee42 m=image 16448 udptl t38 >> 590fc4c4-3035-438e-a4c7-4a9d8e51ee42 a=T38FaxVersion:0 >> 590fc4c4-3035-438e-a4c7-4a9d8e51ee42 a=T38MaxBitRate:14400 >> 590fc4c4-3035-438e-a4c7-4a9d8e51ee42 a=T38FaxFillBitRemoval >> 590fc4c4-3035-438e-a4c7-4a9d8e51ee42 a=T38FaxRateManagement:transferredTCF >> 590fc4c4-3035-438e-a4c7-4a9d8e51ee42 a=T38FaxMaxBuffer:2000 >> 590fc4c4-3035-438e-a4c7-4a9d8e51ee42 a=T38FaxMaxDatagram:400 >> 590fc4c4-3035-438e-a4c7-4a9d8e51ee42 a=T38FaxUdpEC:t38UDPRedundancy >> >> Questions: >> >> 1 - According to my interpretation of logs, T38 is not negotiated, despite T38 SDP?s >> 2 - What am I missing? >> >> Thanks; >> Bill Ross >> > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150413/229a6959/attachment-0001.html From rossbcan at gmail.com Mon Apr 13 19:13:48 2015 From: rossbcan at gmail.com (Bill Ross) Date: Mon, 13 Apr 2015 11:13:48 -0400 Subject: [Freeswitch-users] Freeswitch / FusionPBX T.38 Fax In-Reply-To: References: <0da001d07471$357aef80$a070ce80$@gmail.com> <787C997F-C9B4-4BC9-8324-03015E96686E@jerris.com> <0e2501d075f7$df34dd60$9d9e9820$@gmail.com> Message-ID: <0e3601d075fc$71618810$54249830$@gmail.com> Hi Michael; FusionPBX sets fax_enable_t38_request = true For the (created by fusionPBX) receive fax xml endpoint and the transmit fax (from web gui) php. Once this is sorted out, if changes required, I will spawn a fusionPBX bug. Regards; Bill From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Michael Jerris Sent: April-13-15 10:54 AM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Freeswitch / FusionPBX T.38 Fax You would typically have that on the receiver end, not the sender. On Apr 13, 2015, at 10:41 AM, Bill Ross wrote: Thanks Michael; I took your advice and set: Not set for the fax receiver (FS#2) Made no difference and, I suspect two things: #1 ? May actually be doing T.38 in both cases, fax transaction is using various values for: FLOW T.38T Set rx type 9 and FLOW T.38T Set tx type 9 And, the transaction ends with: FLOW T.38T FAX exchange complete Is this sufficient evidence that T.38 was used? The T.30 packet transfer messages caused me confusion. #2 ? IMHO, the glare condition of both ends setting fax_enable_t38_request = true Is unavoidable due to lack of signalling / race condition knowledge regarding state of t38_request from the other end. Strongly suspect since freeswitch has supported T.38 for some time that FS already handles this condition. Gurus, please weigh in on this. Regards; Bill Ross From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Michael Jerris Sent: April-13-15 9:03 AM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Freeswitch / FusionPBX T.38 Fax you probably don't want to use fax_enable_t38_request = true unless you know for sure that you need it, and you would NEVER want that on both sides. On Apr 11, 2015, at 12:04 PM, Bill Ross < rossbcan at gmail.com> wrote: Hi; I am attempting to get T38 Fax working between two FS/FusionPBX installations using mod_spandsp. I am unable to get into T.38 mode, T.30 used, successful fax. Note that zrtp is disabled for fax calls, due to T38 udpl (not rtp media) incompatibility Thanks Brian West!: ?T.38 Fax takes place over UDPTL, There for it can NOT be encrypted as there was never really a standard for doing so.? Details (both FS?s): SIP Provider: freephoneline.ca (claims T38 capable) freeswitch - 1.4.18 x86_64 Topology: FS#1: rossco.org, using FusionPBX web GUI to send fax FS#2: rossco.duckdns.org, using spandsp extension to receive fax (spandsp txfax, x1020)FS#1 -> cloud -> FS#2(spandsp rxfax, x9000) Key variables for fax sender (FS#1), during call: $domain= rossco.org Spandsp Fax extension: 1020 t38_passthru = false zrtp_secure_media = false fax_enable_t38 = true fax_enable_t38_request = true fax_use_ecm = off inbound-late-negotiation = true ignore_early_media = false Key variables for fax receiver (FS#2), during call: $domain= rossco.duckdns.org Spandsp Fax extension: 9000 t38_passthru = false zrtp_secure_media = false fax_enable_t38 = true fax_enable_t38_request = true fax_use_ecm = off inbound-late-negotiation = true ignore_early_media = false Full Logs w/siptrace: Sender( rossco.org): https://pastebin.freeswitch.org/24115 Receiver( rossco.duckdns.org): https://pastebin.freeswitch.org/24116 Note that the SDP?s are correct for T38: 590fc4c4-3035-438e-a4c7-4a9d8e51ee42 v=0 590fc4c4-3035-438e-a4c7-4a9d8e51ee42 o=FreeSWITCH 1428750600 1428750602 IN IP4 198.48.238.130 590fc4c4-3035-438e-a4c7-4a9d8e51ee42 s=FreeSWITCH 590fc4c4-3035-438e-a4c7-4a9d8e51ee42 c=IN IP4 198.48.238.130 590fc4c4-3035-438e-a4c7-4a9d8e51ee42 t=0 0 590fc4c4-3035-438e-a4c7-4a9d8e51ee42 m=image 16448 udptl t38 590fc4c4-3035-438e-a4c7-4a9d8e51ee42 a=T38FaxVersion:0 590fc4c4-3035-438e-a4c7-4a9d8e51ee42 a=T38MaxBitRate:14400 590fc4c4-3035-438e-a4c7-4a9d8e51ee42 a=T38FaxFillBitRemoval 590fc4c4-3035-438e-a4c7-4a9d8e51ee42 a=T38FaxRateManagement:transferredTCF 590fc4c4-3035-438e-a4c7-4a9d8e51ee42 a=T38FaxMaxBuffer:2000 590fc4c4-3035-438e-a4c7-4a9d8e51ee42 a=T38FaxMaxDatagram:400 590fc4c4-3035-438e-a4c7-4a9d8e51ee42 a=T38FaxUdpEC:t38UDPRedundancy Questions: 1 - According to my interpretation of logs, T38 is not negotiated, despite T38 SDP?s 2 - What am I missing? Thanks; Bill Ross _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http:// lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150413/4b635bde/attachment-0001.html From mbodbg at gmx.net Mon Apr 13 19:36:11 2015 From: mbodbg at gmx.net (mbo) Date: Mon, 13 Apr 2015 17:36:11 +0200 Subject: [Freeswitch-users] Changing loglevel / enable sip trace on sip profiles Message-ID: <33892A7E-5652-4E19-BF7D-2217534ECC77@gmx.net> Hello, I just changed (decreased) the loglevel and disabled sip trace in a sip profile config on FS 1.4.15 and performed sofia profile rescan, but the loglevel dis not change and the sip trace is still active. When I start and stop the profile the changes are active. Why is ?rescan? not sufficient for those changes, or is it a bug? Thanks and Regards Markus From dvl36.ripe.nick at gmail.com Mon Apr 13 20:25:23 2015 From: dvl36.ripe.nick at gmail.com (Dmitry Lysenko) Date: Mon, 13 Apr 2015 19:25:23 +0300 Subject: [Freeswitch-users] KVM vs. XEN virtualization In-Reply-To: References: Message-ID: 2015-04-12 21:01 GMT+03:00 Sergey Safarov : > 1) But in your case, cyclictest can generate 336000 (42*8000) hardware > timer irqs per second VS 8000 from TDM card's. > > Very interest results. > My example creates a lot of unnecessary interruptions > For VoIP only host more correctly measured so > cyclictest -t42 -p -d 80 0 -n -i -l 5000 6000 > or > cyclictest -t42 -p -d 80 0 -n -i -l 10000 3000 > > If FS has one TDM cards then > cyclictest -t1 -p -d 80 0 -n -i -l 125 240000 > > If two TDM cards > cyclictest -t2 -p -d 80 0 -n -i -l 125 240000 > > Where "-t" key equal number of TDM cards > In any case, I recommend adding the interval between threads. > 2) According to Digium sources your TDM card have 20ms max buffer size(3ms > default) > USB dongles have at least 20 ms. > > Can you describe how you have found this information. It is very interest. > I looked into TDM card's driver sources and on the internet. Now I found another page and according to this page they increase card's FIFO to 16ms, and reduce maximum latency from 20ms to 12ms. http://git.asterisk.org/gitweb/?p=dahdi/linux.git;a=commit;h=ae5fa08abd1b898c0c080927e75c7249b3982c2d As for USB dongles I hope you will be trust Giovanni. Giovanni already said about 20ms frames. Dmitry. [rest was too long, skipped] -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150413/4e8ea2fd/attachment.html From dujinfang at gmail.com Mon Apr 13 16:44:37 2015 From: dujinfang at gmail.com (Seven Du) Date: Mon, 13 Apr 2015 20:44:37 +0800 Subject: [Freeswitch-users] Verto record VP8 video In-Reply-To: References: Message-ID: use record_fsv or wait for FreeSWITCH 1.6 > On Apr 13, 2015, at 7:30 PM, ??????? ???????? wrote: > > Good day! Anybody know how to record VP8 video in freeswitch for verto > calls. If I use fsv: > > > > On calledstation I don't see call. On freeswitch console I see: > > [NOTICE] switch_channel.c:3438 Hangup > verto.rtc/1007 at video-ce.XXXXXXX.com [CS_EXECUTE] [INCOMPATIBLE_DESTINATION] > Does mod_fsv support verto call? > > > > > > > > ???????? ???! > > ? ?????????, ??????? ???????? > > > ???. +7 (4872) 70 43 21 ???. > ???.?????????: 8-800-333-84-64 > > ZONATELECOM > www.zonatelecom.ru > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org From krice at freeswitch.org Mon Apr 13 21:39:31 2015 From: krice at freeswitch.org (Ken Rice) Date: Mon, 13 Apr 2015 17:39:31 +0000 Subject: [Freeswitch-users] =?utf-8?q?ClueCon_=E2=80=93_Registration_and_C?= =?utf-8?q?all_for_Speakers_NOW_OPEN!?= Message-ID: <552bff539efd7_1e09fa5320679bf@resque-worker-ip-10-169-178-248.mail> New Post on freeswitch.org from anthm check it out at http://freeswitch.org/cluecon-registration-and-call-for-speakers-now-open/ ClueCon ? Registration and Call for Speakers NOW OPEN! ClueCon Call for Speakers and Registration are both NOW OPEN. Visit our site and click the call for speakers link at the top of the page to reserve a spot now! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150413/a10fbeca/attachment.html From krice at freeswitch.org Mon Apr 13 21:39:35 2015 From: krice at freeswitch.org (Ken Rice) Date: Mon, 13 Apr 2015 17:39:35 +0000 Subject: [Freeswitch-users] FreeSWITCH Week in Review (Master Branch) April 4th-10th Message-ID: <552bff5795173_1e09fa532068241@resque-worker-ip-10-169-178-248.mail> New Post on freeswitch.org from Kathleen check it out at http://freeswitch.org/freeswitch-week-in-review-master-branch-april-4th-10th/ FreeSWITCH Week in Review (Master Branch) April 4th-10th Hello, again. This passed week in the FreeSWITCH master branch we had 6 commits. More feature commits went in toward mod_amqp this week. The accuracy of the logging was tweaked and improved, the command configuration was expanded, and the command binding key configuration was added. Join us on Wednesdays at 12:00 CT for some more FreeSWITCH fun! And head over to freeswitch.com to learn more about FreeSWITCH support. New features that were added: FS-7430 Add variable expansion to mod_xml_ldap FS-7060 Improve the accuracy of logging and handling of producer reconnect attempt interval for mod_amqp, expand configuration for amqp command configuration, and add configuration of the amqp command binding key Improvements in build system, cross platform support, and packaging: FS-7426 Fix the debian packaging for wheezy when the newer librabbitmq1 package isn?t installed -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150413/83325373/attachment.html From ssinyagin at gmail.com Mon Apr 13 23:40:02 2015 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Mon, 13 Apr 2015 21:40:02 +0200 Subject: [Freeswitch-users] FreeSWITCH Week in Review (Master Branch) April 4th-10th In-Reply-To: <552bff5795173_1e09fa532068241@resque-worker-ip-10-169-178-248.mail> References: <552bff5795173_1e09fa532068241@resque-worker-ip-10-169-178-248.mail> Message-ID: FS -7426 is not finally resolved though :) On Apr 13, 2015 7:40 PM, "Ken Rice" wrote: > New Post on freeswitch.org from Kathleen > check it out at > http://freeswitch.org/freeswitch-week-in-review-master-branch-april-4th-10th/ > FreeSWITCH Week in Review (Master Branch) April 4th-10th > > Hello, again. This passed week in the FreeSWITCH master branch we had 6 > commits. More feature commits went in toward mod_amqp this week. The > accuracy of the logging was tweaked and improved, the command configuration > was expanded, and the command binding key configuration was added. > > Join us on Wednesdays at 12:00 CT for some more FreeSWITCH fun! And head > over to freeswitch.com to learn more about FreeSWITCH support. > > New features that were added: > > - FS-7430 Add variable > expansion to mod_xml_ldap > - FS-7060 Improve the > accuracy of logging and handling of producer reconnect attempt interval for > mod_amqp, expand configuration for amqp command configuration, and add > configuration of the amqp command binding key > > Improvements in build system, cross platform support, and packaging: > > - FS-7426 Fix the debian > packaging for wheezy when the newer librabbitmq1 package isn?t installed > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150413/0380841b/attachment-0001.html From jonathan.p.davis at nasa.gov Mon Apr 13 23:43:30 2015 From: jonathan.p.davis at nasa.gov (DAVIS, JONATHAN P. (KSC-ITD10)) Date: Mon, 13 Apr 2015 19:43:30 +0000 Subject: [Freeswitch-users] Auto answer for FreeTDM analog_em Message-ID: Hey all, I am creating a WebRTC interface for work that interfaces to our legacy intercom system. I have set up my span in FreeTDM as analog_em and have green lights all around for signaling. I need to be able to originate the DS0 into a conference, but attempting to do so causes the extension to ring for about 30 sec before finally going from DIALING to BUSY. I believe the endpoint isn't being answered. I had this working successfully in Asterisk by setting immediate=yes in chan_dahdi.conf. I found sip_auto_answer, and immediate_accept in the open_r2 module, but nothing for analog_em. I have nothing that would let me configure this on my conferencing switch, but believe there must be a way to configure it from my side as Asterisk could do it. Any help is greatly appreciated. Thanks, JD Some info: Freetdm.conf: [span zt OIS] trunk_type => EM em-channel => 1-24 freetdm.conf.xml: Dialplan: freeswitch at internal> ftdm list +OK span: 1 (OIS) type: analog_em physical_status: ok signaling_status: UP chan_count: 24 dialplan: XML context: basic dial_regex: fail_dial_regex: hold_music: analog_options: none freeswitch at internal> ftdm dump 1 1 span_id: 1 chan_id: 1 physical_span_id: 1 physical_chan_id: 1 physical_status: ok physical_status_red: 0 physical_status_yellow: 0 physical_status_rai: 0 physical_status_blue: 0 physical_status_ais: 0 physical_status_general: 0 signaling_status: UP type: EM state: DOWN last_state: DOWN txgain: 0.00 rxgain: 0.00 cid_date: cid_name: cid_num: ani: aniII: dnis: rdnis: cause: NONE session: (none) -- No state history - freeswitch at internal> bgapi originate freetdm/1/1 200 +OK Job-UUID: 603fb938-e214-11e4-97e6-43b5b7de6600 freeswitch at internal> 2015-04-13 15:36:26.979819 [DEBUG] switch_ivr_originate.c:2100 Parsing global variables 2015-04-13 15:36:26.979819 [INFO] ftmod_zt.c:671 Setting echo cancel to 64 taps for 1:1 2015-04-13 15:36:26.979819 [DEBUG] mod_freetdm.c:403 Set codec PCMU 20ms 2015-04-13 15:36:26.979819 [DEBUG] mod_freetdm.c:1251 Connect outbound channel FreeTDM/1:1/ 2015-04-13 15:36:26.979819 [NOTICE] switch_channel.c:1055 New Channel FreeTDM/1:1/ [603fc6f8-e214-11e4-97e8-43b5b7de6600] 2015-04-13 15:36:26.979819 [DEBUG] mod_freetdm.c:1260 (FreeTDM/1:1/) State Change CS_NEW -> CS_INIT 2015-04-13 15:36:26.979819 [DEBUG] switch_core_session.c:1396 Send signal FreeTDM/1:1/ [BREAK] 2015-04-13 15:36:26.979819 [DEBUG] mod_freetdm.c:1279 Attached session 603fc6f8-e214-11e4-97e8-43b5b7de6600 to channel 1:1 2015-04-13 15:36:26.979819 [DEBUG] ftmod_zt.c:754 [s1c1][1:1] Channel is now offhook 2015-04-13 15:36:26.979819 [DEBUG] ftmod_analog_em.c:168 [s1c1][1:1] Changed state from DOWN to DIALING 2015-04-13 15:36:26.979819 [DEBUG] ftmod_analog_em.c:528 ANALOG EM CHANNEL thread starting. 2015-04-13 15:36:26.979819 [INFO] ftmod_zt.c:671 Setting echo cancel to 64 taps for 1:1 2015-04-13 15:36:26.999821 [DEBUG] ftdm_io.c:3395 [s1c1][1:1] Enabled software DTMF detector 2015-04-13 15:36:26.999821 [DEBUG] ftmod_analog_em.c:565 [s1c1][1:1] IO Interval: 20 2015-04-13 15:36:26.999821 [DEBUG] ftmod_analog_em.c:708 [s1c1][1:1] Completed state change from DOWN to DIALING in 1 ms 2015-04-13 15:36:26.999821 [DEBUG] ftmod_analog_em.c:712 Executing state handler on 1:1 for DIALING 2015-04-13 15:36:27.479818 [DEBUG] switch_core_state_machine.c:472 (FreeTDM/1:1/) Running State Change CS_INIT 2015-04-13 15:36:27.479818 [DEBUG] switch_core_state_machine.c:512 (FreeTDM/1:1/) State INIT 2015-04-13 15:36:27.479818 [DEBUG] mod_freetdm.c:430 (FreeTDM/1:1/) State Change CS_INIT -> CS_ROUTING 2015-04-13 15:36:27.479818 [DEBUG] switch_core_session.c:1396 Send signal FreeTDM/1:1/ [BREAK] 2015-04-13 15:36:27.479818 [DEBUG] switch_core_state_machine.c:512 (FreeTDM/1:1/) State INIT going to sleep 2015-04-13 15:36:27.479818 [DEBUG] switch_core_state_machine.c:472 (FreeTDM/1:1/) Running State Change CS_ROUTING 2015-04-13 15:36:27.479818 [DEBUG] switch_core_state_machine.c:528 (FreeTDM/1:1/) State ROUTING 2015-04-13 15:36:27.479818 [DEBUG] mod_freetdm.c:453 FreeTDM/1:1/ CHANNEL ROUTING 2015-04-13 15:36:27.479818 [DEBUG] switch_ivr_originate.c:67 (FreeTDM/1:1/) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2015-04-13 15:36:27.479818 [DEBUG] switch_core_session.c:1396 Send signal FreeTDM/1:1/ [BREAK] 2015-04-13 15:36:27.479818 [DEBUG] switch_core_state_machine.c:528 (FreeTDM/1:1/) State ROUTING going to sleep 2015-04-13 15:36:27.479818 [DEBUG] switch_core_state_machine.c:472 (FreeTDM/1:1/) Running State Change CS_CONSUME_MEDIA 2015-04-13 15:36:27.479818 [DEBUG] switch_core_state_machine.c:547 (FreeTDM/1:1/) State CONSUME_MEDIA 2015-04-13 15:36:27.479818 [DEBUG] switch_core_state_machine.c:547 (FreeTDM/1:1/) State CONSUME_MEDIA going to sleep 2015-04-13 15:36:27.979820 [DEBUG] ftmod_analog_em.c:628 [s1c1][1:1] CAS bits: 0x0 2015-04-13 15:36:28.979821 [DEBUG] ftmod_analog_em.c:628 [s1c1][1:1] CAS bits: 0x0 2015-04-13 15:36:29.979820 [DEBUG] ftmod_analog_em.c:628 [s1c1][1:1] CAS bits: 0x0 2015-04-13 15:36:30.979820 [DEBUG] ftmod_analog_em.c:628 [s1c1][1:1] CAS bits: 0x0 2015-04-13 15:36:31.979820 [DEBUG] ftmod_analog_em.c:628 [s1c1][1:1] CAS bits: 0x0 2015-04-13 15:36:32.979818 [DEBUG] ftmod_analog_em.c:628 [s1c1][1:1] CAS bits: 0x0 2015-04-13 15:36:33.979821 [DEBUG] ftmod_analog_em.c:628 [s1c1][1:1] CAS bits: 0x0 2015-04-13 15:36:34.979821 [DEBUG] ftmod_analog_em.c:628 [s1c1][1:1] CAS bits: 0x0 2015-04-13 15:36:35.979821 [DEBUG] ftmod_analog_em.c:628 [s1c1][1:1] CAS bits: 0x0 2015-04-13 15:36:36.979821 [DEBUG] ftmod_analog_em.c:628 [s1c1][1:1] CAS bits: 0x0 2015-04-13 15:36:37.979820 [DEBUG] ftmod_analog_em.c:628 [s1c1][1:1] CAS bits: 0x0 2015-04-13 15:36:38.979821 [DEBUG] ftmod_analog_em.c:628 [s1c1][1:1] CAS bits: 0x0 2015-04-13 15:36:39.979819 [DEBUG] ftmod_analog_em.c:628 [s1c1][1:1] CAS bits: 0x0 2015-04-13 15:36:40.979819 [DEBUG] ftmod_analog_em.c:628 [s1c1][1:1] CAS bits: 0x0 2015-04-13 15:36:41.979819 [DEBUG] ftmod_analog_em.c:628 [s1c1][1:1] CAS bits: 0x0 2015-04-13 15:36:42.979819 [DEBUG] ftmod_analog_em.c:628 [s1c1][1:1] CAS bits: 0x0 2015-04-13 15:36:43.979820 [DEBUG] ftmod_analog_em.c:628 [s1c1][1:1] CAS bits: 0x0 2015-04-13 15:36:44.979820 [DEBUG] ftmod_analog_em.c:628 [s1c1][1:1] CAS bits: 0x0 2015-04-13 15:36:45.979820 [DEBUG] ftmod_analog_em.c:628 [s1c1][1:1] CAS bits: 0x0 2015-04-13 15:36:46.979820 [DEBUG] ftmod_analog_em.c:628 [s1c1][1:1] CAS bits: 0x0 2015-04-13 15:36:47.979820 [DEBUG] ftmod_analog_em.c:628 [s1c1][1:1] CAS bits: 0x0 2015-04-13 15:36:48.979819 [DEBUG] ftmod_analog_em.c:628 [s1c1][1:1] CAS bits: 0x0 2015-04-13 15:36:49.979818 [DEBUG] ftmod_analog_em.c:628 [s1c1][1:1] CAS bits: 0x0 2015-04-13 15:36:50.979820 [DEBUG] ftmod_analog_em.c:628 [s1c1][1:1] CAS bits: 0x0 2015-04-13 15:36:51.979819 [DEBUG] ftmod_analog_em.c:628 [s1c1][1:1] CAS bits: 0x0 2015-04-13 15:36:52.979820 [DEBUG] ftmod_analog_em.c:628 [s1c1][1:1] CAS bits: 0x0 2015-04-13 15:36:53.979819 [DEBUG] ftmod_analog_em.c:628 [s1c1][1:1] CAS bits: 0x0 2015-04-13 15:36:54.979820 [DEBUG] ftmod_analog_em.c:628 [s1c1][1:1] CAS bits: 0x0 2015-04-13 15:36:55.979820 [DEBUG] ftmod_analog_em.c:628 [s1c1][1:1] CAS bits: 0x0 2015-04-13 15:36:56.979820 [DEBUG] ftmod_analog_em.c:628 [s1c1][1:1] CAS bits: 0x0 2015-04-13 15:36:56.999820 [DEBUG] ftmod_analog_em.c:620 [s1c1][1:1] Changed state from DIALING to BUSY 2015-04-13 15:36:57.019820 [DEBUG] ftmod_analog_em.c:708 [s1c1][1:1] Completed state change from DIALING to BUSY in 20 ms 2015-04-13 15:36:57.019820 [DEBUG] ftmod_analog_em.c:712 Executing state handler on 1:1 for BUSY 2015-04-13 15:36:57.019820 [DEBUG] ftmod_analog_em.c:789 [s1c1][1:1] Changed state from BUSY to DOWN 2015-04-13 15:36:57.039820 [DEBUG] ftmod_analog_em.c:708 [s1c1][1:1] Completed state change from BUSY to DOWN in 20 ms 2015-04-13 15:36:57.039820 [DEBUG] ftmod_analog_em.c:712 Executing state handler on 1:1 for DOWN 2015-04-13 15:36:57.039820 [DEBUG] mod_freetdm.c:2262 got FXO sig 1:1 [STOP] 2015-04-13 15:36:57.039820 [NOTICE] mod_freetdm.c:2282 Hangup FreeTDM/1:1/ [CS_CONSUME_MEDIA] [NORMAL_CIRCUIT_CONGESTION] 2015-04-13 15:36:57.039820 [DEBUG] switch_channel.c:3222 Send signal FreeTDM/1:1/ [KILL] 2015-04-13 15:36:57.039820 [DEBUG] switch_core_session.c:1396 Send signal FreeTDM/1:1/ [BREAK] 2015-04-13 15:36:57.039820 [DEBUG] ftmod_zt.c:765 [s1c1][1:1] Channel is now onhook 2015-04-13 15:36:57.039820 [DEBUG] switch_core_state_machine.c:472 (FreeTDM/1:1/) Running State Change CS_HANGUP 2015-04-13 15:36:57.039820 [DEBUG] ftdm_io.c:3194 [s1c1][1:1] DTMF debug is already disabled 2015-04-13 15:36:57.039820 [DEBUG] ftdm_io.c:3226 [s1c1][1:1] No need to disable input dump 2015-04-13 15:36:57.039820 [DEBUG] ftdm_io.c:3257 [s1c1][1:1] No need to disable output dump 2015-04-13 15:36:57.039820 [DEBUG] ftdm_io.c:6873 Cleared call with id 2 2015-04-13 15:36:57.039820 [DEBUG] ftdm_io.c:2999 [s1c1][1:1] channel done 2015-04-13 15:36:57.039820 [DEBUG] ftmod_analog_em.c:993 ANALOG EM CHANNEL thread ended. 2015-04-13 15:36:57.039820 [DEBUG] switch_core_state_machine.c:735 (FreeTDM/1:1/) Callstate Change DOWN -> HANGUP 2015-04-13 15:36:57.039820 [DEBUG] switch_core_state_machine.c:737 (FreeTDM/1:1/) State HANGUP 2015-04-13 15:36:57.039820 [DEBUG] mod_freetdm.c:544 [1:1] FreeTDM/1:1/ CHANNEL HANGUP ENTER 2015-04-13 15:36:57.039820 [DEBUG] mod_freetdm.c:569 Device [1:1] is no longer attached to FreeTDM/1:1/ 2015-04-13 15:36:57.039820 [DEBUG] mod_freetdm.c:643 [1:1] FreeTDM/1:1/ CHANNEL HANGUP EXIT 2015-04-13 15:36:57.039820 [DEBUG] switch_core_state_machine.c:60 FreeTDM/1:1/ Standard HANGUP, cause: NORMAL_CIRCUIT_CONGESTION 2015-04-13 15:36:57.039820 [DEBUG] switch_core_state_machine.c:737 (FreeTDM/1:1/) State HANGUP going to sleep 2015-04-13 15:36:57.039820 [DEBUG] switch_core_state_machine.c:504 (FreeTDM/1:1/) State Change CS_HANGUP -> CS_REPORTING 2015-04-13 15:36:57.039820 [DEBUG] switch_core_session.c:1396 Send signal FreeTDM/1:1/ [BREAK] 2015-04-13 15:36:57.039820 [DEBUG] switch_core_state_machine.c:472 (FreeTDM/1:1/) Running State Change CS_REPORTING 2015-04-13 15:36:57.039820 [DEBUG] switch_core_state_machine.c:823 (FreeTDM/1:1/) State REPORTING 2015-04-13 15:36:57.039820 [DEBUG] switch_core_state_machine.c:104 FreeTDM/1:1/ Standard REPORTING, cause: NORMAL_CIRCUIT_CONGESTION 2015-04-13 15:36:57.039820 [DEBUG] switch_core_state_machine.c:823 (FreeTDM/1:1/) State REPORTING going to sleep 2015-04-13 15:36:57.039820 [DEBUG] switch_core_state_machine.c:498 (FreeTDM/1:1/) State Change CS_REPORTING -> CS_DESTROY 2015-04-13 15:36:57.039820 [DEBUG] switch_core_session.c:1396 Send signal FreeTDM/1:1/ [BREAK] 2015-04-13 15:36:57.039820 [DEBUG] switch_core_session.c:1623 Session 2 (FreeTDM/1:1/) Locked, Waiting on external entities 2015-04-13 15:36:57.059821 [DEBUG] switch_ivr_originate.c:3720 Originate Resulted in Error Cause: 34 [NORMAL_CIRCUIT_CONGESTION] 2015-04-13 15:36:57.059821 [NOTICE] switch_core_session.c:1641 Session 2 (FreeTDM/1:1/) Ended 2015-04-13 15:36:57.059821 [NOTICE] switch_core_session.c:1645 Close Channel FreeTDM/1:1/ [CS_DESTROY] 2015-04-13 15:36:57.059821 [DEBUG] switch_core_state_machine.c:626 (FreeTDM/1:1/) Running State Change CS_DESTROY 2015-04-13 15:36:57.059821 [DEBUG] switch_core_state_machine.c:636 (FreeTDM/1:1/) State DESTROY 2015-04-13 15:36:57.059821 [DEBUG] switch_core_state_machine.c:111 FreeTDM/1:1/ Standard DESTROY 2015-04-13 15:36:57.059821 [DEBUG] switch_core_state_machine.c:636 (FreeTDM/1:1/) State DESTROY going to sleep -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150413/49794e53/attachment-0001.html From mike at jerris.com Mon Apr 13 23:53:50 2015 From: mike at jerris.com (Michael Jerris) Date: Mon, 13 Apr 2015 15:53:50 -0400 Subject: [Freeswitch-users] FreeSWITCH Week in Review (Master Branch) April 4th-10th In-Reply-To: References: <552bff5795173_1e09fa532068241@resque-worker-ip-10-169-178-248.mail> Message-ID: <59201C41-DF98-4742-BD3B-12EF6931BCC8@jerris.com> commit 535cfbbd4f7240b356c64417550a8814c7319280 Author: Michael Jerris Date: Mon Apr 13 15:52:43 2015 -0400 FS-7426: #resolve fix typo in control-modules for debian build > On Apr 13, 2015, at 3:40 PM, Stanislav Sinyagin wrote: > > FS -7426 is not finally resolved though :) > On Apr 13, 2015 7:40 PM, "Ken Rice" > wrote: > New Post on freeswitch.org from Kathleen > check it out at http://freeswitch.org/freeswitch-week-in-review-master-branch-april-4th-10th/ > FreeSWITCH Week in Review (Master Branch) April 4th-10th > Hello, again. This passed week in the FreeSWITCH master branch we had 6 commits. More feature commits went in toward mod_amqp this week. The accuracy of the logging was tweaked and improved, the command configuration was expanded, and the command binding key configuration was added. > > Join us on Wednesdays at 12:00 CT for some more FreeSWITCH fun! And head over to freeswitch.com to learn more about FreeSWITCH support. > > New features that were added: > > FS-7430 Add variable expansion to mod_xml_ldap > FS-7060 Improve the accuracy of logging and handling of producer reconnect attempt interval for mod_amqp, expand configuration for amqp command configuration, and add configuration of the amqp command binding key > Improvements in build system, cross platform support, and packaging: > > FS-7426 Fix the debian packaging for wheezy when the newer librabbitmq1 package isn?t installed > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150413/44a382b2/attachment.html From Sharath.Kumar at meZocliq.com Tue Apr 14 01:37:08 2015 From: Sharath.Kumar at meZocliq.com (Sharath Kumar) Date: Mon, 13 Apr 2015 21:37:08 +0000 Subject: [Freeswitch-users] SDP offer-answer DTLS Message-ID: Guys, I noticed that on my FS 1.5.13b the answer SDP does not include the a=setup:active. As per RFC 5763 for SRTP/DTLS the answer MUST include a a=setup parameter. Is this a bug ? Thank you, Sharath -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150413/c6f3afba/attachment.html From brian at freeswitch.org Tue Apr 14 02:14:58 2015 From: brian at freeswitch.org (Brian West) Date: Mon, 13 Apr 2015 17:14:58 -0500 Subject: [Freeswitch-users] SDP offer-answer DTLS In-Reply-To: References: Message-ID: Can you file a JIRA with logs and traces to go with it. Thanks, On Mon, Apr 13, 2015 at 4:37 PM, Sharath Kumar wrote: > Guys, > > > > I noticed that on my FS 1.5.13b the answer SDP does not include the > a=setup:active. As per RFC 5763 for SRTP/DTLS the answer MUST include a > a=setup parameter. Is this a bug ? > > > > Thank you, > > Sharath > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com ClueCon 2015 Call for Speakers | Register TODAY! | Reddit: /r/freeswitch *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150413/96026789/attachment.html From brian at freeswitch.org Tue Apr 14 02:15:46 2015 From: brian at freeswitch.org (Brian West) Date: Mon, 13 Apr 2015 17:15:46 -0500 Subject: [Freeswitch-users] Changing loglevel / enable sip trace on sip profiles In-Reply-To: <33892A7E-5652-4E19-BF7D-2217534ECC77@gmx.net> References: <33892A7E-5652-4E19-BF7D-2217534ECC77@gmx.net> Message-ID: Not all settings are allowed to be changed during a rescan. It prints out all the setting values and you can tell if the one you modified was in that list. On Mon, Apr 13, 2015 at 10:36 AM, mbo wrote: > Hello, > > I just changed (decreased) the loglevel and disabled sip trace in a sip > profile config on FS 1.4.15 and performed sofia profile > rescan, but the loglevel dis not change and the sip trace is still active. > When I start and stop the profile the changes are active. Why is ?rescan? > not sufficient for those changes, or is it a bug? > > Thanks and Regards > > Markus > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com ClueCon 2015 Call for Speakers | Register TODAY! | Reddit: /r/freeswitch *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150413/341e699f/attachment-0001.html From blasterjr at gmail.com Tue Apr 14 06:49:31 2015 From: blasterjr at gmail.com (Chris Tunbridge) Date: Mon, 13 Apr 2015 20:49:31 -0600 Subject: [Freeswitch-users] voicemail_inject - INVALID COMMAND In-Reply-To: References: Message-ID: Paul, can you try running voicemail_inject at your fs_cli what about vm_inject? On Mon, Apr 13, 2015 at 3:19 AM, Paul Atreides < paul.atreides83 at googlemail.com> wrote: > Hi Steven, > > is says that it is already loaded. The other voicemail api functions are > working. > > On Mon, Apr 13, 2015 at 9:55 AM, Steven Ayre wrote: > >> Have you loaded mod_voicemail? Were there any errors when doing so? >> >> If in doubt try 'load mod_voicemail' - it'll either try to load it or >> tell you it's already loaded. >> >> On 11 April 2015 at 16:43, Paul Atreides >> wrote: >> >>> Hi, >>> >>> What am I doing wrong? >>> >>> apicall = 10 at 192.168.176.6 >>> /usr/local/freeswitch/storage/voicemail/default/ >>> 192.168.176.6/10/msg_19e18faf-5951-4743-a6a5-ce3a5535c80d.wav >>> >>> result = api:execute("voicemail_inject " .. apicall); >>> >>> The result is INVALID COMMAND. >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150413/54601031/attachment.html From ali.jibran44 at gmail.com Tue Apr 14 10:24:30 2015 From: ali.jibran44 at gmail.com (Ali Jibran) Date: Tue, 14 Apr 2015 11:24:30 +0500 Subject: [Freeswitch-users] WEBRTC In-Reply-To: References: Message-ID: Oh ok. Thanks. So can I use the proxy to forward WEBRTC calls to freeSWITCH? It needs to connect at port 5066. I'm not sure how to do that. WEBRTC directly on freeSWITCH works fine but I want to send all calls through Kamailio. Can that be done? On Monday, April 13, 2015, Michael Jerris wrote: > You can use kamillio to proxy, but that is not an SBC. FreeSWITCH is an > SBC. > > > On Apr 11, 2015, at 8:42 AM, Ali Jibran > wrote: > > > > Is there anyway I can use WEBRTC through a SBC? > > > > I'm using Kamailio as a load balancer. And I want to make WEBRTC calls > come in through Kamailio and not directly to freeSWITCH. > > > > I'm using sip.js. > > > > Can someone guide me in the right deprecation on this? Thanks :) > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150414/3bbaefac/attachment.html From zoell at zoell.us Tue Apr 14 12:31:13 2015 From: zoell at zoell.us (=?UTF-8?B?Wm9sdMOhbiBTemFiw7M=?=) Date: Tue, 14 Apr 2015 09:31:13 +0100 Subject: [Freeswitch-users] Set channel variables before bridge leg B hangup In-Reply-To: References: Message-ID: Just a friendly up, maybe if someone can help on this. 2015-03-10 18:22 GMT+00:00 Zolt?n Szab? : > So this is not possible, right? > > 2015-03-06 8:53 GMT+00:00 Zolt?n Szab? : > >> How can I reference the session variable in the hook lua script? >> >> Thank you >> >> 2015-03-05 17:10 GMT+00:00 Vik Killa : >> >>> You could try using the api_on_hangup to set a variable. >>> or there maybe an execute_on_hangup too. >>> >>> On Thu, Mar 5, 2015 at 12:06 PM, Zolt?n Szab? wrote: >>> >>>> Hi, >>>> >>>> In lua I bridge two sessions. When leg B hangup the call I need to set >>>> up some custom channel variables for odbc_cdr reporting. >>>> >>>> freeswitch.bridge(session1, session2); >>>> session2:execute("set", "custom_var1=asdf"); >>>> >>>> But when the set command tries to run, the log says "channel is hangup >>>> already". >>>> >>>> Is there any way to do this properly? >>>> >>>> Many thanks, >>>> Zoltan >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150414/fa63fc85/attachment.html From hagayl at machshevet.com Tue Apr 14 12:35:26 2015 From: hagayl at machshevet.com (Hagay Levi) Date: Tue, 14 Apr 2015 11:35:26 +0300 Subject: [Freeswitch-users] the condtion fail when ${dialed_extension} =1001 but not fail when =1011 Message-ID: I asked in freeswitch.org/jira in this link : https://freeswitch.org/jira/browse/FS-7335 , And ?talo Ross suggested me to send email to freeswitch-users mailing list. *Thanks in advance* -- ??? ??? hagay levi 0544926680 02-3721565 ????? 11 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150414/142b85b3/attachment-0001.html From mike at jerris.com Tue Apr 14 14:55:46 2015 From: mike at jerris.com (Michael Jerris) Date: Tue, 14 Apr 2015 06:55:46 -0400 Subject: [Freeswitch-users] WEBRTC In-Reply-To: References: Message-ID: <5C2EDCD6-4038-497A-956D-59CAB727F2C5@jerris.com> yep > On Apr 14, 2015, at 2:24 AM, Ali Jibran wrote: > > Oh ok. Thanks. > > So can I use the proxy to forward WEBRTC calls to freeSWITCH? It needs to connect at port 5066. > > I'm not sure how to do that. > WEBRTC directly on freeSWITCH works fine but I want to send all calls through Kamailio. Can that be done? > > On Monday, April 13, 2015, Michael Jerris > wrote: > You can use kamillio to proxy, but that is not an SBC. FreeSWITCH is an SBC. > > > On Apr 11, 2015, at 8:42 AM, Ali Jibran > wrote: > > > > Is there anyway I can use WEBRTC through a SBC? > > > > I'm using Kamailio as a load balancer. And I want to make WEBRTC calls come in through Kamailio and not directly to freeSWITCH. > > > > I'm using sip.js. > > > > Can someone guide me in the right deprecation on this? Thanks :) > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150414/2e8f649b/attachment.html From gfs at etherway.ru Tue Apr 14 15:01:10 2015 From: gfs at etherway.ru (=?UTF-8?B?0JPRg9GB0YLQsNCy0L4g0KHQuNC70LLQsA==?=) Date: Tue, 14 Apr 2015 14:01:10 +0300 Subject: [Freeswitch-users] Dialplan authentication Message-ID: <552CF376.4030403@etherway.ru> I have set up the following in my dialplan: I am facing the following error: Dialplan: sofia/internal/1008 at ipaddress Regex (PASS) [auth] ${radius_auth_result}(0) =~ /^0$/ break=on-false Dialplan: sofia/internal/1008 at ipaddress Action radius_auth() INLINE EXECUTE sofia/internal/1008 at ipaddress radius_auth() 2015-04-14 13:53:42.734956 [ERR] mod_xml_radius.c:1090 mod_xml_radius: Failed to authenticate What should I do to the call authentication work? Regards, Gustavo From kamil.nigmatullin at gmail.com Tue Apr 14 15:48:50 2015 From: kamil.nigmatullin at gmail.com (Kamil Nigmatullin) Date: Tue, 14 Apr 2015 17:48:50 +0600 Subject: [Freeswitch-users] FEC feature in mod_opus In-Reply-To: <2091369665.2474442.1429001528976.JavaMail.yahoo@mail.yahoo.com> References: <2091369665.2474442.1429001528976.JavaMail.yahoo@mail.yahoo.com> Message-ID: Thanks. Could you tell me where can I get login and password for stash? 2015-04-14 14:52 GMT+06:00 Dragos Oancea : > > Hi Kamil, > > I've done a patch for Opus with FEC , but it has not been merged: > > https://freeswitch.org/stash/projects/FS/repos/freeswitch/pull-requests/184/overview > I was inspired by how they've done it with SILK. > > > Regards, > Dragos Oancea > > > > On 2015-04-13 16:49, Kamil Nigmatullin wrote: > > Hello. > > > > Anybody from developers could please clarify if FreeSWITCH uses > > Forward Error Correction feature in opus codec? We actually are not a > > specialists in C and cannot fully understand how decode function works > > in 414 line. According to opus documentation decode function is > > called with special flag if previous packet is lost in order to call > > fec feature. In mod_opus it is hard to say for me as i don't see i or > > i+1 packets. Thanks > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > -- Kamil Nigmatullin Tel: 77272323748 mob: 7 (707) 2517003 Skype: kamil.nigmatullin -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150414/bdd3b1f5/attachment.html From droancea at yahoo.com Tue Apr 14 16:23:22 2015 From: droancea at yahoo.com (Dragos Oancea) Date: Tue, 14 Apr 2015 12:23:22 +0000 (UTC) Subject: [Freeswitch-users] FEC feature in mod_opus In-Reply-To: References: Message-ID: <908261666.2576500.1429014202529.JavaMail.yahoo@mail.yahoo.com> Hi Kamil, Try to create a jira account and use it to login to stash.https://freeswitch.org/jira/secure/Signup!default.jspa Dragos From: Kamil Nigmatullin To: Dragos Oancea Cc: "freeswitch-users at lists.freeswitch.org" Sent: Tuesday, April 14, 2015 1:48 PM Subject: Re: [Freeswitch-users] FEC feature in mod_opus Thanks. Could you tell me where can I get login and password for stash?? 2015-04-14 14:52 GMT+06:00 Dragos Oancea : Hi Kamil, I've done a patch for Opus with FEC , but it has not been merged:https://freeswitch.org/stash/projects/FS/repos/freeswitch/pull-requests/184/overviewI was inspired by how they've done it with SILK. Regards,Dragos Oancea On 2015-04-13 16:49, Kamil Nigmatullin wrote:> Hello.?>?> Anybody from developers could please clarify if FreeSWITCH uses> Forward Error Correction feature in opus codec? We actually are not a> specialists in C and cannot fully understand how decode function works> in 414 line. According to opus documentation decode function ?is> called with special flag if previous packet is lost in order to call> fec feature. In mod_opus it is hard to say for me as i don't see i or> i+1 packets. Thanks ? ?> _________________________________________________________________________> Professional FreeSWITCH Consulting Services:?> consulting at freeswitch.org> http://www.freeswitchsolutions.com>?> Official FreeSWITCH Sites> http://www.freeswitch.org> http://confluence.freeswitch.org> http://www.cluecon.com>?> FreeSWITCH-users mailing list> FreeSWITCH-users at lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users> http://www.freeswitch.org -- Kamil Nigmatullin Tel: 77272323748 mob: 7 (707) 2517003 Skype: kamil.nigmatullin -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150414/6a977380/attachment.html From italorossib at gmail.com Tue Apr 14 16:42:18 2015 From: italorossib at gmail.com (=?UTF-8?B?w410YWxvIFJvc3Np?=) Date: Tue, 14 Apr 2015 09:42:18 -0300 Subject: [Freeswitch-users] Set channel variables before bridge leg B hangup In-Reply-To: References: Message-ID: In the lua hook you have an event with all the channel variables related to that channel. On Tue, Apr 14, 2015 at 5:31 AM, Zolt?n Szab? wrote: > Just a friendly up, maybe if someone can help on this. > > > 2015-03-10 18:22 GMT+00:00 Zolt?n Szab? : > >> So this is not possible, right? >> >> 2015-03-06 8:53 GMT+00:00 Zolt?n Szab? : >> >>> How can I reference the session variable in the hook lua script? >>> >>> Thank you >>> >>> 2015-03-05 17:10 GMT+00:00 Vik Killa : >>> >>>> You could try using the api_on_hangup to set a variable. >>>> or there maybe an execute_on_hangup too. >>>> >>>> On Thu, Mar 5, 2015 at 12:06 PM, Zolt?n Szab? wrote: >>>> >>>>> Hi, >>>>> >>>>> In lua I bridge two sessions. When leg B hangup the call I need to set >>>>> up some custom channel variables for odbc_cdr reporting. >>>>> >>>>> freeswitch.bridge(session1, session2); >>>>> session2:execute("set", "custom_var1=asdf"); >>>>> >>>>> But when the set command tries to run, the log says "channel is hangup >>>>> already". >>>>> >>>>> Is there any way to do this properly? >>>>> >>>>> Many thanks, >>>>> Zoltan >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >> > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- ?talo Rossi -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150414/bf8cca42/attachment-0001.html From italorossib at gmail.com Tue Apr 14 16:46:40 2015 From: italorossib at gmail.com (=?UTF-8?B?w410YWxvIFJvc3Np?=) Date: Tue, 14 Apr 2015 09:46:40 -0300 Subject: [Freeswitch-users] FEC feature in mod_opus In-Reply-To: References: <2091369665.2474442.1429001528976.JavaMail.yahoo@mail.yahoo.com> Message-ID: Use your JIRA credentials, you can sign up if you don't have one here: https://freeswitch.org/jira On Tue, Apr 14, 2015 at 8:48 AM, Kamil Nigmatullin < kamil.nigmatullin at gmail.com> wrote: > Thanks. Could you tell me where can I get login and password for stash? > > 2015-04-14 14:52 GMT+06:00 Dragos Oancea : > >> >> Hi Kamil, >> >> I've done a patch for Opus with FEC , but it has not been merged: >> >> https://freeswitch.org/stash/projects/FS/repos/freeswitch/pull-requests/184/overview >> I was inspired by how they've done it with SILK. >> >> >> Regards, >> Dragos Oancea >> >> >> >> On 2015-04-13 16:49, Kamil Nigmatullin wrote: >> > Hello. >> > >> > Anybody from developers could please clarify if FreeSWITCH uses >> > Forward Error Correction feature in opus codec? We actually are not a >> > specialists in C and cannot fully understand how decode function works >> > in 414 line. According to opus documentation decode function is >> > called with special flag if previous packet is lost in order to call >> > fec feature. In mod_opus it is hard to say for me as i don't see i or >> > i+1 packets. Thanks >> > >> _________________________________________________________________________ >> > Professional FreeSWITCH Consulting Services: >> > consulting at freeswitch.org >> > http://www.freeswitchsolutions.com >> > >> > Official FreeSWITCH Sites >> > http://www.freeswitch.org >> > http://confluence.freeswitch.org >> > http://www.cluecon.com >> > >> > FreeSWITCH-users mailing list >> > FreeSWITCH-users at lists.freeswitch.org >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> > UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> > http://www.freeswitch.org >> >> > > > -- > Kamil Nigmatullin > Tel: 77272323748 > mob: 7 (707) 2517003 > Skype: kamil.nigmatullin > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- ?talo Rossi -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150414/0c4b3fa0/attachment.html From steveayre at gmail.com Tue Apr 14 16:46:47 2015 From: steveayre at gmail.com (Steven Ayre) Date: Tue, 14 Apr 2015 13:46:47 +0100 Subject: [Freeswitch-users] voicemail_inject - INVALID COMMAND In-Reply-To: References: Message-ID: Your problem is that you're giving the wrong parameters to api:execute. It takes the API to execute then the parameters, not as a single string. As a result it's looking for a command named "voicemail_inject $apicall" not "voicemail_inject", hence the command is unknown. result = api:execute("voicemail_inject " .. apicall); should be result = api:execute("voicemail_inject", apicall); Alternatively you could use api:executeString On 13 April 2015 at 10:19, Paul Atreides wrote: > Hi Steven, > > is says that it is already loaded. The other voicemail api functions are > working. > > On Mon, Apr 13, 2015 at 9:55 AM, Steven Ayre wrote: > >> Have you loaded mod_voicemail? Were there any errors when doing so? >> >> If in doubt try 'load mod_voicemail' - it'll either try to load it or >> tell you it's already loaded. >> >> On 11 April 2015 at 16:43, Paul Atreides >> wrote: >> >>> Hi, >>> >>> What am I doing wrong? >>> >>> apicall = 10 at 192.168.176.6 >>> /usr/local/freeswitch/storage/voicemail/default/ >>> 192.168.176.6/10/msg_19e18faf-5951-4743-a6a5-ce3a5535c80d.wav >>> >>> result = api:execute("voicemail_inject " .. apicall); >>> >>> The result is INVALID COMMAND. >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150414/09046f27/attachment.html From bob.mccarthy at experient.com Tue Apr 14 18:21:16 2015 From: bob.mccarthy at experient.com (Bob McCarthy) Date: Tue, 14 Apr 2015 08:21:16 -0600 Subject: [Freeswitch-users] Lua 5.1 Message-ID: <00e201d076be$463708a0$d2a519e0$@experient.com> What flags do you set to use the legacy lua 5.1 ? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150414/bd066965/attachment.html From bordmi at rarus.ru Tue Apr 14 18:15:46 2015 From: bordmi at rarus.ru (=?UTF-8?B?0JHQvtGA0LjRgdC+0LIsINCU0LzQuNGC0YDQuNC5IC8gRG1pdHJpeSBCb3Jpc292?=) Date: Tue, 14 Apr 2015 17:15:46 +0300 Subject: [Freeswitch-users] Dialplan authentication In-Reply-To: <552CF376.4030403@etherway.ru> References: <552CF376.4030403@etherway.ru> Message-ID: Hi! Configuration looks good there, and what in radius.log on RADIUS server? 2015-04-14 14:01 GMT+03:00 ??????? ????? : > I have set up the following in my dialplan: > > > > > > > > I am facing the following error: > > Dialplan: sofia/internal/1008 at ipaddress Regex (PASS) [auth] > ${radius_auth_result}(0) =~ /^0$/ break=on-false > Dialplan: sofia/internal/1008 at ipaddress Action radius_auth() INLINE > EXECUTE sofia/internal/1008 at ipaddress radius_auth() > 2015-04-14 13:53:42.734956 [ERR] mod_xml_radius.c:1090 mod_xml_radius: > Failed to authenticate > > What should I do to the call authentication work? > > Regards, > Gustavo > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- with best regards, Dmitriy Borisov -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150414/24a49d35/attachment-0001.html From silvagustavo at yandex.ru Tue Apr 14 18:28:44 2015 From: silvagustavo at yandex.ru (Gustavo Silva) Date: Tue, 14 Apr 2015 17:28:44 +0300 Subject: [Freeswitch-users] Dialplan authentication In-Reply-To: References: <552CF376.4030403@etherway.ru> Message-ID: <20150414142844.5853254.43096.391@yandex.ru> An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150414/fae2883a/attachment.html From silvagustavo at yandex.ru Tue Apr 14 18:28:44 2015 From: silvagustavo at yandex.ru (Gustavo Silva) Date: Tue, 14 Apr 2015 17:28:44 +0300 Subject: [Freeswitch-users] Dialplan authentication In-Reply-To: References: <552CF376.4030403@etherway.ru> Message-ID: <20150414142844.5853254.43096.391@yandex.ru> An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150414/fae2883a/attachment-0001.html From ing.antonyam at gmail.com Tue Apr 14 19:15:37 2015 From: ing.antonyam at gmail.com (Antony Aguirre Morales) Date: Tue, 14 Apr 2015 10:15:37 -0500 Subject: [Freeswitch-users] Error in FusionPBX Message-ID: Hi, I have a problem installing fusionpbx in my freeswitch when I logging, enters the dashbord but if I move to any other tab or module me back to the login page and I can no longer access, I have to re-enter the original url to enter dashbord again and the same thing happens again. I have installed the freeswitch 1.2 stable. Anyone have any idea? Regasrds. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150414/fe92f64f/attachment.html From Sharath.Kumar at meZocliq.com Tue Apr 14 19:55:11 2015 From: Sharath.Kumar at meZocliq.com (Sharath Kumar) Date: Tue, 14 Apr 2015 15:55:11 +0000 Subject: [Freeswitch-users] SDP offer-answer DTLS In-Reply-To: References: Message-ID: Done! Created FS-7432 Thank you Brian! -Sharath From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Brian West Sent: Monday, April 13, 2015 6:15 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] SDP offer-answer DTLS Can you file a JIRA with logs and traces to go with it. Thanks, On Mon, Apr 13, 2015 at 4:37 PM, Sharath Kumar > wrote: Guys, I noticed that on my FS 1.5.13b the answer SDP does not include the a=setup:active. As per RFC 5763 for SRTP/DTLS the answer MUST include a a=setup parameter. Is this a bug ? Thank you, Sharath _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -- Brian West brian at freeswitch.org [http://billing.freeswitch.org/templates/default/img/whmcslogo.png] Twitter: @FreeSWITCH , @briankwest http://www.freeswitchbook.com http://www.freeswitchcookbook.com ClueCon 2015 Call for Speakers | Register TODAY! | Reddit: /r/freeswitch T:+19184209001 | F:+19184209002 | M:+1918424WEST (9378) iNUM:+883 5100 1420 9001 | ISN:410*543 | Skype:briankwest -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150414/8a4b3118/attachment-0001.html From ewsamuels at gmail.com Tue Apr 14 20:01:11 2015 From: ewsamuels at gmail.com (Errol Samuels) Date: Tue, 14 Apr 2015 17:01:11 +0100 Subject: [Freeswitch-users] Error in FusionPBX In-Reply-To: References: Message-ID: Anthony, This is not a Freeswitch issue its a FusionPBX GUI issue you need to jump on IRC #fusionpbx and someone will assist you there. We would need to know what FusionPBX version you are using etc. BTW: with regards to your Freeswitch version 1.2 is EOL. regards, Errol On Tue, Apr 14, 2015 at 4:15 PM, Antony Aguirre Morales < ing.antonyam at gmail.com> wrote: > Hi, > > I have a problem installing fusionpbx in my freeswitch when I logging, > enters the dashbord but if I move to any other tab or module me back to the > login page and I can no longer access, I have to re-enter the original url > to enter dashbord again and the same thing happens again. > > I have installed the freeswitch 1.2 stable. > > Anyone have any idea? > > Regasrds. > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150414/b3a87bcf/attachment.html From mike at jerris.com Tue Apr 14 21:07:55 2015 From: mike at jerris.com (Michael Jerris) Date: Tue, 14 Apr 2015 13:07:55 -0400 Subject: [Freeswitch-users] Lua 5.1 In-Reply-To: <00e201d076be$463708a0$d2a519e0$@experient.com> References: <00e201d076be$463708a0$d2a519e0$@experient.com> Message-ID: <983E58A0-246D-4B72-98BC-AB9345A50E2D@jerris.com> There are no flags to do that. In 1.4.18 there is a new configure arg to use system lua library, so if your system lua is 5.1 that would work. > On Apr 14, 2015, at 10:21 AM, Bob McCarthy wrote: > > What flags do you set to use the legacy lua 5.1 ? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150414/018561a2/attachment.html From brian at freeswitch.org Tue Apr 14 21:23:46 2015 From: brian at freeswitch.org (Brian West) Date: Tue, 14 Apr 2015 12:23:46 -0500 Subject: [Freeswitch-users] Set channel variables before bridge leg B hangup In-Reply-To: References: Message-ID: You can also execute_on_post_bridge ;) On Tue, Apr 14, 2015 at 7:42 AM, ?talo Rossi wrote: > In the lua hook you have an event with all the channel variables related > to that channel. > > On Tue, Apr 14, 2015 at 5:31 AM, Zolt?n Szab? wrote: > >> Just a friendly up, maybe if someone can help on this. >> >> >> 2015-03-10 18:22 GMT+00:00 Zolt?n Szab? : >> >>> So this is not possible, right? >>> >>> 2015-03-06 8:53 GMT+00:00 Zolt?n Szab? : >>> >>>> How can I reference the session variable in the hook lua script? >>>> >>>> Thank you >>>> >>>> 2015-03-05 17:10 GMT+00:00 Vik Killa : >>>> >>>>> You could try using the api_on_hangup to set a variable. >>>>> or there maybe an execute_on_hangup too. >>>>> >>>>> On Thu, Mar 5, 2015 at 12:06 PM, Zolt?n Szab? wrote: >>>>> >>>>>> Hi, >>>>>> >>>>>> In lua I bridge two sessions. When leg B hangup the call I need to >>>>>> set up some custom channel variables for odbc_cdr reporting. >>>>>> >>>>>> freeswitch.bridge(session1, session2); >>>>>> session2:execute("set", "custom_var1=asdf"); >>>>>> >>>>>> But when the set command tries to run, the log says "channel is >>>>>> hangup already". >>>>>> >>>>>> Is there any way to do this properly? >>>>>> >>>>>> Many thanks, >>>>>> Zoltan >>>>>> >>>>>> >>>>>> _________________________________________________________________________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at freeswitch.org >>>>>> http://www.freeswitchsolutions.com >>>>>> >>>>>> Official FreeSWITCH Sites >>>>>> http://www.freeswitch.org >>>>>> http://confluence.freeswitch.org >>>>>> http://www.cluecon.com >>>>>> >>>>>> FreeSWITCH-users mailing list >>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE: >>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>> >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > ?talo Rossi > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com ClueCon 2015 Call for Speakers | Register TODAY! | Reddit: /r/freeswitch *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150414/ab0f5eed/attachment.html From alhakeem at gmail.com Tue Apr 14 21:43:07 2015 From: alhakeem at gmail.com (Abdul Hakeem) Date: Tue, 14 Apr 2015 18:43:07 +0100 Subject: [Freeswitch-users] Lua 5.1 In-Reply-To: <983E58A0-246D-4B72-98BC-AB9345A50E2D@jerris.com> References: <00e201d076be$463708a0$d2a519e0$@experient.com> <983E58A0-246D-4B72-98BC-AB9345A50E2D@jerris.com> Message-ID: Hello, Has anyone tried FS with LuaJIT ? Cheers, AH From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Michael Jerris Sent: Tuesday, April 14, 2015 6:08 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Lua 5.1 There are no flags to do that. In 1.4.18 there is a new configure arg to use system lua library, so if your system lua is 5.1 that would work. On Apr 14, 2015, at 10:21 AM, Bob McCarthy wrote: What flags do you set to use the legacy lua 5.1 ? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150414/3ba0ea3c/attachment-0001.html From s.safarov at gmail.com Tue Apr 14 22:10:45 2015 From: s.safarov at gmail.com (Sergey Safarov) Date: Tue, 14 Apr 2015 21:10:45 +0300 Subject: [Freeswitch-users] Dialplan authentication In-Reply-To: <20150414142844.5853254.43096.391@yandex.ru> References: <552CF376.4030403@etherway.ru> <20150414142844.5853254.43096.391@yandex.ru> Message-ID: This can help you [root at fs1 autoload_configs]# cat rad_auth.conf.xml --> --> --> [root at fs1 autoload_configs]# Dialplan fragment Log fragment Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru parsing [mr24.gateways.rcsnet.ru->operator-rad-auth] continue=true Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru Regex (PASS) [operator-rad-auth] ${accountcode}(8) =~ /^8$/ match=any Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru Regex (PASS) [operator-rad-auth] ${destination_number}(+749593377xx) =~ /^\+(\d+)$/ break=on-false Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru Action export(h323-gw-id=${accountcode_bleg}) Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru Action unset(disable_radius_start) Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru Action unset(disable_radius_stop) Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru Action set(CALLID=h323-conf-id=${uuid}) INLINE EXECUTE sofia/mr24/0000079639652834 at gateways.rcsnet.ru set(CALLID=h323-conf-id=bd091212-e2b0-11e4-98e2-d102deb9a97d) 2015-04-14 14:15:43.446357 [DEBUG] mod_dptools.c:1435 sofia/mr24/ 00000796396528xx at gateways.operator.ru SET [CALLID]=[h323-conf-id=bd091212-e2b0-11e4-98e2-d102deb9a97d] Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru Action set(GWID=${accountcode_bleg}) INLINE EXECUTE sofia/mr24/0000079639652834 at gateways.rcsnet.ru set(GWID=1460) 2015-04-14 14:15:43.446357 [DEBUG] mod_dptools.c:1435 sofia/mr24/ 00000796396528xx at gateways.rcsnet.ru SET [GWID]=[1460] Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru Action set(USERNAME=login at operator.ru) INLINE EXECUTE sofia/mr24/0000079639652834 at gateways.rcsnet.ru set(USERNAME= login at operator.ru) 2015-04-14 14:15:43.446357 [DEBUG] mod_dptools.c:1435 sofia/mr24/ 0000079639652834 at gateways.rcsnet.ru SET [USERNAME]=[login at operator.ru] Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru Action set(PASSWD=xxxxxxxx) INLINE EXECUTE sofia/mr24/0000079639652834 at gateways.rcsnet.ru set(PASSWD=xxxxxxxx) 2015-04-14 14:15:43.446357 [DEBUG] mod_dptools.c:1435 sofia/mr24/ 00000796396528xx at gateways.operator.ru SET [PASSWD]=[xxxxxxxxxxx] Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru Action set(DIALED_NUMBER=749593377xx) INLINE EXECUTE sofia/mr24/0000079639652834 at gateways.rcsnet.ru set(DIALED_NUMBER=749593377xx) 2015-04-14 14:15:43.446357 [DEBUG] mod_dptools.c:1435 sofia/mr24/ 00000796396528xx at gateways.rcsnet.ru SET [DIALED_NUMBER]=[749593377xx] sofia/mr24/0000079639652834 at gateways.rcsnet.ru Action auth_function(in ${DIALED_NUMBER}, in ${USERNAME}, in ${PASSWD}, out AUTH_RESULT) .......... bd091212-e2b0-11e4-98e2-d102deb9a97d EXECUTE sofia/mr24/ 00000796396528xx at gateways.operator.ru auth_function(in 74959337786, in login at operator.ru, in xxxxxxxxxxxx, out AUTH_RESULT) [DEBUG] mod_rad_auth.c:301 allocate initial structure. [DEBUG] mod_rad_auth.c:313 initialzed configuration. [DEBUG] mod_rad_auth.c:318 set authserver := 10.40.0.5:1814:xxxxxxxx. [DEBUG] mod_rad_auth.c:318 set dictionary := /etc/radiusclient/dictionary.all. [DEBUG] mod_rad_auth.c:318 set seqfile := /var/run/radius.seq. [DEBUG] mod_rad_auth.c:318 set mapfile := /etc/radiusclient/port-id-map. [DEBUG] mod_rad_auth.c:318 set default_realm := . [DEBUG] mod_rad_auth.c:318 set radius_timeout := 1. [DEBUG] mod_rad_auth.c:318 set radius_retries := 0. [DEBUG] mod_rad_auth.c:318 set radius_deadtime := 0. [DEBUG] mod_rad_auth.c:318 set bindaddr := *. [DEBUG] mod_rad_auth.c:371 ... radius: User-Name: login at operator.ru [DEBUG] mod_rad_auth.c:380 ... radius: User-Password: xxxxxxxxxxxxxxxxxx DEBUG] mod_rad_auth.c:396 ... radius: Called-station-Id: 74959337786 [DEBUG] mod_rad_auth.c:413 Handle attribute: h323-conf-id [DEBUG] mod_rad_auth.c:439 ... dictionary data: id:24, vendor id:9, attr type:0, attr name:h323-conf-id (589848) [DEBUG] mod_rad_auth.c:444 ... radius: key:h323-conf-id, value:CALLID (h323-conf-id=bd091212-e2b0-11e4-98e2-d102deb9a97d) as string [DEBUG] mod_rad_auth.c:413 Handle attribute: h323-gw-id [DEBUG] mod_rad_auth.c:439 ... dictionary data: id:33, vendor id:9, attr type:0, attr name:h323-gw-id (589857) [DEBUG] mod_rad_auth.c:444 ... radius: key:h323-gw-id, value:GWID (1460) as string [DEBUG] mod_rad_auth.c:413 Handle attribute: NAS-Port-Type [DEBUG] mod_rad_auth.c:439 ... dictionary data: id:61, vendor id:0, attr type:1, attr name:NAS-Port-Type (61) [DEBUG] mod_rad_auth.c:456 ... radius: key:NAS-Port-Type, value:0 (0) as integer [DEBUG] mod_rad_auth.c:491 sending radius packet ... [DEBUG] mod_rad_auth.c:497 RADIUS Authentication OK [DEBUG] mod_rad_auth.c:519 Handle attribute: CREDIT_AMOUNT [DEBUG] mod_rad_auth.c:522 attribute (CREDIT_AMOUNT) found in radius packet [DEBUG] mod_rad_auth.c:523 set variable credit_amount := h323-credit-amount=-600913.47 [DEBUG] mod_rad_auth.c:519 Handle attribute: CURRENCY [DEBUG] mod_rad_auth.c:522 attribute (CURRENCY) found in radius packet [DEBUG] mod_rad_auth.c:523 set variable currency := h323-currency=RUR [DEBUG] mod_rad_auth.c:519 Handle attribute: CREDIT_TIME [DEBUG] mod_rad_auth.c:522 attribute (CREDIT_TIME) found in radius packet [DEBUG] mod_rad_auth.c:523 set variable h323-credit_time := h323-credit-time=86400 [DEBUG] mod_rad_auth.c:519 Handle attribute: PER_MINUTE_PRICE [DEBUG] mod_rad_auth.c:522 attribute (PER_MINUTE_PRICE) found in radius packet [DEBUG] mod_rad_auth.c:523 set variable Cisco-Servicce-Info := 0.000000 [DEBUG] mod_rad_auth.c:519 Handle attribute: RADIUS_RETURN_CODE [DEBUG] mod_rad_auth.c:522 attribute (RADIUS_RETURN_CODE) found in radius packet [DEBUG] mod_rad_auth.c:523 set variable return_code := h323-return-code=0 On Tue, Apr 14, 2015 at 5:28 PM, Gustavo Silva wrote: > > First it says that the the login is OK and after it says that the login is > incorrect. > > Tue Apr 14 17:24:11 2015 : Auth: Login OK: [1008/ DIGEST>] (from client localhost port 0 cli 1008) > Tue Apr 14 17:24:11 2015 : Info: rlm_radutmp: Login entry for NAS > localhost port 0 duplicate > Tue Apr 14 17:24:11 2015 : Auth: Login incorrect: [ attribute>/] (from client localhost port 0 > cli 1008) > Tue Apr 14 17:24:14 2015 : Error: rlm_radutmp: Logout for NAS localhost > port 0, but no Login record > > > > Sent from my BlackBerry 10 smartphone. > Original Message > *From: *???????, ??????? / Dmitriy Borisov > *Sent: *???????, 14 ?????? 2015 ?., 17:22 > *To: *FreeSWITCH Users Help > *Reply To: *FreeSWITCH Users Help > *Subject: *Re: [Freeswitch-users] Dialplan authentication > > Hi! > > Configuration looks good there, and what in radius.log on RADIUS server? > > 2015-04-14 14:01 GMT+03:00 ??????? ????? : > >> I have set up the following in my dialplan: >> >> >> >> >> >> >> >> I am facing the following error: >> >> Dialplan: sofia/internal/1008 at ipaddress Regex (PASS) [auth] >> ${radius_auth_result}(0) =~ /^0$/ break=on-false >> Dialplan: sofia/internal/1008 at ipaddress Action radius_auth() INLINE >> EXECUTE sofia/internal/1008 at ipaddress radius_auth() >> 2015-04-14 13:53:42.734956 [ERR] mod_xml_radius.c:1090 mod_xml_radius: >> Failed to authenticate >> >> What should I do to the call authentication work? >> >> Regards, >> Gustavo >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > with best regards, > Dmitriy Borisov > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150414/5b06f97b/attachment-0001.html From silvagustavo at yandex.ru Tue Apr 14 22:56:36 2015 From: silvagustavo at yandex.ru (Gustavo Silva) Date: Tue, 14 Apr 2015 21:56:36 +0300 Subject: [Freeswitch-users] Dialplan authentication In-Reply-To: References: <552CF376.4030403@etherway.ru> <20150414142844.5853254.43096.391@yandex.ru> Message-ID: <20150414185636.5853254.62323.400@yandex.ru> An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150414/e60ec0ed/attachment-0001.html From silvagustavo at yandex.ru Tue Apr 14 22:56:36 2015 From: silvagustavo at yandex.ru (Gustavo Silva) Date: Tue, 14 Apr 2015 21:56:36 +0300 Subject: [Freeswitch-users] Dialplan authentication In-Reply-To: References: <552CF376.4030403@etherway.ru> <20150414142844.5853254.43096.391@yandex.ru> Message-ID: <20150414185636.5853254.62323.400@yandex.ru> An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150414/e60ec0ed/attachment-0003.html From s.safarov at gmail.com Tue Apr 14 23:28:19 2015 From: s.safarov at gmail.com (Sergey Safarov) Date: Tue, 14 Apr 2015 22:28:19 +0300 Subject: [Freeswitch-users] Dialplan authentication In-Reply-To: <20150414185636.5853254.62323.400@yandex.ru> References: <552CF376.4030403@etherway.ru> <20150414142844.5853254.43096.391@yandex.ru> <20150414185636.5853254.62323.400@yandex.ru> Message-ID: You can use following example In dialplan in can be line this On Tue, Apr 14, 2015 at 9:56 PM, Gustavo Silva wrote: > Hi Sergey, > > Tks for the help but there is a catch in this solution. I will be still > having ?the password and user name in freeswitch server. > > I would like that the radius server handles it. > > Is there a way with the rad_auth module where I wouldn't need to set up > password in diaplan file? All the authentication should be done with the > radius server. > > I say that because, for example: I have 200 users, with diferentes > passwords configured in the radius server. So, by this solution with > rad_auth module, I should also have 200 different password in the diaplan > configuration, right? > > Regards, > Gustavo > > Sent from my BlackBerry 10 smartphone. > *From: *Sergey Safarov > *Sent: *???????, 14 ?????? 2015 ?., 21:16 > *To: *FreeSWITCH Users Help > *Reply To: *FreeSWITCH Users Help > *Subject: *Re: [Freeswitch-users] Dialplan authentication > > This can help you > > [root at fs1 autoload_configs]# cat rad_auth.conf.xml > > > > > > > > > > > > > > > > > > > > > > > direction="in"/> > direction="in"/> > expr="1" direction="in"/> > expr="1" direction="in"/> > expr="1" direction="in"/>--> > direction="in"/> > direction="in"/> --> > > > expr="0" direction="out"/> > direction="out"/> > expr="0" direction="out"/> > pec="9" expr="0" direction="out"/> > expr="0" direction="out"/> > pec="9" expr="0" direction="out"/> --> > expr="0" direction="out"/> > > > > [root at fs1 autoload_configs]# > > Dialplan fragment > > > > > > data="h323-gw-id=${accountcode_bleg}"/> > > > data="CALLID=h323-conf-id=${uuid}"/> > data="GWID=${accountcode_bleg}"/> > > data="PASSWD=xxxxxxxx"/> > data="DIALED_NUMBER=$1"/> > > > > > Log fragment > Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru parsing > [mr24.gateways.rcsnet.ru->operator-rad-auth] continue=true > Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru Regex (PASS) > [operator-rad-auth] ${accountcode}(8) =~ /^8$/ match=any > Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru Regex (PASS) > [operator-rad-auth] ${destination_number}(+749593377xx) =~ /^\+(\d+)$/ > break=on-false > Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru Action > export(h323-gw-id=${accountcode_bleg}) > Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru Action > unset(disable_radius_start) > Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru Action > unset(disable_radius_stop) > Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru Action > set(CALLID=h323-conf-id=${uuid}) INLINE > EXECUTE sofia/mr24/0000079639652834 at gateways.rcsnet.ru > set(CALLID=h323-conf-id=bd091212-e2b0-11e4-98e2-d102deb9a97d) > 2015-04-14 14:15:43.446357 [DEBUG] mod_dptools.c:1435 sofia/mr24/ > 00000796396528xx at gateways.operator.ru SET > [CALLID]=[h323-conf-id=bd091212-e2b0-11e4-98e2-d102deb9a97d] > Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru Action > set(GWID=${accountcode_bleg}) INLINE > EXECUTE sofia/mr24/0000079639652834 at gateways.rcsnet.ru set(GWID=1460) > 2015-04-14 14:15:43.446357 [DEBUG] mod_dptools.c:1435 sofia/mr24/ > 00000796396528xx at gateways.rcsnet.ru SET [GWID]=[1460] > Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru Action > set(USERNAME=login at operator.ru) INLINE > EXECUTE sofia/mr24/0000079639652834 at gateways.rcsnet.ru set(USERNAME= > login at operator.ru) > 2015-04-14 14:15:43.446357 [DEBUG] mod_dptools.c:1435 sofia/mr24/ > 0000079639652834 at gateways.rcsnet.ru SET [USERNAME]=[login at operator.ru] > Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru Action > set(PASSWD=xxxxxxxx) INLINE > EXECUTE sofia/mr24/0000079639652834 at gateways.rcsnet.ru > set(PASSWD=xxxxxxxx) > 2015-04-14 14:15:43.446357 [DEBUG] mod_dptools.c:1435 sofia/mr24/ > 00000796396528xx at gateways.operator.ru SET [PASSWD]=[xxxxxxxxxxx] > Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru Action > set(DIALED_NUMBER=749593377xx) INLINE > EXECUTE sofia/mr24/0000079639652834 at gateways.rcsnet.ru > set(DIALED_NUMBER=749593377xx) > 2015-04-14 14:15:43.446357 [DEBUG] mod_dptools.c:1435 sofia/mr24/ > 00000796396528xx at gateways.rcsnet.ru SET [DIALED_NUMBER]=[749593377xx] > sofia/mr24/0000079639652834 at gateways.rcsnet.ru Action auth_function(in > ${DIALED_NUMBER}, in ${USERNAME}, in ${PASSWD}, out AUTH_RESULT) > .......... > > bd091212-e2b0-11e4-98e2-d102deb9a97d EXECUTE sofia/mr24/ > 00000796396528xx at gateways.operator.ru auth_function(in 74959337786, in > login at operator.ru, in xxxxxxxxxxxx, out AUTH_RESULT) > [DEBUG] mod_rad_auth.c:301 allocate initial structure. > [DEBUG] mod_rad_auth.c:313 initialzed configuration. > [DEBUG] mod_rad_auth.c:318 set authserver := 10.40.0.5:1814:xxxxxxxx. > [DEBUG] mod_rad_auth.c:318 set dictionary := > /etc/radiusclient/dictionary.all. > [DEBUG] mod_rad_auth.c:318 set seqfile := /var/run/radius.seq. > [DEBUG] mod_rad_auth.c:318 set mapfile := /etc/radiusclient/port-id-map. > [DEBUG] mod_rad_auth.c:318 set default_realm := . > [DEBUG] mod_rad_auth.c:318 set radius_timeout := 1. > [DEBUG] mod_rad_auth.c:318 set radius_retries := 0. > [DEBUG] mod_rad_auth.c:318 set radius_deadtime := 0. > [DEBUG] mod_rad_auth.c:318 set bindaddr := *. > [DEBUG] mod_rad_auth.c:371 ... radius: User-Name: login at operator.ru > [DEBUG] mod_rad_auth.c:380 ... radius: User-Password: xxxxxxxxxxxxxxxxxx > DEBUG] mod_rad_auth.c:396 ... radius: Called-station-Id: 74959337786 > [DEBUG] mod_rad_auth.c:413 Handle attribute: h323-conf-id > [DEBUG] mod_rad_auth.c:439 ... dictionary data: id:24, vendor id:9, attr > type:0, attr name:h323-conf-id (589848) > [DEBUG] mod_rad_auth.c:444 ... radius: key:h323-conf-id, value:CALLID > (h323-conf-id=bd091212-e2b0-11e4-98e2-d102deb9a97d) as string > [DEBUG] mod_rad_auth.c:413 Handle attribute: h323-gw-id > [DEBUG] mod_rad_auth.c:439 ... dictionary data: id:33, vendor id:9, attr > type:0, attr name:h323-gw-id (589857) > [DEBUG] mod_rad_auth.c:444 ... radius: key:h323-gw-id, value:GWID (1460) > as string > [DEBUG] mod_rad_auth.c:413 Handle attribute: NAS-Port-Type > [DEBUG] mod_rad_auth.c:439 ... dictionary data: id:61, vendor id:0, attr > type:1, attr name:NAS-Port-Type (61) > [DEBUG] mod_rad_auth.c:456 ... radius: key:NAS-Port-Type, value:0 (0) as > integer > [DEBUG] mod_rad_auth.c:491 sending radius packet ... > [DEBUG] mod_rad_auth.c:497 RADIUS Authentication OK > [DEBUG] mod_rad_auth.c:519 Handle attribute: CREDIT_AMOUNT > [DEBUG] mod_rad_auth.c:522 attribute (CREDIT_AMOUNT) found in radius > packet > [DEBUG] mod_rad_auth.c:523 set variable credit_amount := > h323-credit-amount=-600913.47 > [DEBUG] mod_rad_auth.c:519 Handle attribute: CURRENCY > [DEBUG] mod_rad_auth.c:522 attribute (CURRENCY) found in radius packet > [DEBUG] mod_rad_auth.c:523 set variable currency := h323-currency=RUR > [DEBUG] mod_rad_auth.c:519 Handle attribute: CREDIT_TIME > [DEBUG] mod_rad_auth.c:522 attribute (CREDIT_TIME) found in radius packet > [DEBUG] mod_rad_auth.c:523 set variable h323-credit_time := > h323-credit-time=86400 > [DEBUG] mod_rad_auth.c:519 Handle attribute: PER_MINUTE_PRICE > [DEBUG] mod_rad_auth.c:522 attribute (PER_MINUTE_PRICE) found in radius > packet > [DEBUG] mod_rad_auth.c:523 set variable Cisco-Servicce-Info := 0.000000 > [DEBUG] mod_rad_auth.c:519 Handle attribute: RADIUS_RETURN_CODE > [DEBUG] mod_rad_auth.c:522 attribute (RADIUS_RETURN_CODE) found in > radius packet > [DEBUG] mod_rad_auth.c:523 set variable return_code := h323-return-code=0 > > > > > > On Tue, Apr 14, 2015 at 5:28 PM, Gustavo Silva > wrote: > >> >> First it says that the the login is OK and after it says that the login >> is incorrect. >> >> Tue Apr 14 17:24:11 2015 : Auth: Login OK: [1008/> DIGEST>] (from client localhost port 0 cli 1008) >> Tue Apr 14 17:24:11 2015 : Info: rlm_radutmp: Login entry for NAS >> localhost port 0 duplicate >> Tue Apr 14 17:24:11 2015 : Auth: Login incorrect: [> attribute>/] (from client localhost port 0 >> cli 1008) >> Tue Apr 14 17:24:14 2015 : Error: rlm_radutmp: Logout for NAS localhost >> port 0, but no Login record >> >> >> >> Sent from my BlackBerry 10 smartphone. >> Original Message >> *From: *???????, ??????? / Dmitriy Borisov >> *Sent: *???????, 14 ?????? 2015 ?., 17:22 >> *To: *FreeSWITCH Users Help >> *Reply To: *FreeSWITCH Users Help >> *Subject: *Re: [Freeswitch-users] Dialplan authentication >> >> Hi! >> >> Configuration looks good there, and what in radius.log on RADIUS server? >> >> 2015-04-14 14:01 GMT+03:00 ??????? ????? : >> >>> I have set up the following in my dialplan: >>> >>> >>> >>> >>> >>> >>> >>> I am facing the following error: >>> >>> Dialplan: sofia/internal/1008 at ipaddress Regex (PASS) [auth] >>> ${radius_auth_result}(0) =~ /^0$/ break=on-false >>> Dialplan: sofia/internal/1008 at ipaddress Action radius_auth() INLINE >>> EXECUTE sofia/internal/1008 at ipaddress radius_auth() >>> 2015-04-14 13:53:42.734956 [ERR] mod_xml_radius.c:1090 mod_xml_radius: >>> Failed to authenticate >>> >>> What should I do to the call authentication work? >>> >>> Regards, >>> Gustavo >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> >> -- >> with best regards, >> Dmitriy Borisov >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150414/3bbb8ffa/attachment-0001.html From s.safarov at gmail.com Tue Apr 14 23:34:15 2015 From: s.safarov at gmail.com (Sergey Safarov) Date: Tue, 14 Apr 2015 22:34:15 +0300 Subject: [Freeswitch-users] Dialplan authentication In-Reply-To: <20150414185636.5853254.62323.400@yandex.ru> References: <552CF376.4030403@etherway.ru> <20150414142844.5853254.43096.391@yandex.ru> <20150414185636.5853254.62323.400@yandex.ru> Message-ID: In provided example password stored in directory. Directory can be in mod_xml_radius ( https://freeswitch.org/confluence/display/FREESWITCH/mod_xml_radius) or other dynamically generated directory. On Tue, Apr 14, 2015 at 9:56 PM, Gustavo Silva wrote: > Hi Sergey, > > Tks for the help but there is a catch in this solution. I will be still > having ?the password and user name in freeswitch server. > > I would like that the radius server handles it. > > Is there a way with the rad_auth module where I wouldn't need to set up > password in diaplan file? All the authentication should be done with the > radius server. > > I say that because, for example: I have 200 users, with diferentes > passwords configured in the radius server. So, by this solution with > rad_auth module, I should also have 200 different password in the diaplan > configuration, right? > > Regards, > Gustavo > > Sent from my BlackBerry 10 smartphone. > *From: *Sergey Safarov > *Sent: *???????, 14 ?????? 2015 ?., 21:16 > *To: *FreeSWITCH Users Help > *Reply To: *FreeSWITCH Users Help > *Subject: *Re: [Freeswitch-users] Dialplan authentication > > This can help you > > [root at fs1 autoload_configs]# cat rad_auth.conf.xml > > > > > > > > > > > > > > > > > > > > > > > direction="in"/> > direction="in"/> > expr="1" direction="in"/> > expr="1" direction="in"/> > expr="1" direction="in"/>--> > direction="in"/> > direction="in"/> --> > > > expr="0" direction="out"/> > direction="out"/> > expr="0" direction="out"/> > pec="9" expr="0" direction="out"/> > expr="0" direction="out"/> > pec="9" expr="0" direction="out"/> --> > expr="0" direction="out"/> > > > > [root at fs1 autoload_configs]# > > Dialplan fragment > > > > > > data="h323-gw-id=${accountcode_bleg}"/> > > > data="CALLID=h323-conf-id=${uuid}"/> > data="GWID=${accountcode_bleg}"/> > > data="PASSWD=xxxxxxxx"/> > data="DIALED_NUMBER=$1"/> > > > > > Log fragment > Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru parsing > [mr24.gateways.rcsnet.ru->operator-rad-auth] continue=true > Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru Regex (PASS) > [operator-rad-auth] ${accountcode}(8) =~ /^8$/ match=any > Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru Regex (PASS) > [operator-rad-auth] ${destination_number}(+749593377xx) =~ /^\+(\d+)$/ > break=on-false > Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru Action > export(h323-gw-id=${accountcode_bleg}) > Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru Action > unset(disable_radius_start) > Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru Action > unset(disable_radius_stop) > Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru Action > set(CALLID=h323-conf-id=${uuid}) INLINE > EXECUTE sofia/mr24/0000079639652834 at gateways.rcsnet.ru > set(CALLID=h323-conf-id=bd091212-e2b0-11e4-98e2-d102deb9a97d) > 2015-04-14 14:15:43.446357 [DEBUG] mod_dptools.c:1435 sofia/mr24/ > 00000796396528xx at gateways.operator.ru SET > [CALLID]=[h323-conf-id=bd091212-e2b0-11e4-98e2-d102deb9a97d] > Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru Action > set(GWID=${accountcode_bleg}) INLINE > EXECUTE sofia/mr24/0000079639652834 at gateways.rcsnet.ru set(GWID=1460) > 2015-04-14 14:15:43.446357 [DEBUG] mod_dptools.c:1435 sofia/mr24/ > 00000796396528xx at gateways.rcsnet.ru SET [GWID]=[1460] > Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru Action > set(USERNAME=login at operator.ru) INLINE > EXECUTE sofia/mr24/0000079639652834 at gateways.rcsnet.ru set(USERNAME= > login at operator.ru) > 2015-04-14 14:15:43.446357 [DEBUG] mod_dptools.c:1435 sofia/mr24/ > 0000079639652834 at gateways.rcsnet.ru SET [USERNAME]=[login at operator.ru] > Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru Action > set(PASSWD=xxxxxxxx) INLINE > EXECUTE sofia/mr24/0000079639652834 at gateways.rcsnet.ru > set(PASSWD=xxxxxxxx) > 2015-04-14 14:15:43.446357 [DEBUG] mod_dptools.c:1435 sofia/mr24/ > 00000796396528xx at gateways.operator.ru SET [PASSWD]=[xxxxxxxxxxx] > Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru Action > set(DIALED_NUMBER=749593377xx) INLINE > EXECUTE sofia/mr24/0000079639652834 at gateways.rcsnet.ru > set(DIALED_NUMBER=749593377xx) > 2015-04-14 14:15:43.446357 [DEBUG] mod_dptools.c:1435 sofia/mr24/ > 00000796396528xx at gateways.rcsnet.ru SET [DIALED_NUMBER]=[749593377xx] > sofia/mr24/0000079639652834 at gateways.rcsnet.ru Action auth_function(in > ${DIALED_NUMBER}, in ${USERNAME}, in ${PASSWD}, out AUTH_RESULT) > .......... > > bd091212-e2b0-11e4-98e2-d102deb9a97d EXECUTE sofia/mr24/ > 00000796396528xx at gateways.operator.ru auth_function(in 74959337786, in > login at operator.ru, in xxxxxxxxxxxx, out AUTH_RESULT) > [DEBUG] mod_rad_auth.c:301 allocate initial structure. > [DEBUG] mod_rad_auth.c:313 initialzed configuration. > [DEBUG] mod_rad_auth.c:318 set authserver := 10.40.0.5:1814:xxxxxxxx. > [DEBUG] mod_rad_auth.c:318 set dictionary := > /etc/radiusclient/dictionary.all. > [DEBUG] mod_rad_auth.c:318 set seqfile := /var/run/radius.seq. > [DEBUG] mod_rad_auth.c:318 set mapfile := /etc/radiusclient/port-id-map. > [DEBUG] mod_rad_auth.c:318 set default_realm := . > [DEBUG] mod_rad_auth.c:318 set radius_timeout := 1. > [DEBUG] mod_rad_auth.c:318 set radius_retries := 0. > [DEBUG] mod_rad_auth.c:318 set radius_deadtime := 0. > [DEBUG] mod_rad_auth.c:318 set bindaddr := *. > [DEBUG] mod_rad_auth.c:371 ... radius: User-Name: login at operator.ru > [DEBUG] mod_rad_auth.c:380 ... radius: User-Password: xxxxxxxxxxxxxxxxxx > DEBUG] mod_rad_auth.c:396 ... radius: Called-station-Id: 74959337786 > [DEBUG] mod_rad_auth.c:413 Handle attribute: h323-conf-id > [DEBUG] mod_rad_auth.c:439 ... dictionary data: id:24, vendor id:9, attr > type:0, attr name:h323-conf-id (589848) > [DEBUG] mod_rad_auth.c:444 ... radius: key:h323-conf-id, value:CALLID > (h323-conf-id=bd091212-e2b0-11e4-98e2-d102deb9a97d) as string > [DEBUG] mod_rad_auth.c:413 Handle attribute: h323-gw-id > [DEBUG] mod_rad_auth.c:439 ... dictionary data: id:33, vendor id:9, attr > type:0, attr name:h323-gw-id (589857) > [DEBUG] mod_rad_auth.c:444 ... radius: key:h323-gw-id, value:GWID (1460) > as string > [DEBUG] mod_rad_auth.c:413 Handle attribute: NAS-Port-Type > [DEBUG] mod_rad_auth.c:439 ... dictionary data: id:61, vendor id:0, attr > type:1, attr name:NAS-Port-Type (61) > [DEBUG] mod_rad_auth.c:456 ... radius: key:NAS-Port-Type, value:0 (0) as > integer > [DEBUG] mod_rad_auth.c:491 sending radius packet ... > [DEBUG] mod_rad_auth.c:497 RADIUS Authentication OK > [DEBUG] mod_rad_auth.c:519 Handle attribute: CREDIT_AMOUNT > [DEBUG] mod_rad_auth.c:522 attribute (CREDIT_AMOUNT) found in radius > packet > [DEBUG] mod_rad_auth.c:523 set variable credit_amount := > h323-credit-amount=-600913.47 > [DEBUG] mod_rad_auth.c:519 Handle attribute: CURRENCY > [DEBUG] mod_rad_auth.c:522 attribute (CURRENCY) found in radius packet > [DEBUG] mod_rad_auth.c:523 set variable currency := h323-currency=RUR > [DEBUG] mod_rad_auth.c:519 Handle attribute: CREDIT_TIME > [DEBUG] mod_rad_auth.c:522 attribute (CREDIT_TIME) found in radius packet > [DEBUG] mod_rad_auth.c:523 set variable h323-credit_time := > h323-credit-time=86400 > [DEBUG] mod_rad_auth.c:519 Handle attribute: PER_MINUTE_PRICE > [DEBUG] mod_rad_auth.c:522 attribute (PER_MINUTE_PRICE) found in radius > packet > [DEBUG] mod_rad_auth.c:523 set variable Cisco-Servicce-Info := 0.000000 > [DEBUG] mod_rad_auth.c:519 Handle attribute: RADIUS_RETURN_CODE > [DEBUG] mod_rad_auth.c:522 attribute (RADIUS_RETURN_CODE) found in > radius packet > [DEBUG] mod_rad_auth.c:523 set variable return_code := h323-return-code=0 > > > > > > On Tue, Apr 14, 2015 at 5:28 PM, Gustavo Silva > wrote: > >> >> First it says that the the login is OK and after it says that the login >> is incorrect. >> >> Tue Apr 14 17:24:11 2015 : Auth: Login OK: [1008/> DIGEST>] (from client localhost port 0 cli 1008) >> Tue Apr 14 17:24:11 2015 : Info: rlm_radutmp: Login entry for NAS >> localhost port 0 duplicate >> Tue Apr 14 17:24:11 2015 : Auth: Login incorrect: [> attribute>/] (from client localhost port 0 >> cli 1008) >> Tue Apr 14 17:24:14 2015 : Error: rlm_radutmp: Logout for NAS localhost >> port 0, but no Login record >> >> >> >> Sent from my BlackBerry 10 smartphone. >> Original Message >> *From: *???????, ??????? / Dmitriy Borisov >> *Sent: *???????, 14 ?????? 2015 ?., 17:22 >> *To: *FreeSWITCH Users Help >> *Reply To: *FreeSWITCH Users Help >> *Subject: *Re: [Freeswitch-users] Dialplan authentication >> >> Hi! >> >> Configuration looks good there, and what in radius.log on RADIUS server? >> >> 2015-04-14 14:01 GMT+03:00 ??????? ????? : >> >>> I have set up the following in my dialplan: >>> >>> >>> >>> >>> >>> >>> >>> I am facing the following error: >>> >>> Dialplan: sofia/internal/1008 at ipaddress Regex (PASS) [auth] >>> ${radius_auth_result}(0) =~ /^0$/ break=on-false >>> Dialplan: sofia/internal/1008 at ipaddress Action radius_auth() INLINE >>> EXECUTE sofia/internal/1008 at ipaddress radius_auth() >>> 2015-04-14 13:53:42.734956 [ERR] mod_xml_radius.c:1090 mod_xml_radius: >>> Failed to authenticate >>> >>> What should I do to the call authentication work? >>> >>> Regards, >>> Gustavo >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> >> -- >> with best regards, >> Dmitriy Borisov >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150414/c62ce06e/attachment-0001.html From silvagustavo at yandex.ru Tue Apr 14 23:39:14 2015 From: silvagustavo at yandex.ru (Gustavo Silva) Date: Tue, 14 Apr 2015 22:39:14 +0300 Subject: [Freeswitch-users] Dialplan authentication In-Reply-To: References: <552CF376.4030403@etherway.ru> <20150414142844.5853254.43096.391@yandex.ru> <20150414185636.5853254.62323.400@yandex.ru> Message-ID: <20150414193914.5853254.22633.404@yandex.ru> An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150414/afa67a32/attachment-0001.html From silvagustavo at yandex.ru Tue Apr 14 23:39:14 2015 From: silvagustavo at yandex.ru (Gustavo Silva) Date: Tue, 14 Apr 2015 22:39:14 +0300 Subject: [Freeswitch-users] Dialplan authentication In-Reply-To: References: <552CF376.4030403@etherway.ru> <20150414142844.5853254.43096.391@yandex.ru> <20150414185636.5853254.62323.400@yandex.ru> Message-ID: <20150414193914.5853254.22633.404@yandex.ru> An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150414/afa67a32/attachment-0003.html From mishehu at freeswitch.org Wed Apr 15 00:40:25 2015 From: mishehu at freeswitch.org (I put the Who? in Mishehu) Date: Tue, 14 Apr 2015 15:40:25 -0500 Subject: [Freeswitch-users] the condtion fail when ${dialed_extension} =1001 but not fail when =1011 In-Reply-To: References: Message-ID: <552D7B39.4060106@freeswitch.org> Hagay, Have you tried to do any of the suggestions that Italo had commented to you about in the bottom of that Jira? -- Yossi Neiman ???? ???? On 04/14/2015 03:35 AM, Hagay Levi wrote: > I asked in freeswitch.org/jira in this > link : https://freeswitch.org/jira/browse/FS-7335 > , > And ?talo Ross > > suggested me to send email to freeswitch-users mailing list. > > /Thanks in advance/ > > -- > ??? ??? hagay levi > 0544926680 > 02-3721565 ????? 11 > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150414/0ad38d92/attachment.html From tolgakarakurt at yahoo.com Wed Apr 15 10:44:10 2015 From: tolgakarakurt at yahoo.com (Tolga Karakurt) Date: Tue, 14 Apr 2015 23:44:10 -0700 Subject: [Freeswitch-users] How to bridge an incoming call to an already open channel Message-ID: <1429080250.51621.YahooMailIosMobile@web140102.mail.bf1.yahoo.com> An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150414/e6dbfb39/attachment.html From hagayl at machshevet.com Wed Apr 15 12:04:19 2015 From: hagayl at machshevet.com (Hagay Levi) Date: Wed, 15 Apr 2015 11:04:19 +0300 Subject: [Freeswitch-users] the condtion fail when ${dialed_extension} =1001 but not fail when =1011 In-Reply-To: <552D7B39.4060106@freeswitch.org> References: <552D7B39.4060106@freeswitch.org> Message-ID: Yes i tried it but " join #freeswitch IRC channel at freenode to get help" i don't try. On Tue, Apr 14, 2015 at 11:40 PM, I put the Who? in Mishehu < mishehu at freeswitch.org> wrote: > Hagay, > > Have you tried to do any of the suggestions that Italo had commented to > you about in the bottom of that Jira? > > -- > Yossi Neiman > ???? ???? > > On 04/14/2015 03:35 AM, Hagay Levi wrote: > > I asked in freeswitch.org/jira in this link : https://freeswitch.org/jira/browse/FS-7335 > , > And ?talo Ross > > suggested me to send email to freeswitch-users mailing list. > > *Thanks in advance* > > -- > ??? ??? hagay levi > 0544926680 > 02-3721565 ????? 11 > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: consulting at freeswitch.orghttp://www.freeswitchsolutions.com > > Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com > > FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- ??? ??? hagay levi 0544926680 02-3721565 ????? 11 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150415/f4f71eb3/attachment.html From gfs at etherway.ru Wed Apr 15 12:26:29 2015 From: gfs at etherway.ru (=?UTF-8?B?0JPRg9GB0YLQsNCy0L4g0KHQuNC70LLQsA==?=) Date: Wed, 15 Apr 2015 11:26:29 +0300 Subject: [Freeswitch-users] Dialplan authentication In-Reply-To: References: <552CF376.4030403@etherway.ru> <20150414142844.5853254.43096.391@yandex.ru> <20150414185636.5853254.62323.400@yandex.ru> Message-ID: <552E20B5.1070201@etherway.ru> Sergey, do you know why I am getting these variables undefined? [ERR] mod_rad_auth.c:178 Undefined channel variable: GWID. [ERR] mod_rad_auth.c:178 Undefined channel variable: TRANSACTIONID. [ERR] mod_rad_auth.c:178 Undefined channel variable: CALLEDNUMBER. [ERR] mod_rad_auth.c:178 Undefined channel variable: CALLINGNUMBER. On 14.04.2015 22:34, Sergey Safarov wrote: > In provided example password stored in directory. > Directory can be in mod_xml_radius > (https://freeswitch.org/confluence/display/FREESWITCH/mod_xml_radius) > or other dynamically generated directory. > > > On Tue, Apr 14, 2015 at 9:56 PM, Gustavo Silva > wrote: > > Hi Sergey, > > Tks for the help but there is a catch in this solution. I will be > still having ?the password and user name in freeswitch server. > > I would like that the radius server handles it. > > Is there a way with the rad_auth module where I wouldn't need to > set up password in diaplan file? All the authentication should be > done with the radius server. > > I say that because, for example: I have 200 users, with diferentes > passwords configured in the radius server. So, by this solution > with rad_auth module, I should also have 200 different password in > the diaplan configuration, right? > > Regards, > Gustavo > > Sent from my BlackBerry 10 smartphone. > *From: *Sergey Safarov > *Sent: *???????, 14 ?????? 2015 ?., 21:16 > *To: *FreeSWITCH Users Help > *Reply To: *FreeSWITCH Users Help > *Subject: *Re: [Freeswitch-users] Dialplan authentication > > > This can help you > > [root at fs1 autoload_configs]# cat rad_auth.conf.xml > > > > > > > > > > > > > > > > > > > > > > > expr="1" direction="in"/> > direction="in"/> > expr="1" direction="in"/> > pec="0" expr="1" direction="in"/> > pec="0" expr="1" direction="in"/>--> > direction="in"/> > direction="in"/> --> > > > pec="9" expr="0" direction="out"/> > expr="0" direction="out"/> > pec="9" expr="0" direction="out"/> > value="Cisco-Servicce-Info" pec="9" expr="0" direction="out"/> > pec="9" expr="0" direction="out"/> > value="h323_ivr_duration" pec="9" expr="0" direction="out"/> --> > pec="9" expr="0" direction="out"/> > > > > [root at fs1 autoload_configs]# > > Dialplan fragment > > > > > expression="^\+(\d+)$"> > data="h323-gw-id=${accountcode_bleg}"/> > > > data="CALLID=h323-conf-id=${uuid}"/> > data="GWID=${accountcode_bleg}"/> > data="USERNAME=login at operator.ru "/> > data="PASSWD=xxxxxxxx"/> > data="DIALED_NUMBER=$1"/> > > > > > Log fragment > Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru > parsing > [mr24.gateways.rcsnet.ru->operator-rad-auth] continue=true > Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru > Regex (PASS) > [operator-rad-auth] ${accountcode}(8) =~ /^8$/ match=any > Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru > Regex (PASS) > [operator-rad-auth] ${destination_number}(+749593377xx) =~ > /^\+(\d+)$/ break=on-false > Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru > Action > export(h323-gw-id=${accountcode_bleg}) > Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru > Action > unset(disable_radius_start) > Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru > Action > unset(disable_radius_stop) > Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru > Action > set(CALLID=h323-conf-id=${uuid}) INLINE > EXECUTE sofia/mr24/0000079639652834 at gateways.rcsnet.ru > > set(CALLID=h323-conf-id=bd091212-e2b0-11e4-98e2-d102deb9a97d) > 2015-04-14 14:15:43.446357 [DEBUG] mod_dptools.c:1435 > sofia/mr24/00000796396528xx at gateways.operator.ru > SET > [CALLID]=[h323-conf-id=bd091212-e2b0-11e4-98e2-d102deb9a97d] > Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru > Action > set(GWID=${accountcode_bleg}) INLINE > EXECUTE sofia/mr24/0000079639652834 at gateways.rcsnet.ru > set(GWID=1460) > 2015-04-14 14:15:43.446357 [DEBUG] mod_dptools.c:1435 > sofia/mr24/00000796396528xx at gateways.rcsnet.ru > SET [GWID]=[1460] > Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru > Action > set(USERNAME=login at operator.ru ) INLINE > EXECUTE sofia/mr24/0000079639652834 at gateways.rcsnet.ru > > set(USERNAME=login at operator.ru ) > 2015-04-14 14:15:43.446357 [DEBUG] mod_dptools.c:1435 > sofia/mr24/0000079639652834 at gateways.rcsnet.ru > SET > [USERNAME]=[login at operator.ru ] > Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru > Action > set(PASSWD=xxxxxxxx) INLINE > EXECUTE sofia/mr24/0000079639652834 at gateways.rcsnet.ru > set(PASSWD=xxxxxxxx) > 2015-04-14 14:15:43.446357 [DEBUG] mod_dptools.c:1435 > sofia/mr24/00000796396528xx at gateways.operator.ru > SET > [PASSWD]=[xxxxxxxxxxx] > Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru > Action > set(DIALED_NUMBER=749593377xx) INLINE > EXECUTE sofia/mr24/0000079639652834 at gateways.rcsnet.ru > > set(DIALED_NUMBER=749593377xx) > 2015-04-14 14:15:43.446357 [DEBUG] mod_dptools.c:1435 > sofia/mr24/00000796396528xx at gateways.rcsnet.ru > SET > [DIALED_NUMBER]=[749593377xx] > sofia/mr24/0000079639652834 at gateways.rcsnet.ru > Action > auth_function(in ${DIALED_NUMBER}, in ${USERNAME}, in ${PASSWD}, > out AUTH_RESULT) > .......... > > bd091212-e2b0-11e4-98e2-d102deb9a97d EXECUTE > sofia/mr24/00000796396528xx at gateways.operator.ru > auth_function(in > 74959337786, in login at operator.ru , in > xxxxxxxxxxxx, out AUTH_RESULT) > [DEBUG] mod_rad_auth.c:301 allocate initial structure. > [DEBUG] mod_rad_auth.c:313 initialzed configuration. > [DEBUG] mod_rad_auth.c:318 set authserver := 10.40.0.5:1814:xxxxxxxx. > [DEBUG] mod_rad_auth.c:318 set dictionary := > /etc/radiusclient/dictionary.all. > [DEBUG] mod_rad_auth.c:318 set seqfile := /var/run/radius.seq. > [DEBUG] mod_rad_auth.c:318 set mapfile := > /etc/radiusclient/port-id-map. > [DEBUG] mod_rad_auth.c:318 set default_realm := . > [DEBUG] mod_rad_auth.c:318 set radius_timeout := 1. > [DEBUG] mod_rad_auth.c:318 set radius_retries := 0. > [DEBUG] mod_rad_auth.c:318 set radius_deadtime := 0. > [DEBUG] mod_rad_auth.c:318 set bindaddr := *. > [DEBUG] mod_rad_auth.c:371 ... radius: User-Name: > login at operator.ru > [DEBUG] mod_rad_auth.c:380 ... radius: User-Password: > xxxxxxxxxxxxxxxxxx > DEBUG] mod_rad_auth.c:396 ... radius: Called-station-Id: 74959337786 > [DEBUG] mod_rad_auth.c:413 Handle attribute: h323-conf-id > [DEBUG] mod_rad_auth.c:439 ... dictionary data: id:24, vendor > id:9, attr type:0, attr name:h323-conf-id (589848) > [DEBUG] mod_rad_auth.c:444 ... radius: key:h323-conf-id, > value:CALLID (h323-conf-id=bd091212-e2b0-11e4-98e2-d102deb9a97d) > as string > [DEBUG] mod_rad_auth.c:413 Handle attribute: h323-gw-id > [DEBUG] mod_rad_auth.c:439 ... dictionary data: id:33, vendor > id:9, attr type:0, attr name:h323-gw-id (589857) > [DEBUG] mod_rad_auth.c:444 ... radius: key:h323-gw-id, value:GWID > (1460) as string > [DEBUG] mod_rad_auth.c:413 Handle attribute: NAS-Port-Type > [DEBUG] mod_rad_auth.c:439 ... dictionary data: id:61, vendor > id:0, attr type:1, attr name:NAS-Port-Type (61) > [DEBUG] mod_rad_auth.c:456 ... radius: key:NAS-Port-Type, value:0 > (0) as integer > [DEBUG] mod_rad_auth.c:491 sending radius packet ... > [DEBUG] mod_rad_auth.c:497 RADIUS Authentication OK > [DEBUG] mod_rad_auth.c:519 Handle attribute: CREDIT_AMOUNT > [DEBUG] mod_rad_auth.c:522 attribute (CREDIT_AMOUNT) found in > radius packet > [DEBUG] mod_rad_auth.c:523 set variable credit_amount := > h323-credit-amount=-600913.47 > [DEBUG] mod_rad_auth.c:519 Handle attribute: CURRENCY > [DEBUG] mod_rad_auth.c:522 attribute (CURRENCY) found in radius > packet > [DEBUG] mod_rad_auth.c:523 set variable currency := > h323-currency=RUR > [DEBUG] mod_rad_auth.c:519 Handle attribute: CREDIT_TIME > [DEBUG] mod_rad_auth.c:522 attribute (CREDIT_TIME) found in > radius packet > [DEBUG] mod_rad_auth.c:523 set variable h323-credit_time := > h323-credit-time=86400 > [DEBUG] mod_rad_auth.c:519 Handle attribute: PER_MINUTE_PRICE > [DEBUG] mod_rad_auth.c:522 attribute (PER_MINUTE_PRICE) found in > radius packet > [DEBUG] mod_rad_auth.c:523 set variable Cisco-Servicce-Info := > 0.000000 > [DEBUG] mod_rad_auth.c:519 Handle attribute: RADIUS_RETURN_CODE > [DEBUG] mod_rad_auth.c:522 attribute (RADIUS_RETURN_CODE) found > in radius packet > [DEBUG] mod_rad_auth.c:523 set variable return_code := > h323-return-code=0 > > > > > > On Tue, Apr 14, 2015 at 5:28 PM, Gustavo Silva > > wrote: > > > First it says that the the login is OK and after it says that > the login is incorrect. > > Tue Apr 14 17:24:11 2015 : Auth: Login OK: [1008/ DIGEST>] (from client localhost port 0 cli 1008) > Tue Apr 14 17:24:11 2015 : Info: rlm_radutmp: Login entry for NAS > localhost port 0 duplicate > Tue Apr 14 17:24:11 2015 : Auth: Login incorrect: [ attribute>/] (from client > localhost port 0 > cli 1008) > Tue Apr 14 17:24:14 2015 : Error: rlm_radutmp: Logout for NAS > localhost > port 0, but no Login record > > > > Sent from my BlackBerry 10 smartphone. > > Original Message > > *From: *???????, ??????? / Dmitriy Borisov > *Sent: *???????, 14 ?????? 2015 ?., 17:22 > *To: *FreeSWITCH Users Help > *Reply To: *FreeSWITCH Users Help > *Subject: *Re: [Freeswitch-users] Dialplan authentication > > > Hi! > > Configuration looks good there, and what in radius.log on > RADIUS server? > > 2015-04-14 14:01 GMT+03:00 ??????? ????? >: > > I have set up the following in my dialplan: > > > > > > > > I am facing the following error: > > Dialplan: sofia/internal/1008 at ipaddress Regex (PASS) [auth] > ${radius_auth_result}(0) =~ /^0$/ break=on-false > Dialplan: sofia/internal/1008 at ipaddress Action > radius_auth() INLINE > EXECUTE sofia/internal/1008 at ipaddress radius_auth() > 2015-04-14 13:53:42.734956 [ERR] mod_xml_radius.c:1090 > mod_xml_radius: > Failed to authenticate > > What should I do to the call authentication work? > > Regards, > Gustavo > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > > -- > with best regards, > Dmitriy Borisov > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150415/16c17982/attachment-0001.html From s.safarov at gmail.com Wed Apr 15 13:08:24 2015 From: s.safarov at gmail.com (Sergey Safarov) Date: Wed, 15 Apr 2015 12:08:24 +0300 Subject: [Freeswitch-users] Dialplan authentication In-Reply-To: <552E20B5.1070201@etherway.ru> References: <552CF376.4030403@etherway.ru> <20150414142844.5853254.43096.391@yandex.ru> <20150414185636.5853254.62323.400@yandex.ru> <552E20B5.1070201@etherway.ru> Message-ID: Add strings to dialplan like You can try comment this attributs in rad_auth.conf.xml On Wed, Apr 15, 2015 at 11:26 AM, ??????? ????? wrote: > Sergey, do you know why I am getting these variables undefined? > > [ERR] mod_rad_auth.c:178 Undefined channel variable: GWID. > [ERR] mod_rad_auth.c:178 Undefined channel variable: TRANSACTIONID. > [ERR] mod_rad_auth.c:178 Undefined channel variable: CALLEDNUMBER. > [ERR] mod_rad_auth.c:178 Undefined channel variable: CALLINGNUMBER. > > > > > On 14.04.2015 22:34, Sergey Safarov wrote: > > In provided example password stored in directory. > Directory can be in mod_xml_radius ( > https://freeswitch.org/confluence/display/FREESWITCH/mod_xml_radius) or > other dynamically generated directory. > > > On Tue, Apr 14, 2015 at 9:56 PM, Gustavo Silva > wrote: > >> Hi Sergey, >> >> Tks for the help but there is a catch in this solution. I will be still >> having ?the password and user name in freeswitch server. >> >> I would like that the radius server handles it. >> >> Is there a way with the rad_auth module where I wouldn't need to set up >> password in diaplan file? All the authentication should be done with the >> radius server. >> >> I say that because, for example: I have 200 users, with diferentes >> passwords configured in the radius server. So, by this solution with >> rad_auth module, I should also have 200 different password in the diaplan >> configuration, right? >> >> Regards, >> Gustavo >> >> Sent from my BlackBerry 10 smartphone. >> *From: *Sergey Safarov >> *Sent: *???????, 14 ?????? 2015 ?., 21:16 >> *To: *FreeSWITCH Users Help >> *Reply To: *FreeSWITCH Users Help >> *Subject: *Re: [Freeswitch-users] Dialplan authentication >> >> This can help you >> >> [root at fs1 autoload_configs]# cat rad_auth.conf.xml >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> > direction="in"/> >> > direction="in"/> >> > expr="1" direction="in"/> >> > expr="1" direction="in"/> >> > expr="1" direction="in"/>--> >> > direction="in"/> >> > direction="in"/> --> >> >> >> > expr="0" direction="out"/> >> > direction="out"/> >> > expr="0" direction="out"/> >> > pec="9" expr="0" direction="out"/> >> > expr="0" direction="out"/> >> > pec="9" expr="0" direction="out"/> --> >> > expr="0" direction="out"/> >> >> >> >> [root at fs1 autoload_configs]# >> >> Dialplan fragment >> >> >> >> >> >> > data="h323-gw-id=${accountcode_bleg}"/> >> >> >> > data="CALLID=h323-conf-id=${uuid}"/> >> > data="GWID=${accountcode_bleg}"/> >> >> > data="PASSWD=xxxxxxxx"/> >> > data="DIALED_NUMBER=$1"/> >> >> >> >> >> Log fragment >> Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru parsing >> [mr24.gateways.rcsnet.ru->operator-rad-auth] continue=true >> Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru Regex (PASS) >> [operator-rad-auth] ${accountcode}(8) =~ /^8$/ match=any >> Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru Regex (PASS) >> [operator-rad-auth] ${destination_number}(+749593377xx) =~ /^\+(\d+)$/ >> break=on-false >> Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru Action >> export(h323-gw-id=${accountcode_bleg}) >> Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru Action >> unset(disable_radius_start) >> Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru Action >> unset(disable_radius_stop) >> Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru Action >> set(CALLID=h323-conf-id=${uuid}) INLINE >> EXECUTE sofia/mr24/0000079639652834 at gateways.rcsnet.ru >> set(CALLID=h323-conf-id=bd091212-e2b0-11e4-98e2-d102deb9a97d) >> 2015-04-14 14:15:43.446357 [DEBUG] mod_dptools.c:1435 sofia/mr24/ >> 00000796396528xx at gateways.operator.ru SET >> [CALLID]=[h323-conf-id=bd091212-e2b0-11e4-98e2-d102deb9a97d] >> Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru Action >> set(GWID=${accountcode_bleg}) INLINE >> EXECUTE sofia/mr24/0000079639652834 at gateways.rcsnet.ru set(GWID=1460) >> 2015-04-14 14:15:43.446357 [DEBUG] mod_dptools.c:1435 sofia/mr24/ >> 00000796396528xx at gateways.rcsnet.ru SET [GWID]=[1460] >> Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru Action >> set(USERNAME=login at operator.ru) INLINE >> EXECUTE sofia/mr24/0000079639652834 at gateways.rcsnet.ru set(USERNAME= >> login at operator.ru) >> 2015-04-14 14:15:43.446357 [DEBUG] mod_dptools.c:1435 sofia/mr24/ >> 0000079639652834 at gateways.rcsnet.ru SET [USERNAME]=[login at operator.ru] >> Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru Action >> set(PASSWD=xxxxxxxx) INLINE >> EXECUTE sofia/mr24/0000079639652834 at gateways.rcsnet.ru >> set(PASSWD=xxxxxxxx) >> 2015-04-14 14:15:43.446357 [DEBUG] mod_dptools.c:1435 sofia/mr24/ >> 00000796396528xx at gateways.operator.ru SET [PASSWD]=[xxxxxxxxxxx] >> Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru Action >> set(DIALED_NUMBER=749593377xx) INLINE >> EXECUTE sofia/mr24/0000079639652834 at gateways.rcsnet.ru >> set(DIALED_NUMBER=749593377xx) >> 2015-04-14 14:15:43.446357 [DEBUG] mod_dptools.c:1435 sofia/mr24/ >> 00000796396528xx at gateways.rcsnet.ru SET [DIALED_NUMBER]=[749593377xx] >> sofia/mr24/0000079639652834 at gateways.rcsnet.ru Action auth_function(in >> ${DIALED_NUMBER}, in ${USERNAME}, in ${PASSWD}, out AUTH_RESULT) >> .......... >> >> bd091212-e2b0-11e4-98e2-d102deb9a97d EXECUTE sofia/mr24/ >> 00000796396528xx at gateways.operator.ru auth_function(in 74959337786, in >> login at operator.ru, in xxxxxxxxxxxx, out AUTH_RESULT) >> [DEBUG] mod_rad_auth.c:301 allocate initial structure. >> [DEBUG] mod_rad_auth.c:313 initialzed configuration. >> [DEBUG] mod_rad_auth.c:318 set authserver := 10.40.0.5:1814:xxxxxxxx. >> [DEBUG] mod_rad_auth.c:318 set dictionary := >> /etc/radiusclient/dictionary.all. >> [DEBUG] mod_rad_auth.c:318 set seqfile := /var/run/radius.seq. >> [DEBUG] mod_rad_auth.c:318 set mapfile := /etc/radiusclient/port-id-map. >> [DEBUG] mod_rad_auth.c:318 set default_realm := . >> [DEBUG] mod_rad_auth.c:318 set radius_timeout := 1. >> [DEBUG] mod_rad_auth.c:318 set radius_retries := 0. >> [DEBUG] mod_rad_auth.c:318 set radius_deadtime := 0. >> [DEBUG] mod_rad_auth.c:318 set bindaddr := *. >> [DEBUG] mod_rad_auth.c:371 ... radius: User-Name: login at operator.ru >> [DEBUG] mod_rad_auth.c:380 ... radius: User-Password: xxxxxxxxxxxxxxxxxx >> DEBUG] mod_rad_auth.c:396 ... radius: Called-station-Id: 74959337786 >> [DEBUG] mod_rad_auth.c:413 Handle attribute: h323-conf-id >> [DEBUG] mod_rad_auth.c:439 ... dictionary data: id:24, vendor id:9, attr >> type:0, attr name:h323-conf-id (589848) >> [DEBUG] mod_rad_auth.c:444 ... radius: key:h323-conf-id, value:CALLID >> (h323-conf-id=bd091212-e2b0-11e4-98e2-d102deb9a97d) as string >> [DEBUG] mod_rad_auth.c:413 Handle attribute: h323-gw-id >> [DEBUG] mod_rad_auth.c:439 ... dictionary data: id:33, vendor id:9, attr >> type:0, attr name:h323-gw-id (589857) >> [DEBUG] mod_rad_auth.c:444 ... radius: key:h323-gw-id, value:GWID (1460) >> as string >> [DEBUG] mod_rad_auth.c:413 Handle attribute: NAS-Port-Type >> [DEBUG] mod_rad_auth.c:439 ... dictionary data: id:61, vendor id:0, attr >> type:1, attr name:NAS-Port-Type (61) >> [DEBUG] mod_rad_auth.c:456 ... radius: key:NAS-Port-Type, value:0 (0) as >> integer >> [DEBUG] mod_rad_auth.c:491 sending radius packet ... >> [DEBUG] mod_rad_auth.c:497 RADIUS Authentication OK >> [DEBUG] mod_rad_auth.c:519 Handle attribute: CREDIT_AMOUNT >> [DEBUG] mod_rad_auth.c:522 attribute (CREDIT_AMOUNT) found in radius >> packet >> [DEBUG] mod_rad_auth.c:523 set variable credit_amount := >> h323-credit-amount=-600913.47 >> [DEBUG] mod_rad_auth.c:519 Handle attribute: CURRENCY >> [DEBUG] mod_rad_auth.c:522 attribute (CURRENCY) found in radius packet >> [DEBUG] mod_rad_auth.c:523 set variable currency := h323-currency=RUR >> [DEBUG] mod_rad_auth.c:519 Handle attribute: CREDIT_TIME >> [DEBUG] mod_rad_auth.c:522 attribute (CREDIT_TIME) found in radius >> packet >> [DEBUG] mod_rad_auth.c:523 set variable h323-credit_time := >> h323-credit-time=86400 >> [DEBUG] mod_rad_auth.c:519 Handle attribute: PER_MINUTE_PRICE >> [DEBUG] mod_rad_auth.c:522 attribute (PER_MINUTE_PRICE) found in radius >> packet >> [DEBUG] mod_rad_auth.c:523 set variable Cisco-Servicce-Info := 0.000000 >> [DEBUG] mod_rad_auth.c:519 Handle attribute: RADIUS_RETURN_CODE >> [DEBUG] mod_rad_auth.c:522 attribute (RADIUS_RETURN_CODE) found in >> radius packet >> [DEBUG] mod_rad_auth.c:523 set variable return_code := >> h323-return-code=0 >> >> >> >> >> >> On Tue, Apr 14, 2015 at 5:28 PM, Gustavo Silva >> wrote: >> >>> >>> First it says that the the login is OK and after it says that the >>> login is incorrect. >>> >>> Tue Apr 14 17:24:11 2015 : Auth: Login OK: [1008/>> DIGEST>] (from client localhost port 0 cli 1008) >>> Tue Apr 14 17:24:11 2015 : Info: rlm_radutmp: Login entry for NAS >>> localhost port 0 duplicate >>> Tue Apr 14 17:24:11 2015 : Auth: Login incorrect: [>> attribute>/] (from client localhost port 0 >>> cli 1008) >>> Tue Apr 14 17:24:14 2015 : Error: rlm_radutmp: Logout for NAS localhost >>> port 0, but no Login record >>> >>> >>> >>> Sent from my BlackBerry 10 smartphone. >>> >>> Original Message >>> *From: *???????, ??????? / Dmitriy Borisov >>> *Sent: *???????, 14 ?????? 2015 ?., 17:22 >>> *To: *FreeSWITCH Users Help >>> *Reply To: *FreeSWITCH Users Help >>> *Subject: *Re: [Freeswitch-users] Dialplan authentication >>> >>> Hi! >>> >>> Configuration looks good there, and what in radius.log on RADIUS server? >>> >>> 2015-04-14 14:01 GMT+03:00 ??????? ????? : >>> >>>> I have set up the following in my dialplan: >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> I am facing the following error: >>>> >>>> Dialplan: sofia/internal/1008 at ipaddress Regex (PASS) [auth] >>>> ${radius_auth_result}(0) =~ /^0$/ break=on-false >>>> Dialplan: sofia/internal/1008 at ipaddress Action radius_auth() INLINE >>>> EXECUTE sofia/internal/1008 at ipaddress radius_auth() >>>> 2015-04-14 13:53:42.734956 [ERR] mod_xml_radius.c:1090 mod_xml_radius: >>>> Failed to authenticate >>>> >>>> What should I do to the call authentication work? >>>> >>>> Regards, >>>> Gustavo >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> >>> -- >>> with best regards, >>> Dmitriy Borisov >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: consulting at freeswitch.orghttp://www.freeswitchsolutions.com > > Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com > > FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150415/786bab31/attachment-0001.html From gfs at etherway.ru Wed Apr 15 14:56:04 2015 From: gfs at etherway.ru (=?UTF-8?B?0JPRg9GB0YLQsNCy0L4g0KHQuNC70LLQsA==?=) Date: Wed, 15 Apr 2015 13:56:04 +0300 Subject: [Freeswitch-users] Dialplan authentication In-Reply-To: References: <552CF376.4030403@etherway.ru> <20150414142844.5853254.43096.391@yandex.ru> <20150414185636.5853254.62323.400@yandex.ru> <552E20B5.1070201@etherway.ru> Message-ID: <552E43C4.5070603@etherway.ru> It works. Man, just more one question, how can I get the value of this variable in my diaplan? I am using mod_xml_radius. Freeswitch-AVPair = "vm_pass=1234" On 15.04.2015 12:08, Sergey Safarov wrote: > Add strings to dialplan like > > data="TRANSACTIONID=h323-ivr-out=transactionID:1234"/> > data="CALLEDNUMBER=${destination_number}"/> > data="CALLINGNUMBER=${caller_id_number}"/> > > You can try comment this attributs in rad_auth.conf.xml > > > > On Wed, Apr 15, 2015 at 11:26 AM, ??????? ????? > wrote: > > Sergey, do you know why I am getting these variables undefined? > > [ERR] mod_rad_auth.c:178 Undefined channel variable: GWID. > [ERR] mod_rad_auth.c:178 Undefined channel variable: TRANSACTIONID. > [ERR] mod_rad_auth.c:178 Undefined channel variable: CALLEDNUMBER. > [ERR] mod_rad_auth.c:178 Undefined channel variable: CALLINGNUMBER. > > > > > On 14.04.2015 22:34, Sergey Safarov wrote: >> In provided example password stored in directory. >> Directory can be in mod_xml_radius >> (https://freeswitch.org/confluence/display/FREESWITCH/mod_xml_radius) >> or other dynamically generated directory. >> >> >> On Tue, Apr 14, 2015 at 9:56 PM, Gustavo Silva >> > wrote: >> >> Hi Sergey, >> >> Tks for the help but there is a catch in this solution. I >> will be still having ?the password and user name in >> freeswitch server. >> >> I would like that the radius server handles it. >> >> Is there a way with the rad_auth module where I wouldn't need >> to set up password in diaplan file? All the authentication >> should be done with the radius server. >> >> I say that because, for example: I have 200 users, with >> diferentes passwords configured in the radius server. So, by >> this solution with rad_auth module, I should also have 200 >> different password in the diaplan configuration, right? >> >> Regards, >> Gustavo >> >> Sent from my BlackBerry 10 smartphone. >> *From: *Sergey Safarov >> *Sent: *???????, 14 ?????? 2015 ?., 21:16 >> *To: *FreeSWITCH Users Help >> *Reply To: *FreeSWITCH Users Help >> *Subject: *Re: [Freeswitch-users] Dialplan authentication >> >> >> This can help you >> >> [root at fs1 autoload_configs]# cat rad_auth.conf.xml >> >> >> >> >> >> >> >> >> > value="/etc/radiusclient/dictionary.all"/> >> >> >> >> >> >> >> >> >> >> >> >> >> >> > expr="1" direction="in"/> >> > expr="1" direction="in"/> >> > pec="9" expr="1" direction="in"/> >> > value="CALLEDNUMBER" pec="0" expr="1" direction="in"/> >> > value="CALLINGNUMBER" pec="0" expr="1" direction="in"/>--> >> > expr="0" direction="in"/> >> > direction="in"/> --> >> >> >> > pec="9" expr="0" direction="out"/> >> > expr="0" direction="out"/> >> > value="h323-credit_time" pec="9" expr="0" direction="out"/> >> > value="Cisco-Servicce-Info" pec="9" expr="0" direction="out"/> >> > value="preffered_lang" pec="9" expr="0" direction="out"/> >> > value="h323_ivr_duration" pec="9" expr="0" direction="out"/> --> >> > value="return_code" pec="9" expr="0" direction="out"/> >> >> >> >> [root at fs1 autoload_configs]# >> >> Dialplan fragment >> >> >> >> >> > expression="^\+(\d+)$"> >> > data="h323-gw-id=${accountcode_bleg}"/> >> > data="disable_radius_start"/> >> > data="disable_radius_stop"/> >> > data="CALLID=h323-conf-id=${uuid}"/> >> > data="GWID=${accountcode_bleg}"/> >> > data="USERNAME=login at operator.ru "/> >> > data="PASSWD=xxxxxxxx"/> >> > data="DIALED_NUMBER=$1"/> >> >> >> >> >> Log fragment >> Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru >> parsing >> [mr24.gateways.rcsnet.ru->operator-rad-auth] continue=true >> Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru >> Regex (PASS) >> [operator-rad-auth] ${accountcode}(8) =~ /^8$/ match=any >> Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru >> Regex (PASS) >> [operator-rad-auth] ${destination_number}(+749593377xx) =~ >> /^\+(\d+)$/ break=on-false >> Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru >> Action >> export(h323-gw-id=${accountcode_bleg}) >> Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru >> Action >> unset(disable_radius_start) >> Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru >> Action >> unset(disable_radius_stop) >> Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru >> Action >> set(CALLID=h323-conf-id=${uuid}) INLINE >> EXECUTE sofia/mr24/0000079639652834 at gateways.rcsnet.ru >> >> set(CALLID=h323-conf-id=bd091212-e2b0-11e4-98e2-d102deb9a97d) >> 2015-04-14 14:15:43.446357 [DEBUG] mod_dptools.c:1435 >> sofia/mr24/00000796396528xx at gateways.operator.ru >> SET >> [CALLID]=[h323-conf-id=bd091212-e2b0-11e4-98e2-d102deb9a97d] >> Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru >> Action >> set(GWID=${accountcode_bleg}) INLINE >> EXECUTE sofia/mr24/0000079639652834 at gateways.rcsnet.ru >> set(GWID=1460) >> 2015-04-14 14:15:43.446357 [DEBUG] mod_dptools.c:1435 >> sofia/mr24/00000796396528xx at gateways.rcsnet.ru >> SET [GWID]=[1460] >> Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru >> Action >> set(USERNAME=login at operator.ru ) INLINE >> EXECUTE sofia/mr24/0000079639652834 at gateways.rcsnet.ru >> >> set(USERNAME=login at operator.ru ) >> 2015-04-14 14:15:43.446357 [DEBUG] mod_dptools.c:1435 >> sofia/mr24/0000079639652834 at gateways.rcsnet.ru >> SET >> [USERNAME]=[login at operator.ru ] >> Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru >> Action >> set(PASSWD=xxxxxxxx) INLINE >> EXECUTE sofia/mr24/0000079639652834 at gateways.rcsnet.ru >> set(PASSWD=xxxxxxxx) >> 2015-04-14 14:15:43.446357 [DEBUG] mod_dptools.c:1435 >> sofia/mr24/00000796396528xx at gateways.operator.ru >> SET >> [PASSWD]=[xxxxxxxxxxx] >> Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru >> Action >> set(DIALED_NUMBER=749593377xx) INLINE >> EXECUTE sofia/mr24/0000079639652834 at gateways.rcsnet.ru >> >> set(DIALED_NUMBER=749593377xx) >> 2015-04-14 14:15:43.446357 [DEBUG] mod_dptools.c:1435 >> sofia/mr24/00000796396528xx at gateways.rcsnet.ru >> SET >> [DIALED_NUMBER]=[749593377xx] >> sofia/mr24/0000079639652834 at gateways.rcsnet.ru >> Action >> auth_function(in ${DIALED_NUMBER}, in ${USERNAME}, in >> ${PASSWD}, out AUTH_RESULT) >> .......... >> >> bd091212-e2b0-11e4-98e2-d102deb9a97d EXECUTE >> sofia/mr24/00000796396528xx at gateways.operator.ru >> >> auth_function(in 74959337786, in login at operator.ru >> , in xxxxxxxxxxxx, out AUTH_RESULT) >> [DEBUG] mod_rad_auth.c:301 allocate initial structure. >> [DEBUG] mod_rad_auth.c:313 initialzed configuration. >> [DEBUG] mod_rad_auth.c:318 set authserver := >> 10.40.0.5:1814:xxxxxxxx. >> [DEBUG] mod_rad_auth.c:318 set dictionary := >> /etc/radiusclient/dictionary.all. >> [DEBUG] mod_rad_auth.c:318 set seqfile := /var/run/radius.seq. >> [DEBUG] mod_rad_auth.c:318 set mapfile := >> /etc/radiusclient/port-id-map. >> [DEBUG] mod_rad_auth.c:318 set default_realm := . >> [DEBUG] mod_rad_auth.c:318 set radius_timeout := 1. >> [DEBUG] mod_rad_auth.c:318 set radius_retries := 0. >> [DEBUG] mod_rad_auth.c:318 set radius_deadtime := 0. >> [DEBUG] mod_rad_auth.c:318 set bindaddr := *. >> [DEBUG] mod_rad_auth.c:371 ... radius: User-Name: >> login at operator.ru >> [DEBUG] mod_rad_auth.c:380 ... radius: User-Password: >> xxxxxxxxxxxxxxxxxx >> DEBUG] mod_rad_auth.c:396 ... radius: Called-station-Id: >> 74959337786 >> [DEBUG] mod_rad_auth.c:413 Handle attribute: h323-conf-id >> [DEBUG] mod_rad_auth.c:439 ... dictionary data: id:24, vendor >> id:9, attr type:0, attr name:h323-conf-id (589848) >> [DEBUG] mod_rad_auth.c:444 ... radius: key:h323-conf-id, >> value:CALLID >> (h323-conf-id=bd091212-e2b0-11e4-98e2-d102deb9a97d) as string >> [DEBUG] mod_rad_auth.c:413 Handle attribute: h323-gw-id >> [DEBUG] mod_rad_auth.c:439 ... dictionary data: id:33, vendor >> id:9, attr type:0, attr name:h323-gw-id (589857) >> [DEBUG] mod_rad_auth.c:444 ... radius: key:h323-gw-id, >> value:GWID (1460) as string >> [DEBUG] mod_rad_auth.c:413 Handle attribute: NAS-Port-Type >> [DEBUG] mod_rad_auth.c:439 ... dictionary data: id:61, vendor >> id:0, attr type:1, attr name:NAS-Port-Type (61) >> [DEBUG] mod_rad_auth.c:456 ... radius: key:NAS-Port-Type, >> value:0 (0) as integer >> [DEBUG] mod_rad_auth.c:491 sending radius packet ... >> [DEBUG] mod_rad_auth.c:497 RADIUS Authentication OK >> [DEBUG] mod_rad_auth.c:519 Handle attribute: CREDIT_AMOUNT >> [DEBUG] mod_rad_auth.c:522 attribute (CREDIT_AMOUNT) found in >> radius packet >> [DEBUG] mod_rad_auth.c:523 set variable credit_amount := >> h323-credit-amount=-600913.47 >> [DEBUG] mod_rad_auth.c:519 Handle attribute: CURRENCY >> [DEBUG] mod_rad_auth.c:522 attribute (CURRENCY) found in >> radius packet >> [DEBUG] mod_rad_auth.c:523 set variable currency := >> h323-currency=RUR >> [DEBUG] mod_rad_auth.c:519 Handle attribute: CREDIT_TIME >> [DEBUG] mod_rad_auth.c:522 attribute (CREDIT_TIME) found in >> radius packet >> [DEBUG] mod_rad_auth.c:523 set variable h323-credit_time := >> h323-credit-time=86400 >> [DEBUG] mod_rad_auth.c:519 Handle attribute: PER_MINUTE_PRICE >> [DEBUG] mod_rad_auth.c:522 attribute (PER_MINUTE_PRICE) found >> in radius packet >> [DEBUG] mod_rad_auth.c:523 set variable Cisco-Servicce-Info >> := 0.000000 >> [DEBUG] mod_rad_auth.c:519 Handle attribute: RADIUS_RETURN_CODE >> [DEBUG] mod_rad_auth.c:522 attribute (RADIUS_RETURN_CODE) >> found in radius packet >> [DEBUG] mod_rad_auth.c:523 set variable return_code := >> h323-return-code=0 >> >> >> >> >> >> On Tue, Apr 14, 2015 at 5:28 PM, Gustavo Silva >> > wrote: >> >> >> First it says that the the login is OK and after it says >> that the login is incorrect. >> >> Tue Apr 14 17:24:11 2015 : Auth: Login OK: [1008/> Auth-Type = >> DIGEST>] (from client localhost port 0 cli 1008) >> Tue Apr 14 17:24:11 2015 : Info: rlm_radutmp: Login entry >> for NAS >> localhost port 0 duplicate >> Tue Apr 14 17:24:11 2015 : Auth: Login incorrect: [> User-Name >> attribute>/] (from client >> localhost port 0 >> cli 1008) >> Tue Apr 14 17:24:14 2015 : Error: rlm_radutmp: Logout for >> NAS localhost >> port 0, but no Login record >> >> >> >> Sent from my BlackBerry 10 smartphone. >> >> Original Message >> >> *From: *???????, ??????? / Dmitriy Borisov >> *Sent: *???????, 14 ?????? 2015 ?., 17:22 >> *To: *FreeSWITCH Users Help >> *Reply To: *FreeSWITCH Users Help >> *Subject: *Re: [Freeswitch-users] Dialplan authentication >> >> >> Hi! >> >> Configuration looks good there, and what in radius.log on >> RADIUS server? >> >> 2015-04-14 14:01 GMT+03:00 ??????? ????? > >: >> >> I have set up the following in my dialplan: >> >> >> > expression="^0$"> >> >> >> >> >> I am facing the following error: >> >> Dialplan: sofia/internal/1008 at ipaddress Regex (PASS) >> [auth] >> ${radius_auth_result}(0) =~ /^0$/ break=on-false >> Dialplan: sofia/internal/1008 at ipaddress Action >> radius_auth() INLINE >> EXECUTE sofia/internal/1008 at ipaddress radius_auth() >> 2015-04-14 13:53:42.734956 [ERR] >> mod_xml_radius.c:1090 mod_xml_radius: >> Failed to authenticate >> >> What should I do to the call authentication work? >> >> Regards, >> Gustavo >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> >> >> >> >> -- >> with best regards, >> Dmitriy Borisov >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150415/867f7680/attachment-0001.html From bordmi at rarus.ru Wed Apr 15 15:45:26 2015 From: bordmi at rarus.ru (=?UTF-8?B?0JHQvtGA0LjRgdC+0LIsINCU0LzQuNGC0YDQuNC5IC8gRG1pdHJpeSBCb3Jpc292?=) Date: Wed, 15 Apr 2015 14:45:26 +0300 Subject: [Freeswitch-users] Dialplan authentication In-Reply-To: <552E43C4.5070603@etherway.ru> References: <552CF376.4030403@etherway.ru> <20150414142844.5853254.43096.391@yandex.ru> <20150414185636.5853254.62323.400@yandex.ru> <552E20B5.1070201@etherway.ru> <552E43C4.5070603@etherway.ru> Message-ID: Hi! If you use rad_auth dialplan command, then after using it you will have Freeswitch-AVPair channel variable with value vm_pass=1234 If you use auth_invite or auth_reg, than mod_xml_radius will create user param with name Freeswitch-AVPair and value vm_pass=1234 in result directory 2015-04-15 13:56 GMT+03:00 ??????? ????? : > It works. > > Man, just more one question, how can I get the value of this variable in > my diaplan? I am using mod_xml_radius. > > Freeswitch-AVPair = "vm_pass=1234" > > > > > > > On 15.04.2015 12:08, Sergey Safarov wrote: > > Add strings to dialplan like > > data="TRANSACTIONID=h323-ivr-out=transactionID:1234"/> > data="CALLEDNUMBER=${destination_number}"/> > data="CALLINGNUMBER=${caller_id_number}"/> > > You can try comment this attributs in rad_auth.conf.xml > > > > On Wed, Apr 15, 2015 at 11:26 AM, ??????? ????? wrote: > >> Sergey, do you know why I am getting these variables undefined? >> >> [ERR] mod_rad_auth.c:178 Undefined channel variable: GWID. >> [ERR] mod_rad_auth.c:178 Undefined channel variable: TRANSACTIONID. >> [ERR] mod_rad_auth.c:178 Undefined channel variable: CALLEDNUMBER. >> [ERR] mod_rad_auth.c:178 Undefined channel variable: CALLINGNUMBER. >> >> >> >> >> On 14.04.2015 22:34, Sergey Safarov wrote: >> >> In provided example password stored in directory. >> Directory can be in mod_xml_radius ( >> https://freeswitch.org/confluence/display/FREESWITCH/mod_xml_radius) or >> other dynamically generated directory. >> >> >> On Tue, Apr 14, 2015 at 9:56 PM, Gustavo Silva >> wrote: >> >>> Hi Sergey, >>> >>> Tks for the help but there is a catch in this solution. I will be >>> still having ?the password and user name in freeswitch server. >>> >>> I would like that the radius server handles it. >>> >>> Is there a way with the rad_auth module where I wouldn't need to set >>> up password in diaplan file? All the authentication should be done with the >>> radius server. >>> >>> I say that because, for example: I have 200 users, with diferentes >>> passwords configured in the radius server. So, by this solution with >>> rad_auth module, I should also have 200 different password in the diaplan >>> configuration, right? >>> >>> Regards, >>> Gustavo >>> >>> Sent from my BlackBerry 10 smartphone. >>> *From: *Sergey Safarov >>> *Sent: *???????, 14 ?????? 2015 ?., 21:16 >>> *To: *FreeSWITCH Users Help >>> *Reply To: *FreeSWITCH Users Help >>> *Subject: *Re: [Freeswitch-users] Dialplan authentication >>> >>> This can help you >>> >>> [root at fs1 autoload_configs]# cat rad_auth.conf.xml >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >> direction="in"/> >>> >> direction="in"/> >>> >> expr="1" direction="in"/> >>> >> pec="0" expr="1" direction="in"/> >>> >> pec="0" expr="1" direction="in"/>--> >>> >> direction="in"/> >>> >> direction="in"/> --> >>> >>> >>> >> expr="0" direction="out"/> >>> >> direction="out"/> >>> >> expr="0" direction="out"/> >>> >> pec="9" expr="0" direction="out"/> >>> >> expr="0" direction="out"/> >>> >> pec="9" expr="0" direction="out"/> --> >>> >> expr="0" direction="out"/> >>> >>> >>> >>> [root at fs1 autoload_configs]# >>> >>> Dialplan fragment >>> >>> >>> >>> >>> >>> >> data="h323-gw-id=${accountcode_bleg}"/> >>> >>> >>> >> data="CALLID=h323-conf-id=${uuid}"/> >>> >> data="GWID=${accountcode_bleg}"/> >>> >>> >> data="PASSWD=xxxxxxxx"/> >>> >> data="DIALED_NUMBER=$1"/> >>> >>> >>> >>> >>> Log fragment >>> Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru parsing >>> [mr24.gateways.rcsnet.ru->operator-rad-auth] continue=true >>> Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru Regex (PASS) >>> [operator-rad-auth] ${accountcode}(8) =~ /^8$/ match=any >>> Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru Regex (PASS) >>> [operator-rad-auth] ${destination_number}(+749593377xx) =~ /^\+(\d+)$/ >>> break=on-false >>> Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru Action >>> export(h323-gw-id=${accountcode_bleg}) >>> Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru Action >>> unset(disable_radius_start) >>> Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru Action >>> unset(disable_radius_stop) >>> Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru Action >>> set(CALLID=h323-conf-id=${uuid}) INLINE >>> EXECUTE sofia/mr24/0000079639652834 at gateways.rcsnet.ru >>> set(CALLID=h323-conf-id=bd091212-e2b0-11e4-98e2-d102deb9a97d) >>> 2015-04-14 14:15:43.446357 [DEBUG] mod_dptools.c:1435 sofia/mr24/ >>> 00000796396528xx at gateways.operator.ru SET >>> [CALLID]=[h323-conf-id=bd091212-e2b0-11e4-98e2-d102deb9a97d] >>> Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru Action >>> set(GWID=${accountcode_bleg}) INLINE >>> EXECUTE sofia/mr24/0000079639652834 at gateways.rcsnet.ru set(GWID=1460) >>> 2015-04-14 14:15:43.446357 [DEBUG] mod_dptools.c:1435 sofia/mr24/ >>> 00000796396528xx at gateways.rcsnet.ru SET [GWID]=[1460] >>> Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru Action >>> set(USERNAME=login at operator.ru) INLINE >>> EXECUTE sofia/mr24/0000079639652834 at gateways.rcsnet.ru set(USERNAME= >>> login at operator.ru) >>> 2015-04-14 14:15:43.446357 [DEBUG] mod_dptools.c:1435 sofia/mr24/ >>> 0000079639652834 at gateways.rcsnet.ru SET [USERNAME]=[login at operator.ru] >>> Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru Action >>> set(PASSWD=xxxxxxxx) INLINE >>> EXECUTE sofia/mr24/0000079639652834 at gateways.rcsnet.ru >>> set(PASSWD=xxxxxxxx) >>> 2015-04-14 14:15:43.446357 [DEBUG] mod_dptools.c:1435 sofia/mr24/ >>> 00000796396528xx at gateways.operator.ru SET [PASSWD]=[xxxxxxxxxxx] >>> Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru Action >>> set(DIALED_NUMBER=749593377xx) INLINE >>> EXECUTE sofia/mr24/0000079639652834 at gateways.rcsnet.ru >>> set(DIALED_NUMBER=749593377xx) >>> 2015-04-14 14:15:43.446357 [DEBUG] mod_dptools.c:1435 sofia/mr24/ >>> 00000796396528xx at gateways.rcsnet.ru SET [DIALED_NUMBER]=[749593377xx] >>> sofia/mr24/0000079639652834 at gateways.rcsnet.ru Action auth_function(in >>> ${DIALED_NUMBER}, in ${USERNAME}, in ${PASSWD}, out AUTH_RESULT) >>> .......... >>> >>> bd091212-e2b0-11e4-98e2-d102deb9a97d EXECUTE sofia/mr24/ >>> 00000796396528xx at gateways.operator.ru auth_function(in 74959337786, in >>> login at operator.ru, in xxxxxxxxxxxx, out AUTH_RESULT) >>> [DEBUG] mod_rad_auth.c:301 allocate initial structure. >>> [DEBUG] mod_rad_auth.c:313 initialzed configuration. >>> [DEBUG] mod_rad_auth.c:318 set authserver := 10.40.0.5:1814:xxxxxxxx. >>> [DEBUG] mod_rad_auth.c:318 set dictionary := >>> /etc/radiusclient/dictionary.all. >>> [DEBUG] mod_rad_auth.c:318 set seqfile := /var/run/radius.seq. >>> [DEBUG] mod_rad_auth.c:318 set mapfile := /etc/radiusclient/port-id-map. >>> [DEBUG] mod_rad_auth.c:318 set default_realm := . >>> [DEBUG] mod_rad_auth.c:318 set radius_timeout := 1. >>> [DEBUG] mod_rad_auth.c:318 set radius_retries := 0. >>> [DEBUG] mod_rad_auth.c:318 set radius_deadtime := 0. >>> [DEBUG] mod_rad_auth.c:318 set bindaddr := *. >>> [DEBUG] mod_rad_auth.c:371 ... radius: User-Name: login at operator.ru >>> [DEBUG] mod_rad_auth.c:380 ... radius: User-Password: xxxxxxxxxxxxxxxxxx >>> DEBUG] mod_rad_auth.c:396 ... radius: Called-station-Id: 74959337786 >>> [DEBUG] mod_rad_auth.c:413 Handle attribute: h323-conf-id >>> [DEBUG] mod_rad_auth.c:439 ... dictionary data: id:24, vendor id:9, attr >>> type:0, attr name:h323-conf-id (589848) >>> [DEBUG] mod_rad_auth.c:444 ... radius: key:h323-conf-id, value:CALLID >>> (h323-conf-id=bd091212-e2b0-11e4-98e2-d102deb9a97d) as string >>> [DEBUG] mod_rad_auth.c:413 Handle attribute: h323-gw-id >>> [DEBUG] mod_rad_auth.c:439 ... dictionary data: id:33, vendor id:9, attr >>> type:0, attr name:h323-gw-id (589857) >>> [DEBUG] mod_rad_auth.c:444 ... radius: key:h323-gw-id, value:GWID (1460) >>> as string >>> [DEBUG] mod_rad_auth.c:413 Handle attribute: NAS-Port-Type >>> [DEBUG] mod_rad_auth.c:439 ... dictionary data: id:61, vendor id:0, attr >>> type:1, attr name:NAS-Port-Type (61) >>> [DEBUG] mod_rad_auth.c:456 ... radius: key:NAS-Port-Type, value:0 (0) as >>> integer >>> [DEBUG] mod_rad_auth.c:491 sending radius packet ... >>> [DEBUG] mod_rad_auth.c:497 RADIUS Authentication OK >>> [DEBUG] mod_rad_auth.c:519 Handle attribute: CREDIT_AMOUNT >>> [DEBUG] mod_rad_auth.c:522 attribute (CREDIT_AMOUNT) found in radius >>> packet >>> [DEBUG] mod_rad_auth.c:523 set variable credit_amount := >>> h323-credit-amount=-600913.47 >>> [DEBUG] mod_rad_auth.c:519 Handle attribute: CURRENCY >>> [DEBUG] mod_rad_auth.c:522 attribute (CURRENCY) found in radius packet >>> [DEBUG] mod_rad_auth.c:523 set variable currency := h323-currency=RUR >>> [DEBUG] mod_rad_auth.c:519 Handle attribute: CREDIT_TIME >>> [DEBUG] mod_rad_auth.c:522 attribute (CREDIT_TIME) found in radius >>> packet >>> [DEBUG] mod_rad_auth.c:523 set variable h323-credit_time := >>> h323-credit-time=86400 >>> [DEBUG] mod_rad_auth.c:519 Handle attribute: PER_MINUTE_PRICE >>> [DEBUG] mod_rad_auth.c:522 attribute (PER_MINUTE_PRICE) found in >>> radius packet >>> [DEBUG] mod_rad_auth.c:523 set variable Cisco-Servicce-Info := 0.000000 >>> [DEBUG] mod_rad_auth.c:519 Handle attribute: RADIUS_RETURN_CODE >>> [DEBUG] mod_rad_auth.c:522 attribute (RADIUS_RETURN_CODE) found in >>> radius packet >>> [DEBUG] mod_rad_auth.c:523 set variable return_code := >>> h323-return-code=0 >>> >>> >>> >>> >>> >>> On Tue, Apr 14, 2015 at 5:28 PM, Gustavo Silva >>> wrote: >>> >>>> >>>> First it says that the the login is OK and after it says that the >>>> login is incorrect. >>>> >>>> Tue Apr 14 17:24:11 2015 : Auth: Login OK: [1008/>>> DIGEST>] (from client localhost port 0 cli 1008) >>>> Tue Apr 14 17:24:11 2015 : Info: rlm_radutmp: Login entry for NAS >>>> localhost port 0 duplicate >>>> Tue Apr 14 17:24:11 2015 : Auth: Login incorrect: [>>> attribute>/] (from client localhost port 0 >>>> cli 1008) >>>> Tue Apr 14 17:24:14 2015 : Error: rlm_radutmp: Logout for NAS localhost >>>> port 0, but no Login record >>>> >>>> >>>> >>>> Sent from my BlackBerry 10 smartphone. >>>> >>>> Original Message >>>> *From: *???????, ??????? / Dmitriy Borisov >>>> *Sent: *???????, 14 ?????? 2015 ?., 17:22 >>>> *To: *FreeSWITCH Users Help >>>> *Reply To: *FreeSWITCH Users Help >>>> *Subject: *Re: [Freeswitch-users] Dialplan authentication >>>> >>>> Hi! >>>> >>>> Configuration looks good there, and what in radius.log on RADIUS >>>> server? >>>> >>>> 2015-04-14 14:01 GMT+03:00 ??????? ????? : >>>> >>>>> I have set up the following in my dialplan: >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> I am facing the following error: >>>>> >>>>> Dialplan: sofia/internal/1008 at ipaddress Regex (PASS) [auth] >>>>> ${radius_auth_result}(0) =~ /^0$/ break=on-false >>>>> Dialplan: sofia/internal/1008 at ipaddress Action radius_auth() INLINE >>>>> EXECUTE sofia/internal/1008 at ipaddress radius_auth() >>>>> 2015-04-14 13:53:42.734956 [ERR] mod_xml_radius.c:1090 mod_xml_radius: >>>>> Failed to authenticate >>>>> >>>>> What should I do to the call authentication work? >>>>> >>>>> Regards, >>>>> Gustavo >>>>> >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>>> >>>> -- >>>> with best regards, >>>> Dmitriy Borisov >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: consulting at freeswitch.orghttp://www.freeswitchsolutions.com >> >> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com >> >> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: consulting at freeswitch.orghttp://www.freeswitchsolutions.com > > Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com > > FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- with best regards, Dmitriy Borisov -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150415/e2a24c3b/attachment-0001.html From silvagustavo at yandex.ru Wed Apr 15 15:55:56 2015 From: silvagustavo at yandex.ru (Gustavo Silva) Date: Wed, 15 Apr 2015 14:55:56 +0300 Subject: [Freeswitch-users] Dialplan authentication In-Reply-To: References: <552CF376.4030403@etherway.ru> <20150414142844.5853254.43096.391@yandex.ru> <20150414185636.5853254.62323.400@yandex.ru> <552E20B5.1070201@etherway.ru> <552E43C4.5070603@etherway.ru> Message-ID: <20150415115556.5853254.20673.413@yandex.ru> An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150415/1a7181b6/attachment-0002.html From silvagustavo at yandex.ru Wed Apr 15 15:55:56 2015 From: silvagustavo at yandex.ru (Gustavo Silva) Date: Wed, 15 Apr 2015 14:55:56 +0300 Subject: [Freeswitch-users] Dialplan authentication In-Reply-To: References: <552CF376.4030403@etherway.ru> <20150414142844.5853254.43096.391@yandex.ru> <20150414185636.5853254.62323.400@yandex.ru> <552E20B5.1070201@etherway.ru> <552E43C4.5070603@etherway.ru> Message-ID: <20150415115556.5853254.20673.413@yandex.ru> An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150415/1a7181b6/attachment-0003.html From gfs at etherway.ru Wed Apr 15 16:17:00 2015 From: gfs at etherway.ru (=?UTF-8?B?0JPRg9GB0YLQsNCy0L4g0KHQuNC70LLQsA==?=) Date: Wed, 15 Apr 2015 15:17:00 +0300 Subject: [Freeswitch-users] Dialplan authentication In-Reply-To: <20150415115556.5853254.20673.413@yandex.ru> References: <552CF376.4030403@etherway.ru> <20150414142844.5853254.43096.391@yandex.ru> <20150414185636.5853254.62323.400@yandex.ru> <552E20B5.1070201@etherway.ru> <552E43C4.5070603@etherway.ru> <20150415115556.5853254.20673.413@yandex.ru> Message-ID: <552E56BC.2010908@etherway.ru> I would like to use this approach: I dont know how I could access the password of the registered user who is making a call, to authenticate (or check billing) with the rad_auth module if I am using xml_radius module. First I had tested only the mod rad_auth as Sergey had mentioned. It had worked. Know I am working together with the xml_radius module. On 15.04.2015 14:55, Gustavo Silva wrote: > So, in dialplan I could access this parameter by ${vm_pass}? > > Sent from my BlackBerry 10 smartphone. > *From: *???????, ??????? / Dmitriy Borisov > *Sent: *?????, 15 ?????? 2015 ?., 14:51 > *To: *FreeSWITCH Users Help > *Reply To: *FreeSWITCH Users Help > *Subject: *Re: [Freeswitch-users] Dialplan authentication > > > Hi! > > If you use rad_auth dialplan command, then after using it you will > have Freeswitch-AVPair channel variable with value vm_pass=1234 > If you use auth_invite or auth_reg, than mod_xml_radius will create > user param with name Freeswitch-AVPair and value vm_pass=1234 in > result directory > > 2015-04-15 13:56 GMT+03:00 ??????? ????? >: > > It works. > > Man, just more one question, how can I get the value of this > variable in my diaplan? I am using mod_xml_radius. > > Freeswitch-AVPair = "vm_pass=1234" > > > > > > > On 15.04.2015 12:08, Sergey Safarov wrote: >> Add strings to dialplan like >> >> > data="TRANSACTIONID=h323-ivr-out=transactionID:1234"/> >> > data="CALLEDNUMBER=${destination_number}"/> >> > data="CALLINGNUMBER=${caller_id_number}"/> >> >> You can try comment this attributs in rad_auth.conf.xml >> >> >> >> On Wed, Apr 15, 2015 at 11:26 AM, ??????? ????? > > wrote: >> >> Sergey, do you know why I am getting these variables undefined? >> >> [ERR] mod_rad_auth.c:178 Undefined channel variable: GWID. >> [ERR] mod_rad_auth.c:178 Undefined channel variable: >> TRANSACTIONID. >> [ERR] mod_rad_auth.c:178 Undefined channel variable: >> CALLEDNUMBER. >> [ERR] mod_rad_auth.c:178 Undefined channel variable: >> CALLINGNUMBER. >> >> >> >> >> On 14.04.2015 22:34, Sergey Safarov wrote: >>> In provided example password stored in directory. >>> Directory can be in mod_xml_radius >>> (https://freeswitch.org/confluence/display/FREESWITCH/mod_xml_radius) >>> or other dynamically generated directory. >>> >>> >>> On Tue, Apr 14, 2015 at 9:56 PM, Gustavo Silva >>> > wrote: >>> >>> Hi Sergey, >>> >>> Tks for the help but there is a catch in this solution. >>> I will be still having ?the password and user name in >>> freeswitch server. >>> >>> I would like that the radius server handles it. >>> >>> Is there a way with the rad_auth module where I wouldn't >>> need to set up password in diaplan file? All the >>> authentication should be done with the radius server. >>> >>> I say that because, for example: I have 200 users, with >>> diferentes passwords configured in the radius server. >>> So, by this solution with rad_auth module, I should also >>> have 200 different password in the diaplan >>> configuration, right? >>> >>> Regards, >>> Gustavo >>> >>> Sent from my BlackBerry 10 smartphone. >>> *From: *Sergey Safarov >>> *Sent: *???????, 14 ?????? 2015 ?., 21:16 >>> *To: *FreeSWITCH Users Help >>> *Reply To: *FreeSWITCH Users Help >>> *Subject: *Re: [Freeswitch-users] Dialplan authentication >>> >>> >>> This can help you >>> >>> [root at fs1 autoload_configs]# cat rad_auth.conf.xml >>> >>> >>> >>> >>> >>> >>> >>> >>> >> value="/etc/radiusclient/dictionary.all"/> >>> >>> >> value="/etc/radiusclient/port-id-map"/> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >> pec="9" expr="1" direction="in"/> >>> >> expr="1" direction="in"/> >>> >> value="TRANSACTIONID" pec="9" expr="1" direction="in"/> >>> >> value="CALLEDNUMBER" pec="0" expr="1" direction="in"/> >>> >> value="CALLINGNUMBER" pec="0" expr="1" direction="in"/>--> >>> >> expr="0" direction="in"/> >>> >> expr="0" direction="in"/> --> >>> >>> >>> >> value="credit_amount" pec="9" expr="0" direction="out"/> >>> >> pec="9" expr="0" direction="out"/> >>> >> value="h323-credit_time" pec="9" expr="0" direction="out"/> >>> >> value="Cisco-Servicce-Info" pec="9" expr="0" >>> direction="out"/> >>> >> value="preffered_lang" pec="9" expr="0" direction="out"/> >>> >> value="h323_ivr_duration" pec="9" expr="0" >>> direction="out"/> --> >>> >> value="return_code" pec="9" expr="0" direction="out"/> >>> >>> >>> >>> [root at fs1 autoload_configs]# >>> >>> Dialplan fragment >>> >>> >>> >>> >>> >> expression="^\+(\d+)$"> >>> >> data="h323-gw-id=${accountcode_bleg}"/> >>> >>> >>> >> data="CALLID=h323-conf-id=${uuid}"/> >>> >> data="GWID=${accountcode_bleg}"/> >>> >> data="USERNAME=login at operator.ru >>> "/> >>> >> data="PASSWD=xxxxxxxx"/> >>> >> data="DIALED_NUMBER=$1"/> >>> >>> >>> >>> >>> Log fragment >>> Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru >>> parsing >>> [mr24.gateways.rcsnet.ru->operator-rad-auth] continue=true >>> Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru >>> Regex >>> (PASS) [operator-rad-auth] ${accountcode}(8) =~ /^8$/ >>> match=any >>> Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru >>> Regex >>> (PASS) [operator-rad-auth] >>> ${destination_number}(+749593377xx) =~ /^\+(\d+)$/ >>> break=on-false >>> Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru >>> Action >>> export(h323-gw-id=${accountcode_bleg}) >>> Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru >>> Action >>> unset(disable_radius_start) >>> Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru >>> Action >>> unset(disable_radius_stop) >>> Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru >>> Action >>> set(CALLID=h323-conf-id=${uuid}) INLINE >>> EXECUTE sofia/mr24/0000079639652834 at gateways.rcsnet.ru >>> >>> set(CALLID=h323-conf-id=bd091212-e2b0-11e4-98e2-d102deb9a97d) >>> 2015-04-14 14:15:43.446357 [DEBUG] mod_dptools.c:1435 >>> sofia/mr24/00000796396528xx at gateways.operator.ru >>> SET >>> [CALLID]=[h323-conf-id=bd091212-e2b0-11e4-98e2-d102deb9a97d] >>> Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru >>> Action >>> set(GWID=${accountcode_bleg}) INLINE >>> EXECUTE sofia/mr24/0000079639652834 at gateways.rcsnet.ru >>> set(GWID=1460) >>> 2015-04-14 14:15:43.446357 [DEBUG] mod_dptools.c:1435 >>> sofia/mr24/00000796396528xx at gateways.rcsnet.ru >>> SET >>> [GWID]=[1460] >>> Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru >>> Action >>> set(USERNAME=login at operator.ru >>> ) INLINE >>> EXECUTE sofia/mr24/0000079639652834 at gateways.rcsnet.ru >>> >>> set(USERNAME=login at operator.ru ) >>> 2015-04-14 14:15:43.446357 [DEBUG] mod_dptools.c:1435 >>> sofia/mr24/0000079639652834 at gateways.rcsnet.ru >>> SET >>> [USERNAME]=[login at operator.ru ] >>> Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru >>> Action >>> set(PASSWD=xxxxxxxx) INLINE >>> EXECUTE sofia/mr24/0000079639652834 at gateways.rcsnet.ru >>> >>> set(PASSWD=xxxxxxxx) >>> 2015-04-14 14:15:43.446357 [DEBUG] mod_dptools.c:1435 >>> sofia/mr24/00000796396528xx at gateways.operator.ru >>> SET >>> [PASSWD]=[xxxxxxxxxxx] >>> Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru >>> Action >>> set(DIALED_NUMBER=749593377xx) INLINE >>> EXECUTE sofia/mr24/0000079639652834 at gateways.rcsnet.ru >>> >>> set(DIALED_NUMBER=749593377xx) >>> 2015-04-14 14:15:43.446357 [DEBUG] mod_dptools.c:1435 >>> sofia/mr24/00000796396528xx at gateways.rcsnet.ru >>> SET >>> [DIALED_NUMBER]=[749593377xx] >>> sofia/mr24/0000079639652834 at gateways.rcsnet.ru >>> Action >>> auth_function(in ${DIALED_NUMBER}, in ${USERNAME}, in >>> ${PASSWD}, out AUTH_RESULT) >>> .......... >>> >>> bd091212-e2b0-11e4-98e2-d102deb9a97d EXECUTE >>> sofia/mr24/00000796396528xx at gateways.operator.ru >>> >>> auth_function(in 74959337786, in login at operator.ru >>> , in xxxxxxxxxxxx, out >>> AUTH_RESULT) >>> [DEBUG] mod_rad_auth.c:301 allocate initial structure. >>> [DEBUG] mod_rad_auth.c:313 initialzed configuration. >>> [DEBUG] mod_rad_auth.c:318 set authserver := >>> 10.40.0.5:1814:xxxxxxxx. >>> [DEBUG] mod_rad_auth.c:318 set dictionary := >>> /etc/radiusclient/dictionary.all. >>> [DEBUG] mod_rad_auth.c:318 set seqfile := >>> /var/run/radius.seq. >>> [DEBUG] mod_rad_auth.c:318 set mapfile := >>> /etc/radiusclient/port-id-map. >>> [DEBUG] mod_rad_auth.c:318 set default_realm := . >>> [DEBUG] mod_rad_auth.c:318 set radius_timeout := 1. >>> [DEBUG] mod_rad_auth.c:318 set radius_retries := 0. >>> [DEBUG] mod_rad_auth.c:318 set radius_deadtime := 0. >>> [DEBUG] mod_rad_auth.c:318 set bindaddr := *. >>> [DEBUG] mod_rad_auth.c:371 ... radius: User-Name: >>> login at operator.ru >>> [DEBUG] mod_rad_auth.c:380 ... radius: User-Password: >>> xxxxxxxxxxxxxxxxxx >>> DEBUG] mod_rad_auth.c:396 ... radius: Called-station-Id: >>> 74959337786 >>> [DEBUG] mod_rad_auth.c:413 Handle attribute: h323-conf-id >>> [DEBUG] mod_rad_auth.c:439 ... dictionary data: id:24, >>> vendor id:9, attr type:0, attr name:h323-conf-id (589848) >>> [DEBUG] mod_rad_auth.c:444 ... radius: key:h323-conf-id, >>> value:CALLID >>> (h323-conf-id=bd091212-e2b0-11e4-98e2-d102deb9a97d) as >>> string >>> [DEBUG] mod_rad_auth.c:413 Handle attribute: h323-gw-id >>> [DEBUG] mod_rad_auth.c:439 ... dictionary data: id:33, >>> vendor id:9, attr type:0, attr name:h323-gw-id (589857) >>> [DEBUG] mod_rad_auth.c:444 ... radius: key:h323-gw-id, >>> value:GWID (1460) as string >>> [DEBUG] mod_rad_auth.c:413 Handle attribute: NAS-Port-Type >>> [DEBUG] mod_rad_auth.c:439 ... dictionary data: id:61, >>> vendor id:0, attr type:1, attr name:NAS-Port-Type (61) >>> [DEBUG] mod_rad_auth.c:456 ... radius: >>> key:NAS-Port-Type, value:0 (0) as integer >>> [DEBUG] mod_rad_auth.c:491 sending radius packet ... >>> [DEBUG] mod_rad_auth.c:497 RADIUS Authentication OK >>> [DEBUG] mod_rad_auth.c:519 Handle attribute: CREDIT_AMOUNT >>> [DEBUG] mod_rad_auth.c:522 attribute (CREDIT_AMOUNT) >>> found in radius packet >>> [DEBUG] mod_rad_auth.c:523 set variable credit_amount >>> := h323-credit-amount=-600913.47 >>> [DEBUG] mod_rad_auth.c:519 Handle attribute: CURRENCY >>> [DEBUG] mod_rad_auth.c:522 attribute (CURRENCY) found >>> in radius packet >>> [DEBUG] mod_rad_auth.c:523 set variable currency := >>> h323-currency=RUR >>> [DEBUG] mod_rad_auth.c:519 Handle attribute: CREDIT_TIME >>> [DEBUG] mod_rad_auth.c:522 attribute (CREDIT_TIME) >>> found in radius packet >>> [DEBUG] mod_rad_auth.c:523 set variable >>> h323-credit_time := h323-credit-time=86400 >>> [DEBUG] mod_rad_auth.c:519 Handle attribute: >>> PER_MINUTE_PRICE >>> [DEBUG] mod_rad_auth.c:522 attribute >>> (PER_MINUTE_PRICE) found in radius packet >>> [DEBUG] mod_rad_auth.c:523 set variable >>> Cisco-Servicce-Info := 0.000000 >>> [DEBUG] mod_rad_auth.c:519 Handle attribute: >>> RADIUS_RETURN_CODE >>> [DEBUG] mod_rad_auth.c:522 attribute >>> (RADIUS_RETURN_CODE) found in radius packet >>> [DEBUG] mod_rad_auth.c:523 set variable return_code := >>> h323-return-code=0 >>> >>> >>> >>> >>> >>> On Tue, Apr 14, 2015 at 5:28 PM, Gustavo Silva >>> > >>> wrote: >>> >>> >>> First it says that the the login is OK and after it >>> says that the login is incorrect. >>> >>> Tue Apr 14 17:24:11 2015 : Auth: Login OK: >>> [1008/>> DIGEST>] (from client localhost port 0 cli 1008) >>> Tue Apr 14 17:24:11 2015 : Info: rlm_radutmp: Login >>> entry for NAS >>> localhost port 0 duplicate >>> Tue Apr 14 17:24:11 2015 : Auth: Login incorrect: >>> [>> attribute>/] (from >>> client localhost port 0 >>> cli 1008) >>> Tue Apr 14 17:24:14 2015 : Error: rlm_radutmp: >>> Logout for NAS localhost >>> port 0, but no Login record >>> >>> >>> >>> Sent from my BlackBerry 10 smartphone. >>> >>> Original Message >>> >>> *From: *???????, ??????? / Dmitriy Borisov >>> *Sent: *???????, 14 ?????? 2015 ?., 17:22 >>> *To: *FreeSWITCH Users Help >>> *Reply To: *FreeSWITCH Users Help >>> *Subject: *Re: [Freeswitch-users] Dialplan >>> authentication >>> >>> >>> Hi! >>> >>> Configuration looks good there, and what in >>> radius.log on RADIUS server? >>> >>> 2015-04-14 14:01 GMT+03:00 ??????? ????? >>> >: >>> >>> I have set up the following in my dialplan: >>> >>> >>> >> expression="^0$"> >>> >>> >>> >>> >>> I am facing the following error: >>> >>> Dialplan: sofia/internal/1008 at ipaddress Regex >>> (PASS) [auth] >>> ${radius_auth_result}(0) =~ /^0$/ break=on-false >>> Dialplan: sofia/internal/1008 at ipaddress Action >>> radius_auth() INLINE >>> EXECUTE sofia/internal/1008 at ipaddress radius_auth() >>> 2015-04-14 13:53:42.734956 [ERR] >>> mod_xml_radius.c:1090 mod_xml_radius: >>> Failed to authenticate >>> >>> What should I do to the call authentication work? >>> >>> Regards, >>> Gustavo >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >>> >>> >>> >>> -- >>> with best regards, >>> Dmitriy Borisov >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > > -- > with best regards, > Dmitriy Borisov > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150415/02bef0d4/attachment-0001.html From paul.atreides83 at googlemail.com Wed Apr 15 16:45:14 2015 From: paul.atreides83 at googlemail.com (Paul Atreides) Date: Wed, 15 Apr 2015 14:45:14 +0200 Subject: [Freeswitch-users] voicemail_inject - INVALID COMMAND In-Reply-To: References: Message-ID: Ouch ... thanks guys. I didn't see that. On Tue, Apr 14, 2015 at 2:46 PM, Steven Ayre wrote: > Your problem is that you're giving the wrong parameters to api:execute. It > takes the API to execute then the parameters, not as a single string. > > As a result it's looking for a command named "voicemail_inject $apicall" > not "voicemail_inject", hence the command is unknown. > > result = api:execute("voicemail_inject " .. apicall); > should be > result = api:execute("voicemail_inject", apicall); > > Alternatively you could use api:executeString > > > > On 13 April 2015 at 10:19, Paul Atreides > wrote: > >> Hi Steven, >> >> is says that it is already loaded. The other voicemail api functions are >> working. >> >> On Mon, Apr 13, 2015 at 9:55 AM, Steven Ayre wrote: >> >>> Have you loaded mod_voicemail? Were there any errors when doing so? >>> >>> If in doubt try 'load mod_voicemail' - it'll either try to load it or >>> tell you it's already loaded. >>> >>> On 11 April 2015 at 16:43, Paul Atreides >> > wrote: >>> >>>> Hi, >>>> >>>> What am I doing wrong? >>>> >>>> apicall = 10 at 192.168.176.6 >>>> /usr/local/freeswitch/storage/voicemail/default/ >>>> 192.168.176.6/10/msg_19e18faf-5951-4743-a6a5-ce3a5535c80d.wav >>>> >>>> result = api:execute("voicemail_inject " .. apicall); >>>> >>>> The result is INVALID COMMAND. >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150415/0f456b90/attachment.html From s.safarov at gmail.com Wed Apr 15 19:12:31 2015 From: s.safarov at gmail.com (Sergey Safarov) Date: Wed, 15 Apr 2015 18:12:31 +0300 Subject: [Freeswitch-users] Dialplan authentication In-Reply-To: <552E56BC.2010908@etherway.ru> References: <552CF376.4030403@etherway.ru> <20150414142844.5853254.43096.391@yandex.ru> <20150414185636.5853254.62323.400@yandex.ru> <552E20B5.1070201@etherway.ru> <552E43C4.5070603@etherway.ru> <20150415115556.5853254.20673.413@yandex.ru> <552E56BC.2010908@etherway.ru> Message-ID: If you see mod_xml_radius.c string 667, then you can find that FS create variables from RADIUS server responce. Try return from RADIUS server vendor spectific attribute (VSA) with password value. Then call "info" application from dialplan and locate password value in variables. Sergey On Wed, Apr 15, 2015 at 3:17 PM, ??????? ????? wrote: > I would like to use this approach: > data="PASSWD=${user_data(${caller_id_number}@${sip_from_host} param > password)}"/> > > I dont know how I could access the password of the registered user who is > making a call, to authenticate (or check billing) with the rad_auth module > if I am using xml_radius module. > > First I had tested only the mod rad_auth as Sergey had mentioned. It had > worked. Know I am working together with the xml_radius module. > > On 15.04.2015 14:55, Gustavo Silva wrote: > > So, in dialplan I could access this parameter by ${vm_pass}? > > Sent from my BlackBerry 10 smartphone. > *From: *???????, ??????? / Dmitriy Borisov > *Sent: *?????, 15 ?????? 2015 ?., 14:51 > *To: *FreeSWITCH Users Help > *Reply To: *FreeSWITCH Users Help > *Subject: *Re: [Freeswitch-users] Dialplan authentication > > Hi! > > If you use rad_auth dialplan command, then after using it you will have > Freeswitch-AVPair channel variable with value vm_pass=1234 > If you use auth_invite or auth_reg, than mod_xml_radius will create user > param with name Freeswitch-AVPair and value vm_pass=1234 in result > directory > > 2015-04-15 13:56 GMT+03:00 ??????? ????? : > >> It works. >> >> Man, just more one question, how can I get the value of this variable in >> my diaplan? I am using mod_xml_radius. >> >> Freeswitch-AVPair = "vm_pass=1234" >> >> >> >> >> >> >> On 15.04.2015 12:08, Sergey Safarov wrote: >> >> Add strings to dialplan like >> >> > data="TRANSACTIONID=h323-ivr-out=transactionID:1234"/> >> > data="CALLEDNUMBER=${destination_number}"/> >> > data="CALLINGNUMBER=${caller_id_number}"/> >> >> You can try comment this attributs in rad_auth.conf.xml >> >> >> >> On Wed, Apr 15, 2015 at 11:26 AM, ??????? ????? wrote: >> >>> Sergey, do you know why I am getting these variables undefined? >>> >>> [ERR] mod_rad_auth.c:178 Undefined channel variable: GWID. >>> [ERR] mod_rad_auth.c:178 Undefined channel variable: TRANSACTIONID. >>> [ERR] mod_rad_auth.c:178 Undefined channel variable: CALLEDNUMBER. >>> [ERR] mod_rad_auth.c:178 Undefined channel variable: CALLINGNUMBER. >>> >>> >>> >>> >>> On 14.04.2015 22:34, Sergey Safarov wrote: >>> >>> In provided example password stored in directory. >>> Directory can be in mod_xml_radius ( >>> https://freeswitch.org/confluence/display/FREESWITCH/mod_xml_radius) or >>> other dynamically generated directory. >>> >>> >>> On Tue, Apr 14, 2015 at 9:56 PM, Gustavo Silva >>> wrote: >>> >>>> Hi Sergey, >>>> >>>> Tks for the help but there is a catch in this solution. I will be >>>> still having ?the password and user name in freeswitch server. >>>> >>>> I would like that the radius server handles it. >>>> >>>> Is there a way with the rad_auth module where I wouldn't need to set >>>> up password in diaplan file? All the authentication should be done with the >>>> radius server. >>>> >>>> I say that because, for example: I have 200 users, with diferentes >>>> passwords configured in the radius server. So, by this solution with >>>> rad_auth module, I should also have 200 different password in the diaplan >>>> configuration, right? >>>> >>>> Regards, >>>> Gustavo >>>> >>>> Sent from my BlackBerry 10 smartphone. >>>> *From: *Sergey Safarov >>>> *Sent: *???????, 14 ?????? 2015 ?., 21:16 >>>> *To: *FreeSWITCH Users Help >>>> *Reply To: *FreeSWITCH Users Help >>>> *Subject: *Re: [Freeswitch-users] Dialplan authentication >>>> >>>> This can help you >>>> >>>> [root at fs1 autoload_configs]# cat rad_auth.conf.xml >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>> direction="in"/> >>>> >>> direction="in"/> >>>> >>> expr="1" direction="in"/> >>>> >>> pec="0" expr="1" direction="in"/> >>>> >>> pec="0" expr="1" direction="in"/>--> >>>> >>> direction="in"/> >>>> >>> direction="in"/> --> >>>> >>>> >>>> >>> expr="0" direction="out"/> >>>> >>> direction="out"/> >>>> >>> expr="0" direction="out"/> >>>> >>> pec="9" expr="0" direction="out"/> >>>> >>> expr="0" direction="out"/> >>>> >>> value="h323_ivr_duration" pec="9" expr="0" direction="out"/> --> >>>> >>> pec="9" expr="0" direction="out"/> >>>> >>>> >>>> >>>> [root at fs1 autoload_configs]# >>>> >>>> Dialplan fragment >>>> >>>> >>>> >>>> >>>> >>> expression="^\+(\d+)$"> >>>> >>> data="h323-gw-id=${accountcode_bleg}"/> >>>> >>>> >>>> >>> data="CALLID=h323-conf-id=${uuid}"/> >>>> >>> data="GWID=${accountcode_bleg}"/> >>>> >>>> >>> data="PASSWD=xxxxxxxx"/> >>>> >>> data="DIALED_NUMBER=$1"/> >>>> >>>> >>>> >>>> >>>> Log fragment >>>> Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru parsing >>>> [mr24.gateways.rcsnet.ru->operator-rad-auth] continue=true >>>> Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru Regex (PASS) >>>> [operator-rad-auth] ${accountcode}(8) =~ /^8$/ match=any >>>> Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru Regex (PASS) >>>> [operator-rad-auth] ${destination_number}(+749593377xx) =~ /^\+(\d+)$/ >>>> break=on-false >>>> Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru Action >>>> export(h323-gw-id=${accountcode_bleg}) >>>> Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru Action >>>> unset(disable_radius_start) >>>> Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru Action >>>> unset(disable_radius_stop) >>>> Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru Action >>>> set(CALLID=h323-conf-id=${uuid}) INLINE >>>> EXECUTE sofia/mr24/0000079639652834 at gateways.rcsnet.ru >>>> set(CALLID=h323-conf-id=bd091212-e2b0-11e4-98e2-d102deb9a97d) >>>> 2015-04-14 14:15:43.446357 [DEBUG] mod_dptools.c:1435 sofia/mr24/ >>>> 00000796396528xx at gateways.operator.ru SET >>>> [CALLID]=[h323-conf-id=bd091212-e2b0-11e4-98e2-d102deb9a97d] >>>> Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru Action >>>> set(GWID=${accountcode_bleg}) INLINE >>>> EXECUTE sofia/mr24/0000079639652834 at gateways.rcsnet.ru set(GWID=1460) >>>> 2015-04-14 14:15:43.446357 [DEBUG] mod_dptools.c:1435 sofia/mr24/ >>>> 00000796396528xx at gateways.rcsnet.ru SET [GWID]=[1460] >>>> Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru Action >>>> set(USERNAME=login at operator.ru) INLINE >>>> EXECUTE sofia/mr24/0000079639652834 at gateways.rcsnet.ru set(USERNAME= >>>> login at operator.ru) >>>> 2015-04-14 14:15:43.446357 [DEBUG] mod_dptools.c:1435 sofia/mr24/ >>>> 0000079639652834 at gateways.rcsnet.ru SET [USERNAME]=[login at operator.ru] >>>> Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru Action >>>> set(PASSWD=xxxxxxxx) INLINE >>>> EXECUTE sofia/mr24/0000079639652834 at gateways.rcsnet.ru >>>> set(PASSWD=xxxxxxxx) >>>> 2015-04-14 14:15:43.446357 [DEBUG] mod_dptools.c:1435 sofia/mr24/ >>>> 00000796396528xx at gateways.operator.ru SET [PASSWD]=[xxxxxxxxxxx] >>>> Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru Action >>>> set(DIALED_NUMBER=749593377xx) INLINE >>>> EXECUTE sofia/mr24/0000079639652834 at gateways.rcsnet.ru >>>> set(DIALED_NUMBER=749593377xx) >>>> 2015-04-14 14:15:43.446357 [DEBUG] mod_dptools.c:1435 sofia/mr24/ >>>> 00000796396528xx at gateways.rcsnet.ru SET [DIALED_NUMBER]=[749593377xx] >>>> sofia/mr24/0000079639652834 at gateways.rcsnet.ru Action auth_function(in >>>> ${DIALED_NUMBER}, in ${USERNAME}, in ${PASSWD}, out AUTH_RESULT) >>>> .......... >>>> >>>> bd091212-e2b0-11e4-98e2-d102deb9a97d EXECUTE sofia/mr24/ >>>> 00000796396528xx at gateways.operator.ru auth_function(in 74959337786, in >>>> login at operator.ru, in xxxxxxxxxxxx, out AUTH_RESULT) >>>> [DEBUG] mod_rad_auth.c:301 allocate initial structure. >>>> [DEBUG] mod_rad_auth.c:313 initialzed configuration. >>>> [DEBUG] mod_rad_auth.c:318 set authserver := 10.40.0.5:1814:xxxxxxxx. >>>> [DEBUG] mod_rad_auth.c:318 set dictionary := >>>> /etc/radiusclient/dictionary.all. >>>> [DEBUG] mod_rad_auth.c:318 set seqfile := /var/run/radius.seq. >>>> [DEBUG] mod_rad_auth.c:318 set mapfile := /etc/radiusclient/port-id-map. >>>> [DEBUG] mod_rad_auth.c:318 set default_realm := . >>>> [DEBUG] mod_rad_auth.c:318 set radius_timeout := 1. >>>> [DEBUG] mod_rad_auth.c:318 set radius_retries := 0. >>>> [DEBUG] mod_rad_auth.c:318 set radius_deadtime := 0. >>>> [DEBUG] mod_rad_auth.c:318 set bindaddr := *. >>>> [DEBUG] mod_rad_auth.c:371 ... radius: User-Name: login at operator.ru >>>> [DEBUG] mod_rad_auth.c:380 ... radius: User-Password: xxxxxxxxxxxxxxxxxx >>>> DEBUG] mod_rad_auth.c:396 ... radius: Called-station-Id: 74959337786 >>>> [DEBUG] mod_rad_auth.c:413 Handle attribute: h323-conf-id >>>> [DEBUG] mod_rad_auth.c:439 ... dictionary data: id:24, vendor id:9, >>>> attr type:0, attr name:h323-conf-id (589848) >>>> [DEBUG] mod_rad_auth.c:444 ... radius: key:h323-conf-id, value:CALLID >>>> (h323-conf-id=bd091212-e2b0-11e4-98e2-d102deb9a97d) as string >>>> [DEBUG] mod_rad_auth.c:413 Handle attribute: h323-gw-id >>>> [DEBUG] mod_rad_auth.c:439 ... dictionary data: id:33, vendor id:9, >>>> attr type:0, attr name:h323-gw-id (589857) >>>> [DEBUG] mod_rad_auth.c:444 ... radius: key:h323-gw-id, value:GWID >>>> (1460) as string >>>> [DEBUG] mod_rad_auth.c:413 Handle attribute: NAS-Port-Type >>>> [DEBUG] mod_rad_auth.c:439 ... dictionary data: id:61, vendor id:0, >>>> attr type:1, attr name:NAS-Port-Type (61) >>>> [DEBUG] mod_rad_auth.c:456 ... radius: key:NAS-Port-Type, value:0 (0) >>>> as integer >>>> [DEBUG] mod_rad_auth.c:491 sending radius packet ... >>>> [DEBUG] mod_rad_auth.c:497 RADIUS Authentication OK >>>> [DEBUG] mod_rad_auth.c:519 Handle attribute: CREDIT_AMOUNT >>>> [DEBUG] mod_rad_auth.c:522 attribute (CREDIT_AMOUNT) found in radius >>>> packet >>>> [DEBUG] mod_rad_auth.c:523 set variable credit_amount := >>>> h323-credit-amount=-600913.47 >>>> [DEBUG] mod_rad_auth.c:519 Handle attribute: CURRENCY >>>> [DEBUG] mod_rad_auth.c:522 attribute (CURRENCY) found in radius packet >>>> [DEBUG] mod_rad_auth.c:523 set variable currency := h323-currency=RUR >>>> [DEBUG] mod_rad_auth.c:519 Handle attribute: CREDIT_TIME >>>> [DEBUG] mod_rad_auth.c:522 attribute (CREDIT_TIME) found in radius >>>> packet >>>> [DEBUG] mod_rad_auth.c:523 set variable h323-credit_time := >>>> h323-credit-time=86400 >>>> [DEBUG] mod_rad_auth.c:519 Handle attribute: PER_MINUTE_PRICE >>>> [DEBUG] mod_rad_auth.c:522 attribute (PER_MINUTE_PRICE) found in >>>> radius packet >>>> [DEBUG] mod_rad_auth.c:523 set variable Cisco-Servicce-Info := >>>> 0.000000 >>>> [DEBUG] mod_rad_auth.c:519 Handle attribute: RADIUS_RETURN_CODE >>>> [DEBUG] mod_rad_auth.c:522 attribute (RADIUS_RETURN_CODE) found in >>>> radius packet >>>> [DEBUG] mod_rad_auth.c:523 set variable return_code := >>>> h323-return-code=0 >>>> >>>> >>>> >>>> >>>> >>>> On Tue, Apr 14, 2015 at 5:28 PM, Gustavo Silva >>>> wrote: >>>> >>>>> >>>>> First it says that the the login is OK and after it says that the >>>>> login is incorrect. >>>>> >>>>> Tue Apr 14 17:24:11 2015 : Auth: Login OK: [1008/>>>> DIGEST>] (from client localhost port 0 cli 1008) >>>>> Tue Apr 14 17:24:11 2015 : Info: rlm_radutmp: Login entry for NAS >>>>> localhost port 0 duplicate >>>>> Tue Apr 14 17:24:11 2015 : Auth: Login incorrect: [>>>> attribute>/] (from client localhost port 0 >>>>> cli 1008) >>>>> Tue Apr 14 17:24:14 2015 : Error: rlm_radutmp: Logout for NAS >>>>> localhost >>>>> port 0, but no Login record >>>>> >>>>> >>>>> >>>>> Sent from my BlackBerry 10 smartphone. >>>>> >>>>> Original Message >>>>> *From: *???????, ??????? / Dmitriy Borisov >>>>> *Sent: *???????, 14 ?????? 2015 ?., 17:22 >>>>> *To: *FreeSWITCH Users Help >>>>> *Reply To: *FreeSWITCH Users Help >>>>> *Subject: *Re: [Freeswitch-users] Dialplan authentication >>>>> >>>>> Hi! >>>>> >>>>> Configuration looks good there, and what in radius.log on RADIUS >>>>> server? >>>>> >>>>> 2015-04-14 14:01 GMT+03:00 ??????? ????? : >>>>> >>>>>> I have set up the following in my dialplan: >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> I am facing the following error: >>>>>> >>>>>> Dialplan: sofia/internal/1008 at ipaddress Regex (PASS) [auth] >>>>>> ${radius_auth_result}(0) =~ /^0$/ break=on-false >>>>>> Dialplan: sofia/internal/1008 at ipaddress Action radius_auth() INLINE >>>>>> EXECUTE sofia/internal/1008 at ipaddress radius_auth() >>>>>> 2015-04-14 13:53:42.734956 [ERR] mod_xml_radius.c:1090 mod_xml_radius: >>>>>> Failed to authenticate >>>>>> >>>>>> What should I do to the call authentication work? >>>>>> >>>>>> Regards, >>>>>> Gustavo >>>>>> >>>>>> >>>>>> >>>>>> _________________________________________________________________________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at freeswitch.org >>>>>> http://www.freeswitchsolutions.com >>>>>> >>>>>> Official FreeSWITCH Sites >>>>>> http://www.freeswitch.org >>>>>> http://confluence.freeswitch.org >>>>>> http://www.cluecon.com >>>>>> >>>>>> FreeSWITCH-users mailing list >>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE: >>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> with best regards, >>>>> Dmitriy Borisov >>>>> >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: consulting at freeswitch.orghttp://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com >>> >>> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org >>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: consulting at freeswitch.orghttp://www.freeswitchsolutions.com >> >> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com >> >> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > with best regards, > Dmitriy Borisov > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: consulting at freeswitch.orghttp://www.freeswitchsolutions.com > > Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com > > FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150415/148ba349/attachment-0001.html From aronp at guaranteedplus.com Wed Apr 15 20:35:17 2015 From: aronp at guaranteedplus.com (Podrigal, Aron) Date: Wed, 15 Apr 2015 12:35:17 -0400 Subject: [Freeswitch-users] start_dtmf_generate and bind_digit_action Message-ID: I have noticed that if I use start_dtmf_generate on the channel, bind_digit_action doesn't bind. Is this by design? Aron -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150415/20e44bc9/attachment.html From aronp at guaranteedplus.com Wed Apr 15 20:41:13 2015 From: aronp at guaranteedplus.com (Podrigal, Aron) Date: Wed, 15 Apr 2015 12:41:13 -0400 Subject: [Freeswitch-users] pcapsipdump Message-ID: Hi, I'm running pcapsipdump on fs server and I notice that I'm missing captures for lots of calls. I suspect it might be that the kernel processes the packets on another interface that I'm capturing on (weak_host_model). any other thoughts? Aron -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150415/26a3cd3b/attachment.html From cmrienzo at gmail.com Wed Apr 15 21:05:08 2015 From: cmrienzo at gmail.com (Christopher Rienzo) Date: Wed, 15 Apr 2015 13:05:08 -0400 Subject: [Freeswitch-users] start_dtmf_generate and bind_digit_action In-Reply-To: References: Message-ID: The dtmf generator will eat the digit. See switch_ivr_async.c: 3002 - it's not hard to work around that or maybe add a channel variable to override this behavior. On Wed, Apr 15, 2015 at 12:35 PM, Podrigal, Aron wrote: > I have noticed that if I use start_dtmf_generate on the channel, > bind_digit_action doesn't bind. Is this by design? > > > Aron > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150415/93eef377/attachment.html From brian at freeswitch.org Wed Apr 15 21:07:39 2015 From: brian at freeswitch.org (Brian West) Date: Wed, 15 Apr 2015 12:07:39 -0500 Subject: [Freeswitch-users] pcapsipdump In-Reply-To: References: Message-ID: nope, it can't catch everything, especially when transfers are involved. On Wed, Apr 15, 2015 at 11:41 AM, Podrigal, Aron wrote: > Hi, > > I'm running pcapsipdump on fs server and I notice that I'm missing > captures for lots of calls. I suspect it might be that the kernel processes > the packets on another interface that I'm capturing on (weak_host_model). > any other thoughts? > > Aron > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com ClueCon 2015 Call for Speakers | Register TODAY! | Reddit: /r/freeswitch *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150415/77144e1d/attachment.html From cmrienzo at gmail.com Wed Apr 15 21:13:54 2015 From: cmrienzo at gmail.com (Christopher Rienzo) Date: Wed, 15 Apr 2015 13:13:54 -0400 Subject: [Freeswitch-users] pcapsipdump In-Reply-To: References: Message-ID: pcapsipdump is single-threaded (which is not necessarily bad), and has inefficient algorithms for mapping calls to files and for recycling elements in its call table. On Wed, Apr 15, 2015 at 12:41 PM, Podrigal, Aron wrote: > Hi, > > I'm running pcapsipdump on fs server and I notice that I'm missing > captures for lots of calls. I suspect it might be that the kernel processes > the packets on another interface that I'm capturing on (weak_host_model). > any other thoughts? > > Aron > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150415/e8c21e93/attachment.html From ssinyagin at gmail.com Wed Apr 15 22:27:15 2015 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Wed, 15 Apr 2015 20:27:15 +0200 Subject: [Freeswitch-users] pcapsipdump In-Reply-To: References: Message-ID: try sngrep, it's available at github. Also it makes sense to capture the packets with tcpdump, and analyze afterwards in low priority. On Wed, Apr 15, 2015 at 7:13 PM, Christopher Rienzo wrote: > pcapsipdump is single-threaded (which is not necessarily bad), and has > inefficient algorithms for mapping calls to files and for recycling elements > in its call table. > > On Wed, Apr 15, 2015 at 12:41 PM, Podrigal, Aron > wrote: >> >> Hi, >> >> I'm running pcapsipdump on fs server and I notice that I'm missing >> captures for lots of calls. I suspect it might be that the kernel processes >> the packets on another interface that I'm capturing on (weak_host_model). >> any other thoughts? >> >> Aron >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org From aronp at guaranteedplus.com Wed Apr 15 22:32:48 2015 From: aronp at guaranteedplus.com (Podrigal, Aron) Date: Wed, 15 Apr 2015 14:32:48 -0400 Subject: [Freeswitch-users] pcapsipdump In-Reply-To: References: Message-ID: Thanks On Wed, Apr 15, 2015 at 2:27 PM, Stanislav Sinyagin wrote: > try sngrep, it's available at github. Also it makes sense to capture > the packets with tcpdump, and analyze afterwards in low priority. > > > > On Wed, Apr 15, 2015 at 7:13 PM, Christopher Rienzo > wrote: > > pcapsipdump is single-threaded (which is not necessarily bad), and has > > inefficient algorithms for mapping calls to files and for recycling > elements > > in its call table. > > > > On Wed, Apr 15, 2015 at 12:41 PM, Podrigal, Aron < > aronp at guaranteedplus.com> > > wrote: > >> > >> Hi, > >> > >> I'm running pcapsipdump on fs server and I notice that I'm missing > >> captures for lots of calls. I suspect it might be that the kernel > processes > >> the packets on another interface that I'm capturing on > (weak_host_model). > >> any other thoughts? > >> > >> Aron > >> > >> > _________________________________________________________________________ > >> Professional FreeSWITCH Consulting Services: > >> consulting at freeswitch.org > >> http://www.freeswitchsolutions.com > >> > >> Official FreeSWITCH Sites > >> http://www.freeswitch.org > >> http://confluence.freeswitch.org > >> http://www.cluecon.com > >> > >> FreeSWITCH-users mailing list > >> FreeSWITCH-users at lists.freeswitch.org > >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >> http://www.freeswitch.org > > > > > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Aron Podrigal - //Be happy :-) -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150415/b9cf923d/attachment-0001.html From brian at freeswitch.org Thu Apr 16 02:13:45 2015 From: brian at freeswitch.org (Brian West) Date: Wed, 15 Apr 2015 17:13:45 -0500 Subject: [Freeswitch-users] pcapsipdump In-Reply-To: References: Message-ID: To solve this, you could run a big ring buffer, load mod_xml_cdr, then build a wireshark filter out of that data and process the ring buffer, i've done this before and it works quite well. On Wed, Apr 15, 2015 at 1:32 PM, Podrigal, Aron wrote: > Thanks > > On Wed, Apr 15, 2015 at 2:27 PM, Stanislav Sinyagin > wrote: > >> try sngrep, it's available at github. Also it makes sense to capture >> the packets with tcpdump, and analyze afterwards in low priority. >> >> >> >> On Wed, Apr 15, 2015 at 7:13 PM, Christopher Rienzo >> wrote: >> > pcapsipdump is single-threaded (which is not necessarily bad), and has >> > inefficient algorithms for mapping calls to files and for recycling >> elements >> > in its call table. >> > >> > On Wed, Apr 15, 2015 at 12:41 PM, Podrigal, Aron < >> aronp at guaranteedplus.com> >> > wrote: >> >> >> >> Hi, >> >> >> >> I'm running pcapsipdump on fs server and I notice that I'm missing >> >> captures for lots of calls. I suspect it might be that the kernel >> processes >> >> the packets on another interface that I'm capturing on >> (weak_host_model). >> >> any other thoughts? >> >> >> >> Aron >> >> >> >> >> _________________________________________________________________________ >> >> Professional FreeSWITCH Consulting Services: >> >> consulting at freeswitch.org >> >> http://www.freeswitchsolutions.com >> >> >> >> Official FreeSWITCH Sites >> >> http://www.freeswitch.org >> >> http://confluence.freeswitch.org >> >> http://www.cluecon.com >> >> >> >> FreeSWITCH-users mailing list >> >> FreeSWITCH-users at lists.freeswitch.org >> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >> UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> >> http://www.freeswitch.org >> > >> > >> > >> > >> _________________________________________________________________________ >> > Professional FreeSWITCH Consulting Services: >> > consulting at freeswitch.org >> > http://www.freeswitchsolutions.com >> > >> > Official FreeSWITCH Sites >> > http://www.freeswitch.org >> > http://confluence.freeswitch.org >> > http://www.cluecon.com >> > >> > FreeSWITCH-users mailing list >> > FreeSWITCH-users at lists.freeswitch.org >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> > UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> > http://www.freeswitch.org >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > Aron Podrigal > - > //Be happy :-) > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com ClueCon 2015 Call for Speakers | Register TODAY! | Reddit: /r/freeswitch *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150415/88d203cf/attachment.html From abalashov at evaristesys.com Thu Apr 16 02:25:14 2015 From: abalashov at evaristesys.com (Alex Balashov) Date: Wed, 15 Apr 2015 18:25:14 -0400 Subject: [Freeswitch-users] pcapsipdump In-Reply-To: References: Message-ID: <552EE54A.8050204@evaristesys.com> On 04/15/2015 06:13 PM, Brian West wrote: > To solve this, you could run a big ring buffer, load mod_xml_cdr, then > build a wireshark filter out of that data and process the ring buffer, > i've done this before and it works quite well. By ring buffer, do you mean a large amount of tcpdump capture rotations, including options like -C and -W? -- Alex Balashov | Principal | Evariste Systems LLC 303 Perimeter Center North, Suite 300 Atlanta, GA 30346 United States Tel: +1-800-250-5920 (toll-free) / +1-678-954-0671 (direct) Web: http://www.evaristesys.com/, http://www.csrpswitch.com/ From brian at freeswitch.org Thu Apr 16 02:28:38 2015 From: brian at freeswitch.org (Brian West) Date: Wed, 15 Apr 2015 17:28:38 -0500 Subject: [Freeswitch-users] pcapsipdump In-Reply-To: <552EE54A.8050204@evaristesys.com> References: <552EE54A.8050204@evaristesys.com> Message-ID: Yep, That with XML CDR, you can build a time frame and only look in files that were created within the start / end of the call, there by saving yourself a little bit of time while extracting the data. On Wed, Apr 15, 2015 at 5:25 PM, Alex Balashov wrote: > > On 04/15/2015 06:13 PM, Brian West wrote: > > > To solve this, you could run a big ring buffer, load mod_xml_cdr, then > > build a wireshark filter out of that data and process the ring buffer, > > i've done this before and it works quite well. > > By ring buffer, do you mean a large amount of tcpdump capture rotations, > including options like -C and -W? > > -- > Alex Balashov | Principal | Evariste Systems LLC > 303 Perimeter Center North, Suite 300 > Atlanta, GA 30346 > United States > > Tel: +1-800-250-5920 (toll-free) / +1-678-954-0671 (direct) > Web: http://www.evaristesys.com/, http://www.csrpswitch.com/ > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com ClueCon 2015 Call for Speakers | Register TODAY! | Reddit: /r/freeswitch *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150415/15054b45/attachment.html From abalashov at evaristesys.com Thu Apr 16 02:31:25 2015 From: abalashov at evaristesys.com (Alex Balashov) Date: Wed, 15 Apr 2015 18:31:25 -0400 Subject: [Freeswitch-users] pcapsipdump In-Reply-To: References: <552EE54A.8050204@evaristesys.com> Message-ID: <20150415223125.5378127.17368.47648@evaristesys.com> An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150415/5e998972/attachment-0001.html From brian at freeswitch.org Thu Apr 16 02:39:26 2015 From: brian at freeswitch.org (Brian West) Date: Wed, 15 Apr 2015 17:39:26 -0500 Subject: [Freeswitch-users] pcapsipdump In-Reply-To: <20150415223125.5378127.17368.47648@evaristesys.com> References: <552EE54A.8050204@evaristesys.com> <20150415223125.5378127.17368.47648@evaristesys.com> Message-ID: Thats easy to fix, you filter each part into its own file in order then pcapmerge the end result. On Wed, Apr 15, 2015 at 5:31 PM, Alex Balashov wrote: > In my experience, the major problem with this is dealing with calls that > span capture chunks. > > -- > Alex Balashov | Principal | Evariste Systems LLC > 303 Perimeter Center North, Suite 300 > Atlanta, GA 30346 > United States > > Tel: +1-800-250-5920 (toll-free) / +1-678-954-0671 (direct) > Web: http://www.evaristesys.com/, http://www.csrpswitch.com/ > > Sent from my BlackBerry. > *From: *Brian West > *Sent: *Wednesday, April 15, 2015 18:29 > *To: *FreeSWITCH Users Help > *Reply To: *FreeSWITCH Users Help > *Subject: *Re: [Freeswitch-users] pcapsipdump > > Yep, That with XML CDR, you can build a time frame and only look in files > that were created within the start / end of the call, there by saving > yourself a little bit of time while extracting the data. > > On Wed, Apr 15, 2015 at 5:25 PM, Alex Balashov > wrote: > >> >> On 04/15/2015 06:13 PM, Brian West wrote: >> >> > To solve this, you could run a big ring buffer, load mod_xml_cdr, then >> > build a wireshark filter out of that data and process the ring buffer, >> > i've done this before and it works quite well. >> >> By ring buffer, do you mean a large amount of tcpdump capture rotations, >> including options like -C and -W? >> >> -- >> Alex Balashov | Principal | Evariste Systems LLC >> 303 Perimeter Center North, Suite 300 >> Atlanta, GA 30346 >> United States >> >> Tel: +1-800-250-5920 (toll-free) / +1-678-954-0671 (direct) >> Web: http://www.evaristesys.com/, http://www.csrpswitch.com/ >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > > *Brian West* > brian at freeswitch.org > > > *Twitter: @FreeSWITCH , @briankwest* > http://www.freeswitchbook.com > http://www.freeswitchcookbook.com > > ClueCon 2015 Call for Speakers > | Register > TODAY! | Reddit: /r/freeswitch > > > *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) > *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com ClueCon 2015 Call for Speakers | Register TODAY! | Reddit: /r/freeswitch *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150415/c1f78fcc/attachment.html From nneul at mst.edu Thu Apr 16 02:49:13 2015 From: nneul at mst.edu (Nathan Neulinger) Date: Wed, 15 Apr 2015 17:49:13 -0500 Subject: [Freeswitch-users] pcapsipdump In-Reply-To: References: <552EE54A.8050204@evaristesys.com> <20150415223125.5378127.17368.47648@evaristesys.com> Message-ID: <552EEAE9.4030400@mst.edu> Have you looked at using voipmonitor? The capture part is open source / GPL, and seems to do a nice job with captures. The pretty UI is non-free, but the capture engine is useful by itself. http://sourceforge.net/projects/voipmonitor/ -- Nathan On 04/15/2015 05:39 PM, Brian West wrote: > Thats easy to fix, you filter each part into its own file in order then pcapmerge the end result. > > On Wed, Apr 15, 2015 at 5:31 PM, Alex Balashov > wrote: > > In my experience, the major problem with this is dealing with calls that span capture chunks. > > -- > Alex Balashov | Principal | Evariste Systems LLC > 303 Perimeter Center North, Suite 300 > Atlanta, GA 30346 > United States > > Tel: +1-800-250-5920 (toll-free) / +1-678-954-0671 (direct) > Web: http://www.evaristesys.com/, http://www.csrpswitch.com/ > > Sent from my BlackBerry. > *From: *Brian West > *Sent: *Wednesday, April 15, 2015 18:29 > *To: *FreeSWITCH Users Help > *Reply To: *FreeSWITCH Users Help > *Subject: *Re: [Freeswitch-users] pcapsipdump > > > Yep, That with XML CDR, you can build a time frame and only look in files that were created within the start / end > of the call, there by saving yourself a little bit of time while extracting the data. > > On Wed, Apr 15, 2015 at 5:25 PM, Alex Balashov > wrote: > > > On 04/15/2015 06:13 PM, Brian West wrote: > > > To solve this, you could run a big ring buffer, load mod_xml_cdr, then > > build a wireshark filter out of that data and process the ring buffer, > > i've done this before and it works quite well. > > By ring buffer, do you mean a large amount of tcpdump capture rotations, > including options like -C and -W? > > -- > Alex Balashov | Principal | Evariste Systems LLC > 303 Perimeter Center North, Suite 300 > Atlanta, GA 30346 > United States > > Tel: +1-800-250-5920 (toll-free) / +1-678-954-0671 (direct) > Web: http://www.evaristesys.com/, http://www.csrpswitch.com/ > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > > -- > > */Brian West/* > brian at freeswitch.org > > > */Twitter: @FreeSWITCH , @briankwest/* > http://www.freeswitchbook.com > http://www.freeswitchcookbook.com > > ClueCon 2015 Call for Speakers | Register > TODAY! | Reddit: /r/freeswitch > > *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) > *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > > -- > > */Brian West/* > brian at freeswitch.org > > > */Twitter: @FreeSWITCH , @briankwest/* > http://www.freeswitchbook.com > http://www.freeswitchcookbook.com > > ClueCon 2015 Call for Speakers | Register > TODAY! | Reddit: /r/freeswitch > > *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) > *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- ------------------------------------------------------------ Nathan Neulinger nneul at mst.edu Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect From bob.mccarthy at experient.com Thu Apr 16 04:01:55 2015 From: bob.mccarthy at experient.com (Bob McCarthy) Date: Wed, 15 Apr 2015 18:01:55 -0600 Subject: [Freeswitch-users] MSRP support Message-ID: <019001d077d8$90f0dd10$b2d29730$@experient.com> Does Freeswitch have any support for MSRP with the Blink client? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150415/148c1d0e/attachment-0001.html From abalashov at evaristesys.com Thu Apr 16 03:02:21 2015 From: abalashov at evaristesys.com (Alex Balashov) Date: Wed, 15 Apr 2015 19:02:21 -0400 Subject: [Freeswitch-users] pcapsipdump In-Reply-To: <552EEAE9.4030400@mst.edu> References: <552EE54A.8050204@evaristesys.com> <20150415223125.5378127.17368.47648@evaristesys.com> <552EEAE9.4030400@mst.edu> Message-ID: <20150415230221.5378127.13278.47675@evaristesys.com> They have a per-port licencing model, however, which is unduly restrictive for certain kinds of users.? One is users who need captures for purely diagnostic purposes and otherwise realise little bottom-line value from them. Another ?are short-duration traffic movers who realise little revenue relative to a high concurrent channel count, due to low ASRs.? It's a great product, but not for everyone. -- Alex?Balashov?|?Principal?|?Evariste?Systems?LLC 303?Perimeter?Center?North,?Suite?300 Atlanta,?GA?30346 United?States Tel:?+1-800-250-5920?(toll-free)?/?+1-678-954-0671 (direct) Web:?http://www.evaristesys.com/, http://www.csrpswitch.com/ Sent?from?my?BlackBerry. ? Original Message ? From: Nathan Neulinger Sent: Wednesday, April 15, 2015 18:50 To: FreeSWITCH Users Help Reply To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] pcapsipdump Have you looked at using voipmonitor? The capture part is open source / GPL, and seems to do a nice job with captures. The pretty UI is non-free, but the capture engine is useful by itself. http://sourceforge.net/projects/voipmonitor/ -- Nathan On 04/15/2015 05:39 PM, Brian West wrote: > Thats easy to fix, you filter each part into its own file in order then pcapmerge the end result. > > On Wed, Apr 15, 2015 at 5:31 PM, Alex Balashov > wrote: > > In my experience, the major problem with this is dealing with calls that span capture chunks. > > -- > Alex Balashov | Principal | Evariste Systems LLC > 303 Perimeter Center North, Suite 300 > Atlanta, GA 30346 > United States > > Tel: +1-800-250-5920 (toll-free) / +1-678-954-0671 (direct) > Web: http://www.evaristesys.com/, http://www.csrpswitch.com/ > > Sent from my BlackBerry. > *From: *Brian West > *Sent: *Wednesday, April 15, 2015 18:29 > *To: *FreeSWITCH Users Help > *Reply To: *FreeSWITCH Users Help > *Subject: *Re: [Freeswitch-users] pcapsipdump > > > Yep, That with XML CDR, you can build a time frame and only look in files that were created within the start / end > of the call, there by saving yourself a little bit of time while extracting the data. > > On Wed, Apr 15, 2015 at 5:25 PM, Alex Balashov > wrote: > > > On 04/15/2015 06:13 PM, Brian West wrote: > > > To solve this, you could run a big ring buffer, load mod_xml_cdr, then > > build a wireshark filter out of that data and process the ring buffer, > > i've done this before and it works quite well. > > By ring buffer, do you mean a large amount of tcpdump capture rotations, > including options like -C and -W? > > -- > Alex Balashov | Principal | Evariste Systems LLC > 303 Perimeter Center North, Suite 300 > Atlanta, GA 30346 > United States > > Tel: +1-800-250-5920 (toll-free) / +1-678-954-0671 (direct) > Web: http://www.evaristesys.com/, http://www.csrpswitch.com/ > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > > -- > > */Brian West/* > brian at freeswitch.org > > > */Twitter: @FreeSWITCH , @briankwest/* > http://www.freeswitchbook.com > http://www.freeswitchcookbook.com > > ClueCon 2015 Call for Speakers | Register > TODAY! | Reddit: /r/freeswitch > > *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) > *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > > -- > > */Brian West/* > brian at freeswitch.org > > > */Twitter: @FreeSWITCH , @briankwest/* > http://www.freeswitchbook.com > http://www.freeswitchcookbook.com > > ClueCon 2015 Call for Speakers | Register > TODAY! | Reddit: /r/freeswitch > > *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) > *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- ------------------------------------------------------------ Nathan Neulinger nneul at mst.edu Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org From nneul at mst.edu Thu Apr 16 03:10:31 2015 From: nneul at mst.edu (Nathan Neulinger) Date: Wed, 15 Apr 2015 18:10:31 -0500 Subject: [Freeswitch-users] pcapsipdump In-Reply-To: <20150415230221.5378127.13278.47675@evaristesys.com> References: <552EE54A.8050204@evaristesys.com> <20150415223125.5378127.17368.47648@evaristesys.com> <552EEAE9.4030400@mst.edu> <20150415230221.5378127.13278.47675@evaristesys.com> Message-ID: <552EEFE7.5050904@mst.edu> Right, that's why I mentioned just using the capture engine. Only the web UI has any license requirement. Even without the UI, you can do quite a bit with just the raw tables and the generated capture files that it separates by call/etc. -- Nathan On 04/15/2015 06:02 PM, Alex Balashov wrote: > They have a per-port licencing model, however, which is unduly restrictive for certain kinds of users. > > One is users who need captures for purely diagnostic purposes and otherwise realise little bottom-line value from them. Another ?are short-duration traffic movers who realise little revenue relative to a high concurrent channel count, due to low ASRs. > > It's a great product, but not for everyone. > > -- > Alex Balashov | Principal | Evariste Systems LLC > 303 Perimeter Center North, Suite 300 > Atlanta, GA 30346 > United States > > Tel: +1-800-250-5920 (toll-free) / +1-678-954-0671 (direct) > Web: http://www.evaristesys.com/, http://www.csrpswitch.com/ > > Sent from my BlackBerry. > Original Message > From: Nathan Neulinger > Sent: Wednesday, April 15, 2015 18:50 > To: FreeSWITCH Users Help > Reply To: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] pcapsipdump > > Have you looked at using voipmonitor? The capture part is open source / GPL, and seems to do a nice job with captures. > The pretty UI is non-free, but the capture engine is useful by itself. > > http://sourceforge.net/projects/voipmonitor/ > > -- Nathan > > On 04/15/2015 05:39 PM, Brian West wrote: >> Thats easy to fix, you filter each part into its own file in order then pcapmerge the end result. >> >> On Wed, Apr 15, 2015 at 5:31 PM, Alex Balashov > wrote: >> >> In my experience, the major problem with this is dealing with calls that span capture chunks. >> >> -- >> Alex Balashov | Principal | Evariste Systems LLC >> 303 Perimeter Center North, Suite 300 >> Atlanta, GA 30346 >> United States >> >> Tel: +1-800-250-5920 (toll-free) / +1-678-954-0671 (direct) >> Web: http://www.evaristesys.com/, http://www.csrpswitch.com/ >> >> Sent from my BlackBerry. >> *From: *Brian West >> *Sent: *Wednesday, April 15, 2015 18:29 >> *To: *FreeSWITCH Users Help >> *Reply To: *FreeSWITCH Users Help >> *Subject: *Re: [Freeswitch-users] pcapsipdump >> >> >> Yep, That with XML CDR, you can build a time frame and only look in files that were created within the start / end >> of the call, there by saving yourself a little bit of time while extracting the data. >> >> On Wed, Apr 15, 2015 at 5:25 PM, Alex Balashov > wrote: >> >> >> On 04/15/2015 06:13 PM, Brian West wrote: >> >>> To solve this, you could run a big ring buffer, load mod_xml_cdr, then >>> build a wireshark filter out of that data and process the ring buffer, >>> i've done this before and it works quite well. >> >> By ring buffer, do you mean a large amount of tcpdump capture rotations, >> including options like -C and -W? >> >> -- >> Alex Balashov | Principal | Evariste Systems LLC >> 303 Perimeter Center North, Suite 300 >> Atlanta, GA 30346 >> United States >> >> Tel: +1-800-250-5920 (toll-free) / +1-678-954-0671 (direct) >> Web: http://www.evaristesys.com/, http://www.csrpswitch.com/ >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> >> >> >> >> -- >> >> */Brian West/* >> brian at freeswitch.org >> >> >> */Twitter: @FreeSWITCH , @briankwest/* >> http://www.freeswitchbook.com >> http://www.freeswitchcookbook.com >> >> ClueCon 2015 Call for Speakers | Register >> TODAY! | Reddit: /r/freeswitch >> >> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) >> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> >> >> >> >> -- >> >> */Brian West/* >> brian at freeswitch.org >> >> >> */Twitter: @FreeSWITCH , @briankwest/* >> http://www.freeswitchbook.com >> http://www.freeswitchcookbook.com >> >> ClueCon 2015 Call for Speakers | Register >> TODAY! | Reddit: /r/freeswitch >> >> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) >> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > -- ------------------------------------------------------------ Nathan Neulinger nneul at mst.edu Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect From dujinfang at gmail.com Thu Apr 16 03:58:33 2015 From: dujinfang at gmail.com (Seven Du) Date: Thu, 16 Apr 2015 07:58:33 +0800 Subject: [Freeswitch-users] MSRP support In-Reply-To: <019001d077d8$90f0dd10$b2d29730$@experient.com> References: <019001d077d8$90f0dd10$b2d29730$@experient.com> Message-ID: I have tried that a few years ago with a patch can send/recv messages & transfer files, but far from complete. there's a mrsp branch https://github.com/seven1240/FreeSWITCH On Thu, Apr 16, 2015 at 8:01 AM, Bob McCarthy wrote: > Does Freeswitch have any support for MSRP with the Blink client? > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- About: http://about.me/dujinfang Blog: http://www.dujinfang.com Proj: http://www.freeswitch.org.cn -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150416/8dcaf2a7/attachment.html From govoiper at gmail.com Thu Apr 16 07:58:14 2015 From: govoiper at gmail.com (SamyGo) Date: Wed, 15 Apr 2015 23:58:14 -0400 Subject: [Freeswitch-users] FreeSwitch crashes upon mod_spandsp_fax Message-ID: Hi, I've just tried to load module spandsp_fax and freeswitch crashes with a core dump saying: [CRIT] mod_spandsp_fax.c:201 timer init failed. Segmentation fault (core dumped) If I don't load this module FS starts but prints this: [CONSOLE] mod_local_stream.c:220 Can't start timer. Following is the dump trace. warning: no loadable sections found in added symbol-file system-supplied DSO at 0x7fffc35fe000 Core was generated by `./freeswitch'. Program terminated with signal 11, Segmentation fault. #0 timerfd_stop_interval (timer=0x2ba63003ad80) at src/switch_time.c:438 438 close(it->fd); Missing separate debuginfos, use: debuginfo-install cyrus-sasl-lib-2.1.23-15.el6.x86_64 glibc-2.12-1.149.el6_6.5.x86_64 keyutils-libs-1.4-5.el6.x86_64 krb5-libs-1.10.3-37.el6_6.x86_64 ldns-1.6.17-1.el6.x86_64 libcom_err-1.41.12-21.el6.x86_64 libcurl-7.19.7-40.el6_6.4.x86_64 libedit-2.11-4.20080712cvs.1.el6.x86_64 libgcc-4.4.7-11.el6.x86_64 libidn-1.18-2.el6.x86_64 libjpeg-turbo-1.2.1-3.el6_5.x86_64 libselinux-2.0.94-5.8.el6.x86_64 libssh2-1.4.2-1.el6.x86_64 libstdc++-4.4.7-11.el6.x86_64 ncurses-libs-5.7-3.20090208.el6.x86_64 nspr-4.10.6-1.el6_5.x86_64 nss-3.16.1-14.el6.x86_64 nss-softokn-freebl-3.14.3-17.el6.x86_64 nss-util-3.16.1-3.el6.x86_64 openldap-2.4.39-8.el6.x86_64 openssl-1.0.1e-30.el6.8.x86_64 pcre-7.8-6.el6.x86_64 speex-1.2-0.12.rc1.1.el6.x86_64 sqlite-3.6.20-1.el6.x86_64 zlib-1.2.3-29.el6.x86_64 (gdb) bt full #0 timerfd_stop_interval (timer=0x2ba63003ad80) at src/switch_time.c:438 No locals. #1 _timerfd_destroy (timer=0x2ba63003ad80) at src/switch_time.c:512 it = 0x0 #2 timer_destroy (timer=0x2ba63003ad80) at src/switch_time.c:940 private_info = __func__ = "timer_destroy" #3 0x00002ba5a465d8ec in switch_core_timer_destroy (timer=0x2ba63003ad80) at src/switch_core_timer.c:121 __func__ = "switch_core_timer_destroy" #4 0x00002ba5ab5f1257 in timer_thread_run (thread=, obj=) at mod_spandsp_fax.c:233 timer = {interval = 20, flags = 1, samples = 160, samplecount = 160, timer_interface = 0x1f5a69e8, memory_pool = 0x2ba62c0009b8, private_info = 0x0, diff = 0, start = 1429147104762197, tick = 0} pvt = __func__ = "timer_thread_run" #5 0x00002ba5a61bc9d1 in start_thread () from /lib64/libpthread.so.0 No symbol table info available. #6 0x00002ba5a6b0a8fd in clone () from /lib64/libc.so.6 No symbol table info available. (gdb) Any pointers would be greatly appreciated. Thanks, Sammy -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150415/6ea36592/attachment-0001.html From s.safarov at gmail.com Thu Apr 16 08:00:35 2015 From: s.safarov at gmail.com (Sergey Safarov) Date: Thu, 16 Apr 2015 04:00:35 +0000 Subject: [Freeswitch-users] Dialplan authentication In-Reply-To: References: <552CF376.4030403@etherway.ru> <20150414142844.5853254.43096.391@yandex.ru> <20150414185636.5853254.62323.400@yandex.ru> <552E20B5.1070201@etherway.ru> <552E43C4.5070603@etherway.ru> <20150415115556.5853254.20673.413@yandex.ru> <552E56BC.2010908@etherway.ru> Message-ID: I recommend return all required data in response and not use mod_rad_auth module. On Wed, Apr 15, 2015, 18:12 Sergey Safarov wrote: > If you see mod_xml_radius.c string 667, then you can find that FS create > variables from RADIUS server responce. > Try return from RADIUS server vendor spectific attribute (VSA) with > password value. > Then call "info" application from dialplan and locate password value in > variables. > > Sergey > > On Wed, Apr 15, 2015 at 3:17 PM, ??????? ????? wrote: > >> I would like to use this approach: >> > data="PASSWD=${user_data(${caller_id_number}@${sip_from_host} param >> password)}"/> >> >> I dont know how I could access the password of the registered user who is >> making a call, to authenticate (or check billing) with the rad_auth module >> if I am using xml_radius module. >> >> First I had tested only the mod rad_auth as Sergey had mentioned. It had >> worked. Know I am working together with the xml_radius module. >> >> On 15.04.2015 14:55, Gustavo Silva wrote: >> >> So, in dialplan I could access this parameter by ${vm_pass}? >> >> Sent from my BlackBerry 10 smartphone. >> *From: *???????, ??????? / Dmitriy Borisov >> *Sent: *?????, 15 ?????? 2015 ?., 14:51 >> *To: *FreeSWITCH Users Help >> *Reply To: *FreeSWITCH Users Help >> *Subject: *Re: [Freeswitch-users] Dialplan authentication >> >> Hi! >> >> If you use rad_auth dialplan command, then after using it you will have >> Freeswitch-AVPair channel variable with value vm_pass=1234 >> If you use auth_invite or auth_reg, than mod_xml_radius will create user >> param with name Freeswitch-AVPair and value vm_pass=1234 in result >> directory >> >> 2015-04-15 13:56 GMT+03:00 ??????? ????? : >> >>> It works. >>> >>> Man, just more one question, how can I get the value of this variable in >>> my diaplan? I am using mod_xml_radius. >>> >>> Freeswitch-AVPair = "vm_pass=1234" >>> >>> >>> >>> >>> >>> >>> On 15.04.2015 12:08, Sergey Safarov wrote: >>> >>> Add strings to dialplan like >>> >>> >> data="TRANSACTIONID=h323-ivr-out=transactionID:1234"/> >>> >> data="CALLEDNUMBER=${destination_number}"/> >>> >> data="CALLINGNUMBER=${caller_id_number}"/> >>> >>> You can try comment this attributs in rad_auth.conf.xml >>> >>> >>> >>> On Wed, Apr 15, 2015 at 11:26 AM, ??????? ????? wrote: >>> >>>> Sergey, do you know why I am getting these variables undefined? >>>> >>>> [ERR] mod_rad_auth.c:178 Undefined channel variable: GWID. >>>> [ERR] mod_rad_auth.c:178 Undefined channel variable: TRANSACTIONID. >>>> [ERR] mod_rad_auth.c:178 Undefined channel variable: CALLEDNUMBER. >>>> [ERR] mod_rad_auth.c:178 Undefined channel variable: CALLINGNUMBER. >>>> >>>> >>>> >>>> >>>> On 14.04.2015 22:34, Sergey Safarov wrote: >>>> >>>> In provided example password stored in directory. >>>> Directory can be in mod_xml_radius ( >>>> https://freeswitch.org/confluence/display/FREESWITCH/mod_xml_radius) >>>> or other dynamically generated directory. >>>> >>>> >>>> On Tue, Apr 14, 2015 at 9:56 PM, Gustavo Silva >>>> wrote: >>>> >>>>> Hi Sergey, >>>>> >>>>> Tks for the help but there is a catch in this solution. I will be >>>>> still having ?the password and user name in freeswitch server. >>>>> >>>>> I would like that the radius server handles it. >>>>> >>>>> Is there a way with the rad_auth module where I wouldn't need to set >>>>> up password in diaplan file? All the authentication should be done with the >>>>> radius server. >>>>> >>>>> I say that because, for example: I have 200 users, with diferentes >>>>> passwords configured in the radius server. So, by this solution with >>>>> rad_auth module, I should also have 200 different password in the diaplan >>>>> configuration, right? >>>>> >>>>> Regards, >>>>> Gustavo >>>>> >>>>> Sent from my BlackBerry 10 smartphone. >>>>> *From: *Sergey Safarov >>>>> *Sent: *???????, 14 ?????? 2015 ?., 21:16 >>>>> *To: *FreeSWITCH Users Help >>>>> *Reply To: *FreeSWITCH Users Help >>>>> *Subject: *Re: [Freeswitch-users] Dialplan authentication >>>>> >>>>> This can help you >>>>> >>>>> [root at fs1 autoload_configs]# cat rad_auth.conf.xml >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>> direction="in"/> >>>>> >>>> direction="in"/> >>>>> >>>> expr="1" direction="in"/> >>>>> >>>> pec="0" expr="1" direction="in"/> >>>>> >>>> pec="0" expr="1" direction="in"/>--> >>>>> >>>> direction="in"/> >>>>> >>>> direction="in"/> --> >>>>> >>>>> >>>>> >>>> expr="0" direction="out"/> >>>>> >>>> direction="out"/> >>>>> >>>> expr="0" direction="out"/> >>>>> >>>> pec="9" expr="0" direction="out"/> >>>>> >>>> pec="9" expr="0" direction="out"/> >>>>> >>>> value="h323_ivr_duration" pec="9" expr="0" direction="out"/> --> >>>>> >>>> pec="9" expr="0" direction="out"/> >>>>> >>>>> >>>>> >>>>> [root at fs1 autoload_configs]# >>>>> >>>>> Dialplan fragment >>>>> >>>>> >>>>> >>>>> >>>>> >>>> expression="^\+(\d+)$"> >>>>> >>>> data="h323-gw-id=${accountcode_bleg}"/> >>>>> >>>>> >>>>> >>>> data="CALLID=h323-conf-id=${uuid}"/> >>>>> >>>> data="GWID=${accountcode_bleg}"/> >>>>> >>>>> >>>> data="PASSWD=xxxxxxxx"/> >>>>> >>>> data="DIALED_NUMBER=$1"/> >>>>> >>>>> >>>>> >>>>> >>>>> Log fragment >>>>> Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru parsing >>>>> [mr24.gateways.rcsnet.ru->operator-rad-auth] continue=true >>>>> Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru Regex (PASS) >>>>> [operator-rad-auth] ${accountcode}(8) =~ /^8$/ match=any >>>>> Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru Regex (PASS) >>>>> [operator-rad-auth] ${destination_number}(+749593377xx) =~ /^\+(\d+)$/ >>>>> break=on-false >>>>> Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru Action >>>>> export(h323-gw-id=${accountcode_bleg}) >>>>> Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru Action >>>>> unset(disable_radius_start) >>>>> Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru Action >>>>> unset(disable_radius_stop) >>>>> Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru Action >>>>> set(CALLID=h323-conf-id=${uuid}) INLINE >>>>> EXECUTE sofia/mr24/0000079639652834 at gateways.rcsnet.ru >>>>> set(CALLID=h323-conf-id=bd091212-e2b0-11e4-98e2-d102deb9a97d) >>>>> 2015-04-14 14:15:43.446357 [DEBUG] mod_dptools.c:1435 sofia/mr24/ >>>>> 00000796396528xx at gateways.operator.ru SET >>>>> [CALLID]=[h323-conf-id=bd091212-e2b0-11e4-98e2-d102deb9a97d] >>>>> Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru Action >>>>> set(GWID=${accountcode_bleg}) INLINE >>>>> EXECUTE sofia/mr24/0000079639652834 at gateways.rcsnet.ru set(GWID=1460) >>>>> 2015-04-14 14:15:43.446357 [DEBUG] mod_dptools.c:1435 sofia/mr24/ >>>>> 00000796396528xx at gateways.rcsnet.ru SET [GWID]=[1460] >>>>> Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru Action >>>>> set(USERNAME=login at operator.ru) INLINE >>>>> EXECUTE sofia/mr24/0000079639652834 at gateways.rcsnet.ru set(USERNAME= >>>>> login at operator.ru) >>>>> 2015-04-14 14:15:43.446357 [DEBUG] mod_dptools.c:1435 sofia/mr24/ >>>>> 0000079639652834 at gateways.rcsnet.ru SET [USERNAME]=[login at operator.ru] >>>>> Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru Action >>>>> set(PASSWD=xxxxxxxx) INLINE >>>>> EXECUTE sofia/mr24/0000079639652834 at gateways.rcsnet.ru >>>>> set(PASSWD=xxxxxxxx) >>>>> 2015-04-14 14:15:43.446357 [DEBUG] mod_dptools.c:1435 sofia/mr24/ >>>>> 00000796396528xx at gateways.operator.ru SET [PASSWD]=[xxxxxxxxxxx] >>>>> Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru Action >>>>> set(DIALED_NUMBER=749593377xx) INLINE >>>>> EXECUTE sofia/mr24/0000079639652834 at gateways.rcsnet.ru >>>>> set(DIALED_NUMBER=749593377xx) >>>>> 2015-04-14 14:15:43.446357 [DEBUG] mod_dptools.c:1435 sofia/mr24/ >>>>> 00000796396528xx at gateways.rcsnet.ru SET [DIALED_NUMBER]=[749593377xx] >>>>> sofia/mr24/0000079639652834 at gateways.rcsnet.ru Action >>>>> auth_function(in ${DIALED_NUMBER}, in ${USERNAME}, in ${PASSWD}, out >>>>> AUTH_RESULT) >>>>> .......... >>>>> >>>>> bd091212-e2b0-11e4-98e2-d102deb9a97d EXECUTE sofia/mr24/ >>>>> 00000796396528xx at gateways.operator.ru auth_function(in 74959337786, >>>>> in login at operator.ru, in xxxxxxxxxxxx, out AUTH_RESULT) >>>>> [DEBUG] mod_rad_auth.c:301 allocate initial structure. >>>>> [DEBUG] mod_rad_auth.c:313 initialzed configuration. >>>>> [DEBUG] mod_rad_auth.c:318 set authserver := 10.40.0.5:1814:xxxxxxxx. >>>>> [DEBUG] mod_rad_auth.c:318 set dictionary := >>>>> /etc/radiusclient/dictionary.all. >>>>> [DEBUG] mod_rad_auth.c:318 set seqfile := /var/run/radius.seq. >>>>> [DEBUG] mod_rad_auth.c:318 set mapfile := >>>>> /etc/radiusclient/port-id-map. >>>>> [DEBUG] mod_rad_auth.c:318 set default_realm := . >>>>> [DEBUG] mod_rad_auth.c:318 set radius_timeout := 1. >>>>> [DEBUG] mod_rad_auth.c:318 set radius_retries := 0. >>>>> [DEBUG] mod_rad_auth.c:318 set radius_deadtime := 0. >>>>> [DEBUG] mod_rad_auth.c:318 set bindaddr := *. >>>>> [DEBUG] mod_rad_auth.c:371 ... radius: User-Name: login at operator.ru >>>>> [DEBUG] mod_rad_auth.c:380 ... radius: User-Password: >>>>> xxxxxxxxxxxxxxxxxx >>>>> DEBUG] mod_rad_auth.c:396 ... radius: Called-station-Id: 74959337786 >>>>> [DEBUG] mod_rad_auth.c:413 Handle attribute: h323-conf-id >>>>> [DEBUG] mod_rad_auth.c:439 ... dictionary data: id:24, vendor id:9, >>>>> attr type:0, attr name:h323-conf-id (589848) >>>>> [DEBUG] mod_rad_auth.c:444 ... radius: key:h323-conf-id, value:CALLID >>>>> (h323-conf-id=bd091212-e2b0-11e4-98e2-d102deb9a97d) as string >>>>> [DEBUG] mod_rad_auth.c:413 Handle attribute: h323-gw-id >>>>> [DEBUG] mod_rad_auth.c:439 ... dictionary data: id:33, vendor id:9, >>>>> attr type:0, attr name:h323-gw-id (589857) >>>>> [DEBUG] mod_rad_auth.c:444 ... radius: key:h323-gw-id, value:GWID >>>>> (1460) as string >>>>> [DEBUG] mod_rad_auth.c:413 Handle attribute: NAS-Port-Type >>>>> [DEBUG] mod_rad_auth.c:439 ... dictionary data: id:61, vendor id:0, >>>>> attr type:1, attr name:NAS-Port-Type (61) >>>>> [DEBUG] mod_rad_auth.c:456 ... radius: key:NAS-Port-Type, value:0 (0) >>>>> as integer >>>>> [DEBUG] mod_rad_auth.c:491 sending radius packet ... >>>>> [DEBUG] mod_rad_auth.c:497 RADIUS Authentication OK >>>>> [DEBUG] mod_rad_auth.c:519 Handle attribute: CREDIT_AMOUNT >>>>> [DEBUG] mod_rad_auth.c:522 attribute (CREDIT_AMOUNT) found in radius >>>>> packet >>>>> [DEBUG] mod_rad_auth.c:523 set variable credit_amount := >>>>> h323-credit-amount=-600913.47 >>>>> [DEBUG] mod_rad_auth.c:519 Handle attribute: CURRENCY >>>>> [DEBUG] mod_rad_auth.c:522 attribute (CURRENCY) found in radius >>>>> packet >>>>> [DEBUG] mod_rad_auth.c:523 set variable currency := h323-currency=RUR >>>>> [DEBUG] mod_rad_auth.c:519 Handle attribute: CREDIT_TIME >>>>> [DEBUG] mod_rad_auth.c:522 attribute (CREDIT_TIME) found in radius >>>>> packet >>>>> [DEBUG] mod_rad_auth.c:523 set variable h323-credit_time := >>>>> h323-credit-time=86400 >>>>> [DEBUG] mod_rad_auth.c:519 Handle attribute: PER_MINUTE_PRICE >>>>> [DEBUG] mod_rad_auth.c:522 attribute (PER_MINUTE_PRICE) found in >>>>> radius packet >>>>> [DEBUG] mod_rad_auth.c:523 set variable Cisco-Servicce-Info := >>>>> 0.000000 >>>>> [DEBUG] mod_rad_auth.c:519 Handle attribute: RADIUS_RETURN_CODE >>>>> [DEBUG] mod_rad_auth.c:522 attribute (RADIUS_RETURN_CODE) found in >>>>> radius packet >>>>> [DEBUG] mod_rad_auth.c:523 set variable return_code := >>>>> h323-return-code=0 >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> On Tue, Apr 14, 2015 at 5:28 PM, Gustavo Silva >>>> > wrote: >>>>> >>>>>> >>>>>> First it says that the the login is OK and after it says that the >>>>>> login is incorrect. >>>>>> >>>>>> Tue Apr 14 17:24:11 2015 : Auth: Login OK: [1008/>>>>> DIGEST>] (from client localhost port 0 cli 1008) >>>>>> Tue Apr 14 17:24:11 2015 : Info: rlm_radutmp: Login entry for NAS >>>>>> localhost port 0 duplicate >>>>>> Tue Apr 14 17:24:11 2015 : Auth: Login incorrect: [>>>>> attribute>/] (from client localhost port >>>>>> 0 >>>>>> cli 1008) >>>>>> Tue Apr 14 17:24:14 2015 : Error: rlm_radutmp: Logout for NAS >>>>>> localhost >>>>>> port 0, but no Login record >>>>>> >>>>>> >>>>>> >>>>>> Sent from my BlackBerry 10 smartphone. >>>>>> >>>>>> Original Message >>>>>> *From: *???????, ??????? / Dmitriy Borisov >>>>>> *Sent: *???????, 14 ?????? 2015 ?., 17:22 >>>>>> *To: *FreeSWITCH Users Help >>>>>> *Reply To: *FreeSWITCH Users Help >>>>>> *Subject: *Re: [Freeswitch-users] Dialplan authentication >>>>>> >>>>>> Hi! >>>>>> >>>>>> Configuration looks good there, and what in radius.log on RADIUS >>>>>> server? >>>>>> >>>>>> 2015-04-14 14:01 GMT+03:00 ??????? ????? : >>>>>> >>>>>>> I have set up the following in my dialplan: >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> I am facing the following error: >>>>>>> >>>>>>> Dialplan: sofia/internal/1008 at ipaddress Regex (PASS) [auth] >>>>>>> ${radius_auth_result}(0) =~ /^0$/ break=on-false >>>>>>> Dialplan: sofia/internal/1008 at ipaddress Action radius_auth() INLINE >>>>>>> EXECUTE sofia/internal/1008 at ipaddress radius_auth() >>>>>>> 2015-04-14 13:53:42.734956 [ERR] mod_xml_radius.c:1090 >>>>>>> mod_xml_radius: >>>>>>> Failed to authenticate >>>>>>> >>>>>>> What should I do to the call authentication work? >>>>>>> >>>>>>> Regards, >>>>>>> Gustavo >>>>>>> >>>>>>> >>>>>>> >>>>>>> _________________________________________________________________________ >>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>> consulting at freeswitch.org >>>>>>> http://www.freeswitchsolutions.com >>>>>>> >>>>>>> Official FreeSWITCH Sites >>>>>>> http://www.freeswitch.org >>>>>>> http://confluence.freeswitch.org >>>>>>> http://www.cluecon.com >>>>>>> >>>>>>> FreeSWITCH-users mailing list >>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> UNSUBSCRIBE: >>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>> http://www.freeswitch.org >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> with best regards, >>>>>> Dmitriy Borisov >>>>>> >>>>>> >>>>>> >>>>>> _________________________________________________________________________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at freeswitch.org >>>>>> http://www.freeswitchsolutions.com >>>>>> >>>>>> Official FreeSWITCH Sites >>>>>> http://www.freeswitch.org >>>>>> http://confluence.freeswitch.org >>>>>> http://www.cluecon.com >>>>>> >>>>>> FreeSWITCH-users mailing list >>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE: >>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>> >>>>> >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: consulting at freeswitch.orghttp://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org >>>> >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: consulting at freeswitch.orghttp://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com >>> >>> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org >>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> >> -- >> with best regards, >> Dmitriy Borisov >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: consulting at freeswitch.orghttp://www.freeswitchsolutions.com >> >> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com >> >> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150416/7f9759f3/attachment-0001.html From mishehu at freeswitch.org Thu Apr 16 08:20:09 2015 From: mishehu at freeswitch.org (I put the Who? in Mishehu) Date: Wed, 15 Apr 2015 23:20:09 -0500 Subject: [Freeswitch-users] FreeSwitch crashes upon mod_spandsp_fax In-Reply-To: References: Message-ID: <552F3879.3000102@freeswitch.org> It is better to file a JIRA ticket on this issue. Please see https://freeswitch.org/confluence/display/FREESWITCH/Debugging and https://freeswitch.org/confluence/display/FREESWITCH/Reporting+Bugs+to+JIRA for further information on how to troubleshoot & report. Please be sure to attach backtraces and log output as file attachments and not as part of the description. Thanks. -- Yossi Neiman On 04/15/2015 10:58 PM, SamyGo wrote: > Hi, > I've just tried to load module spandsp_fax and freeswitch crashes with > a core dump saying: > > [CRIT] mod_spandsp_fax.c:201 timer init failed. > Segmentation fault (core dumped) > > If I don't load this module FS starts but prints this: > > [CONSOLE] mod_local_stream.c:220 Can't start timer. > > Following is the dump trace. > > warning: no loadable sections found in added symbol-file > system-supplied DSO at 0x7fffc35fe000 > Core was generated by `./freeswitch'. > Program terminated with signal 11, Segmentation fault. > #0 timerfd_stop_interval (timer=0x2ba63003ad80) at src/switch_time.c:438 > 438 close(it->fd); > Missing separate debuginfos, use: debuginfo-install > cyrus-sasl-lib-2.1.23-15.el6.x86_64 glibc-2.12-1.149.el6_6.5.x86_64 > keyutils-libs-1.4-5.el6.x86_64 krb5-libs-1.10.3-37.el6_6.x86_64 > ldns-1.6.17-1.el6.x86_64 libcom_err-1.41.12-21.el6.x86_64 > libcurl-7.19.7-40.el6_6.4.x86_64 > libedit-2.11-4.20080712cvs.1.el6.x86_64 libgcc-4.4.7-11.el6.x86_64 > libidn-1.18-2.el6.x86_64 libjpeg-turbo-1.2.1-3.el6_5.x86_64 > libselinux-2.0.94-5.8.el6.x86_64 libssh2-1.4.2-1.el6.x86_64 > libstdc++-4.4.7-11.el6.x86_64 ncurses-libs-5.7-3.20090208.el6.x86_64 > nspr-4.10.6-1.el6_5.x86_64 nss-3.16.1-14.el6.x86_64 > nss-softokn-freebl-3.14.3-17.el6.x86_64 nss-util-3.16.1-3.el6.x86_64 > openldap-2.4.39-8.el6.x86_64 openssl-1.0.1e-30.el6.8.x86_64 > pcre-7.8-6.el6.x86_64 speex-1.2-0.12.rc1.1.el6.x86_64 > sqlite-3.6.20-1.el6.x86_64 zlib-1.2.3-29.el6.x86_64 > (gdb) bt full > #0 timerfd_stop_interval (timer=0x2ba63003ad80) at src/switch_time.c:438 > No locals. > #1 _timerfd_destroy (timer=0x2ba63003ad80) at src/switch_time.c:512 > it = 0x0 > #2 timer_destroy (timer=0x2ba63003ad80) at src/switch_time.c:940 > private_info = > __func__ = "timer_destroy" > #3 0x00002ba5a465d8ec in switch_core_timer_destroy > (timer=0x2ba63003ad80) at src/switch_core_timer.c:121 > __func__ = "switch_core_timer_destroy" > #4 0x00002ba5ab5f1257 in timer_thread_run (thread= out>, obj=) at mod_spandsp_fax.c:233 > timer = {interval = 20, flags = 1, samples = 160, samplecount > = 160, timer_interface = 0x1f5a69e8, memory_pool = 0x2ba62c0009b8, > private_info = 0x0, diff = 0, start = 1429147104762197, tick = 0} > pvt = > __func__ = "timer_thread_run" > #5 0x00002ba5a61bc9d1 in start_thread () from /lib64/libpthread.so.0 > No symbol table info available. > #6 0x00002ba5a6b0a8fd in clone () from /lib64/libc.so.6 > No symbol table info available. > (gdb) > > > Any pointers would be greatly appreciated. > > Thanks, > Sammy > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150415/d6213d91/attachment.html From silvagustavo at yandex.ru Thu Apr 16 08:52:16 2015 From: silvagustavo at yandex.ru (Gustavo Silva) Date: Thu, 16 Apr 2015 07:52:16 +0300 Subject: [Freeswitch-users] Dialplan authentication In-Reply-To: References: <552CF376.4030403@etherway.ru> <552E20B5.1070201@etherway.ru> <552E43C4.5070603@etherway.ru> <20150415115556.5853254.20673.413@yandex.ru> <552E56BC.2010908@etherway.ru> Message-ID: <20150416045216.5853254.34302.440@yandex.ru> An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150416/daec15c0/attachment-0002.html From silvagustavo at yandex.ru Thu Apr 16 08:52:16 2015 From: silvagustavo at yandex.ru (Gustavo Silva) Date: Thu, 16 Apr 2015 07:52:16 +0300 Subject: [Freeswitch-users] Dialplan authentication In-Reply-To: References: <552CF376.4030403@etherway.ru> <552E20B5.1070201@etherway.ru> <552E43C4.5070603@etherway.ru> <20150415115556.5853254.20673.413@yandex.ru> <552E56BC.2010908@etherway.ru> Message-ID: <20150416045216.5853254.34302.440@yandex.ru> An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150416/daec15c0/attachment-0003.html From s.safarov at gmail.com Thu Apr 16 10:37:27 2015 From: s.safarov at gmail.com (Sergey Safarov) Date: Thu, 16 Apr 2015 09:37:27 +0300 Subject: [Freeswitch-users] Dialplan authentication In-Reply-To: <20150416045216.5853254.34302.440@yandex.ru> References: <552CF376.4030403@etherway.ru> <552E20B5.1070201@etherway.ru> <552E43C4.5070603@etherway.ru> <20150415115556.5853254.20673.413@yandex.ru> <552E56BC.2010908@etherway.ru> <20150416045216.5853254.34302.440@yandex.ru> Message-ID: Are you see auth requests on RADIUS server side? Are there errors in RADIUS server log? On Thu, Apr 16, 2015 at 7:52 AM, Gustavo Silva wrote: > So we back to the beginning. > > How can I use mod_xml_radius in dialplan? > > I have set up something like this: > > >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> > But I got authentication failed. > > > > > Sent from my BlackBerry 10 smartphone. > *From: *Sergey Safarov > *Sent: *???????, 16 ?????? 2015 ?., 7:04 > *To: *FreeSWITCH Users Help > *Reply To: *FreeSWITCH Users Help > *Subject: *Re: [Freeswitch-users] Dialplan authentication > > I recommend return all required data in response and not use mod_rad_auth > module. > > On Wed, Apr 15, 2015, 18:12 Sergey Safarov wrote: > >> If you see mod_xml_radius.c string 667, then you can find that FS create >> variables from RADIUS server responce. >> Try return from RADIUS server vendor spectific attribute (VSA) with >> password value. >> Then call "info" application from dialplan and locate password value in >> variables. >> >> Sergey >> >> On Wed, Apr 15, 2015 at 3:17 PM, ??????? ????? wrote: >> >>> I would like to use this approach: >>> >> data="PASSWD=${user_data(${caller_id_number}@${sip_from_host} param >>> password)}"/> >>> >>> I dont know how I could access the password of the registered user who >>> is making a call, to authenticate (or check billing) with the rad_auth >>> module if I am using xml_radius module. >>> >>> First I had tested only the mod rad_auth as Sergey had mentioned. It had >>> worked. Know I am working together with the xml_radius module. >>> >>> On 15.04.2015 14:55, Gustavo Silva wrote: >>> >>> So, in dialplan I could access this parameter by ${vm_pass}? >>> >>> Sent from my BlackBerry 10 smartphone. >>> *From: *???????, ??????? / Dmitriy Borisov >>> *Sent: *?????, 15 ?????? 2015 ?., 14:51 >>> *To: *FreeSWITCH Users Help >>> *Reply To: *FreeSWITCH Users Help >>> *Subject: *Re: [Freeswitch-users] Dialplan authentication >>> >>> Hi! >>> >>> If you use rad_auth dialplan command, then after using it you will >>> have Freeswitch-AVPair channel variable with value vm_pass=1234 >>> If you use auth_invite or auth_reg, than mod_xml_radius will create user >>> param with name Freeswitch-AVPair and value vm_pass=1234 in result >>> directory >>> >>> 2015-04-15 13:56 GMT+03:00 ??????? ????? : >>> >>>> It works. >>>> >>>> Man, just more one question, how can I get the value of this variable >>>> in my diaplan? I am using mod_xml_radius. >>>> >>>> Freeswitch-AVPair = "vm_pass=1234" >>>> >>>> >>>> >>>> >>>> >>>> >>>> On 15.04.2015 12:08, Sergey Safarov wrote: >>>> >>>> Add strings to dialplan like >>>> >>>> >>> data="TRANSACTIONID=h323-ivr-out=transactionID:1234"/> >>>> >>> data="CALLEDNUMBER=${destination_number}"/> >>>> >>> data="CALLINGNUMBER=${caller_id_number}"/> >>>> >>>> You can try comment this attributs in rad_auth.conf.xml >>>> >>>> >>>> >>>> On Wed, Apr 15, 2015 at 11:26 AM, ??????? ????? >>>> wrote: >>>> >>>>> Sergey, do you know why I am getting these variables undefined? >>>>> >>>>> [ERR] mod_rad_auth.c:178 Undefined channel variable: GWID. >>>>> [ERR] mod_rad_auth.c:178 Undefined channel variable: TRANSACTIONID. >>>>> [ERR] mod_rad_auth.c:178 Undefined channel variable: CALLEDNUMBER. >>>>> [ERR] mod_rad_auth.c:178 Undefined channel variable: CALLINGNUMBER. >>>>> >>>>> >>>>> >>>>> >>>>> On 14.04.2015 22:34, Sergey Safarov wrote: >>>>> >>>>> In provided example password stored in directory. >>>>> Directory can be in mod_xml_radius ( >>>>> https://freeswitch.org/confluence/display/FREESWITCH/mod_xml_radius) >>>>> or other dynamically generated directory. >>>>> >>>>> >>>>> On Tue, Apr 14, 2015 at 9:56 PM, Gustavo Silva >>>> > wrote: >>>>> >>>>>> Hi Sergey, >>>>>> >>>>>> Tks for the help but there is a catch in this solution. I will be >>>>>> still having ?the password and user name in freeswitch server. >>>>>> >>>>>> I would like that the radius server handles it. >>>>>> >>>>>> Is there a way with the rad_auth module where I wouldn't need to >>>>>> set up password in diaplan file? All the authentication should be done with >>>>>> the radius server. >>>>>> >>>>>> I say that because, for example: I have 200 users, with diferentes >>>>>> passwords configured in the radius server. So, by this solution with >>>>>> rad_auth module, I should also have 200 different password in the diaplan >>>>>> configuration, right? >>>>>> >>>>>> Regards, >>>>>> Gustavo >>>>>> >>>>>> Sent from my BlackBerry 10 smartphone. >>>>>> *From: *Sergey Safarov >>>>>> *Sent: *???????, 14 ?????? 2015 ?., 21:16 >>>>>> *To: *FreeSWITCH Users Help >>>>>> *Reply To: *FreeSWITCH Users Help >>>>>> *Subject: *Re: [Freeswitch-users] Dialplan authentication >>>>>> >>>>>> This can help you >>>>>> >>>>>> [root at fs1 autoload_configs]# cat rad_auth.conf.xml >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>> direction="in"/> >>>>>> >>>>> direction="in"/> >>>>>> >>>>> expr="1" direction="in"/> >>>>>> >>>>> pec="0" expr="1" direction="in"/> >>>>>> >>>>> pec="0" expr="1" direction="in"/>--> >>>>>> >>>>> direction="in"/> >>>>>> >>>>> direction="in"/> --> >>>>>> >>>>>> >>>>>> >>>>> expr="0" direction="out"/> >>>>>> >>>>> direction="out"/> >>>>>> >>>>> pec="9" expr="0" direction="out"/> >>>>>> >>>>> value="Cisco-Servicce-Info" pec="9" expr="0" direction="out"/> >>>>>> >>>>> pec="9" expr="0" direction="out"/> >>>>>> >>>>> value="h323_ivr_duration" pec="9" expr="0" direction="out"/> --> >>>>>> >>>>> pec="9" expr="0" direction="out"/> >>>>>> >>>>>> >>>>>> >>>>>> [root at fs1 autoload_configs]# >>>>>> >>>>>> Dialplan fragment >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>> expression="^\+(\d+)$"> >>>>>> >>>>> data="h323-gw-id=${accountcode_bleg}"/> >>>>>> >>>>>> >>>>>> >>>>> data="CALLID=h323-conf-id=${uuid}"/> >>>>>> >>>>> data="GWID=${accountcode_bleg}"/> >>>>>> >>>>>> >>>>> data="PASSWD=xxxxxxxx"/> >>>>>> >>>>> data="DIALED_NUMBER=$1"/> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> Log fragment >>>>>> Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru parsing >>>>>> [mr24.gateways.rcsnet.ru->operator-rad-auth] continue=true >>>>>> Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru Regex >>>>>> (PASS) [operator-rad-auth] ${accountcode}(8) =~ /^8$/ match=any >>>>>> Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru Regex >>>>>> (PASS) [operator-rad-auth] ${destination_number}(+749593377xx) =~ >>>>>> /^\+(\d+)$/ break=on-false >>>>>> Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru Action >>>>>> export(h323-gw-id=${accountcode_bleg}) >>>>>> Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru Action >>>>>> unset(disable_radius_start) >>>>>> Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru Action >>>>>> unset(disable_radius_stop) >>>>>> Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru Action >>>>>> set(CALLID=h323-conf-id=${uuid}) INLINE >>>>>> EXECUTE sofia/mr24/0000079639652834 at gateways.rcsnet.ru >>>>>> set(CALLID=h323-conf-id=bd091212-e2b0-11e4-98e2-d102deb9a97d) >>>>>> 2015-04-14 14:15:43.446357 [DEBUG] mod_dptools.c:1435 sofia/mr24/ >>>>>> 00000796396528xx at gateways.operator.ru SET >>>>>> [CALLID]=[h323-conf-id=bd091212-e2b0-11e4-98e2-d102deb9a97d] >>>>>> Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru Action >>>>>> set(GWID=${accountcode_bleg}) INLINE >>>>>> EXECUTE sofia/mr24/0000079639652834 at gateways.rcsnet.ru set(GWID=1460) >>>>>> 2015-04-14 14:15:43.446357 [DEBUG] mod_dptools.c:1435 sofia/mr24/ >>>>>> 00000796396528xx at gateways.rcsnet.ru SET [GWID]=[1460] >>>>>> Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru Action >>>>>> set(USERNAME=login at operator.ru) INLINE >>>>>> EXECUTE sofia/mr24/0000079639652834 at gateways.rcsnet.ru set(USERNAME= >>>>>> login at operator.ru) >>>>>> 2015-04-14 14:15:43.446357 [DEBUG] mod_dptools.c:1435 sofia/mr24/ >>>>>> 0000079639652834 at gateways.rcsnet.ru SET [USERNAME]=[login at operator.ru >>>>>> ] >>>>>> Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru Action >>>>>> set(PASSWD=xxxxxxxx) INLINE >>>>>> EXECUTE sofia/mr24/0000079639652834 at gateways.rcsnet.ru >>>>>> set(PASSWD=xxxxxxxx) >>>>>> 2015-04-14 14:15:43.446357 [DEBUG] mod_dptools.c:1435 sofia/mr24/ >>>>>> 00000796396528xx at gateways.operator.ru SET [PASSWD]=[xxxxxxxxxxx] >>>>>> Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru Action >>>>>> set(DIALED_NUMBER=749593377xx) INLINE >>>>>> EXECUTE sofia/mr24/0000079639652834 at gateways.rcsnet.ru >>>>>> set(DIALED_NUMBER=749593377xx) >>>>>> 2015-04-14 14:15:43.446357 [DEBUG] mod_dptools.c:1435 sofia/mr24/ >>>>>> 00000796396528xx at gateways.rcsnet.ru SET [DIALED_NUMBER]=[749593377xx] >>>>>> sofia/mr24/0000079639652834 at gateways.rcsnet.ru Action >>>>>> auth_function(in ${DIALED_NUMBER}, in ${USERNAME}, in ${PASSWD}, out >>>>>> AUTH_RESULT) >>>>>> .......... >>>>>> >>>>>> bd091212-e2b0-11e4-98e2-d102deb9a97d EXECUTE sofia/mr24/ >>>>>> 00000796396528xx at gateways.operator.ru auth_function(in 74959337786, >>>>>> in login at operator.ru, in xxxxxxxxxxxx, out AUTH_RESULT) >>>>>> [DEBUG] mod_rad_auth.c:301 allocate initial structure. >>>>>> [DEBUG] mod_rad_auth.c:313 initialzed configuration. >>>>>> [DEBUG] mod_rad_auth.c:318 set authserver := 10.40.0.5:1814:xxxxxxxx. >>>>>> [DEBUG] mod_rad_auth.c:318 set dictionary := >>>>>> /etc/radiusclient/dictionary.all. >>>>>> [DEBUG] mod_rad_auth.c:318 set seqfile := /var/run/radius.seq. >>>>>> [DEBUG] mod_rad_auth.c:318 set mapfile := >>>>>> /etc/radiusclient/port-id-map. >>>>>> [DEBUG] mod_rad_auth.c:318 set default_realm := . >>>>>> [DEBUG] mod_rad_auth.c:318 set radius_timeout := 1. >>>>>> [DEBUG] mod_rad_auth.c:318 set radius_retries := 0. >>>>>> [DEBUG] mod_rad_auth.c:318 set radius_deadtime := 0. >>>>>> [DEBUG] mod_rad_auth.c:318 set bindaddr := *. >>>>>> [DEBUG] mod_rad_auth.c:371 ... radius: User-Name: login at operator.ru >>>>>> [DEBUG] mod_rad_auth.c:380 ... radius: User-Password: >>>>>> xxxxxxxxxxxxxxxxxx >>>>>> DEBUG] mod_rad_auth.c:396 ... radius: Called-station-Id: 74959337786 >>>>>> [DEBUG] mod_rad_auth.c:413 Handle attribute: h323-conf-id >>>>>> [DEBUG] mod_rad_auth.c:439 ... dictionary data: id:24, vendor id:9, >>>>>> attr type:0, attr name:h323-conf-id (589848) >>>>>> [DEBUG] mod_rad_auth.c:444 ... radius: key:h323-conf-id, value:CALLID >>>>>> (h323-conf-id=bd091212-e2b0-11e4-98e2-d102deb9a97d) as string >>>>>> [DEBUG] mod_rad_auth.c:413 Handle attribute: h323-gw-id >>>>>> [DEBUG] mod_rad_auth.c:439 ... dictionary data: id:33, vendor id:9, >>>>>> attr type:0, attr name:h323-gw-id (589857) >>>>>> [DEBUG] mod_rad_auth.c:444 ... radius: key:h323-gw-id, value:GWID >>>>>> (1460) as string >>>>>> [DEBUG] mod_rad_auth.c:413 Handle attribute: NAS-Port-Type >>>>>> [DEBUG] mod_rad_auth.c:439 ... dictionary data: id:61, vendor id:0, >>>>>> attr type:1, attr name:NAS-Port-Type (61) >>>>>> [DEBUG] mod_rad_auth.c:456 ... radius: key:NAS-Port-Type, value:0 (0) >>>>>> as integer >>>>>> [DEBUG] mod_rad_auth.c:491 sending radius packet ... >>>>>> [DEBUG] mod_rad_auth.c:497 RADIUS Authentication OK >>>>>> [DEBUG] mod_rad_auth.c:519 Handle attribute: CREDIT_AMOUNT >>>>>> [DEBUG] mod_rad_auth.c:522 attribute (CREDIT_AMOUNT) found in >>>>>> radius packet >>>>>> [DEBUG] mod_rad_auth.c:523 set variable credit_amount := >>>>>> h323-credit-amount=-600913.47 >>>>>> [DEBUG] mod_rad_auth.c:519 Handle attribute: CURRENCY >>>>>> [DEBUG] mod_rad_auth.c:522 attribute (CURRENCY) found in radius >>>>>> packet >>>>>> [DEBUG] mod_rad_auth.c:523 set variable currency := >>>>>> h323-currency=RUR >>>>>> [DEBUG] mod_rad_auth.c:519 Handle attribute: CREDIT_TIME >>>>>> [DEBUG] mod_rad_auth.c:522 attribute (CREDIT_TIME) found in radius >>>>>> packet >>>>>> [DEBUG] mod_rad_auth.c:523 set variable h323-credit_time := >>>>>> h323-credit-time=86400 >>>>>> [DEBUG] mod_rad_auth.c:519 Handle attribute: PER_MINUTE_PRICE >>>>>> [DEBUG] mod_rad_auth.c:522 attribute (PER_MINUTE_PRICE) found in >>>>>> radius packet >>>>>> [DEBUG] mod_rad_auth.c:523 set variable Cisco-Servicce-Info := >>>>>> 0.000000 >>>>>> [DEBUG] mod_rad_auth.c:519 Handle attribute: RADIUS_RETURN_CODE >>>>>> [DEBUG] mod_rad_auth.c:522 attribute (RADIUS_RETURN_CODE) found in >>>>>> radius packet >>>>>> [DEBUG] mod_rad_auth.c:523 set variable return_code := >>>>>> h323-return-code=0 >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> On Tue, Apr 14, 2015 at 5:28 PM, Gustavo Silva < >>>>>> silvagustavo at yandex.ru> wrote: >>>>>> >>>>>>> >>>>>>> First it says that the the login is OK and after it says that the >>>>>>> login is incorrect. >>>>>>> >>>>>>> Tue Apr 14 17:24:11 2015 : Auth: Login OK: [1008/>>>>>> DIGEST>] (from client localhost port 0 cli 1008) >>>>>>> Tue Apr 14 17:24:11 2015 : Info: rlm_radutmp: Login entry for NAS >>>>>>> localhost port 0 duplicate >>>>>>> Tue Apr 14 17:24:11 2015 : Auth: Login incorrect: [>>>>>> attribute>/] (from client localhost port >>>>>>> 0 >>>>>>> cli 1008) >>>>>>> Tue Apr 14 17:24:14 2015 : Error: rlm_radutmp: Logout for NAS >>>>>>> localhost >>>>>>> port 0, but no Login record >>>>>>> >>>>>>> >>>>>>> >>>>>>> Sent from my BlackBerry 10 smartphone. >>>>>>> >>>>>>> Original Message >>>>>>> *From: *???????, ??????? / Dmitriy Borisov >>>>>>> *Sent: *???????, 14 ?????? 2015 ?., 17:22 >>>>>>> *To: *FreeSWITCH Users Help >>>>>>> *Reply To: *FreeSWITCH Users Help >>>>>>> *Subject: *Re: [Freeswitch-users] Dialplan authentication >>>>>>> >>>>>>> Hi! >>>>>>> >>>>>>> Configuration looks good there, and what in radius.log on RADIUS >>>>>>> server? >>>>>>> >>>>>>> 2015-04-14 14:01 GMT+03:00 ??????? ????? : >>>>>>> >>>>>>>> I have set up the following in my dialplan: >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> I am facing the following error: >>>>>>>> >>>>>>>> Dialplan: sofia/internal/1008 at ipaddress Regex (PASS) [auth] >>>>>>>> ${radius_auth_result}(0) =~ /^0$/ break=on-false >>>>>>>> Dialplan: sofia/internal/1008 at ipaddress Action radius_auth() INLINE >>>>>>>> EXECUTE sofia/internal/1008 at ipaddress radius_auth() >>>>>>>> 2015-04-14 13:53:42.734956 [ERR] mod_xml_radius.c:1090 >>>>>>>> mod_xml_radius: >>>>>>>> Failed to authenticate >>>>>>>> >>>>>>>> What should I do to the call authentication work? >>>>>>>> >>>>>>>> Regards, >>>>>>>> Gustavo >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> _________________________________________________________________________ >>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>> consulting at freeswitch.org >>>>>>>> http://www.freeswitchsolutions.com >>>>>>>> >>>>>>>> Official FreeSWITCH Sites >>>>>>>> http://www.freeswitch.org >>>>>>>> http://confluence.freeswitch.org >>>>>>>> http://www.cluecon.com >>>>>>>> >>>>>>>> FreeSWITCH-users mailing list >>>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>> UNSUBSCRIBE: >>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>> http://www.freeswitch.org >>>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> with best regards, >>>>>>> Dmitriy Borisov >>>>>>> >>>>>>> >>>>>>> >>>>>>> _________________________________________________________________________ >>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>> consulting at freeswitch.org >>>>>>> http://www.freeswitchsolutions.com >>>>>>> >>>>>>> Official FreeSWITCH Sites >>>>>>> http://www.freeswitch.org >>>>>>> http://confluence.freeswitch.org >>>>>>> http://www.cluecon.com >>>>>>> >>>>>>> FreeSWITCH-users mailing list >>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> UNSUBSCRIBE: >>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>> http://www.freeswitch.org >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> _________________________________________________________________________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at freeswitch.org >>>>>> http://www.freeswitchsolutions.com >>>>>> >>>>>> Official FreeSWITCH Sites >>>>>> http://www.freeswitch.org >>>>>> http://confluence.freeswitch.org >>>>>> http://www.cluecon.com >>>>>> >>>>>> FreeSWITCH-users mailing list >>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE: >>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>> >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: consulting at freeswitch.orghttp://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org >>>>> >>>>> >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: consulting at freeswitch.orghttp://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org >>>> >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> >>> -- >>> with best regards, >>> Dmitriy Borisov >>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: consulting at freeswitch.orghttp://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com >>> >>> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org >>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150416/a0094371/attachment-0001.html From v.bychenkov at zonatelecom.ru Thu Apr 16 10:44:49 2015 From: v.bychenkov at zonatelecom.ru (=?koi8-r?B?98nUwczJyiDi2d7FzsvP1w==?=) Date: Thu, 16 Apr 2015 06:44:49 +0000 Subject: [Freeswitch-users] Verto record VP8 video References: Message-ID: Sorry seems I didn't understand record and record fsw application. They use only for record voice (video) messages. Actually I want record video call something like record_session. As I understand current freeswitch doesn't support record video calls? Does this function exist on any unstable branch of FreeSwitch? On 13.04.2015 20:42, Seven Du wrote: > use record_fsv or wait for FreeSWITCH 1.6 > >> On Apr 13, 2015, at 7:30 PM, ??????? ???????? wrote: >> >> Good day! Anybody know how to record VP8 video in freeswitch for verto >> calls. If I use fsv: >> >> >> >> On calledstation I don't see call. On freeswitch console I see: >> >> [NOTICE] switch_channel.c:3438 Hangup >> verto.rtc/1007 at video-ce.XXXXXXX.com [CS_EXECUTE] [INCOMPATIBLE_DESTINATION] >> Does mod_fsv support verto call? >> >> >> >> >> >> >> >> ???????? ???! >> >> ? ?????????, ??????? ???????? >> >> >> ???. +7 (4872) 70 43 21 ???. >> ???.?????????: 8-800-333-84-64 >> >> ZONATELECOM >> www.zonatelecom.ru >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org ???????? ???! ? ?????????, ??????? ???????? ???. +7 (4872) 70 43 21 ???. ???.?????????: 8-800-333-84-64 ZONATELECOM www.zonatelecom.ru From silvagustavo at yandex.ru Thu Apr 16 10:47:25 2015 From: silvagustavo at yandex.ru (Gustavo Silva) Date: Thu, 16 Apr 2015 09:47:25 +0300 Subject: [Freeswitch-users] Dialplan authentication In-Reply-To: References: <552CF376.4030403@etherway.ru> <552E43C4.5070603@etherway.ru> <20150415115556.5853254.20673.413@yandex.ru> <552E56BC.2010908@etherway.ru> <20150416045216.5853254.34302.440@yandex.ru> Message-ID: <20150416064725.5853254.93870.444@yandex.ru> An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150416/fde7b69f/attachment-0002.html From silvagustavo at yandex.ru Thu Apr 16 10:47:25 2015 From: silvagustavo at yandex.ru (Gustavo Silva) Date: Thu, 16 Apr 2015 09:47:25 +0300 Subject: [Freeswitch-users] Dialplan authentication In-Reply-To: References: <552CF376.4030403@etherway.ru> <552E43C4.5070603@etherway.ru> <20150415115556.5853254.20673.413@yandex.ru> <552E56BC.2010908@etherway.ru> <20150416045216.5853254.34302.440@yandex.ru> Message-ID: <20150416064725.5853254.93870.444@yandex.ru> An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150416/fde7b69f/attachment-0003.html From ali.jibran44 at gmail.com Thu Apr 16 10:49:04 2015 From: ali.jibran44 at gmail.com (Ali Jibran) Date: Thu, 16 Apr 2015 06:49:04 +0000 Subject: [Freeswitch-users] WEBRTC In-Reply-To: <5C2EDCD6-4038-497A-956D-59CAB727F2C5@jerris.com> References: <5C2EDCD6-4038-497A-956D-59CAB727F2C5@jerris.com> Message-ID: Could you guide me into it a little? As to how would achieve that? Thanks On Tue, 14 Apr 2015 at 3:57 pm Michael Jerris wrote: > yep > > On Apr 14, 2015, at 2:24 AM, Ali Jibran wrote: > > Oh ok. Thanks. > > So can I use the proxy to forward WEBRTC calls to freeSWITCH? It needs to > connect at port 5066. > > I'm not sure how to do that. > WEBRTC directly on freeSWITCH works fine but I want to send all calls > through Kamailio. Can that be done? > > On Monday, April 13, 2015, Michael Jerris wrote: > >> You can use kamillio to proxy, but that is not an SBC. FreeSWITCH is an >> SBC. >> >> > On Apr 11, 2015, at 8:42 AM, Ali Jibran wrote: >> > >> > Is there anyway I can use WEBRTC through a SBC? >> > >> > I'm using Kamailio as a load balancer. And I want to make WEBRTC calls >> come in through Kamailio and not directly to freeSWITCH. >> > >> > I'm using sip.js. >> > >> > Can someone guide me in the right deprecation on this? Thanks :) >> >> > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150416/c62625dd/attachment.html From gfs at etherway.ru Thu Apr 16 11:29:16 2015 From: gfs at etherway.ru (=?UTF-8?B?0JPRg9GB0YLQsNCy0L4g0KHQuNC70LLQsA==?=) Date: Thu, 16 Apr 2015 10:29:16 +0300 Subject: [Freeswitch-users] Dialplan authentication In-Reply-To: <20150416064725.5853254.93870.444@yandex.ru> References: <552CF376.4030403@etherway.ru> <552E43C4.5070603@etherway.ru> <20150415115556.5853254.20673.413@yandex.ru> <552E56BC.2010908@etherway.ru> <20150416045216.5853254.34302.440@yandex.ru> <20150416064725.5853254.93870.444@yandex.ru> Message-ID: <552F64CC.4080108@etherway.ru> I have turned xml_radius_debug on to check what is happening. I got this: Dialplan: sofia/internal/1003 at 192.168.56.101 Action radius_auth() INLINE EXECUTE sofia/internal/1003 at 192.168.56.101 radius_auth() 2015-04-16 03:24:23.358128 [ERR] mod_xml_radius.c:988 mod_xml_radius: starting app authentication 2015-04-16 03:24:23.358128 [ERR] mod_xml_radius.c:77 Attempting to add param 'authserver' with value '192.168.56.103:1812:testing123' 2015-04-16 03:24:23.358128 [ERR] mod_xml_radius.c:77 Attempting to add param 'radius_timeout' with value '10' 2015-04-16 03:24:23.358128 [ERR] mod_xml_radius.c:77 Attempting to add param 'radius_retries' with value '2' 2015-04-16 03:24:23.358128 [ERR] mod_xml_radius.c:77 Attempting to add param 'radius_deadtime' with value '0' 2015-04-16 03:24:23.358128 [ERR] mod_xml_radius.c:77 Attempting to add param 'dictionary' with value '/usr/local/src/freeswitch/src/mod/xml_int/mod_xml_radius/dictionaries/dictionary' 2015-04-16 03:24:23.358128 [ERR] mod_xml_radius.c:77 Attempting to add param 'seqfile' with value '/var/run/radius.seq' 2015-04-16 03:24:23.358128 [ERR] mod_xml_radius.c:340 mod_xml_radius: dict attr 'h323-conf-id' value '589848' type '0' 2015-04-16 03:24:23.358128 [ERR] mod_xml_radius.c:356 mod_xml_radius: dict vend name 'Cisco' vendorpec '9' 2015-04-16 03:24:23.358128 [ERR] mod_xml_radius.c:476 mod_xml_radius: value: 9aeb0262-e409-11e4-a468-d1036799cb44 2015-04-16 03:24:23.358128 [ERR] mod_xml_radius.c:340 mod_xml_radius: dict attr 'Cisco-AVPair' value '589825' type '0' 2015-04-16 03:24:23.358128 [ERR] mod_xml_radius.c:356 mod_xml_radius: dict vend name 'Cisco' vendorpec '9' 2015-04-16 03:24:23.358128 [ERR] mod_xml_radius.c:476 mod_xml_radius: value: h323-call-id=9aeb0262-e409-11e4-a468-d1036799cb44 2015-04-16 03:24:23.358128 [ERR] mod_xml_radius.c:340 mod_xml_radius: dict attr 'Cisco-AVPair' value '589825' type '0' 2015-04-16 03:24:23.358128 [ERR] mod_xml_radius.c:356 mod_xml_radius: dict vend name 'Cisco' vendorpec '9' 2015-04-16 03:24:23.358128 [ERR] mod_xml_radius.c:476 mod_xml_radius: value: src-gw-ip=192.168.56.1 2015-04-16 03:24:23.358128 [ERR] mod_xml_radius.c:340 mod_xml_radius: dict attr 'Cisco-AVPair' value '589825' type '0' 2015-04-16 03:24:23.358128 [ERR] mod_xml_radius.c:356 mod_xml_radius: dict vend name 'Cisco' vendorpec '9' 2015-04-16 03:24:23.358128 [ERR] mod_xml_radius.c:476 mod_xml_radius: value: src-gw-name=1003 2015-04-16 03:24:23.358128 [ERR] mod_xml_radius.c:340 mod_xml_radius: dict attr 'Cisco-AVPair' value '589825' type '0' 2015-04-16 03:24:23.358128 [ERR] mod_xml_radius.c:356 mod_xml_radius: dict vend name 'Cisco' vendorpec '9' 2015-04-16 03:24:23.358128 [ERR] mod_xml_radius.c:476 mod_xml_radius: value: src-number-in=1003 2015-04-16 03:24:23.358128 [ERR] mod_xml_radius.c:340 mod_xml_radius: dict attr 'Cisco-AVPair' value '589825' type '0' 2015-04-16 03:24:23.358128 [ERR] mod_xml_radius.c:356 mod_xml_radius: dict vend name 'Cisco' vendorpec '9' 2015-04-16 03:24:23.358128 [ERR] mod_xml_radius.c:476 mod_xml_radius: value: dst-number-in=1000 2015-04-16 03:24:23.358128 [ERR] mod_xml_radius.c:340 mod_xml_radius: dict attr 'Called-Station-Id' value '30' type '0' 2015-04-16 03:24:23.358128 [ERR] mod_xml_radius.c:476 mod_xml_radius: value: 1000 2015-04-16 03:24:23.358128 [ERR] mod_xml_radius.c:340 mod_xml_radius: dict attr 'Calling-Station-Id' value '31' type '0' 2015-04-16 03:24:23.358128 [ERR] mod_xml_radius.c:476 mod_xml_radius: value: 1003 2015-04-16 03:24:23.358128 [ERR] mod_xml_radius.c:340 mod_xml_radius: dict attr 'User-Name' value '1' type '0' 2015-04-16 03:24:23.358128 [ERR] mod_xml_radius.c:476 mod_xml_radius: value: 1003 2015-04-16 03:24:24.358161 [ERR] mod_xml_radius.c:1015 mod_xml_radius: result(RC=2) 2015-04-16 03:24:24.358161 [ERR] mod_xml_radius.c:1023 mod_xml_radius: Failed to authenticate My xml_radius conf, in the auth_app section is set as: Regards, Gustavo On 16.04.2015 09:47, Gustavo Silva wrote: > These errors have shown up in radius.log: > > > Tue Apr 14 17:24:11 2015 : Auth: Login OK: [1008/ DIGEST>] (from client localhost port 0 cli 1008) > Tue Apr 14 17:24:11 2015 : Info: rlm_radutmp: Login entry for NAS > localhost port 0 duplicate > Tue Apr 14 17:24:11 2015 : Auth: Login incorrect: [ attribute>/] (from client localhost port 0 > cli 1008) > Tue Apr 14 17:24:14 2015 : Error: rlm_radutmp: Logout for NAS localhost > port 0, but no Login record > > > > Sent from my BlackBerry 10 smartphone. > *From: *Sergey Safarov > *Sent: *???????, 16 ?????? 2015 ?., 9:43 > *To: *FreeSWITCH Users Help > *Reply To: *FreeSWITCH Users Help > *Subject: *Re: [Freeswitch-users] Dialplan authentication > > > Are you see auth requests on RADIUS server side? > Are there errors in RADIUS server log? > > On Thu, Apr 16, 2015 at 7:52 AM, Gustavo Silva > wrote: > > So we back to the beginning. > > How can I use mod_xml_radius in dialplan? > > I have set up something like this: > >>>> >>>> >>>> >>> expression="^0$"> >>>> >>> inline="true"/> >>>> >>>> >>>> > > But I got authentication failed. > > > > > Sent from my BlackBerry 10 smartphone. > *From: *Sergey Safarov > *Sent: *???????, 16 ?????? 2015 ?., 7:04 > *To: *FreeSWITCH Users Help > *Reply To: *FreeSWITCH Users Help > *Subject: *Re: [Freeswitch-users] Dialplan authentication > > > I recommend return all required data in response and not use > mod_rad_auth module. > > > On Wed, Apr 15, 2015, 18:12 Sergey Safarov > wrote: > > If you see mod_xml_radius.c string 667, then you can find that > FS create variables from RADIUS server responce. > Try return from RADIUS server vendor spectific attribute (VSA) > with password value. > Then call "info" application from dialplan and locate password > value in variables. > > Sergey > > On Wed, Apr 15, 2015 at 3:17 PM, ??????? ????? > > wrote: > > I would like to use this approach: > data="PASSWD=${user_data(${caller_id_number}@${sip_from_host} > param password)}"/> > > I dont know how I could access the password of the > registered user who is making a call, to authenticate (or > check billing) with the rad_auth module if I am using > xml_radius module. > > First I had tested only the mod rad_auth as Sergey had > mentioned. It had worked. Know I am working together with > the xml_radius module. > > On 15.04.2015 14:55, Gustavo Silva wrote: >> So, in dialplan I could access this parameter by ${vm_pass}? >> >> Sent from my BlackBerry 10 smartphone. >> *From: *???????, ??????? / Dmitriy Borisov >> *Sent: *?????, 15 ?????? 2015 ?., 14:51 >> *To: *FreeSWITCH Users Help >> *Reply To: *FreeSWITCH Users Help >> *Subject: *Re: [Freeswitch-users] Dialplan authentication >> >> >> Hi! >> >> If you use rad_auth dialplan command, then after using it >> you will have Freeswitch-AVPair channel variable with >> value vm_pass=1234 >> If you use auth_invite or auth_reg, than mod_xml_radius >> will create user param with name Freeswitch-AVPair and >> value vm_pass=1234 in result directory >> >> 2015-04-15 13:56 GMT+03:00 ??????? ????? > >: >> >> It works. >> >> Man, just more one question, how can I get the value >> of this variable in my diaplan? I am using >> mod_xml_radius. >> >> Freeswitch-AVPair = "vm_pass=1234" >> >> >> >> >> >> >> On 15.04.2015 12:08, Sergey Safarov wrote: >>> Add strings to dialplan like >>> >> data="GWID=${h323-gw-id}"/> >>> >> data="TRANSACTIONID=h323-ivr-out=transactionID:1234"/> >>> >> data="CALLEDNUMBER=${destination_number}"/> >>> >> data="CALLINGNUMBER=${caller_id_number}"/> >>> >>> You can try comment this attributs in rad_auth.conf.xml >>> >>> >>> >>> On Wed, Apr 15, 2015 at 11:26 AM, ??????? ????? >>> > wrote: >>> >>> Sergey, do you know why I am getting these >>> variables undefined? >>> >>> [ERR] mod_rad_auth.c:178 Undefined channel >>> variable: GWID. >>> [ERR] mod_rad_auth.c:178 Undefined channel >>> variable: TRANSACTIONID. >>> [ERR] mod_rad_auth.c:178 Undefined channel >>> variable: CALLEDNUMBER. >>> [ERR] mod_rad_auth.c:178 Undefined channel >>> variable: CALLINGNUMBER. >>> >>> >>> >>> >>> On 14.04.2015 22:34, Sergey Safarov wrote: >>>> In provided example password stored in directory. >>>> Directory can be in mod_xml_radius >>>> (https://freeswitch.org/confluence/display/FREESWITCH/mod_xml_radius) >>>> or other dynamically generated directory. >>>> >>>> >>>> On Tue, Apr 14, 2015 at 9:56 PM, Gustavo Silva >>>> >>> > wrote: >>>> >>>> Hi Sergey, >>>> >>>> Tks for the help but there is a catch in >>>> this solution. I will be still having ?the >>>> password and user name in freeswitch server. >>>> >>>> I would like that the radius server handles >>>> it. >>>> >>>> Is there a way with the rad_auth module >>>> where I wouldn't need to set up password in >>>> diaplan file? All the authentication should >>>> be done with the radius server. >>>> >>>> I say that because, for example: I have 200 >>>> users, with diferentes passwords configured >>>> in the radius server. So, by this solution >>>> with rad_auth module, I should also have >>>> 200 different password in the diaplan >>>> configuration, right? >>>> >>>> Regards, >>>> Gustavo >>>> >>>> Sent from my BlackBerry 10 smartphone. >>>> *From: *Sergey Safarov >>>> *Sent: *???????, 14 ?????? 2015 ?., 21:16 >>>> *To: *FreeSWITCH Users Help >>>> *Reply To: *FreeSWITCH Users Help >>>> *Subject: *Re: [Freeswitch-users] Dialplan >>>> authentication >>>> >>>> >>>> This can help you >>>> >>>> [root at fs1 autoload_configs]# cat >>>> rad_auth.conf.xml >>>> >>> description="radius authentification module"> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>> value="10.40.0.5:1814:x7h6t4g"/> >>>> >>> value="/etc/radiusclient/dictionary.all"/> >>>> >>> value="/var/run/radius.seq"/> >>>> >>> value="/etc/radiusclient/port-id-map"/> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>> value="CALLID" pec="9" expr="1" >>>> direction="in"/> >>>> >>> value="GWID" pec="9" expr="1" direction="in"/> >>>> >>> value="TRANSACTIONID" pec="9" expr="1" >>>> direction="in"/> >>>> >>> value="CALLEDNUMBER" pec="0" expr="1" >>>> direction="in"/> >>>> >>> value="CALLINGNUMBER" pec="0" expr="1" >>>> direction="in"/>--> >>>> >>> value="0" pec="0" expr="0" direction="in"/> >>>> >>> pec="0" expr="0" direction="in"/> --> >>>> >>>> >>>> >>> value="credit_amount" pec="9" expr="0" >>>> direction="out"/> >>>> >>> value="currency" pec="9" expr="0" >>>> direction="out"/> >>>> >>> value="h323-credit_time" pec="9" expr="0" >>>> direction="out"/> >>>> >>> value="Cisco-Servicce-Info" pec="9" >>>> expr="0" direction="out"/> >>>> >>> value="preffered_lang" pec="9" expr="0" >>>> direction="out"/> >>>> >>> value="h323_ivr_duration" pec="9" expr="0" >>>> direction="out"/> --> >>>> >>> value="return_code" pec="9" expr="0" >>>> direction="out"/> >>>> >>>> >>>> >>>> [root at fs1 autoload_configs]# >>>> >>>> Dialplan fragment >>>> >>> continue="true"> >>>> >>>> >>> expression="^8$"/> >>>> >>>> >>> expression="^\+(\d+)$"> >>>> >>> data="h323-gw-id=${accountcode_bleg}"/> >>>> >>> data="disable_radius_start"/> >>>> >>> data="disable_radius_stop"/> >>>> >>> data="CALLID=h323-conf-id=${uuid}"/> >>>> >>> data="GWID=${accountcode_bleg}"/> >>>> >>> data="USERNAME=login at operator.ru >>>> "/> >>>> >>> data="PASSWD=xxxxxxxx"/> >>>> >>> data="DIALED_NUMBER=$1"/> >>>> >>> data="in ${DIALED_NUMBER}, in ${USERNAME}, >>>> in ${PASSWD}, out AUTH_RESULT"/> >>>> >>>> >>>> >>>> Log fragment >>>> Dialplan: >>>> sofia/mr24/0000079639652834 at gateways.rcsnet.ru >>>> parsing >>>> [mr24.gateways.rcsnet.ru->operator-rad-auth] continue=true >>>> Dialplan: >>>> sofia/mr24/0000079639652834 at gateways.rcsnet.ru >>>> Regex >>>> (PASS) [operator-rad-auth] >>>> ${accountcode}(8) =~ /^8$/ match=any >>>> Dialplan: >>>> sofia/mr24/0000079639652834 at gateways.rcsnet.ru >>>> Regex >>>> (PASS) [operator-rad-auth] >>>> ${destination_number}(+749593377xx) =~ >>>> /^\+(\d+)$/ break=on-false >>>> Dialplan: >>>> sofia/mr24/0000079639652834 at gateways.rcsnet.ru >>>> Action >>>> export(h323-gw-id=${accountcode_bleg}) >>>> Dialplan: >>>> sofia/mr24/0000079639652834 at gateways.rcsnet.ru >>>> Action >>>> unset(disable_radius_start) >>>> Dialplan: >>>> sofia/mr24/0000079639652834 at gateways.rcsnet.ru >>>> Action >>>> unset(disable_radius_stop) >>>> Dialplan: >>>> sofia/mr24/0000079639652834 at gateways.rcsnet.ru >>>> Action >>>> set(CALLID=h323-conf-id=${uuid}) INLINE >>>> EXECUTE >>>> sofia/mr24/0000079639652834 at gateways.rcsnet.ru >>>> set(CALLID=h323-conf-id=bd091212-e2b0-11e4-98e2-d102deb9a97d) >>>> 2015-04-14 14:15:43.446357 [DEBUG] >>>> mod_dptools.c:1435 >>>> sofia/mr24/00000796396528xx at gateways.operator.ru >>>> >>>> SET >>>> [CALLID]=[h323-conf-id=bd091212-e2b0-11e4-98e2-d102deb9a97d] >>>> Dialplan: >>>> sofia/mr24/0000079639652834 at gateways.rcsnet.ru >>>> Action >>>> set(GWID=${accountcode_bleg}) INLINE >>>> EXECUTE >>>> sofia/mr24/0000079639652834 at gateways.rcsnet.ru >>>> set(GWID=1460) >>>> 2015-04-14 14:15:43.446357 [DEBUG] >>>> mod_dptools.c:1435 >>>> sofia/mr24/00000796396528xx at gateways.rcsnet.ru >>>> SET >>>> [GWID]=[1460] >>>> Dialplan: >>>> sofia/mr24/0000079639652834 at gateways.rcsnet.ru >>>> Action >>>> set(USERNAME=login at operator.ru >>>> ) INLINE >>>> EXECUTE >>>> sofia/mr24/0000079639652834 at gateways.rcsnet.ru >>>> set(USERNAME=login at operator.ru >>>> ) >>>> 2015-04-14 14:15:43.446357 [DEBUG] >>>> mod_dptools.c:1435 >>>> sofia/mr24/0000079639652834 at gateways.rcsnet.ru >>>> SET >>>> [USERNAME]=[login at operator.ru >>>> ] >>>> Dialplan: >>>> sofia/mr24/0000079639652834 at gateways.rcsnet.ru >>>> Action >>>> set(PASSWD=xxxxxxxx) INLINE >>>> EXECUTE >>>> sofia/mr24/0000079639652834 at gateways.rcsnet.ru >>>> set(PASSWD=xxxxxxxx) >>>> 2015-04-14 14:15:43.446357 [DEBUG] >>>> mod_dptools.c:1435 >>>> sofia/mr24/00000796396528xx at gateways.operator.ru >>>> >>>> SET [PASSWD]=[xxxxxxxxxxx] >>>> Dialplan: >>>> sofia/mr24/0000079639652834 at gateways.rcsnet.ru >>>> Action >>>> set(DIALED_NUMBER=749593377xx) INLINE >>>> EXECUTE >>>> sofia/mr24/0000079639652834 at gateways.rcsnet.ru >>>> set(DIALED_NUMBER=749593377xx) >>>> 2015-04-14 14:15:43.446357 [DEBUG] >>>> mod_dptools.c:1435 >>>> sofia/mr24/00000796396528xx at gateways.rcsnet.ru >>>> SET >>>> [DIALED_NUMBER]=[749593377xx] >>>> sofia/mr24/0000079639652834 at gateways.rcsnet.ru >>>> Action >>>> auth_function(in ${DIALED_NUMBER}, in >>>> ${USERNAME}, in ${PASSWD}, out AUTH_RESULT) >>>> .......... >>>> >>>> bd091212-e2b0-11e4-98e2-d102deb9a97d >>>> EXECUTE >>>> sofia/mr24/00000796396528xx at gateways.operator.ru >>>> >>>> auth_function(in 74959337786, in >>>> login at operator.ru >>>> , in >>>> xxxxxxxxxxxx, out AUTH_RESULT) >>>> [DEBUG] mod_rad_auth.c:301 allocate initial >>>> structure. >>>> [DEBUG] mod_rad_auth.c:313 initialzed >>>> configuration. >>>> [DEBUG] mod_rad_auth.c:318 set authserver >>>> := 10.40.0.5:1814:xxxxxxxx. >>>> [DEBUG] mod_rad_auth.c:318 set dictionary >>>> := /etc/radiusclient/dictionary.all. >>>> [DEBUG] mod_rad_auth.c:318 set seqfile := >>>> /var/run/radius.seq. >>>> [DEBUG] mod_rad_auth.c:318 set mapfile := >>>> /etc/radiusclient/port-id-map. >>>> [DEBUG] mod_rad_auth.c:318 set >>>> default_realm := . >>>> [DEBUG] mod_rad_auth.c:318 set >>>> radius_timeout := 1. >>>> [DEBUG] mod_rad_auth.c:318 set >>>> radius_retries := 0. >>>> [DEBUG] mod_rad_auth.c:318 set >>>> radius_deadtime := 0. >>>> [DEBUG] mod_rad_auth.c:318 set bindaddr := *. >>>> [DEBUG] mod_rad_auth.c:371 ... radius: >>>> User-Name: login at operator.ru >>>> >>>> [DEBUG] mod_rad_auth.c:380 ... radius: >>>> User-Password: xxxxxxxxxxxxxxxxxx >>>> DEBUG] mod_rad_auth.c:396 ... radius: >>>> Called-station-Id: 74959337786 >>>> [DEBUG] mod_rad_auth.c:413 Handle >>>> attribute: h323-conf-id >>>> [DEBUG] mod_rad_auth.c:439 ... dictionary >>>> data: id:24, vendor id:9, attr type:0, attr >>>> name:h323-conf-id (589848) >>>> [DEBUG] mod_rad_auth.c:444 ... radius: >>>> key:h323-conf-id, value:CALLID >>>> (h323-conf-id=bd091212-e2b0-11e4-98e2-d102deb9a97d) >>>> as string >>>> [DEBUG] mod_rad_auth.c:413 Handle >>>> attribute: h323-gw-id >>>> [DEBUG] mod_rad_auth.c:439 ... dictionary >>>> data: id:33, vendor id:9, attr type:0, attr >>>> name:h323-gw-id (589857) >>>> [DEBUG] mod_rad_auth.c:444 ... radius: >>>> key:h323-gw-id, value:GWID (1460) as string >>>> [DEBUG] mod_rad_auth.c:413 Handle >>>> attribute: NAS-Port-Type >>>> [DEBUG] mod_rad_auth.c:439 ... dictionary >>>> data: id:61, vendor id:0, attr type:1, attr >>>> name:NAS-Port-Type (61) >>>> [DEBUG] mod_rad_auth.c:456 ... radius: >>>> key:NAS-Port-Type, value:0 (0) as integer >>>> [DEBUG] mod_rad_auth.c:491 sending radius >>>> packet ... >>>> [DEBUG] mod_rad_auth.c:497 RADIUS >>>> Authentication OK >>>> [DEBUG] mod_rad_auth.c:519 Handle >>>> attribute: CREDIT_AMOUNT >>>> [DEBUG] mod_rad_auth.c:522 attribute >>>> (CREDIT_AMOUNT) found in radius packet >>>> [DEBUG] mod_rad_auth.c:523 set variable >>>> credit_amount := h323-credit-amount=-600913.47 >>>> [DEBUG] mod_rad_auth.c:519 Handle >>>> attribute: CURRENCY >>>> [DEBUG] mod_rad_auth.c:522 attribute >>>> (CURRENCY) found in radius packet >>>> [DEBUG] mod_rad_auth.c:523 set variable >>>> currency := h323-currency=RUR >>>> [DEBUG] mod_rad_auth.c:519 Handle >>>> attribute: CREDIT_TIME >>>> [DEBUG] mod_rad_auth.c:522 attribute >>>> (CREDIT_TIME) found in radius packet >>>> [DEBUG] mod_rad_auth.c:523 set variable >>>> h323-credit_time := h323-credit-time=86400 >>>> [DEBUG] mod_rad_auth.c:519 Handle >>>> attribute: PER_MINUTE_PRICE >>>> [DEBUG] mod_rad_auth.c:522 attribute >>>> (PER_MINUTE_PRICE) found in radius packet >>>> [DEBUG] mod_rad_auth.c:523 set variable >>>> Cisco-Servicce-Info := 0.000000 >>>> [DEBUG] mod_rad_auth.c:519 Handle >>>> attribute: RADIUS_RETURN_CODE >>>> [DEBUG] mod_rad_auth.c:522 attribute >>>> (RADIUS_RETURN_CODE) found in radius packet >>>> [DEBUG] mod_rad_auth.c:523 set variable >>>> return_code := h323-return-code=0 >>>> >>>> >>>> >>>> >>>> >>>> On Tue, Apr 14, 2015 at 5:28 PM, Gustavo >>>> Silva >>> > wrote: >>>> >>>> >>>> First it says that the the login is OK >>>> and after it says that the login is >>>> incorrect. >>>> >>>> Tue Apr 14 17:24:11 2015 : Auth: Login >>>> OK: [1008/>>> DIGEST>] (from client localhost port 0 >>>> cli 1008) >>>> Tue Apr 14 17:24:11 2015 : Info: >>>> rlm_radutmp: Login entry for NAS >>>> localhost port 0 duplicate >>>> Tue Apr 14 17:24:11 2015 : Auth: Login >>>> incorrect: [>>> attribute>/>>> attribute>] (from client localhost port 0 >>>> cli 1008) >>>> Tue Apr 14 17:24:14 2015 : Error: >>>> rlm_radutmp: Logout for NAS localhost >>>> port 0, but no Login record >>>> >>>> >>>> >>>> Sent from my BlackBerry 10 smartphone. >>>> >>>> Original Message >>>> >>>> *From: *???????, ??????? / Dmitriy Borisov >>>> *Sent: *???????, 14 ?????? 2015 ?., 17:22 >>>> *To: *FreeSWITCH Users Help >>>> *Reply To: *FreeSWITCH Users Help >>>> *Subject: *Re: [Freeswitch-users] >>>> Dialplan authentication >>>> >>>> >>>> Hi! >>>> >>>> Configuration looks good there, and >>>> what in radius.log on RADIUS server? >>>> >>>> 2015-04-14 14:01 GMT+03:00 ??????? >>>> ????? >>> >: >>>> >>>> I have set up the following in my >>>> dialplan: >>>> >>>> >>>> >>> field="${radius_auth_result}" >>>> expression="^0$"> >>>> >>> inline="true"/> >>>> >>>> >>>> >>>> I am facing the following error: >>>> >>>> Dialplan: >>>> sofia/internal/1008 at ipaddress Regex >>>> (PASS) [auth] >>>> ${radius_auth_result}(0) =~ /^0$/ >>>> break=on-false >>>> Dialplan: >>>> sofia/internal/1008 at ipaddress >>>> Action radius_auth() INLINE >>>> EXECUTE >>>> sofia/internal/1008 at ipaddress >>>> radius_auth() >>>> 2015-04-14 13:53:42.734956 [ERR] >>>> mod_xml_radius.c:1090 mod_xml_radius: >>>> Failed to authenticate >>>> >>>> What should I do to the call >>>> authentication work? >>>> >>>> Regards, >>>> Gustavo >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting >>>> Services: >>>> consulting at freeswitch.org >>>> >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>>> >>>> >>>> >>>> -- >>>> with best regards, >>>> Dmitriy Borisov >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting >>>> Services: >>>> consulting at freeswitch.org >>>> >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> >> >> >> >> -- >> with best regards, >> Dmitriy Borisov >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150416/3b33a3b2/attachment-0001.html From s.safarov at gmail.com Thu Apr 16 11:31:41 2015 From: s.safarov at gmail.com (Sergey Safarov) Date: Thu, 16 Apr 2015 10:31:41 +0300 Subject: [Freeswitch-users] Dialplan authentication In-Reply-To: <20150416064725.5853254.93870.444@yandex.ru> References: <552CF376.4030403@etherway.ru> <552E43C4.5070603@etherway.ru> <20150415115556.5853254.20673.413@yandex.ru> <552E56BC.2010908@etherway.ru> <20150416045216.5853254.34302.440@yandex.ru> <20150416064725.5853254.93870.444@yandex.ru> Message-ID: Tue Apr 14 17:24:11 2015 : Auth: Login incorrect: [/] (from client localhost port 0 cli 1008) I thinkin FS is not sending username, realm and password provided by user. I do not have example of xml_radius.conf.xml May be other guys can help you. On Thu, Apr 16, 2015 at 9:47 AM, Gustavo Silva wrote: > These errors have shown up in radius.log: > > > Tue Apr 14 17:24:11 2015 : Auth: Login OK: [1008/ DIGEST>] (from client localhost port 0 cli 1008) > Tue Apr 14 17:24:11 2015 : Info: rlm_radutmp: Login entry for NAS > localhost port 0 duplicate > Tue Apr 14 17:24:11 2015 : Auth: Login incorrect: [ attribute>/] (from client localhost port 0 > cli 1008) > Tue Apr 14 17:24:14 2015 : Error: rlm_radutmp: Logout for NAS localhost > port 0, but no Login record > > > > Sent from my BlackBerry 10 smartphone. > *From: *Sergey Safarov > *Sent: *???????, 16 ?????? 2015 ?., 9:43 > *To: *FreeSWITCH Users Help > *Reply To: *FreeSWITCH Users Help > *Subject: *Re: [Freeswitch-users] Dialplan authentication > > Are you see auth requests on RADIUS server side? > Are there errors in RADIUS server log? > > On Thu, Apr 16, 2015 at 7:52 AM, Gustavo Silva > wrote: > >> So we back to the beginning. >> >> How can I use mod_xml_radius in dialplan? >> >> I have set up something like this: >> >> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >> But I got authentication failed. >> >> >> >> >> Sent from my BlackBerry 10 smartphone. >> *From: *Sergey Safarov >> *Sent: *???????, 16 ?????? 2015 ?., 7:04 >> *To: *FreeSWITCH Users Help >> *Reply To: *FreeSWITCH Users Help >> *Subject: *Re: [Freeswitch-users] Dialplan authentication >> >> I recommend return all required data in response and not use mod_rad_auth >> module. >> >> On Wed, Apr 15, 2015, 18:12 Sergey Safarov wrote: >> >>> If you see mod_xml_radius.c string 667, then you can find that FS create >>> variables from RADIUS server responce. >>> Try return from RADIUS server vendor spectific attribute (VSA) with >>> password value. >>> Then call "info" application from dialplan and locate password value in >>> variables. >>> >>> Sergey >>> >>> On Wed, Apr 15, 2015 at 3:17 PM, ??????? ????? wrote: >>> >>>> I would like to use this approach: >>>> >>> data="PASSWD=${user_data(${caller_id_number}@${sip_from_host} param >>>> password)}"/> >>>> >>>> I dont know how I could access the password of the registered user who >>>> is making a call, to authenticate (or check billing) with the rad_auth >>>> module if I am using xml_radius module. >>>> >>>> First I had tested only the mod rad_auth as Sergey had mentioned. It >>>> had worked. Know I am working together with the xml_radius module. >>>> >>>> On 15.04.2015 14:55, Gustavo Silva wrote: >>>> >>>> So, in dialplan I could access this parameter by ${vm_pass}? >>>> >>>> Sent from my BlackBerry 10 smartphone. >>>> *From: *???????, ??????? / Dmitriy Borisov >>>> *Sent: *?????, 15 ?????? 2015 ?., 14:51 >>>> *To: *FreeSWITCH Users Help >>>> *Reply To: *FreeSWITCH Users Help >>>> *Subject: *Re: [Freeswitch-users] Dialplan authentication >>>> >>>> Hi! >>>> >>>> If you use rad_auth dialplan command, then after using it you will >>>> have Freeswitch-AVPair channel variable with value vm_pass=1234 >>>> If you use auth_invite or auth_reg, than mod_xml_radius will create >>>> user param with name Freeswitch-AVPair and value vm_pass=1234 in result >>>> directory >>>> >>>> 2015-04-15 13:56 GMT+03:00 ??????? ????? : >>>> >>>>> It works. >>>>> >>>>> Man, just more one question, how can I get the value of this variable >>>>> in my diaplan? I am using mod_xml_radius. >>>>> >>>>> Freeswitch-AVPair = "vm_pass=1234" >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> On 15.04.2015 12:08, Sergey Safarov wrote: >>>>> >>>>> Add strings to dialplan like >>>>> >>>>> >>>> data="TRANSACTIONID=h323-ivr-out=transactionID:1234"/> >>>>> >>>> data="CALLEDNUMBER=${destination_number}"/> >>>>> >>>> data="CALLINGNUMBER=${caller_id_number}"/> >>>>> >>>>> You can try comment this attributs in rad_auth.conf.xml >>>>> >>>>> >>>>> >>>>> On Wed, Apr 15, 2015 at 11:26 AM, ??????? ????? >>>>> wrote: >>>>> >>>>>> Sergey, do you know why I am getting these variables undefined? >>>>>> >>>>>> [ERR] mod_rad_auth.c:178 Undefined channel variable: GWID. >>>>>> [ERR] mod_rad_auth.c:178 Undefined channel variable: TRANSACTIONID. >>>>>> [ERR] mod_rad_auth.c:178 Undefined channel variable: CALLEDNUMBER. >>>>>> [ERR] mod_rad_auth.c:178 Undefined channel variable: CALLINGNUMBER. >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> On 14.04.2015 22:34, Sergey Safarov wrote: >>>>>> >>>>>> In provided example password stored in directory. >>>>>> Directory can be in mod_xml_radius ( >>>>>> https://freeswitch.org/confluence/display/FREESWITCH/mod_xml_radius) >>>>>> or other dynamically generated directory. >>>>>> >>>>>> >>>>>> On Tue, Apr 14, 2015 at 9:56 PM, Gustavo Silva < >>>>>> silvagustavo at yandex.ru> wrote: >>>>>> >>>>>>> Hi Sergey, >>>>>>> >>>>>>> Tks for the help but there is a catch in this solution. I will be >>>>>>> still having ?the password and user name in freeswitch server. >>>>>>> >>>>>>> I would like that the radius server handles it. >>>>>>> >>>>>>> Is there a way with the rad_auth module where I wouldn't need to >>>>>>> set up password in diaplan file? All the authentication should be done with >>>>>>> the radius server. >>>>>>> >>>>>>> I say that because, for example: I have 200 users, with diferentes >>>>>>> passwords configured in the radius server. So, by this solution with >>>>>>> rad_auth module, I should also have 200 different password in the diaplan >>>>>>> configuration, right? >>>>>>> >>>>>>> Regards, >>>>>>> Gustavo >>>>>>> >>>>>>> Sent from my BlackBerry 10 smartphone. >>>>>>> *From: *Sergey Safarov >>>>>>> *Sent: *???????, 14 ?????? 2015 ?., 21:16 >>>>>>> *To: *FreeSWITCH Users Help >>>>>>> *Reply To: *FreeSWITCH Users Help >>>>>>> *Subject: *Re: [Freeswitch-users] Dialplan authentication >>>>>>> >>>>>>> This can help you >>>>>>> >>>>>>> [root at fs1 autoload_configs]# cat rad_auth.conf.xml >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>> value="/etc/radiusclient/dictionary.all"/> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>> expr="1" direction="in"/> >>>>>>> >>>>>> direction="in"/> >>>>>>> >>>>>> expr="1" direction="in"/> >>>>>>> >>>>>> pec="0" expr="1" direction="in"/> >>>>>>> >>>>>> pec="0" expr="1" direction="in"/>--> >>>>>>> >>>>>> direction="in"/> >>>>>>> >>>>>> direction="in"/> --> >>>>>>> >>>>>>> >>>>>>> >>>>>> pec="9" expr="0" direction="out"/> >>>>>>> >>>>>> direction="out"/> >>>>>>> >>>>>> pec="9" expr="0" direction="out"/> >>>>>>> >>>>>> value="Cisco-Servicce-Info" pec="9" expr="0" direction="out"/> >>>>>>> >>>>>> pec="9" expr="0" direction="out"/> >>>>>>> >>>>>> value="h323_ivr_duration" pec="9" expr="0" direction="out"/> --> >>>>>>> >>>>>> pec="9" expr="0" direction="out"/> >>>>>>> >>>>>>> >>>>>>> >>>>>>> [root at fs1 autoload_configs]# >>>>>>> >>>>>>> Dialplan fragment >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>> expression="^\+(\d+)$"> >>>>>>> >>>>>> data="h323-gw-id=${accountcode_bleg}"/> >>>>>>> >>>>>>> >>>>>>> >>>>>> data="CALLID=h323-conf-id=${uuid}"/> >>>>>>> >>>>>> data="GWID=${accountcode_bleg}"/> >>>>>>> >>>>>>> >>>>>> data="PASSWD=xxxxxxxx"/> >>>>>>> >>>>>> data="DIALED_NUMBER=$1"/> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> Log fragment >>>>>>> Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru parsing >>>>>>> [mr24.gateways.rcsnet.ru->operator-rad-auth] continue=true >>>>>>> Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru Regex >>>>>>> (PASS) [operator-rad-auth] ${accountcode}(8) =~ /^8$/ match=any >>>>>>> Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru Regex >>>>>>> (PASS) [operator-rad-auth] ${destination_number}(+749593377xx) =~ >>>>>>> /^\+(\d+)$/ break=on-false >>>>>>> Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru Action >>>>>>> export(h323-gw-id=${accountcode_bleg}) >>>>>>> Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru Action >>>>>>> unset(disable_radius_start) >>>>>>> Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru Action >>>>>>> unset(disable_radius_stop) >>>>>>> Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru Action >>>>>>> set(CALLID=h323-conf-id=${uuid}) INLINE >>>>>>> EXECUTE sofia/mr24/0000079639652834 at gateways.rcsnet.ru >>>>>>> set(CALLID=h323-conf-id=bd091212-e2b0-11e4-98e2-d102deb9a97d) >>>>>>> 2015-04-14 14:15:43.446357 [DEBUG] mod_dptools.c:1435 sofia/mr24/ >>>>>>> 00000796396528xx at gateways.operator.ru SET >>>>>>> [CALLID]=[h323-conf-id=bd091212-e2b0-11e4-98e2-d102deb9a97d] >>>>>>> Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru Action >>>>>>> set(GWID=${accountcode_bleg}) INLINE >>>>>>> EXECUTE sofia/mr24/0000079639652834 at gateways.rcsnet.ru >>>>>>> set(GWID=1460) >>>>>>> 2015-04-14 14:15:43.446357 [DEBUG] mod_dptools.c:1435 sofia/mr24/ >>>>>>> 00000796396528xx at gateways.rcsnet.ru SET [GWID]=[1460] >>>>>>> Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru Action >>>>>>> set(USERNAME=login at operator.ru) INLINE >>>>>>> EXECUTE sofia/mr24/0000079639652834 at gateways.rcsnet.ru set(USERNAME= >>>>>>> login at operator.ru) >>>>>>> 2015-04-14 14:15:43.446357 [DEBUG] mod_dptools.c:1435 sofia/mr24/ >>>>>>> 0000079639652834 at gateways.rcsnet.ru SET [USERNAME]=[ >>>>>>> login at operator.ru] >>>>>>> Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru Action >>>>>>> set(PASSWD=xxxxxxxx) INLINE >>>>>>> EXECUTE sofia/mr24/0000079639652834 at gateways.rcsnet.ru >>>>>>> set(PASSWD=xxxxxxxx) >>>>>>> 2015-04-14 14:15:43.446357 [DEBUG] mod_dptools.c:1435 sofia/mr24/ >>>>>>> 00000796396528xx at gateways.operator.ru SET [PASSWD]=[xxxxxxxxxxx] >>>>>>> Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru Action >>>>>>> set(DIALED_NUMBER=749593377xx) INLINE >>>>>>> EXECUTE sofia/mr24/0000079639652834 at gateways.rcsnet.ru >>>>>>> set(DIALED_NUMBER=749593377xx) >>>>>>> 2015-04-14 14:15:43.446357 [DEBUG] mod_dptools.c:1435 sofia/mr24/ >>>>>>> 00000796396528xx at gateways.rcsnet.ru SET >>>>>>> [DIALED_NUMBER]=[749593377xx] >>>>>>> sofia/mr24/0000079639652834 at gateways.rcsnet.ru Action >>>>>>> auth_function(in ${DIALED_NUMBER}, in ${USERNAME}, in ${PASSWD}, out >>>>>>> AUTH_RESULT) >>>>>>> .......... >>>>>>> >>>>>>> bd091212-e2b0-11e4-98e2-d102deb9a97d EXECUTE sofia/mr24/ >>>>>>> 00000796396528xx at gateways.operator.ru auth_function(in 74959337786, >>>>>>> in login at operator.ru, in xxxxxxxxxxxx, out AUTH_RESULT) >>>>>>> [DEBUG] mod_rad_auth.c:301 allocate initial structure. >>>>>>> [DEBUG] mod_rad_auth.c:313 initialzed configuration. >>>>>>> [DEBUG] mod_rad_auth.c:318 set authserver := 10.40.0.5:1814 >>>>>>> :xxxxxxxx. >>>>>>> [DEBUG] mod_rad_auth.c:318 set dictionary := >>>>>>> /etc/radiusclient/dictionary.all. >>>>>>> [DEBUG] mod_rad_auth.c:318 set seqfile := /var/run/radius.seq. >>>>>>> [DEBUG] mod_rad_auth.c:318 set mapfile := >>>>>>> /etc/radiusclient/port-id-map. >>>>>>> [DEBUG] mod_rad_auth.c:318 set default_realm := . >>>>>>> [DEBUG] mod_rad_auth.c:318 set radius_timeout := 1. >>>>>>> [DEBUG] mod_rad_auth.c:318 set radius_retries := 0. >>>>>>> [DEBUG] mod_rad_auth.c:318 set radius_deadtime := 0. >>>>>>> [DEBUG] mod_rad_auth.c:318 set bindaddr := *. >>>>>>> [DEBUG] mod_rad_auth.c:371 ... radius: User-Name: login at operator.ru >>>>>>> [DEBUG] mod_rad_auth.c:380 ... radius: User-Password: >>>>>>> xxxxxxxxxxxxxxxxxx >>>>>>> DEBUG] mod_rad_auth.c:396 ... radius: Called-station-Id: 74959337786 >>>>>>> [DEBUG] mod_rad_auth.c:413 Handle attribute: h323-conf-id >>>>>>> [DEBUG] mod_rad_auth.c:439 ... dictionary data: id:24, vendor id:9, >>>>>>> attr type:0, attr name:h323-conf-id (589848) >>>>>>> [DEBUG] mod_rad_auth.c:444 ... radius: key:h323-conf-id, >>>>>>> value:CALLID (h323-conf-id=bd091212-e2b0-11e4-98e2-d102deb9a97d) as string >>>>>>> [DEBUG] mod_rad_auth.c:413 Handle attribute: h323-gw-id >>>>>>> [DEBUG] mod_rad_auth.c:439 ... dictionary data: id:33, vendor id:9, >>>>>>> attr type:0, attr name:h323-gw-id (589857) >>>>>>> [DEBUG] mod_rad_auth.c:444 ... radius: key:h323-gw-id, value:GWID >>>>>>> (1460) as string >>>>>>> [DEBUG] mod_rad_auth.c:413 Handle attribute: NAS-Port-Type >>>>>>> [DEBUG] mod_rad_auth.c:439 ... dictionary data: id:61, vendor id:0, >>>>>>> attr type:1, attr name:NAS-Port-Type (61) >>>>>>> [DEBUG] mod_rad_auth.c:456 ... radius: key:NAS-Port-Type, value:0 >>>>>>> (0) as integer >>>>>>> [DEBUG] mod_rad_auth.c:491 sending radius packet ... >>>>>>> [DEBUG] mod_rad_auth.c:497 RADIUS Authentication OK >>>>>>> [DEBUG] mod_rad_auth.c:519 Handle attribute: CREDIT_AMOUNT >>>>>>> [DEBUG] mod_rad_auth.c:522 attribute (CREDIT_AMOUNT) found in >>>>>>> radius packet >>>>>>> [DEBUG] mod_rad_auth.c:523 set variable credit_amount := >>>>>>> h323-credit-amount=-600913.47 >>>>>>> [DEBUG] mod_rad_auth.c:519 Handle attribute: CURRENCY >>>>>>> [DEBUG] mod_rad_auth.c:522 attribute (CURRENCY) found in radius >>>>>>> packet >>>>>>> [DEBUG] mod_rad_auth.c:523 set variable currency := >>>>>>> h323-currency=RUR >>>>>>> [DEBUG] mod_rad_auth.c:519 Handle attribute: CREDIT_TIME >>>>>>> [DEBUG] mod_rad_auth.c:522 attribute (CREDIT_TIME) found in radius >>>>>>> packet >>>>>>> [DEBUG] mod_rad_auth.c:523 set variable h323-credit_time := >>>>>>> h323-credit-time=86400 >>>>>>> [DEBUG] mod_rad_auth.c:519 Handle attribute: PER_MINUTE_PRICE >>>>>>> [DEBUG] mod_rad_auth.c:522 attribute (PER_MINUTE_PRICE) found in >>>>>>> radius packet >>>>>>> [DEBUG] mod_rad_auth.c:523 set variable Cisco-Servicce-Info := >>>>>>> 0.000000 >>>>>>> [DEBUG] mod_rad_auth.c:519 Handle attribute: RADIUS_RETURN_CODE >>>>>>> [DEBUG] mod_rad_auth.c:522 attribute (RADIUS_RETURN_CODE) found in >>>>>>> radius packet >>>>>>> [DEBUG] mod_rad_auth.c:523 set variable return_code := >>>>>>> h323-return-code=0 >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> On Tue, Apr 14, 2015 at 5:28 PM, Gustavo Silva < >>>>>>> silvagustavo at yandex.ru> wrote: >>>>>>> >>>>>>>> >>>>>>>> First it says that the the login is OK and after it says that the >>>>>>>> login is incorrect. >>>>>>>> >>>>>>>> Tue Apr 14 17:24:11 2015 : Auth: Login OK: [1008/>>>>>>> DIGEST>] (from client localhost port 0 cli 1008) >>>>>>>> Tue Apr 14 17:24:11 2015 : Info: rlm_radutmp: Login entry for NAS >>>>>>>> localhost port 0 duplicate >>>>>>>> Tue Apr 14 17:24:11 2015 : Auth: Login incorrect: [>>>>>>> attribute>/] (from client localhost >>>>>>>> port 0 >>>>>>>> cli 1008) >>>>>>>> Tue Apr 14 17:24:14 2015 : Error: rlm_radutmp: Logout for NAS >>>>>>>> localhost >>>>>>>> port 0, but no Login record >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> Sent from my BlackBerry 10 smartphone. >>>>>>>> >>>>>>>> Original Message >>>>>>>> *From: *???????, ??????? / Dmitriy Borisov >>>>>>>> *Sent: *???????, 14 ?????? 2015 ?., 17:22 >>>>>>>> *To: *FreeSWITCH Users Help >>>>>>>> *Reply To: *FreeSWITCH Users Help >>>>>>>> *Subject: *Re: [Freeswitch-users] Dialplan authentication >>>>>>>> >>>>>>>> Hi! >>>>>>>> >>>>>>>> Configuration looks good there, and what in radius.log on RADIUS >>>>>>>> server? >>>>>>>> >>>>>>>> 2015-04-14 14:01 GMT+03:00 ??????? ????? : >>>>>>>> >>>>>>>>> I have set up the following in my dialplan: >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> I am facing the following error: >>>>>>>>> >>>>>>>>> Dialplan: sofia/internal/1008 at ipaddress Regex (PASS) [auth] >>>>>>>>> ${radius_auth_result}(0) =~ /^0$/ break=on-false >>>>>>>>> Dialplan: sofia/internal/1008 at ipaddress Action radius_auth() >>>>>>>>> INLINE >>>>>>>>> EXECUTE sofia/internal/1008 at ipaddress radius_auth() >>>>>>>>> 2015-04-14 13:53:42.734956 [ERR] mod_xml_radius.c:1090 >>>>>>>>> mod_xml_radius: >>>>>>>>> Failed to authenticate >>>>>>>>> >>>>>>>>> What should I do to the call authentication work? >>>>>>>>> >>>>>>>>> Regards, >>>>>>>>> Gustavo >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> _________________________________________________________________________ >>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>> consulting at freeswitch.org >>>>>>>>> http://www.freeswitchsolutions.com >>>>>>>>> >>>>>>>>> Official FreeSWITCH Sites >>>>>>>>> http://www.freeswitch.org >>>>>>>>> http://confluence.freeswitch.org >>>>>>>>> http://www.cluecon.com >>>>>>>>> >>>>>>>>> FreeSWITCH-users mailing list >>>>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>> UNSUBSCRIBE: >>>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>>> http://www.freeswitch.org >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> with best regards, >>>>>>>> Dmitriy Borisov >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> _________________________________________________________________________ >>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>> consulting at freeswitch.org >>>>>>>> http://www.freeswitchsolutions.com >>>>>>>> >>>>>>>> Official FreeSWITCH Sites >>>>>>>> http://www.freeswitch.org >>>>>>>> http://confluence.freeswitch.org >>>>>>>> http://www.cluecon.com >>>>>>>> >>>>>>>> FreeSWITCH-users mailing list >>>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>> UNSUBSCRIBE: >>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>> http://www.freeswitch.org >>>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> _________________________________________________________________________ >>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>> consulting at freeswitch.org >>>>>>> http://www.freeswitchsolutions.com >>>>>>> >>>>>>> Official FreeSWITCH Sites >>>>>>> http://www.freeswitch.org >>>>>>> http://confluence.freeswitch.org >>>>>>> http://www.cluecon.com >>>>>>> >>>>>>> FreeSWITCH-users mailing list >>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> UNSUBSCRIBE: >>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>> http://www.freeswitch.org >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> _________________________________________________________________________ >>>>>> Professional FreeSWITCH Consulting Services: consulting at freeswitch.orghttp://www.freeswitchsolutions.com >>>>>> >>>>>> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com >>>>>> >>>>>> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> _________________________________________________________________________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at freeswitch.org >>>>>> http://www.freeswitchsolutions.com >>>>>> >>>>>> Official FreeSWITCH Sites >>>>>> http://www.freeswitch.org >>>>>> http://confluence.freeswitch.org >>>>>> http://www.cluecon.com >>>>>> >>>>>> FreeSWITCH-users mailing list >>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE: >>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>> >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: consulting at freeswitch.orghttp://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org >>>>> >>>>> >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>>> >>>> -- >>>> with best regards, >>>> Dmitriy Borisov >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: consulting at freeswitch.orghttp://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org >>>> >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150416/a43a636d/attachment-0001.html From gfs at etherway.ru Thu Apr 16 13:23:38 2015 From: gfs at etherway.ru (=?UTF-8?B?0JPRg9GB0YLQsNCy0L4g0KHQuNC70LLQsA==?=) Date: Thu, 16 Apr 2015 12:23:38 +0300 Subject: [Freeswitch-users] Dialplan authentication In-Reply-To: References: <552CF376.4030403@etherway.ru> <552E43C4.5070603@etherway.ru> <20150415115556.5853254.20673.413@yandex.ru> <552E56BC.2010908@etherway.ru> <20150416045216.5853254.34302.440@yandex.ru> <20150416064725.5853254.93870.444@yandex.ru> Message-ID: <552F7F9A.5020405@etherway.ru> INVITE method is not creating the right directory with the variables from radius: 2015-04-16 04:52:48.778058 [ERR] mod_xml_radius.c:592 mod_xml_radius: result(RC=0) 2015-04-16 04:52:48.778058 [ERR] mod_xml_radius.c:627 XML:
In radius users I have set: 1004 Cleartext-Password := "prosegur" Freeswitch-AVPair = "alias=315", Freeswitch-AVPair += "international=yes", Freeswitch-AVPair += "natuser=no", Freeswitch-AVPair += "vm_pass=1234", Freeswitch-Context = "default" I am really lost, I dont know what else to test. On 16.04.2015 10:31, Sergey Safarov wrote: > Tue Apr 14 17:24:11 2015 : Auth: Login incorrect: [ attribute>/] (from client localhost port 0 > cli 1008) > I thinkin FS is not sending username, realm and password provided by > user. > > I do not have example of xml_radius.conf.xml > May be other guys can help you. > > On Thu, Apr 16, 2015 at 9:47 AM, Gustavo Silva > wrote: > > These errors have shown up in radius.log: > > > Tue Apr 14 17:24:11 2015 : Auth: Login OK: [1008/ DIGEST>] (from client localhost port 0 cli 1008) > Tue Apr 14 17:24:11 2015 : Info: rlm_radutmp: Login entry for NAS > localhost port 0 duplicate > Tue Apr 14 17:24:11 2015 : Auth: Login incorrect: [ attribute>/] (from client localhost > port 0 > cli 1008) > Tue Apr 14 17:24:14 2015 : Error: rlm_radutmp: Logout for NAS > localhost > port 0, but no Login record > > > > Sent from my BlackBerry 10 smartphone. > *From: *Sergey Safarov > *Sent: *???????, 16 ?????? 2015 ?., 9:43 > *To: *FreeSWITCH Users Help > *Reply To: *FreeSWITCH Users Help > *Subject: *Re: [Freeswitch-users] Dialplan authentication > > > Are you see auth requests on RADIUS server side? > Are there errors in RADIUS server log? > > On Thu, Apr 16, 2015 at 7:52 AM, Gustavo Silva > > wrote: > > So we back to the beginning. > > How can I use mod_xml_radius in dialplan? > > I have set up something like this: > >>>> >>>> >>>> >>> field="${radius_auth_result}" >>>> expression="^0$"> >>>> >>> inline="true"/> >>>> >>>> >>>> > > But I got authentication failed. > > > > > Sent from my BlackBerry 10 smartphone. > *From: *Sergey Safarov > *Sent: *???????, 16 ?????? 2015 ?., 7:04 > *To: *FreeSWITCH Users Help > *Reply To: *FreeSWITCH Users Help > *Subject: *Re: [Freeswitch-users] Dialplan authentication > > > I recommend return all required data in response and not use > mod_rad_auth module. > > > On Wed, Apr 15, 2015, 18:12 Sergey Safarov > > wrote: > > If you see mod_xml_radius.c string 667, then you can find > that FS create variables from RADIUS server responce. > Try return from RADIUS server vendor spectific attribute > (VSA) with password value. > Then call "info" application from dialplan and locate > password value in variables. > > Sergey > > On Wed, Apr 15, 2015 at 3:17 PM, ??????? ????? > > wrote: > > I would like to use this approach: > data="PASSWD=${user_data(${caller_id_number}@${sip_from_host} > param password)}"/> > > I dont know how I could access the password of the > registered user who is making a call, to authenticate > (or check billing) with the rad_auth module if I am > using xml_radius module. > > First I had tested only the mod rad_auth as Sergey had > mentioned. It had worked. Know I am working together > with the xml_radius module. > > On 15.04.2015 14:55, Gustavo Silva wrote: >> So, in dialplan I could access this parameter by >> ${vm_pass}? >> >> Sent from my BlackBerry 10 smartphone. >> *From: *???????, ??????? / Dmitriy Borisov >> *Sent: *?????, 15 ?????? 2015 ?., 14:51 >> *To: *FreeSWITCH Users Help >> *Reply To: *FreeSWITCH Users Help >> *Subject: *Re: [Freeswitch-users] Dialplan authentication >> >> >> Hi! >> >> If you use rad_auth dialplan command, then after >> using it you will have Freeswitch-AVPair channel >> variable with value vm_pass=1234 >> If you use auth_invite or auth_reg, than >> mod_xml_radius will create user param with name >> Freeswitch-AVPair and value vm_pass=1234 in result >> directory >> >> 2015-04-15 13:56 GMT+03:00 ??????? ????? >> >: >> >> It works. >> >> Man, just more one question, how can I get the >> value of this variable in my diaplan? I am using >> mod_xml_radius. >> >> Freeswitch-AVPair = "vm_pass=1234" >> >> >> >> >> >> >> On 15.04.2015 12:08, Sergey Safarov wrote: >>> Add strings to dialplan like >>> >> data="GWID=${h323-gw-id}"/> >>> >> data="TRANSACTIONID=h323-ivr-out=transactionID:1234"/> >>> >> data="CALLEDNUMBER=${destination_number}"/> >>> >> data="CALLINGNUMBER=${caller_id_number}"/> >>> >>> You can try comment this attributs in >>> rad_auth.conf.xml >>> >>> >>> >>> On Wed, Apr 15, 2015 at 11:26 AM, ??????? ????? >>> > wrote: >>> >>> Sergey, do you know why I am getting these >>> variables undefined? >>> >>> [ERR] mod_rad_auth.c:178 Undefined channel >>> variable: GWID. >>> [ERR] mod_rad_auth.c:178 Undefined channel >>> variable: TRANSACTIONID. >>> [ERR] mod_rad_auth.c:178 Undefined channel >>> variable: CALLEDNUMBER. >>> [ERR] mod_rad_auth.c:178 Undefined channel >>> variable: CALLINGNUMBER. >>> >>> >>> >>> >>> On 14.04.2015 22:34, Sergey Safarov wrote: >>>> In provided example password stored in >>>> directory. >>>> Directory can be in mod_xml_radius >>>> (https://freeswitch.org/confluence/display/FREESWITCH/mod_xml_radius) >>>> or other dynamically generated directory. >>>> >>>> >>>> On Tue, Apr 14, 2015 at 9:56 PM, Gustavo >>>> Silva >>> > wrote: >>>> >>>> Hi Sergey, >>>> >>>> Tks for the help but there is a catch >>>> in this solution. I will be still >>>> having ?the password and user name in >>>> freeswitch server. >>>> >>>> I would like that the radius server >>>> handles it. >>>> >>>> Is there a way with the rad_auth module >>>> where I wouldn't need to set up >>>> password in diaplan file? All the >>>> authentication should be done with the >>>> radius server. >>>> >>>> I say that because, for example: I have >>>> 200 users, with diferentes passwords >>>> configured in the radius server. So, by >>>> this solution with rad_auth module, I >>>> should also have 200 different password >>>> in the diaplan configuration, right? >>>> >>>> Regards, >>>> Gustavo >>>> >>>> Sent from my BlackBerry 10 smartphone. >>>> *From: *Sergey Safarov >>>> *Sent: *???????, 14 ?????? 2015 ?., 21:16 >>>> *To: *FreeSWITCH Users Help >>>> *Reply To: *FreeSWITCH Users Help >>>> *Subject: *Re: [Freeswitch-users] >>>> Dialplan authentication >>>> >>>> >>>> This can help you >>>> >>>> [root at fs1 autoload_configs]# cat >>>> rad_auth.conf.xml >>>> >>> description="radius authentification >>>> module"> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>> value="10.40.0.5:1814:x7h6t4g"/> >>>> >>> value="/etc/radiusclient/dictionary.all"/> >>>> >>> value="/var/run/radius.seq"/> >>>> >>> value="/etc/radiusclient/port-id-map"/> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>> value="CALLID" pec="9" expr="1" >>>> direction="in"/> >>>> >>> value="GWID" pec="9" expr="1" >>>> direction="in"/> >>>> >>> value="TRANSACTIONID" pec="9" expr="1" >>>> direction="in"/> >>>> >>> id="30" value="CALLEDNUMBER" pec="0" >>>> expr="1" direction="in"/> >>>> >>> id="31" value="CALLINGNUMBER" pec="0" >>>> expr="1" direction="in"/>--> >>>> >>> value="0" pec="0" expr="0" direction="in"/> >>>> >>> value="1" pec="0" expr="0" >>>> direction="in"/> --> >>>> >>>> >>>> >>> value="credit_amount" pec="9" expr="0" >>>> direction="out"/> >>>> >>> value="currency" pec="9" expr="0" >>>> direction="out"/> >>>> >>> value="h323-credit_time" pec="9" >>>> expr="0" direction="out"/> >>>> >>> id="251" value="Cisco-Servicce-Info" >>>> pec="9" expr="0" direction="out"/> >>>> >>> value="preffered_lang" pec="9" expr="0" >>>> direction="out"/> >>>> >>> id="1" value="h323_ivr_duration" >>>> pec="9" expr="0" direction="out"/> --> >>>> >>> id="103" value="return_code" pec="9" >>>> expr="0" direction="out"/> >>>> >>>> >>>> >>>> [root at fs1 autoload_configs]# >>>> >>>> Dialplan fragment >>>> >>> continue="true"> >>>> >>>> >>> expression="^8$"/> >>>> >>>> >>> field="${destination_number}" >>>> expression="^\+(\d+)$"> >>>> >>> data="h323-gw-id=${accountcode_bleg}"/> >>>> >>> data="disable_radius_start"/> >>>> >>> data="disable_radius_stop"/> >>>> >>> application="set" >>>> data="CALLID=h323-conf-id=${uuid}"/> >>>> >>> application="set" >>>> data="GWID=${accountcode_bleg}"/> >>>> >>> application="set" >>>> data="USERNAME=login at operator.ru >>>> "/> >>>> >>> application="set" data="PASSWD=xxxxxxxx"/> >>>> >>> application="set" data="DIALED_NUMBER=$1"/> >>>> >>> data="in ${DIALED_NUMBER}, in >>>> ${USERNAME}, in ${PASSWD}, out >>>> AUTH_RESULT"/> >>>> >>>> >>>> >>>> Log fragment >>>> Dialplan: >>>> sofia/mr24/0000079639652834 at gateways.rcsnet.ru >>>> >>>> parsing >>>> [mr24.gateways.rcsnet.ru->operator-rad-auth] >>>> continue=true >>>> Dialplan: >>>> sofia/mr24/0000079639652834 at gateways.rcsnet.ru >>>> >>>> Regex (PASS) [operator-rad-auth] >>>> ${accountcode}(8) =~ /^8$/ match=any >>>> Dialplan: >>>> sofia/mr24/0000079639652834 at gateways.rcsnet.ru >>>> >>>> Regex (PASS) [operator-rad-auth] >>>> ${destination_number}(+749593377xx) =~ >>>> /^\+(\d+)$/ break=on-false >>>> Dialplan: >>>> sofia/mr24/0000079639652834 at gateways.rcsnet.ru >>>> >>>> Action >>>> export(h323-gw-id=${accountcode_bleg}) >>>> Dialplan: >>>> sofia/mr24/0000079639652834 at gateways.rcsnet.ru >>>> >>>> Action unset(disable_radius_start) >>>> Dialplan: >>>> sofia/mr24/0000079639652834 at gateways.rcsnet.ru >>>> >>>> Action unset(disable_radius_stop) >>>> Dialplan: >>>> sofia/mr24/0000079639652834 at gateways.rcsnet.ru >>>> >>>> Action set(CALLID=h323-conf-id=${uuid}) >>>> INLINE >>>> EXECUTE >>>> sofia/mr24/0000079639652834 at gateways.rcsnet.ru >>>> >>>> set(CALLID=h323-conf-id=bd091212-e2b0-11e4-98e2-d102deb9a97d) >>>> 2015-04-14 14:15:43.446357 [DEBUG] >>>> mod_dptools.c:1435 >>>> sofia/mr24/00000796396528xx at gateways.operator.ru >>>> >>>> SET >>>> [CALLID]=[h323-conf-id=bd091212-e2b0-11e4-98e2-d102deb9a97d] >>>> Dialplan: >>>> sofia/mr24/0000079639652834 at gateways.rcsnet.ru >>>> >>>> Action set(GWID=${accountcode_bleg}) INLINE >>>> EXECUTE >>>> sofia/mr24/0000079639652834 at gateways.rcsnet.ru >>>> >>>> set(GWID=1460) >>>> 2015-04-14 14:15:43.446357 [DEBUG] >>>> mod_dptools.c:1435 >>>> sofia/mr24/00000796396528xx at gateways.rcsnet.ru >>>> >>>> SET [GWID]=[1460] >>>> Dialplan: >>>> sofia/mr24/0000079639652834 at gateways.rcsnet.ru >>>> >>>> Action set(USERNAME=login at operator.ru >>>> ) INLINE >>>> EXECUTE >>>> sofia/mr24/0000079639652834 at gateways.rcsnet.ru >>>> >>>> set(USERNAME=login at operator.ru >>>> ) >>>> 2015-04-14 14:15:43.446357 [DEBUG] >>>> mod_dptools.c:1435 >>>> sofia/mr24/0000079639652834 at gateways.rcsnet.ru >>>> >>>> SET [USERNAME]=[login at operator.ru >>>> ] >>>> Dialplan: >>>> sofia/mr24/0000079639652834 at gateways.rcsnet.ru >>>> >>>> Action set(PASSWD=xxxxxxxx) INLINE >>>> EXECUTE >>>> sofia/mr24/0000079639652834 at gateways.rcsnet.ru >>>> >>>> set(PASSWD=xxxxxxxx) >>>> 2015-04-14 14:15:43.446357 [DEBUG] >>>> mod_dptools.c:1435 >>>> sofia/mr24/00000796396528xx at gateways.operator.ru >>>> >>>> SET [PASSWD]=[xxxxxxxxxxx] >>>> Dialplan: >>>> sofia/mr24/0000079639652834 at gateways.rcsnet.ru >>>> >>>> Action set(DIALED_NUMBER=749593377xx) >>>> INLINE >>>> EXECUTE >>>> sofia/mr24/0000079639652834 at gateways.rcsnet.ru >>>> >>>> set(DIALED_NUMBER=749593377xx) >>>> 2015-04-14 14:15:43.446357 [DEBUG] >>>> mod_dptools.c:1435 >>>> sofia/mr24/00000796396528xx at gateways.rcsnet.ru >>>> >>>> SET [DIALED_NUMBER]=[749593377xx] >>>> sofia/mr24/0000079639652834 at gateways.rcsnet.ru >>>> >>>> Action auth_function(in >>>> ${DIALED_NUMBER}, in ${USERNAME}, in >>>> ${PASSWD}, out AUTH_RESULT) >>>> .......... >>>> >>>> bd091212-e2b0-11e4-98e2-d102deb9a97d >>>> EXECUTE >>>> sofia/mr24/00000796396528xx at gateways.operator.ru >>>> >>>> auth_function(in 74959337786, in >>>> login at operator.ru >>>> , in >>>> xxxxxxxxxxxx, out AUTH_RESULT) >>>> [DEBUG] mod_rad_auth.c:301 allocate >>>> initial structure. >>>> [DEBUG] mod_rad_auth.c:313 initialzed >>>> configuration. >>>> [DEBUG] mod_rad_auth.c:318 set >>>> authserver := 10.40.0.5:1814:xxxxxxxx. >>>> [DEBUG] mod_rad_auth.c:318 set >>>> dictionary := >>>> /etc/radiusclient/dictionary.all. >>>> [DEBUG] mod_rad_auth.c:318 set seqfile >>>> := /var/run/radius.seq. >>>> [DEBUG] mod_rad_auth.c:318 set mapfile >>>> := /etc/radiusclient/port-id-map. >>>> [DEBUG] mod_rad_auth.c:318 set >>>> default_realm := . >>>> [DEBUG] mod_rad_auth.c:318 set >>>> radius_timeout := 1. >>>> [DEBUG] mod_rad_auth.c:318 set >>>> radius_retries := 0. >>>> [DEBUG] mod_rad_auth.c:318 set >>>> radius_deadtime := 0. >>>> [DEBUG] mod_rad_auth.c:318 set bindaddr >>>> := *. >>>> [DEBUG] mod_rad_auth.c:371 ... radius: >>>> User-Name: login at operator.ru >>>> >>>> [DEBUG] mod_rad_auth.c:380 ... radius: >>>> User-Password: xxxxxxxxxxxxxxxxxx >>>> DEBUG] mod_rad_auth.c:396 ... radius: >>>> Called-station-Id: 74959337786 >>>> [DEBUG] mod_rad_auth.c:413 Handle >>>> attribute: h323-conf-id >>>> [DEBUG] mod_rad_auth.c:439 ... >>>> dictionary data: id:24, vendor id:9, >>>> attr type:0, attr name:h323-conf-id >>>> (589848) >>>> [DEBUG] mod_rad_auth.c:444 ... radius: >>>> key:h323-conf-id, value:CALLID >>>> (h323-conf-id=bd091212-e2b0-11e4-98e2-d102deb9a97d) >>>> as string >>>> [DEBUG] mod_rad_auth.c:413 Handle >>>> attribute: h323-gw-id >>>> [DEBUG] mod_rad_auth.c:439 ... >>>> dictionary data: id:33, vendor id:9, >>>> attr type:0, attr name:h323-gw-id (589857) >>>> [DEBUG] mod_rad_auth.c:444 ... radius: >>>> key:h323-gw-id, value:GWID (1460) as string >>>> [DEBUG] mod_rad_auth.c:413 Handle >>>> attribute: NAS-Port-Type >>>> [DEBUG] mod_rad_auth.c:439 ... >>>> dictionary data: id:61, vendor id:0, >>>> attr type:1, attr name:NAS-Port-Type (61) >>>> [DEBUG] mod_rad_auth.c:456 ... radius: >>>> key:NAS-Port-Type, value:0 (0) as integer >>>> [DEBUG] mod_rad_auth.c:491 sending >>>> radius packet ... >>>> [DEBUG] mod_rad_auth.c:497 RADIUS >>>> Authentication OK >>>> [DEBUG] mod_rad_auth.c:519 Handle >>>> attribute: CREDIT_AMOUNT >>>> [DEBUG] mod_rad_auth.c:522 attribute >>>> (CREDIT_AMOUNT) found in radius packet >>>> [DEBUG] mod_rad_auth.c:523 set >>>> variable credit_amount := >>>> h323-credit-amount=-600913.47 >>>> [DEBUG] mod_rad_auth.c:519 Handle >>>> attribute: CURRENCY >>>> [DEBUG] mod_rad_auth.c:522 attribute >>>> (CURRENCY) found in radius packet >>>> [DEBUG] mod_rad_auth.c:523 set >>>> variable currency := h323-currency=RUR >>>> [DEBUG] mod_rad_auth.c:519 Handle >>>> attribute: CREDIT_TIME >>>> [DEBUG] mod_rad_auth.c:522 attribute >>>> (CREDIT_TIME) found in radius packet >>>> [DEBUG] mod_rad_auth.c:523 set >>>> variable h323-credit_time := >>>> h323-credit-time=86400 >>>> [DEBUG] mod_rad_auth.c:519 Handle >>>> attribute: PER_MINUTE_PRICE >>>> [DEBUG] mod_rad_auth.c:522 attribute >>>> (PER_MINUTE_PRICE) found in radius packet >>>> [DEBUG] mod_rad_auth.c:523 set >>>> variable Cisco-Servicce-Info := 0.000000 >>>> [DEBUG] mod_rad_auth.c:519 Handle >>>> attribute: RADIUS_RETURN_CODE >>>> [DEBUG] mod_rad_auth.c:522 attribute >>>> (RADIUS_RETURN_CODE) found in radius packet >>>> [DEBUG] mod_rad_auth.c:523 set >>>> variable return_code := h323-return-code=0 >>>> >>>> >>>> >>>> >>>> >>>> On Tue, Apr 14, 2015 at 5:28 PM, >>>> Gustavo Silva >>> > wrote: >>>> >>>> >>>> First it says that the the login is >>>> OK and after it says that the login >>>> is incorrect. >>>> >>>> Tue Apr 14 17:24:11 2015 : Auth: >>>> Login OK: [1008/>>> DIGEST>] (from client localhost >>>> port 0 cli 1008) >>>> Tue Apr 14 17:24:11 2015 : Info: >>>> rlm_radutmp: Login entry for NAS >>>> localhost port 0 duplicate >>>> Tue Apr 14 17:24:11 2015 : Auth: >>>> Login incorrect: [>>> attribute>/>>> attribute>] (from client localhost >>>> port 0 >>>> cli 1008) >>>> Tue Apr 14 17:24:14 2015 : Error: >>>> rlm_radutmp: Logout for NAS localhost >>>> port 0, but no Login record >>>> >>>> >>>> >>>> Sent from my BlackBerry 10 smartphone. >>>> >>>> Original Message >>>> >>>> *From: *???????, ??????? / Dmitriy >>>> Borisov >>>> *Sent: *???????, 14 ?????? 2015 ?., >>>> 17:22 >>>> *To: *FreeSWITCH Users Help >>>> *Reply To: *FreeSWITCH Users Help >>>> *Subject: *Re: [Freeswitch-users] >>>> Dialplan authentication >>>> >>>> >>>> Hi! >>>> >>>> Configuration looks good there, and >>>> what in radius.log on RADIUS server? >>>> >>>> 2015-04-14 14:01 GMT+03:00 ??????? >>>> ????? >>> >: >>>> >>>> I have set up the following in >>>> my dialplan: >>>> >>>> >>> continue="true"> >>>> >>> field="${radius_auth_result}" >>>> expression="^0$"> >>>> >>> application="radius_auth" >>>> inline="true"/> >>>> >>>> >>>> >>>> I am facing the following error: >>>> >>>> Dialplan: >>>> sofia/internal/1008 at ipaddress >>>> Regex (PASS) [auth] >>>> ${radius_auth_result}(0) =~ >>>> /^0$/ break=on-false >>>> Dialplan: >>>> sofia/internal/1008 at ipaddress >>>> Action radius_auth() INLINE >>>> EXECUTE >>>> sofia/internal/1008 at ipaddress >>>> radius_auth() >>>> 2015-04-14 13:53:42.734956 >>>> [ERR] mod_xml_radius.c:1090 >>>> mod_xml_radius: >>>> Failed to authenticate >>>> >>>> What should I do to the call >>>> authentication work? >>>> >>>> Regards, >>>> Gustavo >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH >>>> Consulting Services: >>>> consulting at freeswitch.org >>>> >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>>> >>>> >>>> >>>> -- >>>> with best regards, >>>> Dmitriy Borisov >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting >>>> Services: >>>> consulting at freeswitch.org >>>> >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting >>>> Services: >>>> consulting at freeswitch.org >>>> >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> >> >> >> >> -- >> with best regards, >> Dmitriy Borisov >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150416/5cc882c0/attachment-0001.html From regis.freeswitch.org at tornad.net Thu Apr 16 15:03:28 2015 From: regis.freeswitch.org at tornad.net (Regis M) Date: Thu, 16 Apr 2015 13:03:28 +0200 Subject: [Freeswitch-users] pcapsipdump In-Reply-To: <552EEFE7.5050904@mst.edu> References: <552EE54A.8050204@evaristesys.com> <20150415223125.5378127.17368.47648@evaristesys.com> <552EEAE9.4030400@mst.edu> <20150415230221.5378127.13278.47675@evaristesys.com> <552EEFE7.5050904@mst.edu> Message-ID: +1 best tool i've found for the moment... using only the capture side from years ago. 2015-04-16 1:10 GMT+02:00 Nathan Neulinger : > Right, that's why I mentioned just using the capture engine. Only the web > UI has any license requirement. Even without > the UI, you can do quite a bit with just the raw tables and the generated > capture files that it separates by call/etc. > > -- Nathan > > On 04/15/2015 06:02 PM, Alex Balashov wrote: > > They have a per-port licencing model, however, which is unduly > restrictive for certain kinds of users. > > > > One is users who need captures for purely diagnostic purposes and > otherwise realise little bottom-line value from them. Another ?are > short-duration traffic movers who realise little revenue relative to a high > concurrent channel count, due to low ASRs. > > > > It's a great product, but not for everyone. > > > > -- > > Alex Balashov | Principal | Evariste Systems LLC > > 303 Perimeter Center North, Suite 300 > > Atlanta, GA 30346 > > United States > > > > Tel: +1-800-250-5920 (toll-free) / +1-678-954-0671 (direct) > > Web: http://www.evaristesys.com/, http://www.csrpswitch.com/ > > > > Sent from my BlackBerry. > > Original Message > > From: Nathan Neulinger > > Sent: Wednesday, April 15, 2015 18:50 > > To: FreeSWITCH Users Help > > Reply To: FreeSWITCH Users Help > > Subject: Re: [Freeswitch-users] pcapsipdump > > > > Have you looked at using voipmonitor? The capture part is open source / > GPL, and seems to do a nice job with captures. > > The pretty UI is non-free, but the capture engine is useful by itself. > > > > http://sourceforge.net/projects/voipmonitor/ > > > > -- Nathan > > > > On 04/15/2015 05:39 PM, Brian West wrote: > >> Thats easy to fix, you filter each part into its own file in order then > pcapmerge the end result. > >> > >> On Wed, Apr 15, 2015 at 5:31 PM, Alex Balashov < > abalashov at evaristesys.com > wrote: > >> > >> In my experience, the major problem with this is dealing with calls > that span capture chunks. > >> > >> -- > >> Alex Balashov | Principal | Evariste Systems LLC > >> 303 Perimeter Center North, Suite 300 > >> Atlanta, GA 30346 > >> United States > >> > >> Tel: +1-800-250-5920 (toll-free) / > +1-678-954-0671 (direct) > >> Web: http://www.evaristesys.com/, http://www.csrpswitch.com/ > >> > >> Sent from my BlackBerry. > >> *From: *Brian West > >> *Sent: *Wednesday, April 15, 2015 18:29 > >> *To: *FreeSWITCH Users Help > >> *Reply To: *FreeSWITCH Users Help > >> *Subject: *Re: [Freeswitch-users] pcapsipdump > >> > >> > >> Yep, That with XML CDR, you can build a time frame and only look in > files that were created within the start / end > >> of the call, there by saving yourself a little bit of time while > extracting the data. > >> > >> On Wed, Apr 15, 2015 at 5:25 PM, Alex Balashov < > abalashov at evaristesys.com > wrote: > >> > >> > >> On 04/15/2015 06:13 PM, Brian West wrote: > >> > >>> To solve this, you could run a big ring buffer, load mod_xml_cdr, then > >>> build a wireshark filter out of that data and process the ring buffer, > >>> i've done this before and it works quite well. > >> > >> By ring buffer, do you mean a large amount of tcpdump capture rotations, > >> including options like -C and -W? > >> > >> -- > >> Alex Balashov | Principal | Evariste Systems LLC > >> 303 Perimeter Center North, Suite 300 > >> Atlanta, GA 30346 > >> United States > >> > >> Tel: +1-800-250-5920 (toll-free) / > +1-678-954-0671 (direct) > >> Web: http://www.evaristesys.com/, http://www.csrpswitch.com/ > >> > >> > _________________________________________________________________________ > >> Professional FreeSWITCH Consulting Services: > >> consulting at freeswitch.org > >> http://www.freeswitchsolutions.com > >> > >> Official FreeSWITCH Sites > >> http://www.freeswitch.org > >> http://confluence.freeswitch.org > >> http://www.cluecon.com > >> > >> FreeSWITCH-users mailing list > >> FreeSWITCH-users at lists.freeswitch.org FreeSWITCH-users at lists.freeswitch.org> > >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >> http://www.freeswitch.org > >> > >> > >> > >> > >> -- > >> > >> */Brian West/* > >> brian at freeswitch.org > >> > >> > >> */Twitter: @FreeSWITCH , @briankwest/* > >> http://www.freeswitchbook.com > >> http://www.freeswitchcookbook.com > >> > >> ClueCon 2015 Call for Speakers < > https://www.cluecon.com/call-for-speakers/> | Register > >> TODAY! | Reddit: /r/freeswitch > > >> > >> *T:*+19184209001 | *F:*+19184209002 > | *M:*+1918424WEST (9378) > >> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest > >> > >> > >> > >> > _________________________________________________________________________ > >> Professional FreeSWITCH Consulting Services: > >> consulting at freeswitch.org > >> http://www.freeswitchsolutions.com > >> > >> Official FreeSWITCH Sites > >> http://www.freeswitch.org > >> http://confluence.freeswitch.org > >> http://www.cluecon.com > >> > >> FreeSWITCH-users mailing list > >> FreeSWITCH-users at lists.freeswitch.org FreeSWITCH-users at lists.freeswitch.org> > >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >> http://www.freeswitch.org > >> > >> > >> > >> > >> -- > >> > >> */Brian West/* > >> brian at freeswitch.org > >> > >> > >> */Twitter: @FreeSWITCH , @briankwest/* > >> http://www.freeswitchbook.com > >> http://www.freeswitchcookbook.com > >> > >> ClueCon 2015 Call for Speakers < > https://www.cluecon.com/call-for-speakers/> | Register > >> TODAY! | Reddit: /r/freeswitch > > >> > >> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) > >> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest > >> > >> > >> > >> > _________________________________________________________________________ > >> Professional FreeSWITCH Consulting Services: > >> consulting at freeswitch.org > >> http://www.freeswitchsolutions.com > >> > >> Official FreeSWITCH Sites > >> http://www.freeswitch.org > >> http://confluence.freeswitch.org > >> http://www.cluecon.com > >> > >> FreeSWITCH-users mailing list > >> FreeSWITCH-users at lists.freeswitch.org > >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >> http://www.freeswitch.org > >> > > > > -- > ------------------------------------------------------------ > Nathan Neulinger nneul at mst.edu > Missouri S&T Information Technology (573) 612-1412 > System Administrator - Architect > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150416/d99da964/attachment.html From bordmi at rarus.ru Thu Apr 16 15:24:01 2015 From: bordmi at rarus.ru (=?UTF-8?B?0JHQvtGA0LjRgdC+0LIsINCU0LzQuNGC0YDQuNC5IC8gRG1pdHJpeSBCb3Jpc292?=) Date: Thu, 16 Apr 2015 14:24:01 +0300 Subject: [Freeswitch-users] Dialplan authentication In-Reply-To: <552F7F9A.5020405@etherway.ru> References: <552CF376.4030403@etherway.ru> <552E43C4.5070603@etherway.ru> <20150415115556.5853254.20673.413@yandex.ru> <552E56BC.2010908@etherway.ru> <20150416045216.5853254.34302.440@yandex.ru> <20150416064725.5853254.93870.444@yandex.ru> <552F7F9A.5020405@etherway.ru> Message-ID: what build of freeswitch are you using? or sources version? 2015-04-16 12:23 GMT+03:00 ??????? ????? : > INVITE method is not creating the right directory with the variables from > radius: > > 2015-04-16 04:52:48.778058 [ERR] mod_xml_radius.c:592 mod_xml_radius: > result(RC=0) > 2015-04-16 04:52:48.778058 [ERR] mod_xml_radius.c:627 XML: version="1.0"?> > >
> > > > > >
>
> > > In radius users I have set: > 1004 Cleartext-Password := "prosegur" > Freeswitch-AVPair = "alias=315", > Freeswitch-AVPair += "international=yes", > Freeswitch-AVPair += "natuser=no", > Freeswitch-AVPair += "vm_pass=1234", > Freeswitch-Context = "default" > > I am really lost, I dont know what else to test. > > On 16.04.2015 10:31, Sergey Safarov wrote: > > Tue Apr 14 17:24:11 2015 : Auth: Login incorrect: [ attribute>/] (from client localhost port 0 > cli 1008) > I thinkin FS is not sending username, realm and password provided by > user. > > I do not have example of xml_radius.conf.xml > May be other guys can help you. > > On Thu, Apr 16, 2015 at 9:47 AM, Gustavo Silva > wrote: > >> These errors have shown up in radius.log: >> >> >> Tue Apr 14 17:24:11 2015 : Auth: Login OK: [1008/> DIGEST>] (from client localhost port 0 cli 1008) >> Tue Apr 14 17:24:11 2015 : Info: rlm_radutmp: Login entry for NAS >> localhost port 0 duplicate >> Tue Apr 14 17:24:11 2015 : Auth: Login incorrect: [> attribute>/] (from client localhost port 0 >> cli 1008) >> Tue Apr 14 17:24:14 2015 : Error: rlm_radutmp: Logout for NAS localhost >> port 0, but no Login record >> >> >> >> Sent from my BlackBerry 10 smartphone. >> *From: *Sergey Safarov >> *Sent: *???????, 16 ?????? 2015 ?., 9:43 >> *To: *FreeSWITCH Users Help >> *Reply To: *FreeSWITCH Users Help >> *Subject: *Re: [Freeswitch-users] Dialplan authentication >> >> Are you see auth requests on RADIUS server side? >> Are there errors in RADIUS server log? >> >> On Thu, Apr 16, 2015 at 7:52 AM, Gustavo Silva >> wrote: >> >>> So we back to the beginning. >>> >>> How can I use mod_xml_radius in dialplan? >>> >>> I have set up something like this: >>> >>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>> But I got authentication failed. >>> >>> >>> >>> >>> Sent from my BlackBerry 10 smartphone. >>> *From: *Sergey Safarov >>> *Sent: *???????, 16 ?????? 2015 ?., 7:04 >>> *To: *FreeSWITCH Users Help >>> *Reply To: *FreeSWITCH Users Help >>> *Subject: *Re: [Freeswitch-users] Dialplan authentication >>> >>> I recommend return all required data in response and not use >>> mod_rad_auth module. >>> >>> On Wed, Apr 15, 2015, 18:12 Sergey Safarov wrote: >>> >>>> If you see mod_xml_radius.c string 667, then you can find that FS >>>> create variables from RADIUS server responce. >>>> Try return from RADIUS server vendor spectific attribute (VSA) with >>>> password value. >>>> Then call "info" application from dialplan and locate password value in >>>> variables. >>>> >>>> Sergey >>>> >>>> On Wed, Apr 15, 2015 at 3:17 PM, ??????? ????? wrote: >>>> >>>>> I would like to use this approach: >>>>> >>>> data="PASSWD=${user_data(${caller_id_number}@${sip_from_host} param >>>>> password)}"/> >>>>> >>>>> I dont know how I could access the password of the registered user who >>>>> is making a call, to authenticate (or check billing) with the rad_auth >>>>> module if I am using xml_radius module. >>>>> >>>>> First I had tested only the mod rad_auth as Sergey had mentioned. It >>>>> had worked. Know I am working together with the xml_radius module. >>>>> >>>>> On 15.04.2015 14:55, Gustavo Silva wrote: >>>>> >>>>> So, in dialplan I could access this parameter by ${vm_pass}? >>>>> >>>>> Sent from my BlackBerry 10 smartphone. >>>>> *From: *???????, ??????? / Dmitriy Borisov >>>>> *Sent: *?????, 15 ?????? 2015 ?., 14:51 >>>>> *To: *FreeSWITCH Users Help >>>>> *Reply To: *FreeSWITCH Users Help >>>>> *Subject: *Re: [Freeswitch-users] Dialplan authentication >>>>> >>>>> Hi! >>>>> >>>>> If you use rad_auth dialplan command, then after using it you will >>>>> have Freeswitch-AVPair channel variable with value vm_pass=1234 >>>>> If you use auth_invite or auth_reg, than mod_xml_radius will create >>>>> user param with name Freeswitch-AVPair and value vm_pass=1234 in result >>>>> directory >>>>> >>>>> 2015-04-15 13:56 GMT+03:00 ??????? ????? : >>>>> >>>>>> It works. >>>>>> >>>>>> Man, just more one question, how can I get the value of this variable >>>>>> in my diaplan? I am using mod_xml_radius. >>>>>> >>>>>> Freeswitch-AVPair = "vm_pass=1234" >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> On 15.04.2015 12:08, Sergey Safarov wrote: >>>>>> >>>>>> Add strings to dialplan like >>>>>> >>>>>> >>>>> data="TRANSACTIONID=h323-ivr-out=transactionID:1234"/> >>>>>> >>>>> data="CALLEDNUMBER=${destination_number}"/> >>>>>> >>>>> data="CALLINGNUMBER=${caller_id_number}"/> >>>>>> >>>>>> You can try comment this attributs in rad_auth.conf.xml >>>>>> >>>>>> >>>>>> >>>>>> On Wed, Apr 15, 2015 at 11:26 AM, ??????? ????? >>>>>> wrote: >>>>>> >>>>>>> Sergey, do you know why I am getting these variables undefined? >>>>>>> >>>>>>> [ERR] mod_rad_auth.c:178 Undefined channel variable: GWID. >>>>>>> [ERR] mod_rad_auth.c:178 Undefined channel variable: TRANSACTIONID. >>>>>>> [ERR] mod_rad_auth.c:178 Undefined channel variable: CALLEDNUMBER. >>>>>>> [ERR] mod_rad_auth.c:178 Undefined channel variable: CALLINGNUMBER. >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> On 14.04.2015 22:34, Sergey Safarov wrote: >>>>>>> >>>>>>> In provided example password stored in directory. >>>>>>> Directory can be in mod_xml_radius ( >>>>>>> https://freeswitch.org/confluence/display/FREESWITCH/mod_xml_radius) >>>>>>> or other dynamically generated directory. >>>>>>> >>>>>>> >>>>>>> On Tue, Apr 14, 2015 at 9:56 PM, Gustavo Silva < >>>>>>> silvagustavo at yandex.ru> wrote: >>>>>>> >>>>>>>> Hi Sergey, >>>>>>>> >>>>>>>> Tks for the help but there is a catch in this solution. I will be >>>>>>>> still having ?the password and user name in freeswitch server. >>>>>>>> >>>>>>>> I would like that the radius server handles it. >>>>>>>> >>>>>>>> Is there a way with the rad_auth module where I wouldn't need to >>>>>>>> set up password in diaplan file? All the authentication should be done with >>>>>>>> the radius server. >>>>>>>> >>>>>>>> I say that because, for example: I have 200 users, with >>>>>>>> diferentes passwords configured in the radius server. So, by this solution >>>>>>>> with rad_auth module, I should also have 200 different password in the >>>>>>>> diaplan configuration, right? >>>>>>>> >>>>>>>> Regards, >>>>>>>> Gustavo >>>>>>>> >>>>>>>> Sent from my BlackBerry 10 smartphone. >>>>>>>> *From: *Sergey Safarov >>>>>>>> *Sent: *???????, 14 ?????? 2015 ?., 21:16 >>>>>>>> *To: *FreeSWITCH Users Help >>>>>>>> *Reply To: *FreeSWITCH Users Help >>>>>>>> *Subject: *Re: [Freeswitch-users] Dialplan authentication >>>>>>>> >>>>>>>> This can help you >>>>>>>> >>>>>>>> [root at fs1 autoload_configs]# cat rad_auth.conf.xml >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> value="/etc/radiusclient/dictionary.all"/> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> expr="1" direction="in"/> >>>>>>>> >>>>>>> direction="in"/> >>>>>>>> >>>>>>> expr="1" direction="in"/> >>>>>>>> >>>>>>> pec="0" expr="1" direction="in"/> >>>>>>>> >>>>>>> pec="0" expr="1" direction="in"/>--> >>>>>>>> >>>>>>> direction="in"/> >>>>>>>> >>>>>>> direction="in"/> --> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> pec="9" expr="0" direction="out"/> >>>>>>>> >>>>>>> expr="0" direction="out"/> >>>>>>>> >>>>>>> pec="9" expr="0" direction="out"/> >>>>>>>> >>>>>>> value="Cisco-Servicce-Info" pec="9" expr="0" direction="out"/> >>>>>>>> >>>>>>> pec="9" expr="0" direction="out"/> >>>>>>>> >>>>>>> value="h323_ivr_duration" pec="9" expr="0" direction="out"/> --> >>>>>>>> >>>>>>> pec="9" expr="0" direction="out"/> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> [root at fs1 autoload_configs]# >>>>>>>> >>>>>>>> Dialplan fragment >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> expression="^\+(\d+)$"> >>>>>>>> >>>>>>> data="h323-gw-id=${accountcode_bleg}"/> >>>>>>>> >>>>>>> data="disable_radius_start"/> >>>>>>>> >>>>>>>> >>>>>>> data="CALLID=h323-conf-id=${uuid}"/> >>>>>>>> >>>>>>> data="GWID=${accountcode_bleg}"/> >>>>>>>> >>>>>>>> >>>>>>> data="PASSWD=xxxxxxxx"/> >>>>>>>> >>>>>>> data="DIALED_NUMBER=$1"/> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> Log fragment >>>>>>>> Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru parsing >>>>>>>> [mr24.gateways.rcsnet.ru->operator-rad-auth] continue=true >>>>>>>> Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru Regex >>>>>>>> (PASS) [operator-rad-auth] ${accountcode}(8) =~ /^8$/ match=any >>>>>>>> Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru Regex >>>>>>>> (PASS) [operator-rad-auth] ${destination_number}(+749593377xx) =~ >>>>>>>> /^\+(\d+)$/ break=on-false >>>>>>>> Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru Action >>>>>>>> export(h323-gw-id=${accountcode_bleg}) >>>>>>>> Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru Action >>>>>>>> unset(disable_radius_start) >>>>>>>> Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru Action >>>>>>>> unset(disable_radius_stop) >>>>>>>> Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru Action >>>>>>>> set(CALLID=h323-conf-id=${uuid}) INLINE >>>>>>>> EXECUTE sofia/mr24/0000079639652834 at gateways.rcsnet.ru >>>>>>>> set(CALLID=h323-conf-id=bd091212-e2b0-11e4-98e2-d102deb9a97d) >>>>>>>> 2015-04-14 14:15:43.446357 [DEBUG] mod_dptools.c:1435 sofia/mr24/ >>>>>>>> 00000796396528xx at gateways.operator.ru SET >>>>>>>> [CALLID]=[h323-conf-id=bd091212-e2b0-11e4-98e2-d102deb9a97d] >>>>>>>> Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru Action >>>>>>>> set(GWID=${accountcode_bleg}) INLINE >>>>>>>> EXECUTE sofia/mr24/0000079639652834 at gateways.rcsnet.ru >>>>>>>> set(GWID=1460) >>>>>>>> 2015-04-14 14:15:43.446357 [DEBUG] mod_dptools.c:1435 sofia/mr24/ >>>>>>>> 00000796396528xx at gateways.rcsnet.ru SET [GWID]=[1460] >>>>>>>> Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru Action >>>>>>>> set(USERNAME=login at operator.ru) INLINE >>>>>>>> EXECUTE sofia/mr24/0000079639652834 at gateways.rcsnet.ru >>>>>>>> set(USERNAME=login at operator.ru) >>>>>>>> 2015-04-14 14:15:43.446357 [DEBUG] mod_dptools.c:1435 sofia/mr24/ >>>>>>>> 0000079639652834 at gateways.rcsnet.ru SET [USERNAME]=[ >>>>>>>> login at operator.ru] >>>>>>>> Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru Action >>>>>>>> set(PASSWD=xxxxxxxx) INLINE >>>>>>>> EXECUTE sofia/mr24/0000079639652834 at gateways.rcsnet.ru >>>>>>>> set(PASSWD=xxxxxxxx) >>>>>>>> 2015-04-14 14:15:43.446357 [DEBUG] mod_dptools.c:1435 sofia/mr24/ >>>>>>>> 00000796396528xx at gateways.operator.ru SET [PASSWD]=[xxxxxxxxxxx] >>>>>>>> Dialplan: sofia/mr24/0000079639652834 at gateways.rcsnet.ru Action >>>>>>>> set(DIALED_NUMBER=749593377xx) INLINE >>>>>>>> EXECUTE sofia/mr24/0000079639652834 at gateways.rcsnet.ru >>>>>>>> set(DIALED_NUMBER=749593377xx) >>>>>>>> 2015-04-14 14:15:43.446357 [DEBUG] mod_dptools.c:1435 sofia/mr24/ >>>>>>>> 00000796396528xx at gateways.rcsnet.ru SET >>>>>>>> [DIALED_NUMBER]=[749593377xx] >>>>>>>> sofia/mr24/0000079639652834 at gateways.rcsnet.ru Action >>>>>>>> auth_function(in ${DIALED_NUMBER}, in ${USERNAME}, in ${PASSWD}, out >>>>>>>> AUTH_RESULT) >>>>>>>> .......... >>>>>>>> >>>>>>>> bd091212-e2b0-11e4-98e2-d102deb9a97d EXECUTE sofia/mr24/ >>>>>>>> 00000796396528xx at gateways.operator.ru auth_function(in >>>>>>>> 74959337786, in login at operator.ru, in xxxxxxxxxxxx, out >>>>>>>> AUTH_RESULT) >>>>>>>> [DEBUG] mod_rad_auth.c:301 allocate initial structure. >>>>>>>> [DEBUG] mod_rad_auth.c:313 initialzed configuration. >>>>>>>> [DEBUG] mod_rad_auth.c:318 set authserver := 10.40.0.5:1814 >>>>>>>> :xxxxxxxx. >>>>>>>> [DEBUG] mod_rad_auth.c:318 set dictionary := >>>>>>>> /etc/radiusclient/dictionary.all. >>>>>>>> [DEBUG] mod_rad_auth.c:318 set seqfile := /var/run/radius.seq. >>>>>>>> [DEBUG] mod_rad_auth.c:318 set mapfile := >>>>>>>> /etc/radiusclient/port-id-map. >>>>>>>> [DEBUG] mod_rad_auth.c:318 set default_realm := . >>>>>>>> [DEBUG] mod_rad_auth.c:318 set radius_timeout := 1. >>>>>>>> [DEBUG] mod_rad_auth.c:318 set radius_retries := 0. >>>>>>>> [DEBUG] mod_rad_auth.c:318 set radius_deadtime := 0. >>>>>>>> [DEBUG] mod_rad_auth.c:318 set bindaddr := *. >>>>>>>> [DEBUG] mod_rad_auth.c:371 ... radius: User-Name: login at operator.ru >>>>>>>> [DEBUG] mod_rad_auth.c:380 ... radius: User-Password: >>>>>>>> xxxxxxxxxxxxxxxxxx >>>>>>>> DEBUG] mod_rad_auth.c:396 ... radius: Called-station-Id: 74959337786 >>>>>>>> [DEBUG] mod_rad_auth.c:413 Handle attribute: h323-conf-id >>>>>>>> [DEBUG] mod_rad_auth.c:439 ... dictionary data: id:24, vendor id:9, >>>>>>>> attr type:0, attr name:h323-conf-id (589848) >>>>>>>> [DEBUG] mod_rad_auth.c:444 ... radius: key:h323-conf-id, >>>>>>>> value:CALLID (h323-conf-id=bd091212-e2b0-11e4-98e2-d102deb9a97d) as string >>>>>>>> [DEBUG] mod_rad_auth.c:413 Handle attribute: h323-gw-id >>>>>>>> [DEBUG] mod_rad_auth.c:439 ... dictionary data: id:33, vendor id:9, >>>>>>>> attr type:0, attr name:h323-gw-id (589857) >>>>>>>> [DEBUG] mod_rad_auth.c:444 ... radius: key:h323-gw-id, value:GWID >>>>>>>> (1460) as string >>>>>>>> [DEBUG] mod_rad_auth.c:413 Handle attribute: NAS-Port-Type >>>>>>>> [DEBUG] mod_rad_auth.c:439 ... dictionary data: id:61, vendor id:0, >>>>>>>> attr type:1, attr name:NAS-Port-Type (61) >>>>>>>> [DEBUG] mod_rad_auth.c:456 ... radius: key:NAS-Port-Type, value:0 >>>>>>>> (0) as integer >>>>>>>> [DEBUG] mod_rad_auth.c:491 sending radius packet ... >>>>>>>> [DEBUG] mod_rad_auth.c:497 RADIUS Authentication OK >>>>>>>> [DEBUG] mod_rad_auth.c:519 Handle attribute: CREDIT_AMOUNT >>>>>>>> [DEBUG] mod_rad_auth.c:522 attribute (CREDIT_AMOUNT) found in >>>>>>>> radius packet >>>>>>>> [DEBUG] mod_rad_auth.c:523 set variable credit_amount := >>>>>>>> h323-credit-amount=-600913.47 >>>>>>>> [DEBUG] mod_rad_auth.c:519 Handle attribute: CURRENCY >>>>>>>> [DEBUG] mod_rad_auth.c:522 attribute (CURRENCY) found in radius >>>>>>>> packet >>>>>>>> [DEBUG] mod_rad_auth.c:523 set variable currency := >>>>>>>> h323-currency=RUR >>>>>>>> [DEBUG] mod_rad_auth.c:519 Handle attribute: CREDIT_TIME >>>>>>>> [DEBUG] mod_rad_auth.c:522 attribute (CREDIT_TIME) found in >>>>>>>> radius packet >>>>>>>> [DEBUG] mod_rad_auth.c:523 set variable h323-credit_time := >>>>>>>> h323-credit-time=86400 >>>>>>>> [DEBUG] mod_rad_auth.c:519 Handle attribute: PER_MINUTE_PRICE >>>>>>>> [DEBUG] mod_rad_auth.c:522 attribute (PER_MINUTE_PRICE) found in >>>>>>>> radius packet >>>>>>>> [DEBUG] mod_rad_auth.c:523 set variable Cisco-Servicce-Info := >>>>>>>> 0.000000 >>>>>>>> [DEBUG] mod_rad_auth.c:519 Handle attribute: RADIUS_RETURN_CODE >>>>>>>> [DEBUG] mod_rad_auth.c:522 attribute (RADIUS_RETURN_CODE) found >>>>>>>> in radius packet >>>>>>>> [DEBUG] mod_rad_auth.c:523 set variable return_code := >>>>>>>> h323-return-code=0 >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> On Tue, Apr 14, 2015 at 5:28 PM, Gustavo Silva < >>>>>>>> silvagustavo at yandex.ru> wrote: >>>>>>>> >>>>>>>>> >>>>>>>>> First it says that the the login is OK and after it says that >>>>>>>>> the login is incorrect. >>>>>>>>> >>>>>>>>> Tue Apr 14 17:24:11 2015 : Auth: Login OK: [1008/>>>>>>>> = >>>>>>>>> DIGEST>] (from client localhost port 0 cli 1008) >>>>>>>>> Tue Apr 14 17:24:11 2015 : Info: rlm_radutmp: Login entry for NAS >>>>>>>>> localhost port 0 duplicate >>>>>>>>> Tue Apr 14 17:24:11 2015 : Auth: Login incorrect: [>>>>>>>> attribute>/] (from client localhost >>>>>>>>> port 0 >>>>>>>>> cli 1008) >>>>>>>>> Tue Apr 14 17:24:14 2015 : Error: rlm_radutmp: Logout for NAS >>>>>>>>> localhost >>>>>>>>> port 0, but no Login record >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> Sent from my BlackBerry 10 smartphone. >>>>>>>>> >>>>>>>>> Original Message >>>>>>>>> *From: *???????, ??????? / Dmitriy Borisov >>>>>>>>> *Sent: *???????, 14 ?????? 2015 ?., 17:22 >>>>>>>>> *To: *FreeSWITCH Users Help >>>>>>>>> *Reply To: *FreeSWITCH Users Help >>>>>>>>> *Subject: *Re: [Freeswitch-users] Dialplan authentication >>>>>>>>> >>>>>>>>> Hi! >>>>>>>>> >>>>>>>>> Configuration looks good there, and what in radius.log on RADIUS >>>>>>>>> server? >>>>>>>>> >>>>>>>>> 2015-04-14 14:01 GMT+03:00 ??????? ????? : >>>>>>>>> >>>>>>>>>> I have set up the following in my dialplan: >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> I am facing the following error: >>>>>>>>>> >>>>>>>>>> Dialplan: sofia/internal/1008 at ipaddress Regex (PASS) [auth] >>>>>>>>>> ${radius_auth_result}(0) =~ /^0$/ break=on-false >>>>>>>>>> Dialplan: sofia/internal/1008 at ipaddress Action radius_auth() >>>>>>>>>> INLINE >>>>>>>>>> EXECUTE sofia/internal/1008 at ipaddress radius_auth() >>>>>>>>>> 2015-04-14 13:53:42.734956 [ERR] mod_xml_radius.c:1090 >>>>>>>>>> mod_xml_radius: >>>>>>>>>> Failed to authenticate >>>>>>>>>> >>>>>>>>>> What should I do to the call authentication work? >>>>>>>>>> >>>>>>>>>> Regards, >>>>>>>>>> Gustavo >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> _________________________________________________________________________ >>>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>>> consulting at freeswitch.org >>>>>>>>>> http://www.freeswitchsolutions.com >>>>>>>>>> >>>>>>>>>> Official FreeSWITCH Sites >>>>>>>>>> http://www.freeswitch.org >>>>>>>>>> http://confluence.freeswitch.org >>>>>>>>>> http://www.cluecon.com >>>>>>>>>> >>>>>>>>>> FreeSWITCH-users mailing list >>>>>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>>> UNSUBSCRIBE: >>>>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>>>> http://www.freeswitch.org >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>>>>>> with best regards, >>>>>>>>> Dmitriy Borisov >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> _________________________________________________________________________ >>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>> consulting at freeswitch.org >>>>>>>>> http://www.freeswitchsolutions.com >>>>>>>>> >>>>>>>>> Official FreeSWITCH Sites >>>>>>>>> http://www.freeswitch.org >>>>>>>>> http://confluence.freeswitch.org >>>>>>>>> http://www.cluecon.com >>>>>>>>> >>>>>>>>> FreeSWITCH-users mailing list >>>>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>> UNSUBSCRIBE: >>>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>>> http://www.freeswitch.org >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> _________________________________________________________________________ >>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>> consulting at freeswitch.org >>>>>>>> http://www.freeswitchsolutions.com >>>>>>>> >>>>>>>> Official FreeSWITCH Sites >>>>>>>> http://www.freeswitch.org >>>>>>>> http://confluence.freeswitch.org >>>>>>>> http://www.cluecon.com >>>>>>>> >>>>>>>> FreeSWITCH-users mailing list >>>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>> UNSUBSCRIBE: >>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>> http://www.freeswitch.org >>>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> _________________________________________________________________________ >>>>>>> Professional FreeSWITCH Consulting Services: consulting at freeswitch.orghttp://www.freeswitchsolutions.com >>>>>>> >>>>>>> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com >>>>>>> >>>>>>> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> _________________________________________________________________________ >>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>> consulting at freeswitch.org >>>>>>> http://www.freeswitchsolutions.com >>>>>>> >>>>>>> Official FreeSWITCH Sites >>>>>>> http://www.freeswitch.org >>>>>>> http://confluence.freeswitch.org >>>>>>> http://www.cluecon.com >>>>>>> >>>>>>> FreeSWITCH-users mailing list >>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> UNSUBSCRIBE: >>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>> http://www.freeswitch.org >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> _________________________________________________________________________ >>>>>> Professional FreeSWITCH Consulting Services: consulting at freeswitch.orghttp://www.freeswitchsolutions.com >>>>>> >>>>>> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com >>>>>> >>>>>> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> _________________________________________________________________________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at freeswitch.org >>>>>> http://www.freeswitchsolutions.com >>>>>> >>>>>> Official FreeSWITCH Sites >>>>>> http://www.freeswitch.org >>>>>> http://confluence.freeswitch.org >>>>>> http://www.cluecon.com >>>>>> >>>>>> FreeSWITCH-users mailing list >>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE: >>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> with best regards, >>>>> Dmitriy Borisov >>>>> >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: consulting at freeswitch.orghttp://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org >>>>> >>>>> >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: consulting at freeswitch.orghttp://www.freeswitchsolutions.com > > Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com > > FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- with best regards, Dmitriy Borisov -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150416/82cd4b67/attachment-0001.html From silvagustavo at yandex.ru Thu Apr 16 15:33:06 2015 From: silvagustavo at yandex.ru (Gustavo Silva) Date: Thu, 16 Apr 2015 14:33:06 +0300 Subject: [Freeswitch-users] Dialplan authentication In-Reply-To: References: <552CF376.4030403@etherway.ru> <552E56BC.2010908@etherway.ru> <20150416045216.5853254.34302.440@yandex.ru> <20150416064725.5853254.93870.444@yandex.ru> <552F7F9A.5020405@etherway.ru> Message-ID: <20150416113306.5853254.9357.453@yandex.ru> An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150416/11c760d7/attachment-0002.html From silvagustavo at yandex.ru Thu Apr 16 15:33:06 2015 From: silvagustavo at yandex.ru (Gustavo Silva) Date: Thu, 16 Apr 2015 14:33:06 +0300 Subject: [Freeswitch-users] Dialplan authentication In-Reply-To: References: <552CF376.4030403@etherway.ru> <552E56BC.2010908@etherway.ru> <20150416045216.5853254.34302.440@yandex.ru> <20150416064725.5853254.93870.444@yandex.ru> <552F7F9A.5020405@etherway.ru> Message-ID: <20150416113306.5853254.9357.453@yandex.ru> An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150416/11c760d7/attachment-0003.html From royj at yandex.ru Thu Apr 16 15:42:12 2015 From: royj at yandex.ru (royj at yandex.ru) Date: Thu, 16 Apr 2015 14:42:12 +0300 Subject: [Freeswitch-users] pcapsipdump In-Reply-To: References: <552EE54A.8050204@evaristesys.com> <20150415223125.5378127.17368.47648@evaristesys.com> <552EEAE9.4030400@mst.edu> <20150415230221.5378127.13278.47675@evaristesys.com> <552EEFE7.5050904@mst.edu> Message-ID: <523161429184532@web25h.yandex.ru> An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150416/180e0252/attachment.html From mike at jerris.com Thu Apr 16 16:25:50 2015 From: mike at jerris.com (Michael Jerris) Date: Thu, 16 Apr 2015 08:25:50 -0400 Subject: [Freeswitch-users] Verto record VP8 video In-Reply-To: References: Message-ID: yes, its in the fs-video2 branch. Unless you are fine digging in and finding out all the right deps and gotchas without documentation you are probably better off waiting until we merge for 1.6 beta. > On Apr 16, 2015, at 2:44 AM, ??????? ???????? wrote: > > Sorry seems I didn't understand record and record fsw application. They > use only for record voice (video) messages. Actually I want record video > call something like record_session. As I understand current freeswitch > doesn't support record video calls? Does this function exist on any > unstable branch of FreeSwitch? > > On 13.04.2015 20:42, Seven Du wrote: >> use record_fsv or wait for FreeSWITCH 1.6 >> >>> On Apr 13, 2015, at 7:30 PM, ??????? ???????? wrote: >>> >>> Good day! Anybody know how to record VP8 video in freeswitch for verto >>> calls. If I use fsv: >>> >>> >>> >>> On calledstation I don't see call. On freeswitch console I see: >>> >>> [NOTICE] switch_channel.c:3438 Hangup >>> verto.rtc/1007 at video-ce.XXXXXXX.com [CS_EXECUTE] [INCOMPATIBLE_DESTINATION] >>> Does mod_fsv support verto call? From mike at jerris.com Thu Apr 16 16:27:18 2015 From: mike at jerris.com (Michael Jerris) Date: Thu, 16 Apr 2015 08:27:18 -0400 Subject: [Freeswitch-users] WEBRTC In-Reply-To: References: <5C2EDCD6-4038-497A-956D-59CAB727F2C5@jerris.com> Message-ID: <73D45869-CDCD-4B09-8DFB-AE0D60829F61@jerris.com> How to configure that on kamillio would be a better question on their list I think. As far as the freeswitch side, receiving calls requires no additional configuration. > On Apr 16, 2015, at 2:49 AM, Ali Jibran wrote: > > Could you guide me into it a little? As to how would achieve that? Thanks > On Tue, 14 Apr 2015 at 3:57 pm Michael Jerris > wrote: > yep > >> On Apr 14, 2015, at 2:24 AM, Ali Jibran > wrote: >> >> Oh ok. Thanks. >> >> So can I use the proxy to forward WEBRTC calls to freeSWITCH? It needs to connect at port 5066. >> >> I'm not sure how to do that. >> WEBRTC directly on freeSWITCH works fine but I want to send all calls through Kamailio. Can that be done? >> >> On Monday, April 13, 2015, Michael Jerris > wrote: >> You can use kamillio to proxy, but that is not an SBC. FreeSWITCH is an SBC. >> >> > On Apr 11, 2015, at 8:42 AM, Ali Jibran > wrote: >> > >> > Is there anyway I can use WEBRTC through a SBC? >> > >> > I'm using Kamailio as a load balancer. And I want to make WEBRTC calls come in through Kamailio and not directly to freeSWITCH. >> > >> > I'm using sip.js. >> > >> > Can someone guide me in the right deprecation on this? Thanks :) >> -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150416/a6297f2c/attachment-0001.html From martin.tomczyk at legion.de Thu Apr 16 13:23:03 2015 From: martin.tomczyk at legion.de (Martin Tomczyk) Date: Thu, 16 Apr 2015 11:23:03 +0200 Subject: [Freeswitch-users] nohz=off CentOS 6.6 needed? Message-ID: <3570D5CEC845A244A2A317CB9F80BE36ECEAA3@vs-of-msx1.legion.ger> We are experiencing high cpu load after setting up a CentOS 6.6 (fully updated; kernel 2.6.32) with a stable 1.4.15 freeswitch on a vmware 5.1 esxi server. Is the nohz=off setting still applicable? Thanks a lot for any help. Much appreciated Kind regards Martin -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150416/1294dc09/attachment.html From mike at jerris.com Thu Apr 16 16:39:26 2015 From: mike at jerris.com (Michael Jerris) Date: Thu, 16 Apr 2015 08:39:26 -0400 Subject: [Freeswitch-users] nohz=off CentOS 6.6 needed? In-Reply-To: <3570D5CEC845A244A2A317CB9F80BE36ECEAA3@vs-of-msx1.legion.ger> References: <3570D5CEC845A244A2A317CB9F80BE36ECEAA3@vs-of-msx1.legion.ger> Message-ID: <070A7CEB-1331-43CA-81A2-A27E0DA4510B@jerris.com> Is it the same on 1.4.18? > On Apr 16, 2015, at 5:23 AM, Martin Tomczyk wrote: > > We are experiencing high cpu load after setting up a CentOS 6.6 (fully updated; kernel 2.6.32) with a stable 1.4.15 freeswitch on a vmware 5.1 esxi server. > Is the nohz=off setting still applicable? > Thanks a lot for any help. Much appreciated > Kind regards > Martin > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150416/634eabb1/attachment.html From martin.tomczyk at legion.de Thu Apr 16 16:58:04 2015 From: martin.tomczyk at legion.de (Martin Tomczyk) Date: Thu, 16 Apr 2015 14:58:04 +0200 Subject: [Freeswitch-users] nohz=off CentOS 6.6 needed? In-Reply-To: <070A7CEB-1331-43CA-81A2-A27E0DA4510B@jerris.com> References: <3570D5CEC845A244A2A317CB9F80BE36ECEAA3@vs-of-msx1.legion.ger> <070A7CEB-1331-43CA-81A2-A27E0DA4510B@jerris.com> Message-ID: <3570D5CEC845A244A2A317CB9F80BE36ECEAA6@vs-of-msx1.legion.ger> Thanks for getting abck. My mistake. Sorry, yes it is v1.4.18. but I doubt that it is directly associated to freeswitch. At least for now since the cpu went up after a strange case of IP issue on OS level. So my question is more a general one. Thank you Von: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] Im Auftrag von Michael Jerris Gesendet: Donnerstag, 16. April 2015 14:39 An: FreeSWITCH Users Help Betreff: Re: [Freeswitch-users] nohz=off CentOS 6.6 needed? Is it the same on 1.4.18? On Apr 16, 2015, at 5:23 AM, Martin Tomczyk wrote: We are experiencing high cpu load after setting up a CentOS 6.6 (fully updated; kernel 2.6.32) with a stable 1.4.15 freeswitch on a vmware 5.1 esxi server. Is the nohz=off setting still applicable? Thanks a lot for any help. Much appreciated Kind regards Martin -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150416/170987b7/attachment.html From aronp at guaranteedplus.com Thu Apr 16 17:20:48 2015 From: aronp at guaranteedplus.com (Podrigal, Aron) Date: Thu, 16 Apr 2015 09:20:48 -0400 Subject: [Freeswitch-users] pcapsipdump In-Reply-To: <523161429184532@web25h.yandex.ru> References: <552EE54A.8050204@evaristesys.com> <20150415223125.5378127.17368.47648@evaristesys.com> <552EEAE9.4030400@mst.edu> <20150415230221.5378127.13278.47675@evaristesys.com> <552EEFE7.5050904@mst.edu> <523161429184532@web25h.yandex.ru> Message-ID: Thanks, I'll try that out. On Thu, Apr 16, 2015 at 7:42 AM, wrote: > +1 besides separated pcaps there is a lot statistics in a database like > duration, progress_time, whohanged, lastSIPresponseNum, mos and other > > 16.04.2015, 14:09, "Regis M" : > > +1 best tool i've found for the moment... using only the capture side > from years ago. > > 2015-04-16 1:10 GMT+02:00 Nathan Neulinger : > > Right, that's why I mentioned just using the capture engine. Only the web > UI has any license requirement. Even without > the UI, you can do quite a bit with just the raw tables and the generated > capture files that it separates by call/etc. > > -- Nathan > > On 04/15/2015 06:02 PM, Alex Balashov wrote: > > They have a per-port licencing model, however, which is unduly > restrictive for certain kinds of users. > > > > One is users who need captures for purely diagnostic purposes and > otherwise realise little bottom-line value from them. Another ?are > short-duration traffic movers who realise little revenue relative to a high > concurrent channel count, due to low ASRs. > > > > It's a great product, but not for everyone. > > > > -- > > Alex Balashov | Principal | Evariste Systems LLC > > 303 Perimeter Center North, Suite 300 > > Atlanta, GA 30346 > > United States > > > > Tel: +1-800-250-5920 (toll-free) / +1-678-954-0671 (direct) > > Web: http://www.evaristesys.com/, http://www.csrpswitch.com/ > > > > Sent from my BlackBerry. > > Original Message > > From: Nathan Neulinger > > Sent: Wednesday, April 15, 2015 18:50 > > To: FreeSWITCH Users Help > > Reply To: FreeSWITCH Users Help > > Subject: Re: [Freeswitch-users] pcapsipdump > > > > Have you looked at using voipmonitor? The capture part is open source / > GPL, and seems to do a nice job with captures. > > The pretty UI is non-free, but the capture engine is useful by itself. > > > > http://sourceforge.net/projects/voipmonitor/ > > > > -- Nathan > > > > On 04/15/2015 05:39 PM, Brian West wrote: > >> Thats easy to fix, you filter each part into its own file in order then > pcapmerge the end result. > >> > >> On Wed, Apr 15, 2015 at 5:31 PM, Alex Balashov < > abalashov at evaristesys.com > wrote: > >> > >> In my experience, the major problem with this is dealing with calls > that span capture chunks. > >> > >> -- > >> Alex Balashov | Principal | Evariste Systems LLC > >> 303 Perimeter Center North, Suite 300 > >> Atlanta, GA 30346 > >> United States > >> > >> Tel: +1-800-250-5920 (toll-free) / > +1-678-954-0671 (direct) > >> Web: http://www.evaristesys.com/, http://www.csrpswitch.com/ > >> > >> Sent from my BlackBerry. > >> *From: *Brian West > >> *Sent: *Wednesday, April 15, 2015 18:29 > >> *To: *FreeSWITCH Users Help > >> *Reply To: *FreeSWITCH Users Help > >> *Subject: *Re: [Freeswitch-users] pcapsipdump > >> > >> > >> Yep, That with XML CDR, you can build a time frame and only look in > files that were created within the start / end > >> of the call, there by saving yourself a little bit of time while > extracting the data. > >> > >> On Wed, Apr 15, 2015 at 5:25 PM, Alex Balashov < > abalashov at evaristesys.com > wrote: > >> > >> > >> On 04/15/2015 06:13 PM, Brian West wrote: > >> > >>> To solve this, you could run a big ring buffer, load mod_xml_cdr, then > >>> build a wireshark filter out of that data and process the ring buffer, > >>> i've done this before and it works quite well. > >> > >> By ring buffer, do you mean a large amount of tcpdump capture rotations, > >> including options like -C and -W? > >> > >> -- > >> Alex Balashov | Principal | Evariste Systems LLC > >> 303 Perimeter Center North, Suite 300 > >> Atlanta, GA 30346 > >> United States > >> > >> Tel: +1-800-250-5920 (toll-free) / > +1-678-954-0671 (direct) > >> Web: http://www.evaristesys.com/, http://www.csrpswitch.com/ > >> > >> > _________________________________________________________________________ > >> Professional FreeSWITCH Consulting Services: > >> consulting at freeswitch.org > >> http://www.freeswitchsolutions.com > >> > >> Official FreeSWITCH Sites > >> http://www.freeswitch.org > >> http://confluence.freeswitch.org > >> http://www.cluecon.com > >> > >> FreeSWITCH-users mailing list > >> FreeSWITCH-users at lists.freeswitch.org FreeSWITCH-users at lists.freeswitch.org> > >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >> http://www.freeswitch.org > >> > >> > >> > >> > >> -- > >> > >> */Brian West/* > >> brian at freeswitch.org > >> > >> > >> */Twitter: @FreeSWITCH , @briankwest/* > >> http://www.freeswitchbook.com > >> http://www.freeswitchcookbook.com > >> > >> ClueCon 2015 Call for Speakers < > https://www.cluecon.com/call-for-speakers/> | Register > >> TODAY! | Reddit: /r/freeswitch > > >> > >> *T:*+19184209001 | *F:*+19184209002 19184209002> | *M:*+1918424WEST (9378) > >> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest > >> > >> > >> > >> > _________________________________________________________________________ > >> Professional FreeSWITCH Consulting Services: > >> consulting at freeswitch.org > >> http://www.freeswitchsolutions.com > >> > >> Official FreeSWITCH Sites > >> http://www.freeswitch.org > >> http://confluence.freeswitch.org > >> http://www.cluecon.com > >> > >> FreeSWITCH-users mailing list > >> FreeSWITCH-users at lists.freeswitch.org FreeSWITCH-users at lists.freeswitch.org> > >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >> http://www.freeswitch.org > >> > >> > >> > >> > >> -- > >> > >> */Brian West/* > >> brian at freeswitch.org > >> > >> > >> */Twitter: @FreeSWITCH , @briankwest/* > >> http://www.freeswitchbook.com > >> http://www.freeswitchcookbook.com > >> > >> ClueCon 2015 Call for Speakers < > https://www.cluecon.com/call-for-speakers/> | Register > >> TODAY! | Reddit: /r/freeswitch > > >> > >> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) > >> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest > >> > >> > >> > >> > _________________________________________________________________________ > >> Professional FreeSWITCH Consulting Services: > >> consulting at freeswitch.org > >> http://www.freeswitchsolutions.com > >> > >> Official FreeSWITCH Sites > >> http://www.freeswitch.org > >> http://confluence.freeswitch.org > >> http://www.cluecon.com > >> > >> FreeSWITCH-users mailing list > >> FreeSWITCH-users at lists.freeswitch.org > >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >> http://www.freeswitch.org > >> > > > > -- > ------------------------------------------------------------ > Nathan Neulinger nneul at mst.edu > Missouri S&T Information Technology (573) 612-1412 > System Administrator - Architect > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > , > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Aron Podrigal - //Be happy :-) -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150416/5fd03e2e/attachment-0001.html From martin.tomczyk at legion.de Thu Apr 16 17:58:44 2015 From: martin.tomczyk at legion.de (Martin Tomczyk) Date: Thu, 16 Apr 2015 15:58:44 +0200 Subject: [Freeswitch-users] pcapsipdump In-Reply-To: References: <552EE54A.8050204@evaristesys.com><20150415223125.5378127.17368.47648@evaristesys.com><552EEAE9.4030400@mst.edu><20150415230221.5378127.13278.47675@evaristesys.com><552EEFE7.5050904@mst.edu><523161429184532@web25h.yandex.ru> Message-ID: <3570D5CEC845A244A2A317CB9F80BE36ECEAA9@vs-of-msx1.legion.ger> As alternative: We are using homer sipcapture. Works great for us. http://sipcapture.org/ Gesendet: Donnerstag, 16. April 2015 15:21 Thanks, I'll try that out. On Thu, Apr 16, 2015 at 7:42 AM, wrote: +1 besides separated pcaps there is a lot statistics in a database like duration, progress_time, whohanged, lastSIPresponseNum, mos and other 16.04.2015, 14:09, "Regis M" : +1 best tool i've found for the moment... using only the capture side from years ago. 2015-04-16 1:10 GMT+02:00 Nathan Neulinger : Right, that's why I mentioned just using the capture engine. Only the web UI has any license requirement. Even without the UI, you can do quite a bit with just the raw tables and the generated capture files that it separates by call/etc. -- Nathan On 04/15/2015 06:02 PM, Alex Balashov wrote: > They have a per-port licencing model, however, which is unduly restrictive for certain kinds of users. > > One is users who need captures for purely diagnostic purposes and otherwise realise little bottom-line value from them. Another ?are short-duration traffic movers who realise little revenue relative to a high concurrent channel count, due to low ASRs. > > It's a great product, but not for everyone. > > -- > Alex Balashov | Principal | Evariste Systems LLC > 303 Perimeter Center North, Suite 300 > Atlanta, GA 30346 > United States > > Tel: +1-800-250-5920 (toll-free) / +1-678-954-0671 (direct) > Web: http://www.evaristesys.com/, http://www.csrpswitch.com/ > > Sent from my BlackBerry. > Original Message > From: Nathan Neulinger > Sent: Wednesday, April 15, 2015 18:50 > To: FreeSWITCH Users Help > Reply To: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] pcapsipdump > > Have you looked at using voipmonitor? The capture part is open source / GPL, and seems to do a nice job with captures. > The pretty UI is non-free, but the capture engine is useful by itself. > > http://sourceforge.net/projects/voipmonitor/ > > -- Nathan > > On 04/15/2015 05:39 PM, Brian West wrote: >> Thats easy to fix, you filter each part into its own file in order then pcapmerge the end result. >> >> On Wed, Apr 15, 2015 at 5:31 PM, Alex Balashov > wrote: >> >> In my experience, the major problem with this is dealing with calls that span capture chunks. >> >> -- >> Alex Balashov | Principal | Evariste Systems LLC >> 303 Perimeter Center North, Suite 300 >> Atlanta, GA 30346 >> United States >> >> Tel: +1-800-250-5920 (toll-free) / +1-678-954-0671 (direct) >> Web: http://www.evaristesys.com/, http://www.csrpswitch.com/ >> >> Sent from my BlackBerry. >> *From: *Brian West >> *Sent: *Wednesday, April 15, 2015 18:29 >> *To: *FreeSWITCH Users Help >> *Reply To: *FreeSWITCH Users Help >> *Subject: *Re: [Freeswitch-users] pcapsipdump >> >> >> Yep, That with XML CDR, you can build a time frame and only look in files that were created within the start / end >> of the call, there by saving yourself a little bit of time while extracting the data. >> >> On Wed, Apr 15, 2015 at 5:25 PM, Alex Balashov > wrote: >> >> >> On 04/15/2015 06:13 PM, Brian West wrote: >> >>> To solve this, you could run a big ring buffer, load mod_xml_cdr, then >>> build a wireshark filter out of that data and process the ring buffer, >>> i've done this before and it works quite well. >> >> By ring buffer, do you mean a large amount of tcpdump capture rotations, >> including options like -C and -W? >> >> -- >> Alex Balashov | Principal | Evariste Systems LLC >> 303 Perimeter Center North, Suite 300 >> Atlanta, GA 30346 >> United States >> >> Tel: +1-800-250-5920 (toll-free) / +1-678-954-0671 (direct) >> Web: http://www.evaristesys.com/, http://www.csrpswitch.com/ >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> >> >> >> >> -- >> >> */Brian West/* >> brian at freeswitch.org >> >> >> */Twitter: @FreeSWITCH , @briankwest/* >> http://www.freeswitchbook.com >> http://www.freeswitchcookbook.com >> >> ClueCon 2015 Call for Speakers | Register >> TODAY! | Reddit: /r/freeswitch >> >> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) >> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> >> >> >> >> -- >> >> */Brian West/* >> brian at freeswitch.org >> >> >> */Twitter: @FreeSWITCH , @briankwest/* >> http://www.freeswitchbook.com >> http://www.freeswitchcookbook.com >> >> ClueCon 2015 Call for Speakers | Register >> TODAY! | Reddit: /r/freeswitch >> >> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) >> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > -- ------------------------------------------------------------ Nathan Neulinger nneul at mst.edu Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org , _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -- Aron Podrigal - //Be happy :-) -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150416/bc65e075/attachment-0001.html From alipey at gmail.com Thu Apr 16 20:22:51 2015 From: alipey at gmail.com (Ali Pey) Date: Thu, 16 Apr 2015 12:22:51 -0400 Subject: [Freeswitch-users] Dynamic local_stream? Message-ID: Hello, Is it possible to dynamically set different local_stream files for different users/bridges? For instance I need a different custom MOH for call1 than call2 and they dynamically change as users can upload their own custom moh and I can't change the local_stream.conf.xml config file. Thanks, Ali Pey -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150416/24a5d702/attachment.html From bote_radio at botecomm.com Thu Apr 16 21:49:23 2015 From: bote_radio at botecomm.com (Bote Man) Date: Thu, 16 Apr 2015 13:49:23 -0400 Subject: [Freeswitch-users] nohz=off CentOS 6.6 needed? In-Reply-To: <3570D5CEC845A244A2A317CB9F80BE36ECEAA6@vs-of-msx1.legion.ger> References: <3570D5CEC845A244A2A317CB9F80BE36ECEAA3@vs-of-msx1.legion.ger> <070A7CEB-1331-43CA-81A2-A27E0DA4510B@jerris.com> <3570D5CEC845A244A2A317CB9F80BE36ECEAA6@vs-of-msx1.legion.ger> Message-ID: <004e01d0786d$acef59c0$06ce0d40$@botecomm.com> I recall that earlier versions of CentOS 6 had some kind of problem related to the clock, but I thought 6.6 solved that problem. Also, please check that FreeSWITCH is being started with the -np switch, or at least NOT started with the -rp switch. Hope this helps. Bote From: Martin Tomczyk Sent: Thursday, 16 April, 2015 08:58 Subject: Re: [Freeswitch-users] nohz=off CentOS 6.6 needed? Thanks for getting abck. My mistake. Sorry, yes it is v1.4.18. but I doubt that it is directly associated to freeswitch. At least for now since the cpu went up after a strange case of IP issue on OS level. So my question is more a general one. Thank you Von: Michael Jerris Gesendet: Donnerstag, 16. April 2015 14:39 Betreff: Re: [Freeswitch-users] nohz=off CentOS 6.6 needed? Is it the same on 1.4.18? On Apr 16, 2015, at 5:23 AM, Martin Tomczyk wrote: We are experiencing high cpu load after setting up a CentOS 6.6 (fully updated; kernel 2.6.32) with a stable 1.4.15 freeswitch on a vmware 5.1 esxi server. Is the nohz=off setting still applicable? Thanks a lot for any help. Much appreciated Kind regards Martin -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150416/7728093c/attachment.html From cmrienzo at gmail.com Thu Apr 16 21:59:09 2015 From: cmrienzo at gmail.com (Christopher Rienzo) Date: Thu, 16 Apr 2015 13:59:09 -0400 Subject: [Freeswitch-users] pcapsipdump In-Reply-To: <3570D5CEC845A244A2A317CB9F80BE36ECEAA9@vs-of-msx1.legion.ger> References: <552EE54A.8050204@evaristesys.com> <20150415223125.5378127.17368.47648@evaristesys.com> <552EEAE9.4030400@mst.edu> <20150415230221.5378127.13278.47675@evaristesys.com> <552EEFE7.5050904@mst.edu> <523161429184532@web25h.yandex.ru> <3570D5CEC845A244A2A317CB9F80BE36ECEAA9@vs-of-msx1.legion.ger> Message-ID: Lots of good stuff in this thread. I was able to overcome the limitations in pcapsipdump with a couple well placed hash tables and an improved file naming convention so that calls can be located if data center + call UUID is known. Combined with graylog/elasticsearch, we can search for calls and programmatically generate the URL link to the capture. voipmonitor looks very interesting. On Thu, Apr 16, 2015 at 9:58 AM, Martin Tomczyk wrote: > As alternative: > > We are using homer sipcapture. Works great for us. > > http://sipcapture.org/ > > > > > > > > > > > > *Gesendet:* Donnerstag, 16. April 2015 15:21 > > > > Thanks, I'll try that out. > > > > On Thu, Apr 16, 2015 at 7:42 AM, wrote: > > +1 besides separated pcaps there is a lot statistics in a database like > duration, progress_time, whohanged, lastSIPresponseNum, mos and other > > > > 16.04.2015, 14:09, "Regis M" : > > +1 best tool i've found for the moment... using only the capture side > from years ago. > > > > 2015-04-16 1:10 GMT+02:00 Nathan Neulinger : > > Right, that's why I mentioned just using the capture engine. Only the web > UI has any license requirement. Even without > the UI, you can do quite a bit with just the raw tables and the generated > capture files that it separates by call/etc. > > -- Nathan > > > On 04/15/2015 06:02 PM, Alex Balashov wrote: > > They have a per-port licencing model, however, which is unduly > restrictive for certain kinds of users. > > > > One is users who need captures for purely diagnostic purposes and > otherwise realise little bottom-line value from them. Another ?are > short-duration traffic movers who realise little revenue relative to a high > concurrent channel count, due to low ASRs. > > > > It's a great product, but not for everyone. > > > > -- > > Alex Balashov | Principal | Evariste Systems LLC > > 303 Perimeter Center North, Suite 300 > > Atlanta, GA 30346 > > United States > > > > Tel: +1-800-250-5920 (toll-free) / +1-678-954-0671 (direct) > > Web: http://www.evaristesys.com/, http://www.csrpswitch.com/ > > > > Sent from my BlackBerry. > > Original Message > > From: Nathan Neulinger > > Sent: Wednesday, April 15, 2015 18:50 > > To: FreeSWITCH Users Help > > Reply To: FreeSWITCH Users Help > > Subject: Re: [Freeswitch-users] pcapsipdump > > > > Have you looked at using voipmonitor? The capture part is open source / > GPL, and seems to do a nice job with captures. > > The pretty UI is non-free, but the capture engine is useful by itself. > > > > http://sourceforge.net/projects/voipmonitor/ > > > > -- Nathan > > > > On 04/15/2015 05:39 PM, Brian West wrote: > >> Thats easy to fix, you filter each part into its own file in order then > pcapmerge the end result. > >> > >> On Wed, Apr 15, 2015 at 5:31 PM, Alex Balashov < > abalashov at evaristesys.com > wrote: > >> > >> In my experience, the major problem with this is dealing with calls > that span capture chunks. > >> > >> -- > >> Alex Balashov | Principal | Evariste Systems LLC > >> 303 Perimeter Center North, Suite 300 > >> Atlanta, GA 30346 > >> United States > >> > >> Tel: +1-800-250-5920 (toll-free) / > +1-678-954-0671 (direct) > >> Web: http://www.evaristesys.com/, http://www.csrpswitch.com/ > >> > >> Sent from my BlackBerry. > >> *From: *Brian West > >> *Sent: *Wednesday, April 15, 2015 18:29 > >> *To: *FreeSWITCH Users Help > >> *Reply To: *FreeSWITCH Users Help > >> *Subject: *Re: [Freeswitch-users] pcapsipdump > >> > >> > >> Yep, That with XML CDR, you can build a time frame and only look in > files that were created within the start / end > >> of the call, there by saving yourself a little bit of time while > extracting the data. > >> > >> On Wed, Apr 15, 2015 at 5:25 PM, Alex Balashov < > abalashov at evaristesys.com > wrote: > >> > >> > >> On 04/15/2015 06:13 PM, Brian West wrote: > >> > >>> To solve this, you could run a big ring buffer, load mod_xml_cdr, then > >>> build a wireshark filter out of that data and process the ring buffer, > >>> i've done this before and it works quite well. > >> > >> By ring buffer, do you mean a large amount of tcpdump capture rotations, > >> including options like -C and -W? > >> > >> -- > >> Alex Balashov | Principal | Evariste Systems LLC > >> 303 Perimeter Center North, Suite 300 > >> Atlanta, GA 30346 > >> United States > >> > >> Tel: +1-800-250-5920 (toll-free) / > +1-678-954-0671 (direct) > >> Web: http://www.evaristesys.com/, http://www.csrpswitch.com/ > >> > >> > _________________________________________________________________________ > >> Professional FreeSWITCH Consulting Services: > >> consulting at freeswitch.org > >> http://www.freeswitchsolutions.com > >> > >> Official FreeSWITCH Sites > >> http://www.freeswitch.org > >> http://confluence.freeswitch.org > >> http://www.cluecon.com > >> > >> FreeSWITCH-users mailing list > >> FreeSWITCH-users at lists.freeswitch.org FreeSWITCH-users at lists.freeswitch.org> > >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >> http://www.freeswitch.org > >> > >> > >> > >> > >> -- > >> > >> */Brian West/* > >> brian at freeswitch.org > >> > >> > >> */Twitter: @FreeSWITCH , @briankwest/* > >> http://www.freeswitchbook.com > >> http://www.freeswitchcookbook.com > >> > >> ClueCon 2015 Call for Speakers < > https://www.cluecon.com/call-for-speakers/> | Register > >> TODAY! | Reddit: /r/freeswitch > > >> > >> *T:*+19184209001 | *F:*+19184209002 19184209002> | *M:*+1918424WEST (9378) > >> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest > >> > >> > >> > >> > _________________________________________________________________________ > >> Professional FreeSWITCH Consulting Services: > >> consulting at freeswitch.org > >> http://www.freeswitchsolutions.com > >> > >> Official FreeSWITCH Sites > >> http://www.freeswitch.org > >> http://confluence.freeswitch.org > >> http://www.cluecon.com > >> > >> FreeSWITCH-users mailing list > >> FreeSWITCH-users at lists.freeswitch.org FreeSWITCH-users at lists.freeswitch.org> > >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >> http://www.freeswitch.org > >> > >> > >> > >> > >> -- > >> > >> */Brian West/* > >> brian at freeswitch.org > >> > >> > >> */Twitter: @FreeSWITCH , @briankwest/* > >> http://www.freeswitchbook.com > >> http://www.freeswitchcookbook.com > >> > >> ClueCon 2015 Call for Speakers < > https://www.cluecon.com/call-for-speakers/> | Register > >> TODAY! | Reddit: /r/freeswitch > > >> > >> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) > >> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest > >> > >> > >> > >> > _________________________________________________________________________ > >> Professional FreeSWITCH Consulting Services: > >> consulting at freeswitch.org > >> http://www.freeswitchsolutions.com > >> > >> Official FreeSWITCH Sites > >> http://www.freeswitch.org > >> http://confluence.freeswitch.org > >> http://www.cluecon.com > >> > >> FreeSWITCH-users mailing list > >> FreeSWITCH-users at lists.freeswitch.org > >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >> http://www.freeswitch.org > >> > > > > -- > ------------------------------------------------------------ > Nathan Neulinger nneul at mst.edu > Missouri S&T Information Technology (573) 612-1412 > System Administrator - Architect > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > , > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > > > -- > > Aron Podrigal > > - > > //Be happy :-) > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150416/3f9f9caf/attachment-0001.html From aronp at guaranteedplus.com Thu Apr 16 22:19:05 2015 From: aronp at guaranteedplus.com (Podrigal, Aron) Date: Thu, 16 Apr 2015 14:19:05 -0400 Subject: [Freeswitch-users] pcapsipdump In-Reply-To: References: <552EE54A.8050204@evaristesys.com> <20150415223125.5378127.17368.47648@evaristesys.com> <552EEAE9.4030400@mst.edu> <20150415230221.5378127.13278.47675@evaristesys.com> <552EEFE7.5050904@mst.edu> <523161429184532@web25h.yandex.ru> <3570D5CEC845A244A2A317CB9F80BE36ECEAA9@vs-of-msx1.legion.ger> Message-ID: On Thu, Apr 16, 2015 at 1:59 PM, Christopher Rienzo wrote: > Lots of good stuff in this thread. I was able to overcome the limitations > in pcapsipdump with a couple well placed hash tables and an improved file > naming convention so that calls can be located if data center + call UUID > is known. > So you modified the pcapsipdump source? > Combined with graylog/elasticsearch, we can search for calls and > programmatically generate the URL link to the capture. > > voipmonitor looks very interesting. > > On Thu, Apr 16, 2015 at 9:58 AM, Martin Tomczyk > wrote: > >> As alternative: >> >> We are using homer sipcapture. Works great for us. >> >> http://sipcapture.org/ >> >> >> >> >> >> >> >> >> >> >> >> *Gesendet:* Donnerstag, 16. April 2015 15:21 >> >> >> >> Thanks, I'll try that out. >> >> >> >> On Thu, Apr 16, 2015 at 7:42 AM, wrote: >> >> +1 besides separated pcaps there is a lot statistics in a database like >> duration, progress_time, whohanged, lastSIPresponseNum, mos and other >> >> >> >> 16.04.2015, 14:09, "Regis M" : >> >> +1 best tool i've found for the moment... using only the capture side >> from years ago. >> >> >> >> 2015-04-16 1:10 GMT+02:00 Nathan Neulinger : >> >> Right, that's why I mentioned just using the capture engine. Only the web >> UI has any license requirement. Even without >> the UI, you can do quite a bit with just the raw tables and the generated >> capture files that it separates by call/etc. >> >> -- Nathan >> >> >> On 04/15/2015 06:02 PM, Alex Balashov wrote: >> > They have a per-port licencing model, however, which is unduly >> restrictive for certain kinds of users. >> > >> > One is users who need captures for purely diagnostic purposes and >> otherwise realise little bottom-line value from them. Another ?are >> short-duration traffic movers who realise little revenue relative to a high >> concurrent channel count, due to low ASRs. >> > >> > It's a great product, but not for everyone. >> > >> > -- >> > Alex Balashov | Principal | Evariste Systems LLC >> > 303 Perimeter Center North, Suite 300 >> > Atlanta, GA 30346 >> > United States >> > >> > Tel: +1-800-250-5920 (toll-free) / +1-678-954-0671 (direct) >> > Web: http://www.evaristesys.com/, http://www.csrpswitch.com/ >> > >> > Sent from my BlackBerry. >> > Original Message >> > From: Nathan Neulinger >> > Sent: Wednesday, April 15, 2015 18:50 >> > To: FreeSWITCH Users Help >> > Reply To: FreeSWITCH Users Help >> > Subject: Re: [Freeswitch-users] pcapsipdump >> > >> > Have you looked at using voipmonitor? The capture part is open source / >> GPL, and seems to do a nice job with captures. >> > The pretty UI is non-free, but the capture engine is useful by itself. >> > >> > http://sourceforge.net/projects/voipmonitor/ >> > >> > -- Nathan >> > >> > On 04/15/2015 05:39 PM, Brian West wrote: >> >> Thats easy to fix, you filter each part into its own file in order >> then pcapmerge the end result. >> >> >> >> On Wed, Apr 15, 2015 at 5:31 PM, Alex Balashov < >> abalashov at evaristesys.com > wrote: >> >> >> >> In my experience, the major problem with this is dealing with calls >> that span capture chunks. >> >> >> >> -- >> >> Alex Balashov | Principal | Evariste Systems LLC >> >> 303 Perimeter Center North, Suite 300 >> >> Atlanta, GA 30346 >> >> United States >> >> >> >> Tel: +1-800-250-5920 (toll-free) / >> +1-678-954-0671 (direct) >> >> Web: http://www.evaristesys.com/, http://www.csrpswitch.com/ >> >> >> >> Sent from my BlackBerry. >> >> *From: *Brian West >> >> *Sent: *Wednesday, April 15, 2015 18:29 >> >> *To: *FreeSWITCH Users Help >> >> *Reply To: *FreeSWITCH Users Help >> >> *Subject: *Re: [Freeswitch-users] pcapsipdump >> >> >> >> >> >> Yep, That with XML CDR, you can build a time frame and only look in >> files that were created within the start / end >> >> of the call, there by saving yourself a little bit of time while >> extracting the data. >> >> >> >> On Wed, Apr 15, 2015 at 5:25 PM, Alex Balashov < >> abalashov at evaristesys.com > wrote: >> >> >> >> >> >> On 04/15/2015 06:13 PM, Brian West wrote: >> >> >> >>> To solve this, you could run a big ring buffer, load mod_xml_cdr, then >> >>> build a wireshark filter out of that data and process the ring buffer, >> >>> i've done this before and it works quite well. >> >> >> >> By ring buffer, do you mean a large amount of tcpdump capture >> rotations, >> >> including options like -C and -W? >> >> >> >> -- >> >> Alex Balashov | Principal | Evariste Systems LLC >> >> 303 Perimeter Center North, Suite 300 >> >> Atlanta, GA 30346 >> >> United States >> >> >> >> Tel: +1-800-250-5920 (toll-free) / >> +1-678-954-0671 (direct) >> >> Web: http://www.evaristesys.com/, http://www.csrpswitch.com/ >> >> >> >> >> _________________________________________________________________________ >> >> Professional FreeSWITCH Consulting Services: >> >> consulting at freeswitch.org >> >> http://www.freeswitchsolutions.com >> >> >> >> Official FreeSWITCH Sites >> >> http://www.freeswitch.org >> >> http://confluence.freeswitch.org >> >> http://www.cluecon.com >> >> >> >> FreeSWITCH-users mailing list >> >> FreeSWITCH-users at lists.freeswitch.org > FreeSWITCH-users at lists.freeswitch.org> >> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >> UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> >> http://www.freeswitch.org >> >> >> >> >> >> >> >> >> >> -- >> >> >> >> */Brian West/* >> >> brian at freeswitch.org >> >> >> >> >> >> */Twitter: @FreeSWITCH , @briankwest/* >> >> http://www.freeswitchbook.com >> >> http://www.freeswitchcookbook.com >> >> >> >> ClueCon 2015 Call for Speakers < >> https://www.cluecon.com/call-for-speakers/> | Register >> >> TODAY! | Reddit: >> /r/freeswitch >> >> >> >> *T:*+19184209001 | *F:*+19184209002 > 19184209002> | *M:*+1918424WEST (9378) >> >> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest >> >> >> >> >> >> >> >> >> _________________________________________________________________________ >> >> Professional FreeSWITCH Consulting Services: >> >> consulting at freeswitch.org >> >> http://www.freeswitchsolutions.com >> >> >> >> Official FreeSWITCH Sites >> >> http://www.freeswitch.org >> >> http://confluence.freeswitch.org >> >> http://www.cluecon.com >> >> >> >> FreeSWITCH-users mailing list >> >> FreeSWITCH-users at lists.freeswitch.org > FreeSWITCH-users at lists.freeswitch.org> >> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >> UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> >> http://www.freeswitch.org >> >> >> >> >> >> >> >> >> >> -- >> >> >> >> */Brian West/* >> >> brian at freeswitch.org >> >> >> >> >> >> */Twitter: @FreeSWITCH , @briankwest/* >> >> http://www.freeswitchbook.com >> >> http://www.freeswitchcookbook.com >> >> >> >> ClueCon 2015 Call for Speakers < >> https://www.cluecon.com/call-for-speakers/> | Register >> >> TODAY! | Reddit: >> /r/freeswitch >> >> >> >> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) >> >> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest >> >> >> >> >> >> >> >> >> _________________________________________________________________________ >> >> Professional FreeSWITCH Consulting Services: >> >> consulting at freeswitch.org >> >> http://www.freeswitchsolutions.com >> >> >> >> Official FreeSWITCH Sites >> >> http://www.freeswitch.org >> >> http://confluence.freeswitch.org >> >> http://www.cluecon.com >> >> >> >> FreeSWITCH-users mailing list >> >> FreeSWITCH-users at lists.freeswitch.org >> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >> UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> >> http://www.freeswitch.org >> >> >> > >> >> -- >> ------------------------------------------------------------ >> Nathan Neulinger nneul at mst.edu >> Missouri S&T Information Technology (573) 612-1412 >> System Administrator - Architect >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> >> , >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> >> >> >> >> >> -- >> >> Aron Podrigal >> >> - >> >> //Be happy :-) >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Aron Podrigal - //Be happy :-) -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150416/7bc06a32/attachment-0001.html From grcamauer at gmail.com Thu Apr 16 22:23:15 2015 From: grcamauer at gmail.com (Guillermo Ruiz Camauer) Date: Thu, 16 Apr 2015 15:23:15 -0300 Subject: [Freeswitch-users] FS + WinSvr2008 - OK; FS + WinSvr2012 - NOT SO GOOD In-Reply-To: <1428499935.71257.YahooMailBasic@web160206.mail.bf1.yahoo.com> References: <1428499935.71257.YahooMailBasic@web160206.mail.bf1.yahoo.com> Message-ID: You might want to post parts of the relevant configuration files (vars.xml, the internal and esternal profiles, etc.) Guillermo On Wed, Apr 8, 2015 at 10:32 AM, T Fred Farmington wrote: > I know that many of you are using Linux with FS, but a few of us are using > Windows OS's. > > I had a virtual server running FS + Windows Server 2008 up and running OK, > but we wanted to put FS into a 'real' physical server. > And we are currently using FS 1.5.12b (32bit) > > As a result of wanting to make the server change in mind I set up a new > physical server. > And wanting to run the most recent OS, I set it up to run Windows Server > 2012 > BUT I had LOTS of problems trying to get that running with SIP phones. > > The most recent problem was reported as: > The error messages are: > Error Creating SIP UA for profile: external-ipv6....... > Error Creating SIP UA for profile: internal-ipv6....... > > The likely causes for this are.... > 1. Another application is already listening on the specific > address > 2. The IP the profile is attempting to bind to is not local to > this system > > But I had repeatedly confirmed that neither of the 'likely causes' was > valid. > > Out of frustration I changed the server's OS to Windows Server 2008 > (consistent with the previous virtual server) > That, by itself, resolved the problem. > > Now without any change to the server's previous IP and no change to the FS > Port, the new FS server was working. > > There MUST be something wrong with that version of FS running under > Windows Server 2012. > > If anyone knows what the problem might be and how to resolve it, I'd > appreciate learning what it might be. > > Thanks, > TF > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Guillermo Ruiz Camauer -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150416/d8496e10/attachment.html From aronp at guaranteedplus.com Fri Apr 17 00:41:17 2015 From: aronp at guaranteedplus.com (Podrigal, Aron) Date: Thu, 16 Apr 2015 16:41:17 -0400 Subject: [Freeswitch-users] start_dtmf_generate and bind_digit_action In-Reply-To: References: Message-ID: Ok, so I was poking around in the code and I couldn't come up with a way to work around this. The way it is implemented now; switch_ivr_bridge.c:446 will pass the rfc2833 to the other channel, which is what we don't want. So since the same method is used by ivr_get_digits to check if there is digits on the channel, how would I work around this. So what would be the correct way around this? Thanks On Wed, Apr 15, 2015 at 1:05 PM, Christopher Rienzo wrote: > The dtmf generator will eat the digit. See switch_ivr_async.c: 3002 - > it's not hard to work around that or maybe add a channel variable to > override this behavior. > > > On Wed, Apr 15, 2015 at 12:35 PM, Podrigal, Aron > wrote: > >> I have noticed that if I use start_dtmf_generate on the channel, >> bind_digit_action doesn't bind. Is this by design? >> >> >> Aron >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Aron Podrigal - //Be happy :-) -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150416/80331cc7/attachment.html From aronp at guaranteedplus.com Fri Apr 17 00:46:01 2015 From: aronp at guaranteedplus.com (Podrigal, Aron) Date: Thu, 16 Apr 2015 16:46:01 -0400 Subject: [Freeswitch-users] mod_call_center consultation Message-ID: Hi, I'm looking for consultation by someone who is actively using mod_call_center and has good expedience with it. Please email me in private. Thanks. -- Aron Podrigal - //Be happy :-) -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150416/5a0696e6/attachment.html From martin.tomczyk at legion.de Fri Apr 17 00:49:51 2015 From: martin.tomczyk at legion.de (Martin Tomczyk) Date: Thu, 16 Apr 2015 22:49:51 +0200 Subject: [Freeswitch-users] nohz=off CentOS 6.6 needed? In-Reply-To: <004e01d0786d$acef59c0$06ce0d40$@botecomm.com> References: <3570D5CEC845A244A2A317CB9F80BE36ECEAA3@vs-of-msx1.legion.ger> <070A7CEB-1331-43CA-81A2-A27E0DA4510B@jerris.com><3570D5CEC845A244A2A317CB9F80BE36ECEAA6@vs-of-msx1.legion.ger> <004e01d0786d$acef59c0$06ce0d40$@botecomm.com> Message-ID: <3570D5CEC845A244A2A317CB9F80BE36ECEAB0@vs-of-msx1.legion.ger> Thanks. Well maybe it has something to do with the daemon script that we started using additionaly: it has the daemon args -nc Attached the whole script. How does it differ from the regular running of /usr/local/freeswitch/bin and then ./freeswitch? #!/bin/bash # # /etc/rc.d/init.d/freeswitch # # The FreeSwitch Open Source Voice Platform # # chkconfig: 345 89 14 # description: Starts and stops the freeswitch server daemon # processname: freeswitch # config: /usr/local/freeswitch/conf/freeswitch.conf # pidfile: /usr/local/freeswitch/run/freeswitch.pid # # Source function library. . /etc/init.d/functions PROG_NAME=freeswitch PID_FILE=${PID_FILE-/var/run/freeswitch/freeswitch.pid} FS_USER=${FS_USER-freeswitch} FS_FILE=${FS_FILE-/usr/bin/freeswitch} FS_HOME=${FS_HOME-/var/run/freeswitch} LOCK_FILE=/var/lock/subsys/freeswitch FREESWITCH_ARGS="-nc" RETVAL=0 # Source usr/localions file if [ -f /etc/sysconfig/freeswitch ]; then . /etc/sysconfig/freeswitch fi # start() { echo -n "Starting $PROG_NAME: " if [ -e $LOCK_FILE ]; then if [ -e $PID_FILE ] && [ -e /proc/`cat $PID_FILE` ]; then echo echo -n $"$PROG_NAME is already running."; failure $"$PROG_NAME is already running."; echo return 1 fi fi cd $FS_HOME daemon --user $FS_USER --pidfile $PID_FILE "$FS_FILE $FREESWITCH_ARGS $FREESWITCH_PARAMS >/dev/null 2>&1" RETVAL=$? echo [ $RETVAL -eq 0 ] && touch $LOCK_FILE; echo return $RETVAL } stop() { echo -n "Shutting down $PROG_NAME: " if [ ! -e $LOCK_FILE ]; then echo echo -n $"cannot stop $PROG_NAME: $PROG_NAME is not running." failure $"cannot stop $PROG_NAME: $PROG_NAME is not running." echo return 1; fi cd $FS_HOME $FS_FILE -stop > /dev/null 2>&1 killproc $PROG_NAME RETVAL=$? echo [ $RETVAL -eq 0 ] && rm -f $LOCK_FILE; return $RETVAL } rhstatus() { status $PROG_NAME; } case "$1" in start) start ;; stop) stop ;; status) status $PROG_NAME RETVAL=$? ;; restart) stop start ;; reload) # ;; condrestart) [ -f $PID_FILE ] && restart || : ;; *) echo "Usage: $PROG_NAME {start|stop|status|reload|restart}" exit 1 ;; esac exit $RETVAL Von: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] Im Auftrag von Bote Man Gesendet: Donnerstag, 16. April 2015 19:49 An: 'FreeSWITCH Users Help' Betreff: Re: [Freeswitch-users] nohz=off CentOS 6.6 needed? I recall that earlier versions of CentOS 6 had some kind of problem related to the clock, but I thought 6.6 solved that problem. Also, please check that FreeSWITCH is being started with the -np switch, or at least NOT started with the -rp switch. Hope this helps. Bote From: Martin Tomczyk Sent: Thursday, 16 April, 2015 08:58 Subject: Re: [Freeswitch-users] nohz=off CentOS 6.6 needed? Thanks for getting abck. My mistake. Sorry, yes it is v1.4.18. but I doubt that it is directly associated to freeswitch. At least for now since the cpu went up after a strange case of IP issue on OS level. So my question is more a general one. Thank you Von: Michael Jerris Gesendet: Donnerstag, 16. April 2015 14:39 Betreff: Re: [Freeswitch-users] nohz=off CentOS 6.6 needed? Is it the same on 1.4.18? On Apr 16, 2015, at 5:23 AM, Martin Tomczyk wrote: We are experiencing high cpu load after setting up a CentOS 6.6 (fully updated; kernel 2.6.32) with a stable 1.4.15 freeswitch on a vmware 5.1 esxi server. Is the nohz=off setting still applicable? Thanks a lot for any help. Much appreciated Kind regards Martin -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150416/ea1f812f/attachment-0001.html From lists at telefaks.de Fri Apr 17 00:55:35 2015 From: lists at telefaks.de (Peter Steinbach) Date: Thu, 16 Apr 2015 22:55:35 +0200 Subject: [Freeswitch-users] Encoding for received faxes changed in Ruby-ESL library? Message-ID: <553021C7.4060000@telefaks.de> Hello, we are receiving faxes via Freeswitch, and while receiving an ESL event (hangup, rxfaxresult) we are storing the fax information into a database. We have some problems with some special characaters there (German Umlauts). While sending a Fax via Freeswitch and receiving via Freeswitch we always have the following (correctly) encoded string in the Freeswitch events, while grepping them on the network interface. variable_fax_ident: Mein-B%81ro where %81 represents the germany character "?". But after evaluating this string in the Ruby(1.8) ESL library, this %81 is changed to mein-B%\3401ro, means "%81" is changed to "%\3401". I have looked into the code, but could not find any encoding change. Anybody has a hint, which encoding is used here, so we may encode it back? -- With kind regards Peter Steinbach Telefaks Services GmbH mailto:lists (att) telefaks.de Internet: www.telefaks.de From ali.jibran44 at gmail.com Fri Apr 17 01:10:02 2015 From: ali.jibran44 at gmail.com (Ali Jibran) Date: Fri, 17 Apr 2015 02:10:02 +0500 Subject: [Freeswitch-users] WEBRTC In-Reply-To: <73D45869-CDCD-4B09-8DFB-AE0D60829F61@jerris.com> References: <5C2EDCD6-4038-497A-956D-59CAB727F2C5@jerris.com> <73D45869-CDCD-4B09-8DFB-AE0D60829F61@jerris.com> Message-ID: Ah right. Off to the other mailing list then! Thanks for the input :) On Thursday, April 16, 2015, Michael Jerris wrote: > How to configure that on kamillio would be a better question on their list > I think. As far as the freeswitch side, receiving calls requires no > additional configuration. > > On Apr 16, 2015, at 2:49 AM, Ali Jibran > wrote: > > Could you guide me into it a little? As to how would achieve that? Thanks > On Tue, 14 Apr 2015 at 3:57 pm Michael Jerris > wrote: > >> yep >> >> On Apr 14, 2015, at 2:24 AM, Ali Jibran > > wrote: >> >> Oh ok. Thanks. >> >> So can I use the proxy to forward WEBRTC calls to freeSWITCH? It needs to >> connect at port 5066. >> >> I'm not sure how to do that. >> WEBRTC directly on freeSWITCH works fine but I want to send all calls >> through Kamailio. Can that be done? >> >> On Monday, April 13, 2015, Michael Jerris > > wrote: >> >>> You can use kamillio to proxy, but that is not an SBC. FreeSWITCH is an >>> SBC. >>> >>> > On Apr 11, 2015, at 8:42 AM, Ali Jibran >>> wrote: >>> > >>> > Is there anyway I can use WEBRTC through a SBC? >>> > >>> > I'm using Kamailio as a load balancer. And I want to make WEBRTC calls >>> come in through Kamailio and not directly to freeSWITCH. >>> > >>> > I'm using sip.js. >>> > >>> > Can someone guide me in the right deprecation on this? Thanks :) >>> >>> > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150417/7ab8f50d/attachment.html From droancea at yahoo.com Thu Apr 16 23:34:21 2015 From: droancea at yahoo.com (Dragos Oancea) Date: Thu, 16 Apr 2015 19:34:21 +0000 (UTC) Subject: [Freeswitch-users] pcapsipdump In-Reply-To: References: Message-ID: <857657756.4638631.1429212861124.JavaMail.yahoo@mail.yahoo.com> Hi There is also this tool called Gulp (it does?high speed packet capture ):http://staff.washington.edu/corey/gulp/ There are some kernel parameters that help diminish the packet loss at high throughput with small UDP packets (with the cost of adding some delay ) net.core.wmem , net.core.rmem, net.core.optmem_max , net.core.netdev_max_backlog .? Regards,Dragos? From: Regis M To: FreeSWITCH Users Help Sent: Thursday, April 16, 2015 1:03 PM Subject: Re: [Freeswitch-users] pcapsipdump +1 ?best tool i've found for the moment... ?using only the capture side from years ago. 2015-04-16 1:10 GMT+02:00 Nathan Neulinger : Right, that's why I mentioned just using the capture engine. Only the web UI has any license requirement. Even without the UI, you can do quite a bit with just the raw tables and the generated capture files that it separates by call/etc. -- Nathan On 04/15/2015 06:02 PM, Alex Balashov wrote: > They have a per-port licencing model, however, which is unduly restrictive for certain kinds of users. > > One is users who need captures for purely diagnostic purposes and otherwise realise little bottom-line value from them. Another ?are short-duration traffic movers who realise little revenue relative to a high concurrent channel count, due to low ASRs. > > It's a great product, but not for everyone. > > -- > Alex Balashov | Principal | Evariste Systems LLC > 303 Perimeter Center North, Suite 300 > Atlanta, GA 30346 > United States > > Tel: +1-800-250-5920 (toll-free) / +1-678-954-0671 (direct) > Web: http://www.evaristesys.com/, http://www.csrpswitch.com/ > > Sent from my BlackBerry. >? ? Original Message > From: Nathan Neulinger > Sent: Wednesday, April 15, 2015 18:50 > To: FreeSWITCH Users Help > Reply To: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] pcapsipdump > > Have you looked at using voipmonitor? The capture part is open source / GPL, and seems to do a nice job with captures. > The pretty UI is non-free, but the capture engine is useful by itself. > > http://sourceforge.net/projects/voipmonitor/ > > -- Nathan > > On 04/15/2015 05:39 PM, Brian West wrote: >> Thats easy to fix, you filter each part into its own file in order then pcapmerge the end result. >> >> On Wed, Apr 15, 2015 at 5:31 PM, Alex Balashov > wrote: >> >> In my experience, the major problem with this is dealing with calls that span capture chunks. >> >> -- >> Alex Balashov | Principal | Evariste Systems LLC >> 303 Perimeter Center North, Suite 300 >> Atlanta, GA 30346 >> United States >> >> Tel: +1-800-250-5920 (toll-free) / +1-678-954-0671 (direct) >> Web: http://www.evaristesys.com/, http://www.csrpswitch.com/ >> >> Sent from my BlackBerry. >> *From: *Brian West >> *Sent: *Wednesday, April 15, 2015 18:29 >> *To: *FreeSWITCH Users Help >> *Reply To: *FreeSWITCH Users Help >> *Subject: *Re: [Freeswitch-users] pcapsipdump >> >> >> Yep, That with XML CDR, you can build a time frame and only look in files that were created within the start / end >> of the call, there by saving yourself a little bit of time while extracting the data. >> >> On Wed, Apr 15, 2015 at 5:25 PM, Alex Balashov > wrote: >> >> >> On 04/15/2015 06:13 PM, Brian West wrote: >> >>> To solve this, you could run a big ring buffer, load mod_xml_cdr, then >>> build a wireshark filter out of that data and process the ring buffer, >>> i've done this before and it works quite well. >> >> By ring buffer, do you mean a large amount of tcpdump capture rotations, >> including options like -C and -W? >> >> -- >> Alex Balashov | Principal | Evariste Systems LLC >> 303 Perimeter Center North, Suite 300 >> Atlanta, GA 30346 >> United States >> >> Tel: +1-800-250-5920 (toll-free) / +1-678-954-0671 (direct) >> Web: http://www.evaristesys.com/, http://www.csrpswitch.com/ >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> >> >> >> >> -- >> >> */Brian West/* >> brian at freeswitch.org >> >> >> */Twitter: @FreeSWITCH , @briankwest/* >> http://www.freeswitchbook.com >> http://www.freeswitchcookbook.com >> >> ClueCon 2015 Call for Speakers | Register >> TODAY! | Reddit: /r/freeswitch >> >> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) >> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> >> >> >> >> -- >> >> */Brian West/* >> brian at freeswitch.org >> >> >> */Twitter: @FreeSWITCH , @briankwest/* >> http://www.freeswitchbook.com >> http://www.freeswitchcookbook.com >> >> ClueCon 2015 Call for Speakers | Register >> TODAY! | Reddit: /r/freeswitch >> >> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) >> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > -- ------------------------------------------------------------ Nathan Neulinger? ? ? ? ? ? ? ? ? ? ? ?nneul at mst.edu Missouri S&T Information Technology? ? (573) 612-1412 System Administrator - Architect _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150416/08aea3fe/attachment-0001.html From mike at jerris.com Fri Apr 17 01:27:26 2015 From: mike at jerris.com (Michael Jerris) Date: Thu, 16 Apr 2015 17:27:26 -0400 Subject: [Freeswitch-users] start_dtmf_generate and bind_digit_action In-Reply-To: References: Message-ID: <08659273-CCAD-4F0B-8985-BB9CE7521BF7@jerris.com> what happens if you bind before you call start_dtmf_generate? > On Apr 16, 2015, at 4:41 PM, Podrigal, Aron wrote: > > Ok, so I was poking around in the code and I couldn't come up with a way to work around this. The way it is implemented now; > > switch_ivr_bridge.c:446 will pass the rfc2833 to the other channel, which is what we don't want. > > So since the same method is used by ivr_get_digits to check if there is digits on the channel, how would I work around this. So what would be the correct way around this? > > > Thanks > > On Wed, Apr 15, 2015 at 1:05 PM, Christopher Rienzo > wrote: > The dtmf generator will eat the digit. See switch_ivr_async.c: 3002 - it's not hard to work around that or maybe add a channel variable to override this behavior. > > > On Wed, Apr 15, 2015 at 12:35 PM, Podrigal, Aron > wrote: > I have noticed that if I use start_dtmf_generate on the channel, bind_digit_action doesn't bind. Is this by design? > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150416/f8b01e3d/attachment.html From aronp at guaranteedplus.com Fri Apr 17 01:41:44 2015 From: aronp at guaranteedplus.com (Podrigal, Aron) Date: Thu, 16 Apr 2015 17:41:44 -0400 Subject: [Freeswitch-users] start_dtmf_generate and bind_digit_action In-Reply-To: <08659273-CCAD-4F0B-8985-BB9CE7521BF7@jerris.com> References: <08659273-CCAD-4F0B-8985-BB9CE7521BF7@jerris.com> Message-ID: Same problem exists in IVR's. so its not specific for bind_digit*. On Thu, Apr 16, 2015 at 5:27 PM, Michael Jerris wrote: > what happens if you bind before you call start_dtmf_generate? > > On Apr 16, 2015, at 4:41 PM, Podrigal, Aron > wrote: > > Ok, so I was poking around in the code and I couldn't come up with a way > to work around this. The way it is implemented now; > > switch_ivr_bridge.c:446 will pass the rfc2833 to the other channel, which > is what we don't want. > > So since the same method is used by ivr_get_digits to check if there is > digits on the channel, how would I work around this. So what would be the > correct way around this? > > > Thanks > > On Wed, Apr 15, 2015 at 1:05 PM, Christopher Rienzo > wrote: > >> The dtmf generator will eat the digit. See switch_ivr_async.c: 3002 - >> it's not hard to work around that or maybe add a channel variable to >> override this behavior. >> >> >> On Wed, Apr 15, 2015 at 12:35 PM, Podrigal, Aron < >> aronp at guaranteedplus.com> wrote: >> >>> I have noticed that if I use start_dtmf_generate on the channel, >>> bind_digit_action doesn't bind. Is this by design? >>> >>> > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Aron Podrigal - //Be happy :-) -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150416/27ffb587/attachment.html From ssinyagin at gmail.com Fri Apr 17 03:01:53 2015 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Fri, 17 Apr 2015 01:01:53 +0200 Subject: [Freeswitch-users] Dynamic local_stream? In-Reply-To: References: Message-ID: You can just playback those files or set them as ringback tone or hold music. Local stream is optimizing the playback so that the source file is read only once, and it restarts from the position it stopped last time. If it's not needed or not critical, you can just playback individual files instead. On Apr 16, 2015 6:24 PM, "Ali Pey" wrote: > Hello, > > Is it possible to dynamically set different local_stream files for > different users/bridges? > > For instance I need a different custom MOH for call1 than call2 and they > dynamically change as users can upload their own custom moh and I can't > change the local_stream.conf.xml config file. > > Thanks, > Ali Pey > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150417/1fddc3d1/attachment.html From olegstolyar at gmail.com Fri Apr 17 05:21:58 2015 From: olegstolyar at gmail.com (Oleg Stolyar) Date: Thu, 16 Apr 2015 18:21:58 -0700 Subject: [Freeswitch-users] cURL response code from API Message-ID: Hello, if I use in Lua resp = api:execute("curl", some_url) where can I get the curl response code? If I use session:execute("curl", some_url), the code will be in the curl_response_code session variable, but where can I get it if I use api:execute? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150416/dbdcce62/attachment.html From chusov.alexsandr at gmail.com Fri Apr 17 07:45:55 2015 From: chusov.alexsandr at gmail.com (Aleksandr Chusov) Date: Fri, 17 Apr 2015 06:45:55 +0300 Subject: [Freeswitch-users] cURL response code from API In-Reply-To: References: Message-ID: 2015-04-17 4:21 GMT+03:00 Oleg Stolyar : > > resp = api:execute("curl", some_url) > > where can I get the curl response code? > I use json local response = api:execute("curl", url .. " json timeout 2 get ") resp = json.decode(response) if resp.status_code ~= 200 then .... -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150417/9e73d7a3/attachment.html From jalsot at gmail.com Fri Apr 17 11:40:33 2015 From: jalsot at gmail.com (Tamas Jalsovszky) Date: Fri, 17 Apr 2015 09:40:33 +0200 Subject: [Freeswitch-users] nohz=off CentOS 6.6 needed? In-Reply-To: <004e01d0786d$acef59c0$06ce0d40$@botecomm.com> References: <3570D5CEC845A244A2A317CB9F80BE36ECEAA3@vs-of-msx1.legion.ger> <070A7CEB-1331-43CA-81A2-A27E0DA4510B@jerris.com> <3570D5CEC845A244A2A317CB9F80BE36ECEAA6@vs-of-msx1.legion.ger> <004e01d0786d$acef59c0$06ce0d40$@botecomm.com> Message-ID: Bote, what's wrong with -rp? Jalsot On Thu, Apr 16, 2015 at 7:49 PM, Bote Man wrote: > I recall that earlier versions of CentOS 6 had some kind of problem > related to the clock, but I thought 6.6 solved that problem. > > > > Also, please check that FreeSWITCH is being started with the ?np switch, > or at least NOT started with the ?rp switch. > > > > Hope this helps. > > > > Bote > > > > > > *From:* Martin Tomczyk > *Sent:* Thursday, 16 April, 2015 08:58 > *Subject:* Re: [Freeswitch-users] nohz=off CentOS 6.6 needed? > > > > Thanks for getting abck. > > My mistake. Sorry, yes it is v1.4.18. > > but I doubt that it is directly associated to freeswitch. At least for now > since the cpu went up after a strange case of IP issue on OS level. > > So my question is more a general one. > > Thank you > > > > > > *Von:* Michael Jerris > *Gesendet:* Donnerstag, 16. April 2015 14:39 > *Betreff:* Re: [Freeswitch-users] nohz=off CentOS 6.6 needed? > > > > Is it the same on 1.4.18? > > > > On Apr 16, 2015, at 5:23 AM, Martin Tomczyk > wrote: > > > > We are experiencing high cpu load after setting up a CentOS 6.6 (fully > updated; kernel 2.6.32) with a stable 1.4.15 freeswitch on a vmware 5.1 > esxi server. > > Is the nohz=off setting still applicable? > Thanks a lot for any help. Much appreciated > > Kind regards > > Martin > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150417/ba0870b8/attachment-0001.html From bee at netempire.de Fri Apr 17 11:53:25 2015 From: bee at netempire.de (Bemigho Eyimofe) Date: Fri, 17 Apr 2015 09:53:25 +0200 Subject: [Freeswitch-users] Cancel stream when the other side streams In-Reply-To: References: Message-ID: <0034FCFC-1249-49BD-B03E-22AF69E3ECA5@netempire.de> Hey everybody, is it possible to cancel a ?streamFile()? when the other side makes some noises? And if yes, how can i detect that my stream was successfully played or canceled? I want to do this in Python (or lua, ESL) Hope somebody will help, best Beezerk From martin.tomczyk at legion.de Fri Apr 17 12:01:55 2015 From: martin.tomczyk at legion.de (Martin Tomczyk) Date: Fri, 17 Apr 2015 10:01:55 +0200 Subject: [Freeswitch-users] nohz=off CentOS 6.6 needed? In-Reply-To: References: <3570D5CEC845A244A2A317CB9F80BE36ECEAA3@vs-of-msx1.legion.ger><070A7CEB-1331-43CA-81A2-A27E0DA4510B@jerris.com><3570D5CEC845A244A2A317CB9F80BE36ECEAA6@vs-of-msx1.legion.ger><004e01d0786d$acef59c0$06ce0d40$@botecomm.com> Message-ID: <3570D5CEC845A244A2A317CB9F80BE36ECEAB1@vs-of-msx1.legion.ger> I thought that these are priority settings they you can set depending on your env too?! My daemon starts with ?nc only. Is that wrong? Anyway. Yesterday I switched from the high loaded cpu machine to another one. During this time 5 calls (yes, five) caused a usage of all 8 cores with 2 ht cores consuming 100% of the esxi cpu power with round about 24GHz. But the calls were handled flawless and went totally normal. A service restart did not bring freeswitch up and it was stuck in the state: Service freeswitch dead but subsys locked Which was due to a stale pid file based on a crashed stop or start. But why this cpu spike happened is the big question. I will monitor it and give feedback if I find something. Von: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] Im Auftrag von Tamas Jalsovszky Gesendet: Freitag, 17. April 2015 09:41 An: FreeSWITCH Users Help Betreff: Re: [Freeswitch-users] nohz=off CentOS 6.6 needed? Bote, what's wrong with -rp? Jalsot On Thu, Apr 16, 2015 at 7:49 PM, Bote Man wrote: I recall that earlier versions of CentOS 6 had some kind of problem related to the clock, but I thought 6.6 solved that problem. Also, please check that FreeSWITCH is being started with the ?np switch, or at least NOT started with the ?rp switch. Hope this helps. Bote From: Martin Tomczyk Sent: Thursday, 16 April, 2015 08:58 Subject: Re: [Freeswitch-users] nohz=off CentOS 6.6 needed? Thanks for getting abck. My mistake. Sorry, yes it is v1.4.18. but I doubt that it is directly associated to freeswitch. At least for now since the cpu went up after a strange case of IP issue on OS level. So my question is more a general one. Thank you Von: Michael Jerris Gesendet: Donnerstag, 16. April 2015 14:39 Betreff: Re: [Freeswitch-users] nohz=off CentOS 6.6 needed? Is it the same on 1.4.18? On Apr 16, 2015, at 5:23 AM, Martin Tomczyk wrote: We are experiencing high cpu load after setting up a CentOS 6.6 (fully updated; kernel 2.6.32) with a stable 1.4.15 freeswitch on a vmware 5.1 esxi server. Is the nohz=off setting still applicable? Thanks a lot for any help. Much appreciated Kind regards Martin _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150417/aef6bd67/attachment.html From krice at freeswitch.org Fri Apr 17 18:01:34 2015 From: krice at freeswitch.org (Ken Rice) Date: Fri, 17 Apr 2015 14:01:34 +0000 Subject: [Freeswitch-users] FreeSWITCH Friday FreeForAll Reminder! Message-ID: <5531123ee3bea_15af35133084045@resque-worker-high.1.mail> FreeSWITCHers, Do not forget to join us at 2PM CST for the FreeSWITCH Friday FreeFor All Visit http://ift.tt/1n3h0Pf and Click Call 888 with your WebRTC enabled Browser and headset, Call sip:888 at conference.freeswitch.org or see http://ift.tt/1prwIZL for access info! -- Ken FreeSWITCH.org ClueCon.com OSTAG.org irc.freenode.net #freeswitch Twitter: @FreeSWITCH @ClueCon -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150417/31af2dc6/attachment-0001.html From eschmidbauer at gmail.com Fri Apr 17 17:24:36 2015 From: eschmidbauer at gmail.com (E. Schmidbauer) Date: Fri, 17 Apr 2015 09:24:36 -0400 Subject: [Freeswitch-users] compiling FreeSWITCH fs-video2 branch on debian jessie Message-ID: Hello, I'm trying to compile fs-video2 and getting the following error during ./configure checking for libyuv >= 0.0.1280... configure: error: You need to install libyuv-dev. Required library I git cloned and compiled the libyuv library FS is looking for: git clone https://github.com/openpeer/libyuv.git cd libyuv make -j7 V=1 -f linux.mk (it compiles without errors) How can I tell FS where to find the library? Thanks, E From s.safarov at gmail.com Fri Apr 17 18:27:02 2015 From: s.safarov at gmail.com (Sergey Safarov) Date: Fri, 17 Apr 2015 17:27:02 +0300 Subject: [Freeswitch-users] compiling FreeSWITCH fs-video2 branch on debian jessie In-Reply-To: References: Message-ID: try execute "make install" from libyuv folter. Then repeat FS compiling. Sergey On Fri, Apr 17, 2015 at 4:24 PM, E. Schmidbauer wrote: > Hello, > I'm trying to compile fs-video2 and getting the following error during > ./configure > > checking for libyuv >= 0.0.1280... configure: error: You need to > install libyuv-dev. Required library > > > I git cloned and compiled the libyuv library FS is looking for: > > git clone https://github.com/openpeer/libyuv.git > cd libyuv > make -j7 V=1 -f linux.mk > > (it compiles without errors) > > How can I tell FS where to find the library? > > Thanks, > E > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150417/6b2bc594/attachment.html From eschmidbauer at gmail.com Fri Apr 17 18:42:26 2015 From: eschmidbauer at gmail.com (E. Schmidbauer) Date: Fri, 17 Apr 2015 10:42:26 -0400 Subject: [Freeswitch-users] compiling FreeSWITCH fs-video2 branch on debian jessie In-Reply-To: References: Message-ID: Hi Sergey, The make file (linux.mk) does not have an "install" action so that will not work. Thanks, E On Fri, Apr 17, 2015 at 10:27 AM, Sergey Safarov wrote: > try execute "make install" from libyuv folter. Then repeat FS compiling. > > Sergey > > On Fri, Apr 17, 2015 at 4:24 PM, E. Schmidbauer > wrote: >> >> Hello, >> I'm trying to compile fs-video2 and getting the following error during >> ./configure >> >> checking for libyuv >= 0.0.1280... configure: error: You need to >> install libyuv-dev. Required library >> >> >> I git cloned and compiled the libyuv library FS is looking for: >> >> git clone https://github.com/openpeer/libyuv.git >> cd libyuv >> make -j7 V=1 -f linux.mk >> >> (it compiles without errors) >> >> How can I tell FS where to find the library? >> >> Thanks, >> E >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org From krice at freeswitch.org Fri Apr 17 18:47:39 2015 From: krice at freeswitch.org (Ken Rice) Date: Fri, 17 Apr 2015 09:47:39 -0500 Subject: [Freeswitch-users] compiling FreeSWITCH fs-video2 branch on debian jessie In-Reply-To: Message-ID: We actually had to patch several things for this... We'll be making those things available shortly On 4/17/15, 9:42 AM, "E. Schmidbauer" wrote: > Hi Sergey, > The make file (linux.mk) does not have an "install" action so that > will not work. > Thanks, > E > > On Fri, Apr 17, 2015 at 10:27 AM, Sergey Safarov wrote: >> try execute "make install" from libyuv folter. Then repeat FS compiling. >> >> Sergey >> >> On Fri, Apr 17, 2015 at 4:24 PM, E. Schmidbauer >> wrote: >>> >>> Hello, >>> I'm trying to compile fs-video2 and getting the following error during >>> ./configure >>> >>> checking for libyuv >= 0.0.1280... configure: error: You need to >>> install libyuv-dev. Required library >>> >>> >>> I git cloned and compiled the libyuv library FS is looking for: >>> >>> git clone https://github.com/openpeer/libyuv.git >>> cd libyuv >>> make -j7 V=1 -f linux.mk >>> >>> (it compiles without errors) >>> >>> How can I tell FS where to find the library? >>> >>> Thanks, >>> E >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -- Ken http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org irc.freenode.net #freeswitch Twitter: @FreeSWITCH From tfred31 at yahoo.com Fri Apr 17 18:54:50 2015 From: tfred31 at yahoo.com (T Fred Farmington) Date: Fri, 17 Apr 2015 07:54:50 -0700 Subject: [Freeswitch-users] SIP Header Via - IP Wrong Message-ID: <1429282490.41086.YahooMailBasic@web160206.mail.bf1.yahoo.com> My FreeSWITCH server has 2 IP addresses An Internal 192.168,nnn.nn & an External 107,1.nnn.nn This is accomplished via network 'magic' (I'm not the network guy) using a single network card And, in general, it works. I can Receive Outside calls from our SIP Trunk vendor But I can Not Send calls Out through the SIP Trunk vendor. The calls are being blocked (403 'Forbidden") by the vendor due to the contents of our SIP Header packet. Within the Via: part of the packet it shows: Via: SIP/2.0/UDP 192.168.nnn.nn;rport;branch=z9hG4bKQKa7126jtX4mm They need it to show the External IP here. I have even tried setting sip_via_host = 107.1.nnn.nn but that did not change what it being sent. How/Where can I get this to change? From mbodbg at gmx.net Fri Apr 17 19:01:01 2015 From: mbodbg at gmx.net (mbo) Date: Fri, 17 Apr 2015 17:01:01 +0200 Subject: [Freeswitch-users] RTP packet loss on outgoing streams Message-ID: <00101E12-5AFF-4208-80D7-CE3A73BF7596@gmx.net> Hello, we need to monitor the voice quality on our server. To test this, we setup a test environment with 2 freeswitches, originating calls from freeswitch 1 and then answer them on freeswitch 2 and play an announcement. To analyze the traffic, we us tshark with the following command: tshark -q -f 'udp' -o rtp.heuristic_rtp:TRUE -z rtp,strems -w test-pcap The result is, that we see packet loss around 20% on outgoing RTP streams, when we have more then 20 calls. The load average shown with the top command is always < 0.3 with a 4 core CPU and CPU load is less then 10%. ========================= RTP Streams ======================== Src IP addr Port Dest IP addr Port SSRC Payload Pkts Lost Max Delta(ms) Max Jitter(ms) Mean Jitter(ms) Problems? 192.168.1.134 27590 192.168.1.135 22576 0xCD7A189D ITU-T G.722 800 2 (0.2%) 59.93 0.11 0.05 X 192.168.1.135 22576 192.168.1.134 27590 0x5D4E50CD ITU-T G.722 599 202 (25.2%) 160.24 0.16 0.05 X 192.168.1.134 28172 192.168.1.135 29704 0xD53EC9AD ITU-T G.722 798 2 (0.2%) 59.99 0.07 0.04 X 192.168.1.135 29704 192.168.1.134 28172 0x5D50942D ITU-T G.722 713 86 (10.8%) 199.98 0.08 0.04 X 192.168.1.135 25794 192.168.1.134 16460 0x5D51E43D ITU-T G.722 633 165 (20.7%) 180.25 0.75 0.07 X Instead of tshark, we also tried to capture SIP & RTP with tcpdump with the following command: tcpdump -i any -T rtp -vvvvv -s 0 -w test.pcap If we analyze this file with wireshark (TELEPHONY->RTP->Show all Streams), it shows almost always 0% for packet loss. Only if we increase the load to 50 calls we can see a similar scenario where inbound calls still have < 1% packet loss but outgoing RTP streams have up to 20 % packet loss. We also repeated the same test with freeswitch 1.4.15 with much more powerful hardware with almost the same results. The question is what do we see here. Does tshark show us wrong result? Can we more trust on the results captured with tcpdump or is there finally an issue in freeswitch when sending outgoing packets? Or is the method to capture on the server in general the wrong approach? Thanks for any comments and hints Markus -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150417/ccea19de/attachment-0001.html From agoulis at opensips.org Fri Apr 17 19:35:54 2015 From: agoulis at opensips.org (Alex Goulis) Date: Fri, 17 Apr 2015 10:35:54 -0500 Subject: [Freeswitch-users] Don't forget!! There's an OpenSIPS Summit May 12 & 13 in Amsterdam! In-Reply-To: <55241EE6.7050508@opensips.org> References: <55241EE6.7050508@opensips.org> Message-ID: <5531285A.7000000@opensips.org> We still have a little room left! The OpenSIPS Project is hosting our first European summit on May 12 & 13 2015 at the Westcord Fashion Hotel in Amsterdam! With the release of OpenSIPS 2.1 we'll have so much to cover that we've decided to make this a 2 day event. You can get more information about the summit at: http://www.opensips.org/Community/Summit-2015Amsterdam-Schedule For beginners, get answers to questions like: * why OpenSIPS is the right choice for you network * what are the OpenSIPS capabilities, features and limits * how to extend, expand and enhance your SIP service with OpenSIPS Seasoned professionals can: * Learn about new modules and features * Discuss advanced topics * Discuss the development roadmap for OpenSIPS Speakers include: * Alexandr Dubovikov - Founder of Homer Sipcapture project * Pete Kelly - Sourcevox * Dan Christian Bogos - ITsysCOM * Tijmen de Mes - AG Projects Hotel information: http://www.westcordhotels.com/sea/westcord-fashion-hotel-amsterdam Conference schedule: http://www.opensips.org/Community/Summit-2015Amsterdam-Schedule#toc1 Information on previous summits: http://www.opensips.org/Community/Summits We look forward to seeing you in Amsterdam! -The OpenSIPS Project Team -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150417/02e95254/attachment.html From brian at freeswitch.org Fri Apr 17 19:47:27 2015 From: brian at freeswitch.org (Brian West) Date: Fri, 17 Apr 2015 10:47:27 -0500 Subject: [Freeswitch-users] RTP packet loss on outgoing streams In-Reply-To: <00101E12-5AFF-4208-80D7-CE3A73BF7596@gmx.net> References: <00101E12-5AFF-4208-80D7-CE3A73BF7596@gmx.net> Message-ID: Where are you capturing this data? ON the system itself? or some other point in the network? On Fri, Apr 17, 2015 at 10:01 AM, mbo wrote: > Hello, > > we need to monitor the voice quality on our server. To test this, we setup > a test environment with 2 freeswitches, originating calls from freeswitch 1 > and then answer them on freeswitch 2 and play an announcement. To analyze > the traffic, we us tshark with the following command: > > tshark -q -f 'udp' -o rtp.heuristic_rtp:TRUE -z rtp,strems -w test-pcap > > The result is, that we see packet loss around 20% on outgoing RTP streams, > when we have more then 20 calls. The load average shown with the top > command is always < 0.3 with a 4 core CPU and CPU load is less then 10%. > > ========================= RTP Streams ======================== > Src IP addr Port Dest IP addr Port SSRC Payload > Pkts Lost Max Delta(ms) Max Jitter(ms) Mean Jitter(ms) Problems? > 192.168.1.134 27590 192.168.1.135 22576 0xCD7A189D ITU-T G.722 > 800 2 (0.2%) 59.93 0.11 0.05 X > 192.168.1.135 22576 192.168.1.134 27590 0x5D4E50CD ITU-T G.722 > 599 202 (25.2%) 160.24 0.16 0.05 X > 192.168.1.134 28172 192.168.1.135 29704 0xD53EC9AD ITU-T G.722 > 798 2 (0.2%) 59.99 0.07 0.04 X > 192.168.1.135 29704 192.168.1.134 28172 0x5D50942D ITU-T G.722 > 713 86 (10.8%) 199.98 0.08 0.04 X > 192.168.1.135 25794 192.168.1.134 16460 0x5D51E43D ITU-T G.722 > 633 165 (20.7%) 180.25 0.75 0.07 X > > Instead of tshark, we also tried to capture SIP & RTP with tcpdump with > the following command: > > tcpdump -i any -T rtp -vvvvv -s 0 -w test.pcap > > If we analyze this file with wireshark (TELEPHONY->RTP->Show all Streams), > it shows almost always 0% for packet loss. Only if we increase the load to > 50 calls we can see a similar scenario where inbound calls still have < 1% > packet loss but outgoing RTP streams have up to 20 % packet loss. We also > repeated the same test with freeswitch 1.4.15 with much more powerful > hardware with almost the same results. > > The question is what do we see here. Does tshark show us wrong result? Can > we more trust on the results captured with tcpdump or is there finally an > issue in freeswitch when sending outgoing packets? Or is the method to > capture on the server in general the wrong approach? > > Thanks for any comments and hints > > Markus > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com ClueCon 2015 Call for Speakers | Register TODAY! | Reddit: /r/freeswitch *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150417/3f4f836b/attachment.html From s.safarov at gmail.com Fri Apr 17 20:20:17 2015 From: s.safarov at gmail.com (Sergey Safarov) Date: Fri, 17 Apr 2015 19:20:17 +0300 Subject: [Freeswitch-users] loglevel per caller_id Message-ID: Whether there is a possibility of default logging level to expose NOTICE, and definitely calls from one caller_id set to debug? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150417/22fd211f/attachment.html From brian at freeswitch.org Fri Apr 17 20:42:13 2015 From: brian at freeswitch.org (Brian West) Date: Fri, 17 Apr 2015 11:42:13 -0500 Subject: [Freeswitch-users] loglevel per caller_id In-Reply-To: References: Message-ID: use UUID as call-id, log uuid, grep out logs for calls. On Fri, Apr 17, 2015 at 11:20 AM, Sergey Safarov wrote: > Whether there is a possibility of default logging level to expose NOTICE, > and definitely calls from one caller_id set to debug? > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com ClueCon 2015 Call for Speakers | Register TODAY! | Reddit: /r/freeswitch *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150417/0527bbc1/attachment.html From steveayre at gmail.com Fri Apr 17 21:16:04 2015 From: steveayre at gmail.com (Steven Ayre) Date: Fri, 17 Apr 2015 18:16:04 +0100 Subject: [Freeswitch-users] SIP Header Via - IP Wrong In-Reply-To: <1429282490.41086.YahooMailBasic@web160206.mail.bf1.yahoo.com> References: <1429282490.41086.YahooMailBasic@web160206.mail.bf1.yahoo.com> Message-ID: A profile has to listen on a specific IP address. If you want to listen on both IPs you'll need a profile on each one. It's probably easiest in your setup to put the IP addresses into the profile directly rather than setting them in vars.conf.xml or using $${local_ip4}. The profile will use the IP it is listening on for Via Contact etc. Set the sip-ip and rtp-ip parameters of the relevant sofia profile (in sip_profiles/) to the 107.1.nnn.n address. Since the server has the IP assigned directly (not unusual) you do -not- need to set ext-sip-ip and ext-rtp-ip since you're not behind NAT. On 17 April 2015 at 15:54, T Fred Farmington wrote: > My FreeSWITCH server has 2 IP addresses An Internal 192.168,nnn.nn & > an External 107,1.nnn.nn > This is accomplished via network 'magic' (I'm not the network guy) using a > single network card > > And, in general, it works. > I can Receive Outside calls from our SIP Trunk vendor > But I can Not Send calls Out through the SIP Trunk vendor. > > The calls are being blocked (403 'Forbidden") by the vendor due to the > contents of our SIP Header packet. > > Within the Via: part of the packet it shows: > Via: SIP/2.0/UDP 192.168.nnn.nn;rport;branch=z9hG4bKQKa7126jtX4mm > They need it to show the External IP here. > > I have even tried setting sip_via_host = 107.1.nnn.nn but that did > not change what it being sent. > > How/Where can I get this to change? > > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150417/f67e3991/attachment-0001.html From aronp at guaranteedplus.com Fri Apr 17 21:22:12 2015 From: aronp at guaranteedplus.com (Podrigal, Aron) Date: Fri, 17 Apr 2015 13:22:12 -0400 Subject: [Freeswitch-users] Alerts for missed calls Message-ID: Hi, I would like to know, what would be the best way to handle email alerts for missed calls. 1) Only send the notification if the call was not answered at all. for example when it was ringing a group of extensions. Maybe use a special status code or custom event header? 2) When the call was answered by voicemail and only if the caller did not leave a voicemail, it should be considered missed. 3) If a caller hangs up a call within a IVR. Thanks. -- Aron Podrigal - //Be happy :-) -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150417/6f0de411/attachment.html From blasterjr at gmail.com Fri Apr 17 21:36:58 2015 From: blasterjr at gmail.com (Chris Tunbridge) Date: Fri, 17 Apr 2015 11:36:58 -0600 Subject: [Freeswitch-users] Alerts for missed calls In-Reply-To: References: Message-ID: You can use a event hook in lua on the hangup events (don't know them off the top of my head) and then you can check them to see if it was originator cancel or a answered elsewhere on the body of the event. On Fri, Apr 17, 2015 at 11:22 AM, Podrigal, Aron wrote: > Hi, > > I would like to know, what would be the best way to handle email alerts > for missed calls. > > 1) Only send the notification if the call was not answered at all. for > example when it was ringing a group of extensions. Maybe use a special > status code or custom event header? > > 2) When the call was answered by voicemail and only if the caller did not > leave a voicemail, it should be considered missed. > > 3) If a caller hangs up a call within a IVR. > > Thanks. > > -- > Aron Podrigal > - > //Be happy :-) > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150417/63ccc2f5/attachment.html From boros at vmtele.com Fri Apr 17 20:13:18 2015 From: boros at vmtele.com (=?UTF-8?B?VG9tw6HFoSBCb3Jvcw==?=) Date: Fri, 17 Apr 2015 18:13:18 +0200 Subject: [Freeswitch-users] Disabling REFER on a single gateway Message-ID: <5531311E.8000005@vmtele.com> Hello freeswitchers, I am trying to disable transfer on a single gateway I am calling bridge using {origination_uuid=${out_uuid},sip_cid_type=pid,disable-transfer=true}sofia/gateway/telekom-ip/${destination_number} and I have also defined param for the gateway. When I make calls I can clearly see, that the variable is set "[disable-transfer]=[true]" but in the siptrace I still can see "Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY" and "Allow-Events: talk, hold, conference, refer". REFER should not be there as transfers are disabled. Although the REFER message is there, REFER requests are denied with a 403 forbidden message. Do you think it is a bug? Are there any other purposes of the REFER message than transferring calls? Thank you, -- Tom?? Boros System & Network Administrator VM Telecom, s.r.o. Panensk? 8 811 03 Bratislava Slovakia www.vmtele.com | boros at vmtele.com Tel: +421 2 20 28 99 79 | Fax: +421 2 20 28 20 30 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150417/63df51bf/attachment.html -------------- next part -------------- A non-text attachment was scrubbed... Name: logovm.gif Type: image/gif Size: 3424 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150417/63df51bf/attachment.gif From blasterjr at gmail.com Fri Apr 17 21:48:06 2015 From: blasterjr at gmail.com (Chris Tunbridge) Date: Fri, 17 Apr 2015 11:48:06 -0600 Subject: [Freeswitch-users] Alerts for missed calls In-Reply-To: References: Message-ID: as for the voice mail, I'm not 100% certain if there's a way to check if a voicemail was left, however you can check to see where the hangup occurred typically it mentions the app in event. On Fri, Apr 17, 2015 at 11:36 AM, Chris Tunbridge wrote: > You can use a event hook in lua on the hangup events (don't know them off > the top of my head) and then you can check them to see > if it was originator cancel or a answered elsewhere on the body of the > event. > > On Fri, Apr 17, 2015 at 11:22 AM, Podrigal, Aron > wrote: > >> Hi, >> >> I would like to know, what would be the best way to handle email alerts >> for missed calls. >> >> 1) Only send the notification if the call was not answered at all. for >> example when it was ringing a group of extensions. Maybe use a special >> status code or custom event header? >> >> 2) When the call was answered by voicemail and only if the caller did not >> leave a voicemail, it should be considered missed. >> >> 3) If a caller hangs up a call within a IVR. >> >> Thanks. >> >> -- >> Aron Podrigal >> - >> //Be happy :-) >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150417/bd202f2b/attachment.html From mbodbg at gmx.net Fri Apr 17 23:06:09 2015 From: mbodbg at gmx.net (mbo) Date: Fri, 17 Apr 2015 21:06:09 +0200 Subject: [Freeswitch-users] RTP packet loss on outgoing streams In-Reply-To: References: <00101E12-5AFF-4208-80D7-CE3A73BF7596@gmx.net> Message-ID: <7923BA3E-23EA-47CF-8EAD-F5EF19E6B1F1@gmx.net> On the system itself. Am 17.04.2015 um 17:47 schrieb Brian West : > Where are you capturing this data? ON the system itself? or some other point in the network? > > On Fri, Apr 17, 2015 at 10:01 AM, mbo wrote: > Hello, > > we need to monitor the voice quality on our server. To test this, we setup a test environment with 2 freeswitches, originating calls from freeswitch 1 and then answer them on freeswitch 2 and play an announcement. To analyze the traffic, we us tshark with the following command: > > tshark -q -f 'udp' -o rtp.heuristic_rtp:TRUE -z rtp,strems -w test-pcap > > The result is, that we see packet loss around 20% on outgoing RTP streams, when we have more then 20 calls. The load average shown with the top command is always < 0.3 with a 4 core CPU and CPU load is less then 10%. > > ========================= RTP Streams ======================== > Src IP addr Port Dest IP addr Port SSRC Payload Pkts Lost Max Delta(ms) Max Jitter(ms) Mean Jitter(ms) Problems? > 192.168.1.134 27590 192.168.1.135 22576 0xCD7A189D ITU-T G.722 800 2 (0.2%) 59.93 0.11 0.05 X > 192.168.1.135 22576 192.168.1.134 27590 0x5D4E50CD ITU-T G.722 599 202 (25.2%) 160.24 0.16 0.05 X > 192.168.1.134 28172 192.168.1.135 29704 0xD53EC9AD ITU-T G.722 798 2 (0.2%) 59.99 0.07 0.04 X > 192.168.1.135 29704 192.168.1.134 28172 0x5D50942D ITU-T G.722 713 86 (10.8%) 199.98 0.08 0.04 X > 192.168.1.135 25794 192.168.1.134 16460 0x5D51E43D ITU-T G.722 633 165 (20.7%) 180.25 0.75 0.07 X > > Instead of tshark, we also tried to capture SIP & RTP with tcpdump with the following command: > > tcpdump -i any -T rtp -vvvvv -s 0 -w test.pcap > > If we analyze this file with wireshark (TELEPHONY->RTP->Show all Streams), it shows almost always 0% for packet loss. Only if we increase the load to 50 calls we can see a similar scenario where inbound calls still have < 1% packet loss but outgoing RTP streams have up to 20 % packet loss. We also repeated the same test with freeswitch 1.4.15 with much more powerful hardware with almost the same results. > > The question is what do we see here. Does tshark show us wrong result? Can we more trust on the results captured with tcpdump or is there finally an issue in freeswitch when sending outgoing packets? Or is the method to capture on the server in general the wrong approach? > > Thanks for any comments and hints > > Markus > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > -- > Brian West > brian at freeswitch.org > > > > Twitter: @FreeSWITCH , @briankwest > http://www.freeswitchbook.com > http://www.freeswitchcookbook.com > > ClueCon 2015 Call for Speakers | Register TODAY! | Reddit: /r/freeswitch > > T:+19184209001 | F:+19184209002 | M:+1918424WEST (9378) > iNUM:+883 5100 1420 9001 | ISN:410*543 | Skype:briankwest > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org mbo mbodbg at gmx.net -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150417/422b605a/attachment-0001.html From brian at freeswitch.org Fri Apr 17 23:10:26 2015 From: brian at freeswitch.org (Brian West) Date: Fri, 17 Apr 2015 14:10:26 -0500 Subject: [Freeswitch-users] RTP packet loss on outgoing streams In-Reply-To: <7923BA3E-23EA-47CF-8EAD-F5EF19E6B1F1@gmx.net> References: <00101E12-5AFF-4208-80D7-CE3A73BF7596@gmx.net> <7923BA3E-23EA-47CF-8EAD-F5EF19E6B1F1@gmx.net> Message-ID: What kind of network cards does this system have? On Fri, Apr 17, 2015 at 2:06 PM, mbo wrote: > On the system itself. > > > > Am 17.04.2015 um 17:47 schrieb Brian West : > > Where are you capturing this data? ON the system itself? or some other > point in the network? > > On Fri, Apr 17, 2015 at 10:01 AM, mbo wrote: > >> Hello, >> >> we need to monitor the voice quality on our server. To test this, we >> setup a test environment with 2 freeswitches, originating calls from >> freeswitch 1 and then answer them on freeswitch 2 and play an announcement. >> To analyze the traffic, we us tshark with the following command: >> >> tshark -q -f 'udp' -o rtp.heuristic_rtp:TRUE -z rtp,strems -w test-pcap >> >> The result is, that we see packet loss around 20% on outgoing RTP >> streams, when we have more then 20 calls. The load average shown with the >> top command is always < 0.3 with a 4 core CPU and CPU load is less then >> 10%. >> >> ========================= RTP Streams ======================== >> Src IP addr Port Dest IP addr Port SSRC Payload >> Pkts Lost Max Delta(ms) Max Jitter(ms) Mean Jitter(ms) Problems? >> 192.168.1.134 27590 192.168.1.135 22576 0xCD7A189D ITU-T G.722 >> 800 2 (0.2%) 59.93 0.11 0.05 X >> 192.168.1.135 22576 192.168.1.134 27590 0x5D4E50CD ITU-T G.722 >> 599 202 (25.2%) 160.24 0.16 0.05 X >> 192.168.1.134 28172 192.168.1.135 29704 0xD53EC9AD ITU-T G.722 >> 798 2 (0.2%) 59.99 0.07 0.04 X >> 192.168.1.135 29704 192.168.1.134 28172 0x5D50942D ITU-T G.722 >> 713 86 (10.8%) 199.98 0.08 0.04 X >> 192.168.1.135 25794 192.168.1.134 16460 0x5D51E43D ITU-T G.722 >> 633 165 (20.7%) 180.25 0.75 0.07 X >> >> Instead of tshark, we also tried to capture SIP & RTP with tcpdump with >> the following command: >> >> tcpdump -i any -T rtp -vvvvv -s 0 -w test.pcap >> >> If we analyze this file with wireshark (TELEPHONY->RTP->Show all >> Streams), it shows almost always 0% for packet loss. Only if we increase >> the load to 50 calls we can see a similar scenario where inbound calls >> still have < 1% packet loss but outgoing RTP streams have up to 20 % packet >> loss. We also repeated the same test with freeswitch 1.4.15 with much more >> powerful hardware with almost the same results. >> >> The question is what do we see here. Does tshark show us wrong result? >> Can we more trust on the results captured with tcpdump or is there finally >> an issue in freeswitch when sending outgoing packets? Or is the method to >> capture on the server in general the wrong approach? >> >> Thanks for any comments and hints >> >> Markus >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > > *Brian West* > brian at freeswitch.org > > > *Twitter: @FreeSWITCH , @briankwest* > http://www.freeswitchbook.com > http://www.freeswitchcookbook.com > > ClueCon 2015 Call for Speakers > | Register > TODAY! | Reddit: /r/freeswitch > > > *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) > *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > mbo > mbodbg at gmx.net > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com ClueCon 2015 Call for Speakers | Register TODAY! | Reddit: /r/freeswitch *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150417/fa234862/attachment.html From tfred31 at yahoo.com Fri Apr 17 23:19:42 2015 From: tfred31 at yahoo.com (T Fred Farmington) Date: Fri, 17 Apr 2015 12:19:42 -0700 Subject: [Freeswitch-users] SIP Header Via - IP Wrong In-Reply-To: Message-ID: <1429298382.23459.YahooMailBasic@web160202.mail.bf1.yahoo.com> Thank you for your reply. Currently the external_sip_ip and internal_rtp_ip are set to the default stun domain I went into the sip_profiles/external.xml Previous settings: sip_ip = $$(local_ip_v4) rtp_ip = $$(local_ip_v4) changed settings to Public IP sip_ip = 107.1.nnn.nnn rtp_ip = 107.1.nnn.nnn I then did a ReStart of the FS Service so as to ensure that the new values were applied With those new values in place I attempted a call to the outside which failed as before (fast-busy) I then went into the log and did not see where FS made any attempt to send any SIP Header to the SIP Trunk at all. That is a change since before it was sending, but just not the correct info. When I returned the values to their previous settings (ReStart, et al) , the log showed that the SIP Header was indeed sent, just with the wrong info. Just for FYI purposes: This FS Server is running Windows 2012 R2 Also in sofia status I see where the In-House IP is showing and not the Public IP (I don't know if this is correct or not) From kheimerl at cs.berkeley.edu Fri Apr 17 23:38:57 2015 From: kheimerl at cs.berkeley.edu (Kurtis Heimerl) Date: Fri, 17 Apr 2015 12:38:57 -0700 Subject: [Freeswitch-users] mod_xml_cdr note stripping <'s and >'s as needed Message-ID: Hey Users, I seem to have found a bug. mod_xml_cdr is sending along invalid XML as it is not stripping the <'s and >'s off of important fields. For instance, we're sending along a P-Preferred-Identity header: P-Preferred-Identity: and it's getting sent as the following in the xml: However, this is invalid xml (for obvious reasons) and won't parse. I'm currently in the process of double checking, but this seems to be new behavior. I tried to strip some of these headers, but they are important stuff like sip_full_from which I don't think I can. ;tag=OBTSiqkuupshsxlztuyb Ideas on what's going on here? Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150417/abdd9ad8/attachment.html From mike at jerris.com Fri Apr 17 23:47:37 2015 From: mike at jerris.com (Michael Jerris) Date: Fri, 17 Apr 2015 15:47:37 -0400 Subject: [Freeswitch-users] mod_xml_cdr note stripping <'s and >'s as needed In-Reply-To: References: Message-ID: <0FD6EB2F-4292-45A4-9B90-5516D7B0CB0A@jerris.com> https://freeswitch.org/jira/browse/FS-7258 We still have not decided what the best solution for this is. > On Apr 17, 2015, at 3:38 PM, Kurtis Heimerl wrote: > > Hey Users, > > I seem to have found a bug. mod_xml_cdr is sending along invalid XML as it is not stripping the <'s and >'s off of important fields. For instance, we're sending along a P-Preferred-Identity header: > > P-Preferred-Identity: > > > and it's getting sent as the following in the xml: > > > > > However, this is invalid xml (for obvious reasons) and won't parse. I'm currently in the process of double checking, but this seems to be new behavior. I tried to strip some of these headers, but they are important stuff like sip_full_from which I don't think I can. > > >;tag=OBTSiqkuupshsxlztuyb > > Ideas on what's going on here? > > Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150417/cb8f48af/attachment-0001.html From s.safarov at gmail.com Fri Apr 17 23:48:06 2015 From: s.safarov at gmail.com (Sergey Safarov) Date: Fri, 17 Apr 2015 22:48:06 +0300 Subject: [Freeswitch-users] loglevel per caller_id In-Reply-To: References: Message-ID: Than you Brian West for respond Currently I use this solution, but allow get partial log. I use: 1) grep log to locate UUID like "grep -P "Processing.*" freeswitch.log| more" 2) grep for partial log of required call UIID like "grep freeswitch.log | more" But filtered by UUD log is not containing strings like 2015-04-17 18:30:40.086343 [INFO] mod_translate.c:343 +74991325866 tel2accountcode 2015-04-17 18:30:40.086343 [DEBUG] mod_translate.c:128 translating [+74991325866] against [tel2accountcode] profile 2015-04-17 18:30:40.086343 [DEBUG] mod_translate.c:137 +74991325866 =~ /\+74952312534/ 2015-04-17 18:30:40.086343 [DEBUG] mod_translate.c:137 +74991325866 =~ /\+74952312535/ 2015-04-17 18:30:40.086343 [DEBUG] mod_translate.c:137 +74991325866 =~ /^.*$/ 2015-04-17 18:30:40.086343 [NOTICE] mod_translate.c:362 Translated: _undef_ May be update mod_translate? On Fri, Apr 17, 2015 at 7:42 PM, Brian West wrote: > use UUID as call-id, log uuid, grep out logs for calls. > > > On Fri, Apr 17, 2015 at 11:20 AM, Sergey Safarov > wrote: > >> Whether there is a possibility of default logging level to expose NOTICE, >> and definitely calls from one caller_id set to debug? >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > > *Brian West* > brian at freeswitch.org > > > *Twitter: @FreeSWITCH , @briankwest* > http://www.freeswitchbook.com > http://www.freeswitchcookbook.com > > ClueCon 2015 Call for Speakers > | Register > TODAY! | Reddit: /r/freeswitch > > > *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) > *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150417/291bae06/attachment.html From kheimerl at cs.berkeley.edu Sat Apr 18 00:14:54 2015 From: kheimerl at cs.berkeley.edu (Kurtis Heimerl) Date: Fri, 17 Apr 2015 13:14:54 -0700 Subject: [Freeswitch-users] mod_xml_cdr note stripping <'s and >'s as needed In-Reply-To: References: Message-ID: This is with 1.4.18~1-1~wheezy+1 BTW. On Fri, Apr 17, 2015 at 12:38 PM, Kurtis Heimerl wrote: > Hey Users, > > I seem to have found a bug. mod_xml_cdr is sending along invalid XML as it > is not stripping the <'s and >'s off of important fields. For instance, > we're sending along a P-Preferred-Identity header: > > P-Preferred-Identity: > > and it's getting sent as the following in the xml: > > > > However, this is invalid xml (for obvious reasons) and won't parse. I'm > currently in the process of double checking, but this seems to be new > behavior. I tried to strip some of these headers, but they are important > stuff like sip_full_from which I don't think I can. > > >;tag=OBTSiqkuupshsxlztuyb > > Ideas on what's going on here? > > Thanks! > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150417/f8fc8b79/attachment.html From ssinyagin at gmail.com Sat Apr 18 00:47:15 2015 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Fri, 17 Apr 2015 22:47:15 +0200 Subject: [Freeswitch-users] RTP packet loss on outgoing streams In-Reply-To: <00101E12-5AFF-4208-80D7-CE3A73BF7596@gmx.net> References: <00101E12-5AFF-4208-80D7-CE3A73BF7596@gmx.net> Message-ID: you can try playing with the buffer size (-B option), but in general, tshark is quite CPU-intensive when it tries to analyze the UDP packet stream in real time. Also I'm not sure if it's multithreaded -- I guess it's not, so it tries to analyze all the streams in a single thread in real time. I made this set of scripts to run on a low-power CPU (Atom and such): https://github.com/voxserv/voip_qos_probe What I do is run tcpdump during the call, store the capture, and then analyze the output with tshark in low priority. Also I noticed that on a Xen VM on an Intel CoreDuo CPU, you need to increase the tcpdump's buffer size with -B option. With default settings, sometimes it's not even able to capture a single SIP session without dropping packets. On Fri, Apr 17, 2015 at 5:01 PM, mbo wrote: > Hello, > > we need to monitor the voice quality on our server. To test this, we setup a > test environment with 2 freeswitches, originating calls from freeswitch 1 > and then answer them on freeswitch 2 and play an announcement. To analyze > the traffic, we us tshark with the following command: > > tshark -q -f 'udp' -o rtp.heuristic_rtp:TRUE -z rtp,strems -w test-pcap > > The result is, that we see packet loss around 20% on outgoing RTP streams, > when we have more then 20 calls. The load average shown with the top command > is always < 0.3 with a 4 core CPU and CPU load is less then 10%. > > ========================= RTP Streams ======================== > Src IP addr Port Dest IP addr Port SSRC Payload > Pkts Lost Max Delta(ms) Max Jitter(ms) Mean Jitter(ms) Problems? > 192.168.1.134 27590 192.168.1.135 22576 0xCD7A189D ITU-T G.722 > 800 2 (0.2%) 59.93 0.11 0.05 X > 192.168.1.135 22576 192.168.1.134 27590 0x5D4E50CD ITU-T G.722 > 599 202 (25.2%) 160.24 0.16 0.05 X > 192.168.1.134 28172 192.168.1.135 29704 0xD53EC9AD ITU-T G.722 > 798 2 (0.2%) 59.99 0.07 0.04 X > 192.168.1.135 29704 192.168.1.134 28172 0x5D50942D ITU-T G.722 > 713 86 (10.8%) 199.98 0.08 0.04 X > 192.168.1.135 25794 192.168.1.134 16460 0x5D51E43D ITU-T G.722 > 633 165 (20.7%) 180.25 0.75 0.07 X > > Instead of tshark, we also tried to capture SIP & RTP with tcpdump with the > following command: > > tcpdump -i any -T rtp -vvvvv -s 0 -w test.pcap > > If we analyze this file with wireshark (TELEPHONY->RTP->Show all Streams), > it shows almost always 0% for packet loss. Only if we increase the load to > 50 calls we can see a similar scenario where inbound calls still have < 1% > packet loss but outgoing RTP streams have up to 20 % packet loss. We also > repeated the same test with freeswitch 1.4.15 with much more powerful > hardware with almost the same results. > > The question is what do we see here. Does tshark show us wrong result? Can > we more trust on the results captured with tcpdump or is there finally an > issue in freeswitch when sending outgoing packets? Or is the method to > capture on the server in general the wrong approach? > > Thanks for any comments and hints > > Markus > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org From brian at freeswitch.org Sat Apr 18 00:49:58 2015 From: brian at freeswitch.org (Brian West) Date: Fri, 17 Apr 2015 15:49:58 -0500 Subject: [Freeswitch-users] RTP packet loss on outgoing streams In-Reply-To: References: <00101E12-5AFF-4208-80D7-CE3A73BF7596@gmx.net> Message-ID: What i'm getting at is you should never have dropped packets on the host itself like that, If you do then you probably have WinNic's aka RealTek garbage. On Fri, Apr 17, 2015 at 3:47 PM, Stanislav Sinyagin wrote: > you can try playing with the buffer size (-B option), but in general, > tshark is quite CPU-intensive when it tries to analyze the UDP packet > stream in real time. Also I'm not sure if it's multithreaded -- I > guess it's not, so it tries to analyze all the streams in a single > thread in real time. > > I made this set of scripts to run on a low-power CPU (Atom and such): > https://github.com/voxserv/voip_qos_probe > What I do is run tcpdump during the call, store the capture, and then > analyze the output with tshark in low priority. > > Also I noticed that on a Xen VM on an Intel CoreDuo CPU, you need to > increase the tcpdump's buffer size with -B option. With default > settings, sometimes it's not even able to capture a single SIP session > without dropping packets. > > > > > On Fri, Apr 17, 2015 at 5:01 PM, mbo wrote: > > Hello, > > > > we need to monitor the voice quality on our server. To test this, we > setup a > > test environment with 2 freeswitches, originating calls from freeswitch 1 > > and then answer them on freeswitch 2 and play an announcement. To analyze > > the traffic, we us tshark with the following command: > > > > tshark -q -f 'udp' -o rtp.heuristic_rtp:TRUE -z rtp,strems -w test-pcap > > > > The result is, that we see packet loss around 20% on outgoing RTP > streams, > > when we have more then 20 calls. The load average shown with the top > command > > is always < 0.3 with a 4 core CPU and CPU load is less then 10%. > > > > ========================= RTP Streams ======================== > > Src IP addr Port Dest IP addr Port SSRC Payload > > Pkts Lost Max Delta(ms) Max Jitter(ms) Mean Jitter(ms) > Problems? > > 192.168.1.134 27590 192.168.1.135 22576 0xCD7A189D ITU-T G.722 > > 800 2 (0.2%) 59.93 0.11 0.05 X > > 192.168.1.135 22576 192.168.1.134 27590 0x5D4E50CD ITU-T G.722 > > 599 202 (25.2%) 160.24 0.16 0.05 X > > 192.168.1.134 28172 192.168.1.135 29704 0xD53EC9AD ITU-T G.722 > > 798 2 (0.2%) 59.99 0.07 0.04 X > > 192.168.1.135 29704 192.168.1.134 28172 0x5D50942D ITU-T G.722 > > 713 86 (10.8%) 199.98 0.08 0.04 X > > 192.168.1.135 25794 192.168.1.134 16460 0x5D51E43D ITU-T G.722 > > 633 165 (20.7%) 180.25 0.75 0.07 X > > > > Instead of tshark, we also tried to capture SIP & RTP with tcpdump with > the > > following command: > > > > tcpdump -i any -T rtp -vvvvv -s 0 -w test.pcap > > > > If we analyze this file with wireshark (TELEPHONY->RTP->Show all > Streams), > > it shows almost always 0% for packet loss. Only if we increase the load > to > > 50 calls we can see a similar scenario where inbound calls still have < > 1% > > packet loss but outgoing RTP streams have up to 20 % packet loss. We also > > repeated the same test with freeswitch 1.4.15 with much more powerful > > hardware with almost the same results. > > > > The question is what do we see here. Does tshark show us wrong result? > Can > > we more trust on the results captured with tcpdump or is there finally an > > issue in freeswitch when sending outgoing packets? Or is the method to > > capture on the server in general the wrong approach? > > > > Thanks for any comments and hints > > > > Markus > > > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com ClueCon 2015 Call for Speakers | Register TODAY! | Reddit: /r/freeswitch *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150417/aebf6012/attachment-0001.html From ssinyagin at gmail.com Sat Apr 18 01:13:11 2015 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Fri, 17 Apr 2015 23:13:11 +0200 Subject: [Freeswitch-users] RTP packet loss on outgoing streams In-Reply-To: References: <00101E12-5AFF-4208-80D7-CE3A73BF7596@gmx.net> Message-ID: it's not dropped packets, it's the packets that didn't make it to tshark's buffer, because it was too slow and the buffer was too short. On Fri, Apr 17, 2015 at 10:49 PM, Brian West wrote: > What i'm getting at is you should never have dropped packets on the host > itself like that, If you do then you probably have WinNic's aka RealTek > garbage. > > On Fri, Apr 17, 2015 at 3:47 PM, Stanislav Sinyagin > wrote: > >> you can try playing with the buffer size (-B option), but in general, >> tshark is quite CPU-intensive when it tries to analyze the UDP packet >> stream in real time. Also I'm not sure if it's multithreaded -- I >> guess it's not, so it tries to analyze all the streams in a single >> thread in real time. >> >> I made this set of scripts to run on a low-power CPU (Atom and such): >> https://github.com/voxserv/voip_qos_probe >> What I do is run tcpdump during the call, store the capture, and then >> analyze the output with tshark in low priority. >> >> Also I noticed that on a Xen VM on an Intel CoreDuo CPU, you need to >> increase the tcpdump's buffer size with -B option. With default >> settings, sometimes it's not even able to capture a single SIP session >> without dropping packets. >> >> >> >> >> On Fri, Apr 17, 2015 at 5:01 PM, mbo wrote: >> > Hello, >> > >> > we need to monitor the voice quality on our server. To test this, we >> setup a >> > test environment with 2 freeswitches, originating calls from freeswitch >> 1 >> > and then answer them on freeswitch 2 and play an announcement. To >> analyze >> > the traffic, we us tshark with the following command: >> > >> > tshark -q -f 'udp' -o rtp.heuristic_rtp:TRUE -z rtp,strems -w test-pcap >> > >> > The result is, that we see packet loss around 20% on outgoing RTP >> streams, >> > when we have more then 20 calls. The load average shown with the top >> command >> > is always < 0.3 with a 4 core CPU and CPU load is less then 10%. >> > >> > ========================= RTP Streams ======================== >> > Src IP addr Port Dest IP addr Port SSRC Payload >> > Pkts Lost Max Delta(ms) Max Jitter(ms) Mean Jitter(ms) >> Problems? >> > 192.168.1.134 27590 192.168.1.135 22576 0xCD7A189D ITU-T G.722 >> > 800 2 (0.2%) 59.93 0.11 0.05 X >> > 192.168.1.135 22576 192.168.1.134 27590 0x5D4E50CD ITU-T G.722 >> > 599 202 (25.2%) 160.24 0.16 0.05 X >> > 192.168.1.134 28172 192.168.1.135 29704 0xD53EC9AD ITU-T G.722 >> > 798 2 (0.2%) 59.99 0.07 0.04 X >> > 192.168.1.135 29704 192.168.1.134 28172 0x5D50942D ITU-T G.722 >> > 713 86 (10.8%) 199.98 0.08 0.04 X >> > 192.168.1.135 25794 192.168.1.134 16460 0x5D51E43D ITU-T G.722 >> > 633 165 (20.7%) 180.25 0.75 0.07 X >> > >> > Instead of tshark, we also tried to capture SIP & RTP with tcpdump with >> the >> > following command: >> > >> > tcpdump -i any -T rtp -vvvvv -s 0 -w test.pcap >> > >> > If we analyze this file with wireshark (TELEPHONY->RTP->Show all >> Streams), >> > it shows almost always 0% for packet loss. Only if we increase the load >> to >> > 50 calls we can see a similar scenario where inbound calls still have < >> 1% >> > packet loss but outgoing RTP streams have up to 20 % packet loss. We >> also >> > repeated the same test with freeswitch 1.4.15 with much more powerful >> > hardware with almost the same results. >> > >> > The question is what do we see here. Does tshark show us wrong result? >> Can >> > we more trust on the results captured with tcpdump or is there finally >> an >> > issue in freeswitch when sending outgoing packets? Or is the method to >> > capture on the server in general the wrong approach? >> > >> > Thanks for any comments and hints >> > >> > Markus >> > >> > >> > >> _________________________________________________________________________ >> > Professional FreeSWITCH Consulting Services: >> > consulting at freeswitch.org >> > http://www.freeswitchsolutions.com >> > >> > Official FreeSWITCH Sites >> > http://www.freeswitch.org >> > http://confluence.freeswitch.org >> > http://www.cluecon.com >> > >> > FreeSWITCH-users mailing list >> > FreeSWITCH-users at lists.freeswitch.org >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> > UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> > http://www.freeswitch.org >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > > *Brian West* > brian at freeswitch.org > > > *Twitter: @FreeSWITCH , @briankwest* > http://www.freeswitchbook.com > http://www.freeswitchcookbook.com > > ClueCon 2015 Call for Speakers > | Register > TODAY! | Reddit: /r/freeswitch > > > *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) > *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150417/2a4e63ce/attachment.html From tfred31 at yahoo.com Sat Apr 18 01:14:06 2015 From: tfred31 at yahoo.com (T Fred Farmington) Date: Fri, 17 Apr 2015 14:14:06 -0700 Subject: [Freeswitch-users] SIP Header Via - IP Wrong In-Reply-To: Message-ID: <1429305246.81808.YahooMailBasic@web160204.mail.bf1.yahoo.com> I made some closely associated guesses and found the answer.... In the conf/sip_profiles/external.xml I needed to change the ext-sip-ip & ext-rtp-ip from their default of "auto-nat" to the Public IP Once that was done, the SIP Header Via contents showed correctly and the calls were going out. Thank you for your replies -------------------------------------------- On Fri, 4/17/15, Steven Ayre wrote: Subject: Re: [Freeswitch-users] SIP Header Via - IP Wrong To: "FreeSWITCH Users Help" Date: Friday, April 17, 2015, 11:16 AM A profile has to listen on a specific IP address. If you want to listen on both IPs you'll need a profile on each one. It's probably easiest in your setup to put the IP addresses into the profile directly rather than setting them in vars.conf.xml or using $${local_ip4}. The profile will use the IP it is listening on for Via Contact etc. Set the sip-ip and rtp-ip parameters of the relevant sofia profile (in sip_profiles/) to the 107.1.nnn.n address. Since the server has the IP assigned directly (not unusual) you do -not- need to set ext-sip-ip and ext-rtp-ip since you're not behind NAT. On 17 April 2015 at 15:54, T Fred Farmington wrote: My FreeSWITCH server has 2 IP addresses? ?An Internal? 192.168,nnn.nn? ?&? an External? ?107,1.nnn.nn This is accomplished via network 'magic' (I'm not the network guy) using a single network card And, in general, it works. I can Receive Outside calls from our SIP Trunk vendor But I can Not Send calls Out through the SIP Trunk vendor. The calls are being blocked (403 'Forbidden") by the vendor due to the contents of our SIP Header packet. Within the? Via:? part of the packet it shows: ? ? ?Via: SIP/2.0/UDP 192.168.nnn.nn;rport;branch=z9hG4bKQKa7126jtX4mm They need it to show the External IP here. I have even tried setting? ? sip_via_host =? 107.1.nnn.nn? ? ?but that did not change what it being sent. How/Where can I get this to change? _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -----Inline Attachment Follows----- _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org From kheimerl at cs.berkeley.edu Sat Apr 18 02:07:32 2015 From: kheimerl at cs.berkeley.edu (Kurtis Heimerl) Date: Fri, 17 Apr 2015 15:07:32 -0700 Subject: [Freeswitch-users] mod_xml_cdr note stripping <'s and >'s as needed In-Reply-To: References: Message-ID: Just confirmed this as a bug, rolling back to 1.4.15 fixed it. Should I open a ticket? On Fri, Apr 17, 2015 at 1:14 PM, Kurtis Heimerl wrote: > This is with 1.4.18~1-1~wheezy+1 BTW. > > On Fri, Apr 17, 2015 at 12:38 PM, Kurtis Heimerl > wrote: > >> Hey Users, >> >> I seem to have found a bug. mod_xml_cdr is sending along invalid XML as >> it is not stripping the <'s and >'s off of important fields. For instance, >> we're sending along a P-Preferred-Identity header: >> >> P-Preferred-Identity: >> >> and it's getting sent as the following in the xml: >> >> >> >> However, this is invalid xml (for obvious reasons) and won't parse. I'm >> currently in the process of double checking, but this seems to be new >> behavior. I tried to strip some of these headers, but they are important >> stuff like sip_full_from which I don't think I can. >> >> > >;tag=OBTSiqkuupshsxlztuyb >> >> Ideas on what's going on here? >> >> Thanks! >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150417/ff385d84/attachment-0001.html From olegstolyar at gmail.com Sat Apr 18 02:33:10 2015 From: olegstolyar at gmail.com (Oleg Stolyar) Date: Fri, 17 Apr 2015 15:33:10 -0700 Subject: [Freeswitch-users] cURL response code from API In-Reply-To: References: Message-ID: Thanks Aleksandr! I was hoping to avoid having to parse the headers/json but I guess I'll have to. On Thu, Apr 16, 2015 at 8:45 PM, Aleksandr Chusov < chusov.alexsandr at gmail.com> wrote: > > 2015-04-17 4:21 GMT+03:00 Oleg Stolyar : > >> >> resp = api:execute("curl", some_url) >> >> where can I get the curl response code? >> > > > I use json > > local response = api:execute("curl", url .. " json timeout 2 get ") > resp = json.decode(response) > > if resp.status_code ~= 200 then > .... > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150417/2171feb6/attachment.html From mike at jerris.com Sat Apr 18 02:37:01 2015 From: mike at jerris.com (Michael Jerris) Date: Fri, 17 Apr 2015 18:37:01 -0400 Subject: [Freeswitch-users] mod_xml_cdr note stripping <'s and >'s as needed In-Reply-To: References: Message-ID: <65D01416-04CF-4741-905E-E9B0B32683FC@jerris.com> As I said earlier today: https://freeswitch.org/jira/browse/FS-7258 We still have not decided what the best solution for this is. > On Apr 17, 2015, at 6:07 PM, Kurtis Heimerl wrote: > > Just confirmed this as a bug, rolling back to 1.4.15 fixed it. Should I open a ticket? > > On Fri, Apr 17, 2015 at 1:14 PM, Kurtis Heimerl > wrote: > This is with 1.4.18~1-1~wheezy+1 BTW. > > On Fri, Apr 17, 2015 at 12:38 PM, Kurtis Heimerl > wrote: > Hey Users, > > I seem to have found a bug. mod_xml_cdr is sending along invalid XML as it is not stripping the <'s and >'s off of important fields. For instance, we're sending along a P-Preferred-Identity header: > > P-Preferred-Identity: > > > and it's getting sent as the following in the xml: > > > > > However, this is invalid xml (for obvious reasons) and won't parse. I'm currently in the process of double checking, but this seems to be new behavior. I tried to strip some of these headers, but they are important stuff like sip_full_from which I don't think I can. > > >;tag=OBTSiqkuupshsxlztuyb > > Ideas on what's going on here? > > Thanks! > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150417/d5ffcbaf/attachment.html From kheimerl at cs.berkeley.edu Sat Apr 18 02:42:07 2015 From: kheimerl at cs.berkeley.edu (Kurtis Heimerl) Date: Fri, 17 Apr 2015 15:42:07 -0700 Subject: [Freeswitch-users] mod_xml_cdr note stripping <'s and >'s as needed In-Reply-To: <65D01416-04CF-4741-905E-E9B0B32683FC@jerris.com> References: <65D01416-04CF-4741-905E-E9B0B32683FC@jerris.com> Message-ID: Oh I hadn't seen that (and I guess google hasn't picked it up enough to find it online). Glad to see you all are on this, I'll patiently await a resolution. On Fri, Apr 17, 2015 at 3:37 PM, Michael Jerris wrote: > As I said earlier today: > > https://freeswitch.org/jira/browse/FS-7258 > > We still have not decided what the best solution for this is. > > > On Apr 17, 2015, at 6:07 PM, Kurtis Heimerl > wrote: > > Just confirmed this as a bug, rolling back to 1.4.15 fixed it. Should I > open a ticket? > > On Fri, Apr 17, 2015 at 1:14 PM, Kurtis Heimerl > wrote: > >> This is with 1.4.18~1-1~wheezy+1 BTW. >> >> On Fri, Apr 17, 2015 at 12:38 PM, Kurtis Heimerl < >> kheimerl at cs.berkeley.edu> wrote: >> >>> Hey Users, >>> >>> I seem to have found a bug. mod_xml_cdr is sending along invalid XML as >>> it is not stripping the <'s and >'s off of important fields. For instance, >>> we're sending along a P-Preferred-Identity header: >>> >>> P-Preferred-Identity: >>> >>> and it's getting sent as the following in the xml: >>> >>> >> > >>> >>> However, this is invalid xml (for obvious reasons) and won't parse. I'm >>> currently in the process of double checking, but this seems to be new >>> behavior. I tried to strip some of these headers, but they are important >>> stuff like sip_full_from which I don't think I can. >>> >>> >> >;tag=OBTSiqkuupshsxlztuyb >>> >>> Ideas on what's going on here? >>> >>> Thanks! >>> >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150417/89d55b44/attachment.html From s.safarov at gmail.com Sat Apr 18 10:40:14 2015 From: s.safarov at gmail.com (Sergey Safarov) Date: Sat, 18 Apr 2015 09:40:14 +0300 Subject: [Freeswitch-users] echo cancelation Message-ID: Could you help me understand that prevents the use echo cancellation in FS On the one hand SpanDSP library compiled with FS and contains functions for echo canceler libs/spandsp/src/echo.c On the other hand FS does not contain applications of echo canceler. Also, I found the discussion in which states GPL is not compatible with the MPL1.1 and it prevent use Oslec (SpanDSP is uses Oslec). Sergey -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150418/11011d04/attachment.html From s.safarov at gmail.com Sat Apr 18 10:41:21 2015 From: s.safarov at gmail.com (Sergey Safarov) Date: Sat, 18 Apr 2015 09:41:21 +0300 Subject: [Freeswitch-users] echo cancelation In-Reply-To: References: Message-ID: Missed url http://markmail.org/message/ouxh772ethgpmzko On Sat, Apr 18, 2015 at 9:40 AM, Sergey Safarov wrote: > Could you help me understand that prevents the use echo cancellation in FS > On the one hand SpanDSP library compiled with FS and contains functions > for echo canceler libs/spandsp/src/echo.c > On the other hand FS does not contain applications of echo canceler. Also, > I found the discussion in which states GPL is not compatible with the > MPL1.1 and it prevent use Oslec (SpanDSP is uses Oslec). > > Sergey > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150418/ea8ec0ae/attachment.html From steveu at coppice.org Sat Apr 18 13:39:17 2015 From: steveu at coppice.org (Steve Underwood) Date: Sat, 18 Apr 2015 17:39:17 +0800 Subject: [Freeswitch-users] echo cancelation In-Reply-To: References: Message-ID: <55322645.8010509@coppice.org> On 04/18/2015 02:40 PM, Sergey Safarov wrote: > Could you help me understand that prevents the use echo cancellation in FS How would you expect to use echo cancellation in FS? > On the one hand SpanDSP library compiled with FS and contains > functions for echo canceler libs/spandsp/src/echo.c Not really. Look carefully at those routines. > On the other hand FS does not contain applications of echo canceler. Correct. > Also, I found the discussion in which states GPL is not compatible > with the MPL1.1 and it prevent use Oslec (SpanDSP is uses Oslec). SpanDSP does NOT contain OSLEC. OSLEC has its origins in the work in progress echo canceller in SpanDSP. Regards, Steve From s.safarov at gmail.com Sat Apr 18 15:13:50 2015 From: s.safarov at gmail.com (Sergey Safarov) Date: Sat, 18 Apr 2015 14:13:50 +0300 Subject: [Freeswitch-users] echo cancelation In-Reply-To: <55322645.8010509@coppice.org> References: <55322645.8010509@coppice.org> Message-ID: How would you expect to use echo cancellation in FS? I thinking it can be used like t38_gateway application (audio to image converter). In echo canceler application audio with echo converted to audio without echo. > On the one hand SpanDSP library compiled with FS and contains > functions for echo canceler libs/spandsp/src/echo.c Not really. Look carefully at those routines. In source * echo.c - An echo cancellor, suitable for electrical and acoustic * cancellation. This code does not currently comply with * any relevant standards (e.g. G.164/5/7/8). One day.... And other 70 string of following comments describe file as echo canceler Also in echo_can_update() at string 429 clean_rx = rx - echo_value; at string 569 if ((ec->adaption_mode & ECHO_CAN_USE_NLP)) { /* Non-linear processor - a fancy way to say "zap small signals, to avoid residual echo due to (uLaw/ALaw) non-linearity in the channel.". */ Look in echo.h comments .... in the echo_tests.c The echo cancellation tests test the echo cancellor against the G.168 spec. At http://www.rowetel.com/blog/?page_id=454 I read spandsp : A subset of spandsp to support testing and development of Oslec. The echo canceller and G168 test suite source code live in here. I thinking it really echo canceler functions. SpanDSP does NOT contain OSLEC. OSLEC has its origins in the work in progress echo canceller in SpanDSP. If it two different product then echo canceler may be realized by 1. SpanDSP library 2. Oslec kernel driver I has find relation In source files between OSLEC kernel driver (drivers/staging/echo) and SpanDSP functions: oslec_create(int len, int adaption_mode) - echo_can_init(int len, int adaption_mode) oslec_adaption_mode(struct oslec_state *ec, int adaption_mode) - oslec_update(struct oslec_state *ec, int16_t tx, int16_t rx) - echo_can_update(echo_can_state_t *ec, int16_t tx, int16_t rx) oslec_hpf_tx(struct oslec_state *ec, int16_t tx) - echo_can_hpf_tx(echo_can_state_t *ec, int16_t tx) And FS may use two echo canceler engines (SpanSDP or OSLEC kernel driver). What is prevent to do it? On Sat, Apr 18, 2015 at 12:39 PM, Steve Underwood wrote: > On 04/18/2015 02:40 PM, Sergey Safarov wrote: > > Could you help me understand that prevents the use echo cancellation in > FS > How would you expect to use echo cancellation in FS? > > On the one hand SpanDSP library compiled with FS and contains > > functions for echo canceler libs/spandsp/src/echo.c > Not really. Look carefully at those routines. > > On the other hand FS does not contain applications of echo canceler. > Correct. > > Also, I found the discussion in which states GPL is not compatible > > with the MPL1.1 and it prevent use Oslec (SpanDSP is uses Oslec). > SpanDSP does NOT contain OSLEC. OSLEC has its origins in the work in > progress echo canceller in SpanDSP. > > Regards, > Steve > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150418/3293e491/attachment.html From nandy1925 at gmail.com Sat Apr 18 15:25:23 2015 From: nandy1925 at gmail.com (Nandy Dagondon) Date: Sat, 18 Apr 2015 19:25:23 +0800 Subject: [Freeswitch-users] echo cancelation In-Reply-To: References: <55322645.8010509@coppice.org> Message-ID: OSLEC works with FreeTDM DAHDI-mode. On Sat, Apr 18, 2015 at 7:13 PM, Sergey Safarov wrote: > How would you expect to use echo cancellation in FS? > I thinking it can be used like t38_gateway application (audio to image > converter). In echo canceler application audio with echo converted to audio > without echo. > > > On the one hand SpanDSP library compiled with FS and contains > > functions for echo canceler libs/spandsp/src/echo.c > Not really. Look carefully at those routines. > In source > * echo.c - An echo cancellor, suitable for electrical and acoustic > * cancellation. This code does not currently comply with > * any relevant standards (e.g. G.164/5/7/8). One day.... > And other 70 string of following comments describe file as echo canceler > Also in echo_can_update() > at string 429 > clean_rx = rx - echo_value; > > at string 569 > if ((ec->adaption_mode & ECHO_CAN_USE_NLP)) > { > /* Non-linear processor - a fancy way to say "zap small signals, > to avoid > residual echo due to (uLaw/ALaw) non-linearity in the > channel.". */ > > Look in echo.h comments .... > > in the echo_tests.c > The echo cancellation tests test the echo cancellor against the G.168 spec. > > At http://www.rowetel.com/blog/?page_id=454 I read > spandsp : A subset of spandsp to support testing and development of Oslec. > The echo canceller and G168 test suite source code live in here. > > I thinking it really echo canceler functions. > > SpanDSP does NOT contain OSLEC. OSLEC has its origins in the work in > progress echo canceller in SpanDSP. > If it two different product then echo canceler may be realized by > > 1. SpanDSP library > 2. Oslec kernel driver > > I has find relation In source files between OSLEC kernel driver > (drivers/staging/echo) and SpanDSP functions: > oslec_create(int len, int adaption_mode) - echo_can_init(int len, int > adaption_mode) > oslec_adaption_mode(struct oslec_state *ec, int adaption_mode) - > oslec_update(struct oslec_state *ec, int16_t tx, int16_t rx) > - echo_can_update(echo_can_state_t *ec, int16_t tx, int16_t rx) > oslec_hpf_tx(struct oslec_state *ec, int16_t tx) > - echo_can_hpf_tx(echo_can_state_t *ec, int16_t tx) > > And FS may use two echo canceler engines (SpanSDP or OSLEC kernel driver). > What is prevent to do it? > > > > > > > > On Sat, Apr 18, 2015 at 12:39 PM, Steve Underwood > wrote: > >> On 04/18/2015 02:40 PM, Sergey Safarov wrote: >> > Could you help me understand that prevents the use echo cancellation in >> FS >> How would you expect to use echo cancellation in FS? >> > On the one hand SpanDSP library compiled with FS and contains >> > functions for echo canceler libs/spandsp/src/echo.c >> Not really. Look carefully at those routines. >> > On the other hand FS does not contain applications of echo canceler. >> Correct. >> > Also, I found the discussion in which states GPL is not compatible >> > with the MPL1.1 and it prevent use Oslec (SpanDSP is uses Oslec). >> SpanDSP does NOT contain OSLEC. OSLEC has its origins in the work in >> progress echo canceller in SpanDSP. >> >> Regards, >> Steve >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150418/762f7c3a/attachment.html From s.safarov at gmail.com Sat Apr 18 15:55:54 2015 From: s.safarov at gmail.com (Sergey Safarov) Date: Sat, 18 Apr 2015 14:55:54 +0300 Subject: [Freeswitch-users] echo cancelation In-Reply-To: References: <55322645.8010509@coppice.org> Message-ID: According "Installing OSLEC with DAHDI" - DAHDI may use OSLEC. But I cant find DAHDI requirements to compile and use OSLEC. In other words OSLEC may be used without DAHDI. On Sat, Apr 18, 2015 at 2:25 PM, Nandy Dagondon wrote: > > OSLEC works with FreeTDM DAHDI-mode. > > On Sat, Apr 18, 2015 at 7:13 PM, Sergey Safarov > wrote: > >> How would you expect to use echo cancellation in FS? >> I thinking it can be used like t38_gateway application (audio to image >> converter). In echo canceler application audio with echo converted to audio >> without echo. >> >> > On the one hand SpanDSP library compiled with FS and contains >> > functions for echo canceler libs/spandsp/src/echo.c >> Not really. Look carefully at those routines. >> In source >> * echo.c - An echo cancellor, suitable for electrical and acoustic >> * cancellation. This code does not currently comply with >> * any relevant standards (e.g. G.164/5/7/8). One day.... >> And other 70 string of following comments describe file as echo canceler >> Also in echo_can_update() >> at string 429 >> clean_rx = rx - echo_value; >> >> at string 569 >> if ((ec->adaption_mode & ECHO_CAN_USE_NLP)) >> { >> /* Non-linear processor - a fancy way to say "zap small signals, >> to avoid >> residual echo due to (uLaw/ALaw) non-linearity in the >> channel.". */ >> >> Look in echo.h comments .... >> >> in the echo_tests.c >> The echo cancellation tests test the echo cancellor against the G.168 >> spec. >> >> At http://www.rowetel.com/blog/?page_id=454 I read >> spandsp : A subset of spandsp to support testing and development of >> Oslec. The echo canceller and G168 test suite source code live in here. >> >> I thinking it really echo canceler functions. >> >> SpanDSP does NOT contain OSLEC. OSLEC has its origins in the work in >> progress echo canceller in SpanDSP. >> If it two different product then echo canceler may be realized by >> >> 1. SpanDSP library >> 2. Oslec kernel driver >> >> I has find relation In source files between OSLEC kernel driver >> (drivers/staging/echo) and SpanDSP functions: >> oslec_create(int len, int adaption_mode) - echo_can_init(int len, int >> adaption_mode) >> oslec_adaption_mode(struct oslec_state *ec, int adaption_mode) - >> oslec_update(struct oslec_state *ec, int16_t tx, int16_t rx) >> - echo_can_update(echo_can_state_t *ec, int16_t tx, int16_t rx) >> oslec_hpf_tx(struct oslec_state *ec, int16_t tx) >> - echo_can_hpf_tx(echo_can_state_t *ec, int16_t tx) >> >> And FS may use two echo canceler engines (SpanSDP or OSLEC kernel >> driver). What is prevent to do it? >> >> >> >> >> >> >> >> On Sat, Apr 18, 2015 at 12:39 PM, Steve Underwood >> wrote: >> >>> On 04/18/2015 02:40 PM, Sergey Safarov wrote: >>> > Could you help me understand that prevents the use echo cancellation >>> in FS >>> How would you expect to use echo cancellation in FS? >>> > On the one hand SpanDSP library compiled with FS and contains >>> > functions for echo canceler libs/spandsp/src/echo.c >>> Not really. Look carefully at those routines. >>> > On the other hand FS does not contain applications of echo canceler. >>> Correct. >>> > Also, I found the discussion in which states GPL is not compatible >>> > with the MPL1.1 and it prevent use Oslec (SpanDSP is uses Oslec). >>> SpanDSP does NOT contain OSLEC. OSLEC has its origins in the work in >>> progress echo canceller in SpanDSP. >>> >>> Regards, >>> Steve >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150418/68f0df36/attachment-0001.html From s.safarov at gmail.com Sat Apr 18 15:56:26 2015 From: s.safarov at gmail.com (Sergey Safarov) Date: Sat, 18 Apr 2015 14:56:26 +0300 Subject: [Freeswitch-users] echo cancelation In-Reply-To: References: <55322645.8010509@coppice.org> Message-ID: Missed link http://www.rowetel.com/blog/?page_id=454 On Sat, Apr 18, 2015 at 2:55 PM, Sergey Safarov wrote: > According "Installing OSLEC with DAHDI" - DAHDI may use OSLEC. But I cant > find DAHDI requirements to compile and use OSLEC. In other words OSLEC may > be used without DAHDI. > > On Sat, Apr 18, 2015 at 2:25 PM, Nandy Dagondon > wrote: > >> >> OSLEC works with FreeTDM DAHDI-mode. >> >> On Sat, Apr 18, 2015 at 7:13 PM, Sergey Safarov >> wrote: >> >>> How would you expect to use echo cancellation in FS? >>> I thinking it can be used like t38_gateway application (audio to image >>> converter). In echo canceler application audio with echo converted to audio >>> without echo. >>> >>> > On the one hand SpanDSP library compiled with FS and contains >>> > functions for echo canceler libs/spandsp/src/echo.c >>> Not really. Look carefully at those routines. >>> In source >>> * echo.c - An echo cancellor, suitable for electrical and acoustic >>> * cancellation. This code does not currently comply with >>> * any relevant standards (e.g. G.164/5/7/8). One day.... >>> And other 70 string of following comments describe file as echo canceler >>> Also in echo_can_update() >>> at string 429 >>> clean_rx = rx - echo_value; >>> >>> at string 569 >>> if ((ec->adaption_mode & ECHO_CAN_USE_NLP)) >>> { >>> /* Non-linear processor - a fancy way to say "zap small signals, >>> to avoid >>> residual echo due to (uLaw/ALaw) non-linearity in the >>> channel.". */ >>> >>> Look in echo.h comments .... >>> >>> in the echo_tests.c >>> The echo cancellation tests test the echo cancellor against the G.168 >>> spec. >>> >>> At http://www.rowetel.com/blog/?page_id=454 I read >>> spandsp : A subset of spandsp to support testing and development of >>> Oslec. The echo canceller and G168 test suite source code live in here. >>> >>> I thinking it really echo canceler functions. >>> >>> SpanDSP does NOT contain OSLEC. OSLEC has its origins in the work in >>> progress echo canceller in SpanDSP. >>> If it two different product then echo canceler may be realized by >>> >>> 1. SpanDSP library >>> 2. Oslec kernel driver >>> >>> I has find relation In source files between OSLEC kernel driver >>> (drivers/staging/echo) and SpanDSP functions: >>> oslec_create(int len, int adaption_mode) - echo_can_init(int len, int >>> adaption_mode) >>> oslec_adaption_mode(struct oslec_state *ec, int adaption_mode) - >>> oslec_update(struct oslec_state *ec, int16_t tx, int16_t rx) >>> - echo_can_update(echo_can_state_t *ec, int16_t tx, int16_t rx) >>> oslec_hpf_tx(struct oslec_state *ec, int16_t tx) >>> - echo_can_hpf_tx(echo_can_state_t *ec, int16_t tx) >>> >>> And FS may use two echo canceler engines (SpanSDP or OSLEC kernel >>> driver). What is prevent to do it? >>> >>> >>> >>> >>> >>> >>> >>> On Sat, Apr 18, 2015 at 12:39 PM, Steve Underwood >>> wrote: >>> >>>> On 04/18/2015 02:40 PM, Sergey Safarov wrote: >>>> > Could you help me understand that prevents the use echo cancellation >>>> in FS >>>> How would you expect to use echo cancellation in FS? >>>> > On the one hand SpanDSP library compiled with FS and contains >>>> > functions for echo canceler libs/spandsp/src/echo.c >>>> Not really. Look carefully at those routines. >>>> > On the other hand FS does not contain applications of echo canceler. >>>> Correct. >>>> > Also, I found the discussion in which states GPL is not compatible >>>> > with the MPL1.1 and it prevent use Oslec (SpanDSP is uses Oslec). >>>> SpanDSP does NOT contain OSLEC. OSLEC has its origins in the work in >>>> progress echo canceller in SpanDSP. >>>> >>>> Regards, >>>> Steve >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150418/11d86df0/attachment.html From simpot at gmail.com Sun Apr 19 00:30:13 2015 From: simpot at gmail.com (Dmitry Saratsky) Date: Sat, 18 Apr 2015 23:30:13 +0300 Subject: [Freeswitch-users] playback question Message-ID: Hi all, I have .wav file which was recorded by freeswitch in stereo mode a-leg to left channel and b-leg to right channel. now I want to play only one channel to caller using lua. sometimes left one and sometimes right one. I can't find any documentation on playback or any other apps how to play only one channel... Any ideas? Thanks a lot! Dmitry. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150418/f2778b45/attachment.html From ssinyagin at gmail.com Sun Apr 19 00:42:19 2015 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Sat, 18 Apr 2015 22:42:19 +0200 Subject: [Freeswitch-users] playback question In-Reply-To: References: Message-ID: You can use sox tool to split the channels after recording. It works very fast, so the delay should not be a problem. On Apr 18, 2015 10:31 PM, "Dmitry Saratsky" wrote: > Hi all, > > I have .wav file which was recorded by freeswitch in stereo mode a-leg to > left channel and b-leg to right channel. > now I want to play only one channel to caller using lua. sometimes left > one and sometimes right one. > > I can't find any documentation on playback or any other apps how to play > only one channel... > > Any ideas? > > Thanks a lot! > Dmitry. > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150418/922f9425/attachment.html From nandy1925 at gmail.com Sun Apr 19 04:24:30 2015 From: nandy1925 at gmail.com (Nandy Dagondon) Date: Sun, 19 Apr 2015 08:24:30 +0800 Subject: [Freeswitch-users] echo cancelation In-Reply-To: References: <55322645.8010509@coppice.org> Message-ID: DAHDI source is needed. Downloaded the source from your card mfr website or from Asterisk, patch OSLEC, compile and install. Run DAHDI driver before running FS. Take note of the config files DAHDI to use - freetdm.conf and zt.conf. On Sat, Apr 18, 2015 at 7:56 PM, Sergey Safarov wrote: > Missed link http://www.rowetel.com/blog/?page_id=454 > > On Sat, Apr 18, 2015 at 2:55 PM, Sergey Safarov > wrote: > >> According "Installing OSLEC with DAHDI" - DAHDI may use OSLEC. But I cant >> find DAHDI requirements to compile and use OSLEC. In other words OSLEC may >> be used without DAHDI. >> >> On Sat, Apr 18, 2015 at 2:25 PM, Nandy Dagondon >> wrote: >> >>> >>> OSLEC works with FreeTDM DAHDI-mode. >>> >>> On Sat, Apr 18, 2015 at 7:13 PM, Sergey Safarov >>> wrote: >>> >>>> How would you expect to use echo cancellation in FS? >>>> I thinking it can be used like t38_gateway application (audio to image >>>> converter). In echo canceler application audio with echo converted to audio >>>> without echo. >>>> >>>> > On the one hand SpanDSP library compiled with FS and contains >>>> > functions for echo canceler libs/spandsp/src/echo.c >>>> Not really. Look carefully at those routines. >>>> In source >>>> * echo.c - An echo cancellor, suitable for electrical and acoustic >>>> * cancellation. This code does not currently comply with >>>> * any relevant standards (e.g. G.164/5/7/8). One day.... >>>> And other 70 string of following comments describe file as echo canceler >>>> Also in echo_can_update() >>>> at string 429 >>>> clean_rx = rx - echo_value; >>>> >>>> at string 569 >>>> if ((ec->adaption_mode & ECHO_CAN_USE_NLP)) >>>> { >>>> /* Non-linear processor - a fancy way to say "zap small >>>> signals, to avoid >>>> residual echo due to (uLaw/ALaw) non-linearity in the >>>> channel.". */ >>>> >>>> Look in echo.h comments .... >>>> >>>> in the echo_tests.c >>>> The echo cancellation tests test the echo cancellor against the G.168 >>>> spec. >>>> >>>> At http://www.rowetel.com/blog/?page_id=454 I read >>>> spandsp : A subset of spandsp to support testing and development of >>>> Oslec. The echo canceller and G168 test suite source code live in here. >>>> >>>> I thinking it really echo canceler functions. >>>> >>>> SpanDSP does NOT contain OSLEC. OSLEC has its origins in the work in >>>> progress echo canceller in SpanDSP. >>>> If it two different product then echo canceler may be realized by >>>> >>>> 1. SpanDSP library >>>> 2. Oslec kernel driver >>>> >>>> I has find relation In source files between OSLEC kernel driver >>>> (drivers/staging/echo) and SpanDSP functions: >>>> oslec_create(int len, int adaption_mode) - echo_can_init(int len, int >>>> adaption_mode) >>>> oslec_adaption_mode(struct oslec_state *ec, int adaption_mode) - >>>> oslec_update(struct oslec_state *ec, int16_t tx, int16_t rx) >>>> - echo_can_update(echo_can_state_t *ec, int16_t tx, int16_t rx) >>>> oslec_hpf_tx(struct oslec_state *ec, int16_t tx) >>>> - echo_can_hpf_tx(echo_can_state_t *ec, int16_t tx) >>>> >>>> And FS may use two echo canceler engines (SpanSDP or OSLEC kernel >>>> driver). What is prevent to do it? >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> On Sat, Apr 18, 2015 at 12:39 PM, Steve Underwood >>>> wrote: >>>> >>>>> On 04/18/2015 02:40 PM, Sergey Safarov wrote: >>>>> > Could you help me understand that prevents the use echo cancellation >>>>> in FS >>>>> How would you expect to use echo cancellation in FS? >>>>> > On the one hand SpanDSP library compiled with FS and contains >>>>> > functions for echo canceler libs/spandsp/src/echo.c >>>>> Not really. Look carefully at those routines. >>>>> > On the other hand FS does not contain applications of echo canceler. >>>>> Correct. >>>>> > Also, I found the discussion in which states GPL is not compatible >>>>> > with the MPL1.1 and it prevent use Oslec (SpanDSP is uses Oslec). >>>>> SpanDSP does NOT contain OSLEC. OSLEC has its origins in the work in >>>>> progress echo canceller in SpanDSP. >>>>> >>>>> Regards, >>>>> Steve >>>>> >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150419/2e089d8f/attachment-0001.html From avi at avimarcus.net Sun Apr 19 08:23:15 2015 From: avi at avimarcus.net (Avi Marcus) Date: Sun, 19 Apr 2015 04:23:15 +0000 Subject: [Freeswitch-users] Alerts for missed calls In-Reply-To: References: Message-ID: <0000014ccfea82eb-1a72362c-1d53-4ae4-a2e8-1cad34b4062d-000000@email.amazonses.com> Checking if there was a VM left was indeed a problem, which has been fixed quite a while ago (Thanks Moc!). It's in: variables->voicemail_message_len which has the length in seconds. I check my CDRs for this: $outside_call && $leg=="a" && ##that the outside call variable was set, and it's leg A -- we only want inbound calls to trigger this, not outbound calls that weren't picked up. If you have multiple transfers inside an IVR it might not catch them.... ( ($last_app=="voicemail" && (!isset($voicemail_message)||$voicemail_message!=1)) ||$hangup_cause=="ORIGINATOR_CANCEL" ) ) //3 options: the last_app was voicemail AND voicemail_message_len wasn't set (if it was set we'll have a VM email) OR we had an originator cancel so they never even reached the VM. Sorry for the pidgin code, it's from hacked PHP code that processes the xml_cdrs... -Avi On Fri, Apr 17, 2015 at 8:48 PM, Chris Tunbridge wrote: > as for the voice mail, I'm not 100% certain if there's a way to check if a > voicemail was left, however you can check to see where the hangup occurred > typically it mentions the app in event. > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150419/8a694654/attachment.html From jalsot at gmail.com Sun Apr 19 10:11:41 2015 From: jalsot at gmail.com (Tamas Jalsovszky) Date: Sun, 19 Apr 2015 08:11:41 +0200 Subject: [Freeswitch-users] echo cancelation In-Reply-To: <55322645.8010509@coppice.org> References: <55322645.8010509@coppice.org> Message-ID: On Sat, Apr 18, 2015 at 11:39 AM, Steve Underwood wrote: > > Could you help me understand that prevents the use echo cancellation in > FS > How would you expect to use echo cancellation in FS? > It could be useful with for example mod_portaudio, IMO Regards, Jalsot > Regards, > Steve > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150419/d9a75018/attachment.html From anuragrana31189 at gmail.com Sun Apr 19 15:27:30 2015 From: anuragrana31189 at gmail.com (Anurag Rana) Date: Sun, 19 Apr 2015 16:57:30 +0530 Subject: [Freeswitch-users] How to receive call using gsmopen Message-ID: Hi All, I have micromax usb dongle with a gsm sim in it attached to my system. mod_gsmopen has been compiled and has been loaded. Freeswitch is running. *This is the output of lsusb command -* ---------------------------------------------------------- Bus 002 Device 003: ID 064e:e263 Suyin Corp. Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 006: ID 1c9e:9605 OMEGA TECHNOLOGY Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 003 Device 011: ID 15d9:0a4e Trust International B.V. Bus 003 Device 010: ID 1a2c:0c21 China Resource Semico Co., Ltd Bus 003 Device 009: ID 1a40:0101 Terminus Technology Inc. 4-Port HUB Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub --------------------------------------------------------------------------------------- *This is the output of dmesg | grep tty command* ---------------------------------------------------------------------- [ 8114.018211] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB0 [ 8114.018840] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB1 [ 8114.019458] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB2 [ 8114.019961] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB3 --------------------------------------------------------------------- *?This is the content of gsmopen.conf.xml file*? ?*-----*------------------------------------------------------------ ------------------------------------------------------------------------ I searched internet for "how to receive a call using FS" or "How to make an inbound call using gsmopen"? ? but could not find detailed stepwise explanation. Can someone please tell me what I need to do next so that when I call the sim number in dongle, call is received by FS and actions are performed based on dialplan. OR direct me to some link which explains this. (apart from this https://freeswitch.org/confluence/display/FREESWITCH/mod_gsmopen)? ?Thanks? Anurag Rana M.Tech CSE, IIIT-Delhi, https://sites.google.com/site/homepagerana/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150419/20ff1f9b/attachment.html From s.safarov at gmail.com Sun Apr 19 15:51:53 2015 From: s.safarov at gmail.com (Sergey Safarov) Date: Sun, 19 Apr 2015 14:51:53 +0300 Subject: [Freeswitch-users] echo cancelation In-Reply-To: References: <55322645.8010509@coppice.org> Message-ID: Tamas not only mod_portaudio. In my case used one leg terminated to FXS gateway, other leg terminated to PSTN via ISDN PRI/E1 gateway. Echo is observed for some calls. I think the echo is formed on the side of the subscriber connected to PSTN. I counted that the echo comes back with a delay of 44-64 ms or more (more detail http://www.adaptivedigital.com/product/echo_cancel/echo_explain.htm). Where: 1. 20-30 ms - packetization time on a-leg 2. ~1 ms - VoIP packet delivery 3. ~ 1 ms - PSTN network signal delivery 4. ~ 1 ms - PSTN network return signal delivery 5. 20-30 ms - packetization time on ISDN PRI gateway 6. ~1 ms - VoIP return RTP packet delivery If FS will apply echo canceller then is required compensate 22-32 ms echo for each leg. Sergey On Sun, Apr 19, 2015 at 9:11 AM, Tamas Jalsovszky wrote: > On Sat, Apr 18, 2015 at 11:39 AM, Steve Underwood > wrote: > >> > Could you help me understand that prevents the use echo cancellation in >> FS >> How would you expect to use echo cancellation in FS? >> > It could be useful with for example mod_portaudio, IMO > > Regards, > Jalsot > > >> Regards, >> Steve >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150419/bbe230cd/attachment-0001.html From aqsyounas at gmail.com Sun Apr 19 20:30:13 2015 From: aqsyounas at gmail.com (Aqs Younas) Date: Sun, 19 Apr 2015 09:30:13 -0700 Subject: [Freeswitch-users] read command playing wav file but not mp3. Message-ID: Hi, Users I just upgraded my freeeswitch from 1.4.14 to 1.4.18 and saw read command does not play mp3 file but just wav files. While playing mp3 file I see this. switch_core_file.c:149 Invalid file format [mp3] for [/ bible.didradio.com/bible/languages/english/012054.mp3]! and wav file plays smoothly. Is there any change in new freeswitch read command. Because in 1.4.14 both mp3 and wav files were playing. this is my dialplan. Thanks for any pointer. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150419/f900e878/attachment.html From olegstolyar at gmail.com Sun Apr 19 22:43:27 2015 From: olegstolyar at gmail.com (Oleg Stolyar) Date: Sun, 19 Apr 2015 11:43:27 -0700 Subject: [Freeswitch-users] read command playing wav file but not mp3. In-Reply-To: References: Message-ID: Don't you need to compile mod_shout to be able to play mp3 files? On Apr 19, 2015 9:34 AM, "Aqs Younas" wrote: > Hi, Users > > I just upgraded my freeeswitch from 1.4.14 to 1.4.18 and saw read command > does not play mp3 file but just wav files. > > While playing mp3 file I see this. > > switch_core_file.c:149 Invalid file format [mp3] for [/ > bible.didradio.com/bible/languages/english/012054.mp3]! > > and wav file plays smoothly. > > Is there any change in new freeswitch read command. Because in 1.4.14 both > mp3 and wav files were playing. > > this is my dialplan. > > > > > > Thanks for any pointer. > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150419/d9428946/attachment.html From aqsyounas at gmail.com Sun Apr 19 22:56:34 2015 From: aqsyounas at gmail.com (Aqs Younas) Date: Sun, 19 Apr 2015 11:56:34 -0700 Subject: [Freeswitch-users] read command playing wav file but not mp3. In-Reply-To: References: Message-ID: Thanks for your help. I compiled it with mod_shout, now everything works fine. On 19 April 2015 at 11:43, Oleg Stolyar wrote: > Don't you need to compile mod_shout to be able to play mp3 files? > On Apr 19, 2015 9:34 AM, "Aqs Younas" wrote: > >> Hi, Users >> >> I just upgraded my freeeswitch from 1.4.14 to 1.4.18 and saw read command >> does not play mp3 file but just wav files. >> >> While playing mp3 file I see this. >> >> switch_core_file.c:149 Invalid file format [mp3] for [/ >> bible.didradio.com/bible/languages/english/012054.mp3]! >> >> and wav file plays smoothly. >> >> Is there any change in new freeswitch read command. Because in 1.4.14 >> both mp3 and wav files were playing. >> >> this is my dialplan. >> >> >> >> >> >> Thanks for any pointer. >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150419/5bddac8e/attachment.html From aqsyounas at gmail.com Sun Apr 19 23:51:57 2015 From: aqsyounas at gmail.com (Aqs Younas) Date: Sun, 19 Apr 2015 12:51:57 -0700 Subject: [Freeswitch-users] How to reset "read_terminator_used" to None Message-ID: Hi, Users. I am playing different ivr for different dtmf with read command in my python script. Like. for * play previous file. for # play next file for any other digit play main massage. for no digit continue in script. I see read_terminator_used variable always set if it is previously used. This is making difficult for me to find out have user pressed the terminator(#,*) and entered nothing. Is there any way to reset this variable? Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150419/7d32954f/attachment.html From shabbirabbasi92 at gmail.com Mon Apr 20 00:39:33 2015 From: shabbirabbasi92 at gmail.com (Shabbir abbasi) Date: Mon, 20 Apr 2015 01:39:33 +0500 Subject: [Freeswitch-users] skypopen call disconnection after some time ? Message-ID: this call was disconnected dont know why ?? 2015-04-20 00:27:50.233170 [DEBUG] skypopen_protocol.c:207 [1.4.6~32bit ] [DEBUG_SKYPE 207 ][skype105 ][UP,INPROGRS] READING: |||CALL 5005997 DURATION 602||| skypopen_protocol.c:1082 [1.4.6~32bit ] [DEBUG_SKYPE 1082 ][skype105 ][UP,INPROGRS] CLOSED skypopen_protocol.c:1097 [1.4.6~32bit ] [DEBUG_SKYPE 1097 ][skype105 ][UP,INPROGRS] Skype incoming audio GONE [skype105 ][UP,INPROGRS] len=-1, error: Broken pipe [skype105 ][UP,INC_HNG] Skype outbound audio GONE [skype105 ][UP,INC_HNG] outbound audio server (I am it) EXITING [skype105 ][UP,INC_HNG] incoming audio (read) server (I am it) EXITING [DEBUG_SKYPE 207 ][skype105 ][UP,INC_HNG] READING: |||CALL 5005997 DURATION 603||| [DEBUG_SKYPE 1441 ][skype105 ][UP,INC_HNG] skype call ended any idea ??? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150420/60d1cc68/attachment.html From gmaruzz at gmail.com Mon Apr 20 02:27:56 2015 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Mon, 20 Apr 2015 00:27:56 +0200 Subject: [Freeswitch-users] skypopen call disconnection after some time ? In-Reply-To: References: Message-ID: skype client closed socket to FreeSWITCH. (maybe a timer at ten minutes? maybe a skypeout call was terminated from a skypeout timer? was little after 600 seconds...) -giovanni On Sun, Apr 19, 2015 at 10:39 PM, Shabbir abbasi wrote: > this call was disconnected dont know why ?? > 2015-04-20 00:27:50.233170 [DEBUG] skypopen_protocol.c:207 > [1.4.6~32bit ] [DEBUG_SKYPE 207 ][skype105 ][UP,INPROGRS] READING: > |||CALL 5005997 DURATION 602||| > skypopen_protocol.c:1082 [1.4.6~32bit ] [DEBUG_SKYPE 1082 > ][skype105 ][UP,INPROGRS] CLOSED > > skypopen_protocol.c:1097 [1.4.6~32bit ] [DEBUG_SKYPE 1097 > ][skype105 ][UP,INPROGRS] Skype incoming audio GONE > [skype105 ][UP,INPROGRS] len=-1, error: Broken pipe > [skype105 ][UP,INC_HNG] Skype outbound audio GONE > [skype105 ][UP,INC_HNG] outbound audio server (I am it) EXITING > > [skype105 ][UP,INC_HNG] incoming audio (read) server (I am it) > EXITING > [DEBUG_SKYPE 207 ][skype105 ][UP,INC_HNG] READING: |||CALL > 5005997 DURATION 603||| > [DEBUG_SKYPE 1441 ][skype105 ][UP,INC_HNG] skype call ended > > any idea ??? > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Sincerely, Giovanni Maruzzelli Cell : +39-347-2665618 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150420/d9c05450/attachment-0001.html From shabbirabbasi92 at gmail.com Mon Apr 20 07:18:13 2015 From: shabbirabbasi92 at gmail.com (Shabbir abbasi) Date: Mon, 20 Apr 2015 08:18:13 +0500 Subject: [Freeswitch-users] skypopen call disconnection after some time ? In-Reply-To: References: Message-ID: thanks for reply Giovani it is hapening daily > "maybe a timer at ten minutes? " i have not configured any timer all calls are skype inbound calls, time is diffrint between 200 seconds to 1800 seconds On Mon, Apr 20, 2015 at 3:27 AM, Giovanni Maruzzelli wrote: > skype client closed socket to FreeSWITCH. > (maybe a timer at ten minutes? maybe a skypeout call was terminated from a > skypeout timer? was little after 600 seconds...) > > -giovanni > > On Sun, Apr 19, 2015 at 10:39 PM, Shabbir abbasi < > shabbirabbasi92 at gmail.com> wrote: > >> this call was disconnected dont know why ?? >> 2015-04-20 00:27:50.233170 [DEBUG] skypopen_protocol.c:207 >> [1.4.6~32bit ] [DEBUG_SKYPE 207 ][skype105 ][UP,INPROGRS] READING: >> |||CALL 5005997 DURATION 602||| >> skypopen_protocol.c:1082 [1.4.6~32bit ] [DEBUG_SKYPE 1082 >> ][skype105 ][UP,INPROGRS] CLOSED >> >> skypopen_protocol.c:1097 [1.4.6~32bit ] [DEBUG_SKYPE 1097 >> ][skype105 ][UP,INPROGRS] Skype incoming audio GONE >> [skype105 ][UP,INPROGRS] len=-1, error: Broken pipe >> [skype105 ][UP,INC_HNG] Skype outbound audio GONE >> [skype105 ][UP,INC_HNG] outbound audio server (I am it) EXITING >> >> [skype105 ][UP,INC_HNG] incoming audio (read) server (I am it) >> EXITING >> [DEBUG_SKYPE 207 ][skype105 ][UP,INC_HNG] READING: |||CALL >> 5005997 DURATION 603||| >> [DEBUG_SKYPE 1441 ][skype105 ][UP,INC_HNG] skype call ended >> >> any idea ??? >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > Sincerely, > > Giovanni Maruzzelli > Cell : +39-347-2665618 > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150420/675d716f/attachment.html From gmaruzz at gmail.com Mon Apr 20 08:39:12 2015 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Mon, 20 Apr 2015 06:39:12 +0200 Subject: [Freeswitch-users] skypopen call disconnection after some time ? In-Reply-To: References: Message-ID: Shabir, Can you give more info? Plsease describe your entire installation, what system, architectire, machine, how many skypepopen, how many calls, where they go, etc etc With the little info you gave, the only thing is: skupe client closed tcp socket. -giovanni sent from my mobile, Giovanni Maruzzelli cell: +39 347 266 56 18 On Apr 20, 2015 5:19 AM, "Shabbir abbasi" wrote: > thanks for reply Giovani > it is hapening daily > > > "maybe a timer at ten minutes? " > i have not configured any timer > > all calls are skype inbound calls, > time is diffrint between 200 seconds to 1800 seconds > > On Mon, Apr 20, 2015 at 3:27 AM, Giovanni Maruzzelli > wrote: > >> skype client closed socket to FreeSWITCH. >> (maybe a timer at ten minutes? maybe a skypeout call was terminated from >> a skypeout timer? was little after 600 seconds...) >> >> -giovanni >> >> On Sun, Apr 19, 2015 at 10:39 PM, Shabbir abbasi < >> shabbirabbasi92 at gmail.com> wrote: >> >>> this call was disconnected dont know why ?? >>> 2015-04-20 00:27:50.233170 [DEBUG] skypopen_protocol.c:207 >>> [1.4.6~32bit ] [DEBUG_SKYPE 207 ][skype105 ][UP,INPROGRS] READING: >>> |||CALL 5005997 DURATION 602||| >>> skypopen_protocol.c:1082 [1.4.6~32bit ] [DEBUG_SKYPE 1082 >>> ][skype105 ][UP,INPROGRS] CLOSED >>> >>> skypopen_protocol.c:1097 [1.4.6~32bit ] [DEBUG_SKYPE 1097 >>> ][skype105 ][UP,INPROGRS] Skype incoming audio GONE >>> [skype105 ][UP,INPROGRS] len=-1, error: Broken pipe >>> [skype105 ][UP,INC_HNG] Skype outbound audio GONE >>> [skype105 ][UP,INC_HNG] outbound audio server (I am it) EXITING >>> >>> [skype105 ][UP,INC_HNG] incoming audio (read) server (I am it) >>> EXITING >>> [DEBUG_SKYPE 207 ][skype105 ][UP,INC_HNG] READING: |||CALL >>> 5005997 DURATION 603||| >>> [DEBUG_SKYPE 1441 ][skype105 ][UP,INC_HNG] skype call ended >>> >>> any idea ??? >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> >> -- >> Sincerely, >> >> Giovanni Maruzzelli >> Cell : +39-347-2665618 >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150420/564781c2/attachment.html From switcherfree at gmail.com Mon Apr 20 09:58:44 2015 From: switcherfree at gmail.com (Free Switcher) Date: Sun, 19 Apr 2015 22:58:44 -0700 Subject: [Freeswitch-users] mod_conference CDR format Message-ID: Hello FreeSwitchers, Does anyone know if it is possible to specify CDR format for conferences? mod_conference outputs XML CDRs by default and I'd like it in CSV format. I can't seem to find any way to specify format anywhere. Thanks for any tips. Regards, Andy From shabbirabbasi92 at gmail.com Mon Apr 20 10:15:35 2015 From: shabbirabbasi92 at gmail.com (Shabbir abbasi) Date: Mon, 20 Apr 2015 11:15:35 +0500 Subject: [Freeswitch-users] skypopen call disconnection after some time ? In-Reply-To: References: Message-ID: dell optiplex 755 dual core 2.66ghz 4gb ram centos 6.6 uname -a Linux localhost.localdomain 3.10.40-1.el6.elrepo.i686 #1 SMP Tue May 13 13:58:39 EDT 2014 i686 i686 i386 GNU/Linux FreeSWITCH (Version 1.4.6 32bit) skype 4.3.0.37 6 skype interfaces on display 101 to 106 all skype inbound calls forwarded to asterisk on 127.0.0.1 and then routed to destination via chan_dongle(3g modem) On Mon, Apr 20, 2015 at 9:39 AM, Giovanni Maruzzelli wrote: > Shabir, > > Can you give more info? > > Plsease describe your entire installation, what system, architectire, > machine, how many skypepopen, how many calls, where they go, etc etc > > With the little info you gave, the only thing is: skupe client closed tcp > socket. > > -giovanni > > sent from my mobile, > Giovanni Maruzzelli > cell: +39 347 266 56 18 > On Apr 20, 2015 5:19 AM, "Shabbir abbasi" > wrote: > >> thanks for reply Giovani >> it is hapening daily >> >> > "maybe a timer at ten minutes? " >> i have not configured any timer >> >> all calls are skype inbound calls, >> time is diffrint between 200 seconds to 1800 seconds >> >> On Mon, Apr 20, 2015 at 3:27 AM, Giovanni Maruzzelli >> wrote: >> >>> skype client closed socket to FreeSWITCH. >>> (maybe a timer at ten minutes? maybe a skypeout call was terminated from >>> a skypeout timer? was little after 600 seconds...) >>> >>> -giovanni >>> >>> On Sun, Apr 19, 2015 at 10:39 PM, Shabbir abbasi < >>> shabbirabbasi92 at gmail.com> wrote: >>> >>>> this call was disconnected dont know why ?? >>>> 2015-04-20 00:27:50.233170 [DEBUG] skypopen_protocol.c:207 >>>> [1.4.6~32bit ] [DEBUG_SKYPE 207 ][skype105 ][UP,INPROGRS] READING: >>>> |||CALL 5005997 DURATION 602||| >>>> skypopen_protocol.c:1082 [1.4.6~32bit ] [DEBUG_SKYPE 1082 >>>> ][skype105 ][UP,INPROGRS] CLOSED >>>> >>>> skypopen_protocol.c:1097 [1.4.6~32bit ] [DEBUG_SKYPE 1097 >>>> ][skype105 ][UP,INPROGRS] Skype incoming audio GONE >>>> [skype105 ][UP,INPROGRS] len=-1, error: Broken pipe >>>> [skype105 ][UP,INC_HNG] Skype outbound audio GONE >>>> [skype105 ][UP,INC_HNG] outbound audio server (I am it) EXITING >>>> >>>> [skype105 ][UP,INC_HNG] incoming audio (read) server (I am it) >>>> EXITING >>>> [DEBUG_SKYPE 207 ][skype105 ][UP,INC_HNG] READING: |||CALL >>>> 5005997 DURATION 603||| >>>> [DEBUG_SKYPE 1441 ][skype105 ][UP,INC_HNG] skype call ended >>>> >>>> any idea ??? >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> >>> -- >>> Sincerely, >>> >>> Giovanni Maruzzelli >>> Cell : +39-347-2665618 >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150420/01df29cb/attachment-0001.html From gmaruzz at gmail.com Mon Apr 20 10:25:04 2015 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Mon, 20 Apr 2015 08:25:04 +0200 Subject: [Freeswitch-users] skypopen call disconnection after some time ? In-Reply-To: References: Message-ID: do you see anything unusual when skype client close the socket? High load on machine? How many skype calls are affected? (eg: 10% or 90% ?) Anything else that can give more info ? On Mon, Apr 20, 2015 at 8:15 AM, Shabbir abbasi wrote: > dell optiplex 755 dual core 2.66ghz 4gb ram > centos 6.6 > uname -a > Linux localhost.localdomain 3.10.40-1.el6.elrepo.i686 #1 SMP Tue May 13 > 13:58:39 EDT 2014 i686 i686 i386 GNU/Linux > FreeSWITCH (Version 1.4.6 32bit) > skype 4.3.0.37 > 6 skype interfaces on display 101 to 106 > all skype inbound calls forwarded to asterisk on 127.0.0.1 and then routed > to destination via chan_dongle(3g modem) > > On Mon, Apr 20, 2015 at 9:39 AM, Giovanni Maruzzelli > wrote: > >> Shabir, >> >> Can you give more info? >> >> Plsease describe your entire installation, what system, architectire, >> machine, how many skypepopen, how many calls, where they go, etc etc >> >> With the little info you gave, the only thing is: skupe client closed tcp >> socket. >> >> -giovanni >> >> sent from my mobile, >> Giovanni Maruzzelli >> cell: +39 347 266 56 18 >> On Apr 20, 2015 5:19 AM, "Shabbir abbasi" >> wrote: >> >>> thanks for reply Giovani >>> it is hapening daily >>> >>> > "maybe a timer at ten minutes? " >>> i have not configured any timer >>> >>> all calls are skype inbound calls, >>> time is diffrint between 200 seconds to 1800 seconds >>> >>> On Mon, Apr 20, 2015 at 3:27 AM, Giovanni Maruzzelli >>> wrote: >>> >>>> skype client closed socket to FreeSWITCH. >>>> (maybe a timer at ten minutes? maybe a skypeout call was terminated >>>> from a skypeout timer? was little after 600 seconds...) >>>> >>>> -giovanni >>>> >>>> On Sun, Apr 19, 2015 at 10:39 PM, Shabbir abbasi < >>>> shabbirabbasi92 at gmail.com> wrote: >>>> >>>>> this call was disconnected dont know why ?? >>>>> 2015-04-20 00:27:50.233170 [DEBUG] skypopen_protocol.c:207 >>>>> [1.4.6~32bit ] [DEBUG_SKYPE 207 ][skype105 ][UP,INPROGRS] READING: >>>>> |||CALL 5005997 DURATION 602||| >>>>> skypopen_protocol.c:1082 [1.4.6~32bit ] [DEBUG_SKYPE 1082 >>>>> ][skype105 ][UP,INPROGRS] CLOSED >>>>> >>>>> skypopen_protocol.c:1097 [1.4.6~32bit ] [DEBUG_SKYPE 1097 >>>>> ][skype105 ][UP,INPROGRS] Skype incoming audio GONE >>>>> [skype105 ][UP,INPROGRS] len=-1, error: Broken pipe >>>>> [skype105 ][UP,INC_HNG] Skype outbound audio GONE >>>>> [skype105 ][UP,INC_HNG] outbound audio server (I am it) EXITING >>>>> >>>>> [skype105 ][UP,INC_HNG] incoming audio (read) server (I am it) >>>>> EXITING >>>>> [DEBUG_SKYPE 207 ][skype105 ][UP,INC_HNG] READING: |||CALL >>>>> 5005997 DURATION 603||| >>>>> [DEBUG_SKYPE 1441 ][skype105 ][UP,INC_HNG] skype call ended >>>>> >>>>> any idea ??? >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>>> >>>> -- >>>> Sincerely, >>>> >>>> Giovanni Maruzzelli >>>> Cell : +39-347-2665618 >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Sincerely, Giovanni Maruzzelli Cell : +39-347-2665618 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150420/694625bb/attachment.html From shabbirabbasi92 at gmail.com Mon Apr 20 10:40:34 2015 From: shabbirabbasi92 at gmail.com (Shabbir abbasi) Date: Mon, 20 Apr 2015 11:40:34 +0500 Subject: [Freeswitch-users] skypopen call disconnection after some time ? In-Reply-To: References: Message-ID: i have not notice this before but i have a perl script to moniter cpu load and log if greater then 5.0 *my $cpuload_limit = "5.0";* $cpuload = `uptime |awk -F 'load average:' ' {print \$2}'| awk -F '[ ]' ' {print \$2}' | awk '{gsub(",", "");print \$1}' `; print "RESULT of uptime: $cpuload\n" ; if ( $cpuload > $cpuload_limit ){ open FILE, "+>>/root/Desktop/alert.log" or die $!; $cpuload_result = ltime() . " CPU LOAD is $cpuload ! \n\n"; print FILE $cpuload_result; close FILE; and now i will try to moniter manually by top command On Mon, Apr 20, 2015 at 11:25 AM, Giovanni Maruzzelli wrote: > do you see anything unusual when skype client close the socket? High load > on machine? > How many skype calls are affected? (eg: 10% or 90% ?) > Anything else that can give more info ? > > On Mon, Apr 20, 2015 at 8:15 AM, Shabbir abbasi > wrote: > >> dell optiplex 755 dual core 2.66ghz 4gb ram >> centos 6.6 >> uname -a >> Linux localhost.localdomain 3.10.40-1.el6.elrepo.i686 #1 SMP Tue May 13 >> 13:58:39 EDT 2014 i686 i686 i386 GNU/Linux >> FreeSWITCH (Version 1.4.6 32bit) >> skype 4.3.0.37 >> 6 skype interfaces on display 101 to 106 >> all skype inbound calls forwarded to asterisk on 127.0.0.1 and then >> routed to destination via chan_dongle(3g modem) >> >> On Mon, Apr 20, 2015 at 9:39 AM, Giovanni Maruzzelli >> wrote: >> >>> Shabir, >>> >>> Can you give more info? >>> >>> Plsease describe your entire installation, what system, architectire, >>> machine, how many skypepopen, how many calls, where they go, etc etc >>> >>> With the little info you gave, the only thing is: skupe client closed >>> tcp socket. >>> >>> -giovanni >>> >>> sent from my mobile, >>> Giovanni Maruzzelli >>> cell: +39 347 266 56 18 >>> On Apr 20, 2015 5:19 AM, "Shabbir abbasi" >>> wrote: >>> >>>> thanks for reply Giovani >>>> it is hapening daily >>>> >>>> > "maybe a timer at ten minutes? " >>>> i have not configured any timer >>>> >>>> all calls are skype inbound calls, >>>> time is diffrint between 200 seconds to 1800 seconds >>>> >>>> On Mon, Apr 20, 2015 at 3:27 AM, Giovanni Maruzzelli >>> > wrote: >>>> >>>>> skype client closed socket to FreeSWITCH. >>>>> (maybe a timer at ten minutes? maybe a skypeout call was terminated >>>>> from a skypeout timer? was little after 600 seconds...) >>>>> >>>>> -giovanni >>>>> >>>>> On Sun, Apr 19, 2015 at 10:39 PM, Shabbir abbasi < >>>>> shabbirabbasi92 at gmail.com> wrote: >>>>> >>>>>> this call was disconnected dont know why ?? >>>>>> 2015-04-20 00:27:50.233170 [DEBUG] skypopen_protocol.c:207 >>>>>> [1.4.6~32bit ] [DEBUG_SKYPE 207 ][skype105 ][UP,INPROGRS] READING: >>>>>> |||CALL 5005997 DURATION 602||| >>>>>> skypopen_protocol.c:1082 [1.4.6~32bit ] [DEBUG_SKYPE 1082 >>>>>> ][skype105 ][UP,INPROGRS] CLOSED >>>>>> >>>>>> skypopen_protocol.c:1097 [1.4.6~32bit ] [DEBUG_SKYPE 1097 >>>>>> ][skype105 ][UP,INPROGRS] Skype incoming audio GONE >>>>>> [skype105 ][UP,INPROGRS] len=-1, error: Broken pipe >>>>>> [skype105 ][UP,INC_HNG] Skype outbound audio GONE >>>>>> [skype105 ][UP,INC_HNG] outbound audio server (I am it) EXITING >>>>>> >>>>>> [skype105 ][UP,INC_HNG] incoming audio (read) server (I am it) >>>>>> EXITING >>>>>> [DEBUG_SKYPE 207 ][skype105 ][UP,INC_HNG] READING: |||CALL >>>>>> 5005997 DURATION 603||| >>>>>> [DEBUG_SKYPE 1441 ][skype105 ][UP,INC_HNG] skype call ended >>>>>> >>>>>> any idea ??? >>>>>> >>>>>> >>>>>> _________________________________________________________________________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at freeswitch.org >>>>>> http://www.freeswitchsolutions.com >>>>>> >>>>>> Official FreeSWITCH Sites >>>>>> http://www.freeswitch.org >>>>>> http://confluence.freeswitch.org >>>>>> http://www.cluecon.com >>>>>> >>>>>> FreeSWITCH-users mailing list >>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE: >>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> Sincerely, >>>>> >>>>> Giovanni Maruzzelli >>>>> Cell : +39-347-2665618 >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > Sincerely, > > Giovanni Maruzzelli > Cell : +39-347-2665618 > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150420/f24d76ad/attachment-0001.html From gmaruzz at gmail.com Mon Apr 20 10:51:38 2015 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Mon, 20 Apr 2015 08:51:38 +0200 Subject: [Freeswitch-users] skypopen call disconnection after some time ? In-Reply-To: References: Message-ID: Skype client is known to close socket if the call quality degrades, eg: poor network from one of the two callers, etc You know, when your skype call is dropped... Maybe one of the parties got some network glitches or other disturbances... There is nothing you can do, except keep sure your side of network and cpu is ok, and hope the other side is ok too. Btw, I would suggest not to go over a load of 2 for the 1 minute average (the first value in uptime) on a two core machine, just to be on safe side On Mon, Apr 20, 2015 at 8:40 AM, Shabbir abbasi wrote: > i have not notice this before but i have a perl script to moniter cpu > load and log if greater then 5.0 > > *my $cpuload_limit = "5.0";* > $cpuload = `uptime |awk -F 'load average:' ' {print \$2}'| awk -F '[ ]' ' > {print \$2}' | awk '{gsub(",", "");print \$1}' `; > print "RESULT of uptime: $cpuload\n" ; > if ( $cpuload > $cpuload_limit ){ > > open FILE, "+>>/root/Desktop/alert.log" or die $!; > $cpuload_result = ltime() . " CPU LOAD is $cpuload ! \n\n"; > print FILE $cpuload_result; > close FILE; > > and now i will try to moniter manually by top command > > On Mon, Apr 20, 2015 at 11:25 AM, Giovanni Maruzzelli > wrote: > >> do you see anything unusual when skype client close the socket? High load >> on machine? >> How many skype calls are affected? (eg: 10% or 90% ?) >> Anything else that can give more info ? >> >> On Mon, Apr 20, 2015 at 8:15 AM, Shabbir abbasi < >> shabbirabbasi92 at gmail.com> wrote: >> >>> dell optiplex 755 dual core 2.66ghz 4gb ram >>> centos 6.6 >>> uname -a >>> Linux localhost.localdomain 3.10.40-1.el6.elrepo.i686 #1 SMP Tue May 13 >>> 13:58:39 EDT 2014 i686 i686 i386 GNU/Linux >>> FreeSWITCH (Version 1.4.6 32bit) >>> skype 4.3.0.37 >>> 6 skype interfaces on display 101 to 106 >>> all skype inbound calls forwarded to asterisk on 127.0.0.1 and then >>> routed to destination via chan_dongle(3g modem) >>> >>> On Mon, Apr 20, 2015 at 9:39 AM, Giovanni Maruzzelli >>> wrote: >>> >>>> Shabir, >>>> >>>> Can you give more info? >>>> >>>> Plsease describe your entire installation, what system, architectire, >>>> machine, how many skypepopen, how many calls, where they go, etc etc >>>> >>>> With the little info you gave, the only thing is: skupe client closed >>>> tcp socket. >>>> >>>> -giovanni >>>> >>>> sent from my mobile, >>>> Giovanni Maruzzelli >>>> cell: +39 347 266 56 18 >>>> On Apr 20, 2015 5:19 AM, "Shabbir abbasi" >>>> wrote: >>>> >>>>> thanks for reply Giovani >>>>> it is hapening daily >>>>> >>>>> > "maybe a timer at ten minutes? " >>>>> i have not configured any timer >>>>> >>>>> all calls are skype inbound calls, >>>>> time is diffrint between 200 seconds to 1800 seconds >>>>> >>>>> On Mon, Apr 20, 2015 at 3:27 AM, Giovanni Maruzzelli < >>>>> gmaruzz at gmail.com> wrote: >>>>> >>>>>> skype client closed socket to FreeSWITCH. >>>>>> (maybe a timer at ten minutes? maybe a skypeout call was terminated >>>>>> from a skypeout timer? was little after 600 seconds...) >>>>>> >>>>>> -giovanni >>>>>> >>>>>> On Sun, Apr 19, 2015 at 10:39 PM, Shabbir abbasi < >>>>>> shabbirabbasi92 at gmail.com> wrote: >>>>>> >>>>>>> this call was disconnected dont know why ?? >>>>>>> 2015-04-20 00:27:50.233170 [DEBUG] skypopen_protocol.c:207 >>>>>>> [1.4.6~32bit ] [DEBUG_SKYPE 207 ][skype105 ][UP,INPROGRS] READING: >>>>>>> |||CALL 5005997 DURATION 602||| >>>>>>> skypopen_protocol.c:1082 [1.4.6~32bit ] [DEBUG_SKYPE 1082 >>>>>>> ][skype105 ][UP,INPROGRS] CLOSED >>>>>>> >>>>>>> skypopen_protocol.c:1097 [1.4.6~32bit ] [DEBUG_SKYPE 1097 >>>>>>> ][skype105 ][UP,INPROGRS] Skype incoming audio GONE >>>>>>> [skype105 ][UP,INPROGRS] len=-1, error: Broken pipe >>>>>>> [skype105 ][UP,INC_HNG] Skype outbound audio GONE >>>>>>> [skype105 ][UP,INC_HNG] outbound audio server (I am it) EXITING >>>>>>> >>>>>>> [skype105 ][UP,INC_HNG] incoming audio (read) server (I am it) >>>>>>> EXITING >>>>>>> [DEBUG_SKYPE 207 ][skype105 ][UP,INC_HNG] READING: |||CALL >>>>>>> 5005997 DURATION 603||| >>>>>>> [DEBUG_SKYPE 1441 ][skype105 ][UP,INC_HNG] skype call ended >>>>>>> >>>>>>> any idea ??? >>>>>>> >>>>>>> >>>>>>> _________________________________________________________________________ >>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>> consulting at freeswitch.org >>>>>>> http://www.freeswitchsolutions.com >>>>>>> >>>>>>> Official FreeSWITCH Sites >>>>>>> http://www.freeswitch.org >>>>>>> http://confluence.freeswitch.org >>>>>>> http://www.cluecon.com >>>>>>> >>>>>>> FreeSWITCH-users mailing list >>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> UNSUBSCRIBE: >>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>> http://www.freeswitch.org >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Sincerely, >>>>>> >>>>>> Giovanni Maruzzelli >>>>>> Cell : +39-347-2665618 >>>>>> >>>>>> >>>>>> _________________________________________________________________________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at freeswitch.org >>>>>> http://www.freeswitchsolutions.com >>>>>> >>>>>> Official FreeSWITCH Sites >>>>>> http://www.freeswitch.org >>>>>> http://confluence.freeswitch.org >>>>>> http://www.cluecon.com >>>>>> >>>>>> FreeSWITCH-users mailing list >>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE: >>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>> >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> >> -- >> Sincerely, >> >> Giovanni Maruzzelli >> Cell : +39-347-2665618 >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Sincerely, Giovanni Maruzzelli Cell : +39-347-2665618 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150420/15c37f34/attachment.html From nandy1925 at gmail.com Mon Apr 20 10:55:27 2015 From: nandy1925 at gmail.com (Nandy Dagondon) Date: Mon, 20 Apr 2015 14:55:27 +0800 Subject: [Freeswitch-users] How to receive call using gsmopen In-Reply-To: References: Message-ID: On gsmopen.conf.xml file, add this line between and : On your dialplan add e.g. public/incoming-gsm-call.xml containing these lines to ring extension 1000 Good luck! On Sun, Apr 19, 2015 at 7:27 PM, Anurag Rana wrote: > Hi All, > > I have micromax usb dongle with a gsm sim in it attached to my system. > mod_gsmopen has been compiled and has been loaded. Freeswitch is running. > > *This is the output of lsusb command -* > ---------------------------------------------------------- > Bus 002 Device 003: ID 064e:e263 Suyin Corp. > Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub > Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub > Bus 001 Device 006: ID 1c9e:9605 OMEGA TECHNOLOGY > Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub > Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub > Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub > Bus 003 Device 011: ID 15d9:0a4e Trust International B.V. > Bus 003 Device 010: ID 1a2c:0c21 China Resource Semico Co., Ltd > Bus 003 Device 009: ID 1a40:0101 Terminus Technology Inc. 4-Port HUB > Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub > > --------------------------------------------------------------------------------------- > > *This is the output of dmesg | grep tty command* > ---------------------------------------------------------------------- > [ 8114.018211] usb 1-1.2: GSM modem (1-port) converter now attached to > ttyUSB0 > [ 8114.018840] usb 1-1.2: GSM modem (1-port) converter now attached to > ttyUSB1 > [ 8114.019458] usb 1-1.2: GSM modem (1-port) converter now attached to > ttyUSB2 > [ 8114.019961] usb 1-1.2: GSM modem (1-port) converter now attached to > ttyUSB3 > --------------------------------------------------------------------- > > *?This is the content of gsmopen.conf.xml file*? > > ?*-----*------------------------------------------------------------ > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------ > > > I searched internet for "how to receive a call using FS" or "How to make > an inbound call using gsmopen"? > ? but could not find detailed stepwise explanation. > > > Can someone please tell me what I need to do next so that when I call the > sim number in dongle, call is received by FS and actions are performed > based on dialplan. > > OR > > direct me to some link which explains this. (apart from this > https://freeswitch.org/confluence/display/FREESWITCH/mod_gsmopen)? > > > ?Thanks? > > > Anurag Rana > M.Tech CSE, IIIT-Delhi, > https://sites.google.com/site/homepagerana/ > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150420/5cdb9e0c/attachment-0001.html From nandy1925 at gmail.com Mon Apr 20 10:58:44 2015 From: nandy1925 at gmail.com (Nandy Dagondon) Date: Mon, 20 Apr 2015 14:58:44 +0800 Subject: [Freeswitch-users] How to receive call using gsmopen In-Reply-To: References: Message-ID: In the absence of , I think the destination number will be the mobile number of the SIM installed on the USB dongle. Can anyone confirm this? On Mon, Apr 20, 2015 at 2:55 PM, Nandy Dagondon wrote: > > > On gsmopen.conf.xml file, add this line between and > : > > > > > On your dialplan add e.g. public/incoming-gsm-call.xml containing these > lines to ring extension 1000 > > > > > > > > > Good luck! > > > On Sun, Apr 19, 2015 at 7:27 PM, Anurag Rana > wrote: > >> Hi All, >> >> I have micromax usb dongle with a gsm sim in it attached to my system. >> mod_gsmopen has been compiled and has been loaded. Freeswitch is running. >> >> *This is the output of lsusb command -* >> ---------------------------------------------------------- >> Bus 002 Device 003: ID 064e:e263 Suyin Corp. >> Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub >> Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub >> Bus 001 Device 006: ID 1c9e:9605 OMEGA TECHNOLOGY >> Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub >> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub >> Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub >> Bus 003 Device 011: ID 15d9:0a4e Trust International B.V. >> Bus 003 Device 010: ID 1a2c:0c21 China Resource Semico Co., Ltd >> Bus 003 Device 009: ID 1a40:0101 Terminus Technology Inc. 4-Port HUB >> Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub >> >> --------------------------------------------------------------------------------------- >> >> *This is the output of dmesg | grep tty command* >> ---------------------------------------------------------------------- >> [ 8114.018211] usb 1-1.2: GSM modem (1-port) converter now attached to >> ttyUSB0 >> [ 8114.018840] usb 1-1.2: GSM modem (1-port) converter now attached to >> ttyUSB1 >> [ 8114.019458] usb 1-1.2: GSM modem (1-port) converter now attached to >> ttyUSB2 >> [ 8114.019961] usb 1-1.2: GSM modem (1-port) converter now attached to >> ttyUSB3 >> --------------------------------------------------------------------- >> >> *?This is the content of gsmopen.conf.xml file*? >> >> ?*-----*------------------------------------------------------------ >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> ------------------------------------------------------------------------ >> >> >> I searched internet for "how to receive a call using FS" or "How to make >> an inbound call using gsmopen"? >> ? but could not find detailed stepwise explanation. >> >> >> Can someone please tell me what I need to do next so that when I call the >> sim number in dongle, call is received by FS and actions are performed >> based on dialplan. >> >> OR >> >> direct me to some link which explains this. (apart from this >> https://freeswitch.org/confluence/display/FREESWITCH/mod_gsmopen)? >> >> >> ?Thanks? >> >> >> Anurag Rana >> M.Tech CSE, IIIT-Delhi, >> https://sites.google.com/site/homepagerana/ >> >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150420/2d725632/attachment.html From gmaruzz at gmail.com Mon Apr 20 11:10:31 2015 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Mon, 20 Apr 2015 09:10:31 +0200 Subject: [Freeswitch-users] How to receive call using gsmopen In-Reply-To: References: Message-ID: you must set the destination, in global or interface specific section. If not set, there will be an error. -giovanni On Mon, Apr 20, 2015 at 8:58 AM, Nandy Dagondon wrote: > > In the absence of , I > think the destination number will be the mobile number of the SIM installed > on the USB dongle. Can anyone confirm this? > > On Mon, Apr 20, 2015 at 2:55 PM, Nandy Dagondon > wrote: > >> >> >> On gsmopen.conf.xml file, add this line between and >> : >> >> >> >> >> On your dialplan add e.g. public/incoming-gsm-call.xml containing these >> lines to ring extension 1000 >> >> >> >> >> >> >> >> >> Good luck! >> >> >> On Sun, Apr 19, 2015 at 7:27 PM, Anurag Rana >> wrote: >> >>> Hi All, >>> >>> I have micromax usb dongle with a gsm sim in it attached to my system. >>> mod_gsmopen has been compiled and has been loaded. Freeswitch is running. >>> >>> *This is the output of lsusb command -* >>> ---------------------------------------------------------- >>> Bus 002 Device 003: ID 064e:e263 Suyin Corp. >>> Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub >>> Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub >>> Bus 001 Device 006: ID 1c9e:9605 OMEGA TECHNOLOGY >>> Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub >>> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub >>> Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub >>> Bus 003 Device 011: ID 15d9:0a4e Trust International B.V. >>> Bus 003 Device 010: ID 1a2c:0c21 China Resource Semico Co., Ltd >>> Bus 003 Device 009: ID 1a40:0101 Terminus Technology Inc. 4-Port HUB >>> Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub >>> >>> --------------------------------------------------------------------------------------- >>> >>> *This is the output of dmesg | grep tty command* >>> ---------------------------------------------------------------------- >>> [ 8114.018211] usb 1-1.2: GSM modem (1-port) converter now attached to >>> ttyUSB0 >>> [ 8114.018840] usb 1-1.2: GSM modem (1-port) converter now attached to >>> ttyUSB1 >>> [ 8114.019458] usb 1-1.2: GSM modem (1-port) converter now attached to >>> ttyUSB2 >>> [ 8114.019961] usb 1-1.2: GSM modem (1-port) converter now attached to >>> ttyUSB3 >>> --------------------------------------------------------------------- >>> >>> *?This is the content of gsmopen.conf.xml file*? >>> >>> ?*-----*------------------------------------------------------------ >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> ------------------------------------------------------------------------ >>> >>> >>> I searched internet for "how to receive a call using FS" or "How to make >>> an inbound call using gsmopen"? >>> ? but could not find detailed stepwise explanation. >>> >>> >>> Can someone please tell me what I need to do next so that when I call >>> the sim number in dongle, call is received by FS and actions are performed >>> based on dialplan. >>> >>> OR >>> >>> direct me to some link which explains this. (apart from this >>> https://freeswitch.org/confluence/display/FREESWITCH/mod_gsmopen)? >>> >>> >>> ?Thanks? >>> >>> >>> Anurag Rana >>> M.Tech CSE, IIIT-Delhi, >>> https://sites.google.com/site/homepagerana/ >>> >>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Sincerely, Giovanni Maruzzelli Cell : +39-347-2665618 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150420/5c523631/attachment-0001.html From denis at ringme.ru Mon Apr 20 12:54:00 2015 From: denis at ringme.ru (=?UTF-8?B?0JTQtdC90LjRgQ==?=) Date: Mon, 20 Apr 2015 11:54:00 +0300 Subject: [Freeswitch-users] How to reset "read_terminator_used" to None In-Reply-To: References: Message-ID: <5534BEA8.9010808@ringme.ru> unset? set=""? On 19.04.2015 22:51, Aqs Younas wrote: > Hi, Users. > > I am playing different ivr for different dtmf with read command in my > python script. > Like. > > for * play previous file. > for # play next file > for any other digit play main massage. > for no digit continue in script. > > I see read_terminator_used variable always set if it is previously > used. This is making difficult for me to find out have user pressed > the terminator(#,*) and entered nothing. > > Is there any way to reset this variable? > > Thanks. > > > > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150420/565166cc/attachment.html From denis at ringme.ru Mon Apr 20 13:00:38 2015 From: denis at ringme.ru (=?UTF-8?B?0JTQtdC90LjRgQ==?=) Date: Mon, 20 Apr 2015 12:00:38 +0300 Subject: [Freeswitch-users] skypopen call disconnection after some time ? In-Reply-To: References: Message-ID: <5534C036.4080106@ringme.ru> uptime | sed -e 's#^\(.*\) average: \(.*\), \(.*\), \(.*\)$#\2#' much simpler On 20.04.2015 09:40, Shabbir abbasi wrote: > $cpuload = `uptime |awk -F 'load average:' ' {print \$2}'| awk -F '[ > ]' ' {print \$2}' | awk '{gsub(",", "");print \$1}' `; From denis at ringme.ru Mon Apr 20 13:05:54 2015 From: denis at ringme.ru (=?UTF-8?B?0JTQtdC90LjRgQ==?=) Date: Mon, 20 Apr 2015 12:05:54 +0300 Subject: [Freeswitch-users] skypopen call disconnection after some time ? In-Reply-To: References: Message-ID: <5534C172.1060002@ringme.ru> or more simple cat /proc/loadavg |awk '{print $1}' On 20.04.2015 09:40, Shabbir abbasi wrote: > $cpuload = `uptime |awk -F 'load average:' ' {print \$2}'| awk -F '[ > ]' ' {print \$2}' | awk '{gsub(",", "");print \$1}' `; From jack at yosin.com.tw Mon Apr 20 13:21:43 2015 From: jack at yosin.com.tw (jack) Date: Mon, 20 Apr 2015 17:21:43 +0800 Subject: [Freeswitch-users] send_dtmf of Hook Flash didn't work at all. [ With Analog Card Diguim TDM-410P ] Message-ID: <275A0EB2BF984F50B38B0BF4FA386218@pca022> To whom it may concern, Hi, there! I got a question about send_dtmf APP. Detail config files and platform infos note as below. =============================================== OS : Ubuntu 13.10 ( Linux kernel 3.11.0 ) Add-on Telephony Card : Diguim TDM-410P with driver wctdm24xx FreeSWITCH version: 1.4.18~32 bits =============================================== Configuration Files: Here's my freetdm.conf: [span zt myFXS] number => 4001 fxs-channel => 1 number => 4002 fxs-channel => 2 [span zt myFXO] number => 382 fxo-channel => 3 number =>383 fxs-channel =>4 Here's my freetdm.conf.xml: And here's my very simple dialplan in test.xml: ======================================================================== ISSUE: When I use my analog phone and dial 4001, the send_dtmf APP works just fine except the "F"(Hook Flash) part. I heard all DTMF tones from analog phone speaker but got a Flash Failed showed in the CLI and I paste it as follow. 2015-04-20 10:03:05.730643 [DEBUG] ftdm_io.c:3991 [s1c1][1:1] Generating DTMF [0123456789ABCDF*#] 2015-04-20 10:03:05.730643 [ERR] ftmod_zt.c:773 [s1c1][1:1] FLASH Failed Is there any detailed explanation about this phenomenon? I searched mailing list and got nothing like this. Thanks in advance! Kind Regard, Jack Huang -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150420/348260a2/attachment.html From gfs at etherway.ru Mon Apr 20 14:31:02 2015 From: gfs at etherway.ru (=?UTF-8?B?0JPRg9GB0YLQsNCy0L4g0KHQuNC70LLQsA==?=) Date: Mon, 20 Apr 2015 13:31:02 +0300 Subject: [Freeswitch-users] auth_app fields from the xml_radius config module Message-ID: <5534D566.1040209@etherway.ru> How can I configure the fields in part in the mod_xml_radius.config.xml file? I have set like this: I got this log in my radius server: Mon Apr 20 13:15:13 2015 : Auth: Login OK: [1008/] (from client localhost port 0 cli 1008) Mon Apr 20 13:15:13 2015 : Info: rlm_radutmp: Login entry for NAS localhost port 0 duplicate Mon Apr 20 13:15:13 2015 : Auth: Login incorrect: [1008/] (from client localhost port 0 cli 1008) My goal is to authenticate a call. Regards, Gustavo From mbodbg at gmx.net Mon Apr 20 16:44:53 2015 From: mbodbg at gmx.net (mbo) Date: Mon, 20 Apr 2015 14:44:53 +0200 Subject: [Freeswitch-users] RTP packet loss on outgoing streams In-Reply-To: References: <00101E12-5AFF-4208-80D7-CE3A73BF7596@gmx.net> Message-ID: I did some more test and when I use the -B 32768 option with tcpdump I can trace up to 150 calls without packets dropped by the kernel. Finally that means as soon as you have more than 15 parallel calls on the server it?s very important to set this parameter to not get wrong results. Many thanks for your support Markus Am 17.04.2015 um 23:13 schrieb Stanislav Sinyagin : > it's not dropped packets, it's the packets that didn't make it to tshark's buffer, because it was too slow and the buffer was too short. > > On Fri, Apr 17, 2015 at 10:49 PM, Brian West wrote: > What i'm getting at is you should never have dropped packets on the host itself like that, If you do then you probably have WinNic's aka RealTek garbage. > > On Fri, Apr 17, 2015 at 3:47 PM, Stanislav Sinyagin wrote: > you can try playing with the buffer size (-B option), but in general, > tshark is quite CPU-intensive when it tries to analyze the UDP packet > stream in real time. Also I'm not sure if it's multithreaded -- I > guess it's not, so it tries to analyze all the streams in a single > thread in real time. > > I made this set of scripts to run on a low-power CPU (Atom and such): > https://github.com/voxserv/voip_qos_probe > What I do is run tcpdump during the call, store the capture, and then > analyze the output with tshark in low priority. > > Also I noticed that on a Xen VM on an Intel CoreDuo CPU, you need to > increase the tcpdump's buffer size with -B option. With default > settings, sometimes it's not even able to capture a single SIP session > without dropping packets. > > > > > On Fri, Apr 17, 2015 at 5:01 PM, mbo wrote: > > Hello, > > > > we need to monitor the voice quality on our server. To test this, we setup a > > test environment with 2 freeswitches, originating calls from freeswitch 1 > > and then answer them on freeswitch 2 and play an announcement. To analyze > > the traffic, we us tshark with the following command: > > > > tshark -q -f 'udp' -o rtp.heuristic_rtp:TRUE -z rtp,strems -w test-pcap > > > > The result is, that we see packet loss around 20% on outgoing RTP streams, > > when we have more then 20 calls. The load average shown with the top command > > is always < 0.3 with a 4 core CPU and CPU load is less then 10%. > > > > ========================= RTP Streams ======================== > > Src IP addr Port Dest IP addr Port SSRC Payload > > Pkts Lost Max Delta(ms) Max Jitter(ms) Mean Jitter(ms) Problems? > > 192.168.1.134 27590 192.168.1.135 22576 0xCD7A189D ITU-T G.722 > > 800 2 (0.2%) 59.93 0.11 0.05 X > > 192.168.1.135 22576 192.168.1.134 27590 0x5D4E50CD ITU-T G.722 > > 599 202 (25.2%) 160.24 0.16 0.05 X > > 192.168.1.134 28172 192.168.1.135 29704 0xD53EC9AD ITU-T G.722 > > 798 2 (0.2%) 59.99 0.07 0.04 X > > 192.168.1.135 29704 192.168.1.134 28172 0x5D50942D ITU-T G.722 > > 713 86 (10.8%) 199.98 0.08 0.04 X > > 192.168.1.135 25794 192.168.1.134 16460 0x5D51E43D ITU-T G.722 > > 633 165 (20.7%) 180.25 0.75 0.07 X > > > > Instead of tshark, we also tried to capture SIP & RTP with tcpdump with the > > following command: > > > > tcpdump -i any -T rtp -vvvvv -s 0 -w test.pcap > > > > If we analyze this file with wireshark (TELEPHONY->RTP->Show all Streams), > > it shows almost always 0% for packet loss. Only if we increase the load to > > 50 calls we can see a similar scenario where inbound calls still have < 1% > > packet loss but outgoing RTP streams have up to 20 % packet loss. We also > > repeated the same test with freeswitch 1.4.15 with much more powerful > > hardware with almost the same results. > > > > The question is what do we see here. Does tshark show us wrong result? Can > > we more trust on the results captured with tcpdump or is there finally an > > issue in freeswitch when sending outgoing packets? Or is the method to > > capture on the server in general the wrong approach? > > > > Thanks for any comments and hints > > > > Markus > > > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > -- > Brian West > brian at freeswitch.org > > > > Twitter: @FreeSWITCH , @briankwest > http://www.freeswitchbook.com > http://www.freeswitchcookbook.com > > ClueCon 2015 Call for Speakers | Register TODAY! | Reddit: /r/freeswitch > > T:+19184209001 | F:+19184209002 | M:+1918424WEST (9378) > iNUM:+883 5100 1420 9001 | ISN:410*543 | Skype:briankwest > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150420/6118d36f/attachment.html From boros at vmtele.com Mon Apr 20 17:42:48 2015 From: boros at vmtele.com (=?UTF-8?B?VG9tw6HFoSBCb3Jvcw==?=) Date: Mon, 20 Apr 2015 15:42:48 +0200 Subject: [Freeswitch-users] P-asserted-identity in Responses Message-ID: <55350258.90300@vmtele.com> Hi, Is it possible to to enable P-Asserted-Identity in the 18x/200 Responses? I need to copy info from P-asserted identity from Leg-B back to Leg-A. So its like: Invite comes to my freeswitch and the call is bridged to Leg-B. Leg-B answers the call and places a P-Asserted-Identity header into the 200 OK response 200 OK response on the Leg-A should containt P-Asserted-Identity of Leg-B (callee). Thank you, -- Tom?? Boros -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150420/53b18922/attachment.html From shabbirabbasi92 at gmail.com Mon Apr 20 21:50:23 2015 From: shabbirabbasi92 at gmail.com (Shabbir abbasi) Date: Mon, 20 Apr 2015 22:50:23 +0500 Subject: [Freeswitch-users] skypopen call disconnection after some time ? In-Reply-To: <5534C172.1060002@ringme.ru> References: <5534C172.1060002@ringme.ru> Message-ID: thank u danis for tip "cat /proc/loadavg |awk '{print $1}' " tip is working great thank you very much giovani now i will work on your sugestions to make better On Mon, Apr 20, 2015 at 2:05 PM, ????? wrote: > or more simple > cat /proc/loadavg |awk '{print $1}' > > On 20.04.2015 09:40, Shabbir abbasi wrote: > > $cpuload = `uptime |awk -F 'load average:' ' {print \$2}'| awk -F '[ > > ]' ' {print \$2}' | awk '{gsub(",", "");print \$1}' `; > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150420/698b1f68/attachment-0001.html From alipey at gmail.com Mon Apr 20 21:53:21 2015 From: alipey at gmail.com (Ali Pey) Date: Mon, 20 Apr 2015 13:53:21 -0400 Subject: [Freeswitch-users] Dynamic local_stream? In-Reply-To: References: Message-ID: The problem with hold music is that it would restart the file/music if there are more bridge calls. I'm looking for a way that the music would not get restarted. Thanks. On Thu, Apr 16, 2015 at 7:01 PM, Stanislav Sinyagin wrote: > You can just playback those files or set them as ringback tone or hold > music. Local stream is optimizing the playback so that the source file is > read only once, and it restarts from the position it stopped last time. If > it's not needed or not critical, you can just playback individual files > instead. > On Apr 16, 2015 6:24 PM, "Ali Pey" wrote: > >> Hello, >> >> Is it possible to dynamically set different local_stream files for >> different users/bridges? >> >> For instance I need a different custom MOH for call1 than call2 and they >> dynamically change as users can upload their own custom moh and I can't >> change the local_stream.conf.xml config file. >> >> Thanks, >> Ali Pey >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150420/59eeeabc/attachment.html From victor.chukalovskiy at gmail.com Mon Apr 20 22:10:31 2015 From: victor.chukalovskiy at gmail.com (Victor Chukalovskiy) Date: Mon, 20 Apr 2015 14:10:31 -0400 Subject: [Freeswitch-users] What's wrong with Fax ECM and T.38? Message-ID: <55354117.3020602@gmail.com> Good day, My appologies as this is not specific to FS per say. I'm looking if someone has feedback on a broader topic. I noticed that when T.30 DIS / DCS signals between fax machines negotiate error correction mode (ECM) it often causes issues to various T.38 implementations. I also noticed that certain soft-switches or media gateway would intercept DIS signal and overwrite ECM bit to "false". Thus making far-end fax machine believe call should proceed as non-ECM. In FS there is a channel variable for it. Some Cisco, Metaswitch gear do that as well. Would someone know what is it about ECM Fax mode that makes it less "t.38 friendly"? What forces vendors to implement tricks to prevent Fax machines from negotiating ECM? Many thanks, -Victor From anuragrana31189 at gmail.com Mon Apr 20 23:12:11 2015 From: anuragrana31189 at gmail.com (Anurag Rana) Date: Tue, 21 Apr 2015 00:42:11 +0530 Subject: [Freeswitch-users] How to receive call using gsmopen In-Reply-To: References: Message-ID: I tried but didn't worked. I edited the files as said above. Registered a Softphone with 1000 as user so that call can be received and dialled the sim number in dongle. Nothing happened. Do I need to do something like "Unlocking voice capability" as given in below link https://wiki.freeswitch.org/wiki/GSMopen#UNLOCK_THE_DONGLE.21.21.21 I am using this device - http://www.amazon.in/Micromax-MMX210G-Data-Card-White/dp/B00MF91LZ2/ref=sr_1_2?ie=UTF8&qid=1429556927&sr=8-2&keywords=micromax+dongle Anybody using this or similar device? Anurag Rana M.Tech CSE, IIIT-Delhi, https://sites.google.com/site/homepagerana/ On Mon, Apr 20, 2015 at 12:40 PM, Giovanni Maruzzelli wrote: > you must set the destination, in global or interface specific section. > If not set, there will be an error. > > -giovanni > > On Mon, Apr 20, 2015 at 8:58 AM, Nandy Dagondon > wrote: > >> >> In the absence of , >> I think the destination number will be the mobile number of the SIM >> installed on the USB dongle. Can anyone confirm this? >> >> On Mon, Apr 20, 2015 at 2:55 PM, Nandy Dagondon >> wrote: >> >>> >>> >>> On gsmopen.conf.xml file, add this line between and >>> : >>> >>> >>> >>> >>> On your dialplan add e.g. public/incoming-gsm-call.xml containing these >>> lines to ring extension 1000 >>> >>> >>> >>> >>> >>> >>> >>> >>> Good luck! >>> >>> >>> On Sun, Apr 19, 2015 at 7:27 PM, Anurag Rana >>> wrote: >>> >>>> Hi All, >>>> >>>> I have micromax usb dongle with a gsm sim in it attached to my system. >>>> mod_gsmopen has been compiled and has been loaded. Freeswitch is >>>> running. >>>> >>>> *This is the output of lsusb command -* >>>> ---------------------------------------------------------- >>>> Bus 002 Device 003: ID 064e:e263 Suyin Corp. >>>> Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching >>>> Hub >>>> Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub >>>> Bus 001 Device 006: ID 1c9e:9605 OMEGA TECHNOLOGY >>>> Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching >>>> Hub >>>> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub >>>> Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub >>>> Bus 003 Device 011: ID 15d9:0a4e Trust International B.V. >>>> Bus 003 Device 010: ID 1a2c:0c21 China Resource Semico Co., Ltd >>>> Bus 003 Device 009: ID 1a40:0101 Terminus Technology Inc. 4-Port HUB >>>> Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub >>>> >>>> --------------------------------------------------------------------------------------- >>>> >>>> *This is the output of dmesg | grep tty command* >>>> ---------------------------------------------------------------------- >>>> [ 8114.018211] usb 1-1.2: GSM modem (1-port) converter now attached to >>>> ttyUSB0 >>>> [ 8114.018840] usb 1-1.2: GSM modem (1-port) converter now attached to >>>> ttyUSB1 >>>> [ 8114.019458] usb 1-1.2: GSM modem (1-port) converter now attached to >>>> ttyUSB2 >>>> [ 8114.019961] usb 1-1.2: GSM modem (1-port) converter now attached to >>>> ttyUSB3 >>>> --------------------------------------------------------------------- >>>> >>>> *?This is the content of gsmopen.conf.xml file*? >>>> >>>> ?*-----*------------------------------------------------------------ >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> ------------------------------------------------------------------------ >>>> >>>> >>>> I searched internet for "how to receive a call using FS" or "How to >>>> make an inbound call using gsmopen"? >>>> ? but could not find detailed stepwise explanation. >>>> >>>> >>>> Can someone please tell me what I need to do next so that when I call >>>> the sim number in dongle, call is received by FS and actions are performed >>>> based on dialplan. >>>> >>>> OR >>>> >>>> direct me to some link which explains this. (apart from this >>>> https://freeswitch.org/confluence/display/FREESWITCH/mod_gsmopen)? >>>> >>>> >>>> ?Thanks? >>>> >>>> >>>> Anurag Rana >>>> M.Tech CSE, IIIT-Delhi, >>>> https://sites.google.com/site/homepagerana/ >>>> >>>> >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > Sincerely, > > Giovanni Maruzzelli > Cell : +39-347-2665618 > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150421/0b16ad92/attachment-0001.html From krice at freeswitch.org Mon Apr 20 23:39:22 2015 From: krice at freeswitch.org (Ken Rice) Date: Mon, 20 Apr 2015 19:39:22 +0000 Subject: [Freeswitch-users] FreeSWITCH Week in Review (Master Branch) April 11th-17th Message-ID: <553555ea16a03_a2a9345328678a@resque-worker-high.0.mail> New Post on freeswitch.org from Kathleen check it out at http://ift.tt/1JnvNj3 FreeSWITCH Week in Review (Master Branch) April 11th-17th Hello, again. This passed week in the FreeSWITCH master branch we had 14 commits. Join us on Wednesdays at 12:00 CT for some more FreeSWITCH fun! And head over to freeswitch.com to learn more about FreeSWITCH support. Improvements in build system, cross platform support, and packaging: FS-7060 Added amqp.conf.xml to freeswitch.spec to fix packaging FS-7428 Freeswitch.spec needs to copy mongo driver tarball to libs so that packaging doesn?t fetch from files.freeswitch.org for every build. The following bugs were squashed: FS-7407 Fixed a sip presence issue where the sip proxy changes the transport between the phone and freeswitch and then freeswitch replies back to the proxy over the wrong transport FS-7431 Fixed the parsing of silence streams to be less forgiving of syntax errors FS-7434 Reset jitter buffer when SSRC changes FS-7440 Fix bug in SDP parser, when video a= lines are above the audio a= lines, that could lead to a crash -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150420/9589a3f5/attachment.html From msc at freeswitch.org Tue Apr 21 00:48:52 2015 From: msc at freeswitch.org (Michael Collins) Date: Mon, 20 Apr 2015 13:48:52 -0700 Subject: [Freeswitch-users] loglevel per caller_id In-Reply-To: References: Message-ID: Hi Sergey, In case you didn't already get this working, I think Brian was suggesting that you edit autoload_configs/logfile.conf.xml and enable this line: Once you do that then the uuid for each call's log line will be the first thing printed on the line. Makes it much easier to pull out just the log lines associated with a specific call leg. -MC On Fri, Apr 17, 2015 at 12:48 PM, Sergey Safarov wrote: > Than you Brian West for respond > Currently I use this solution, but allow get partial log. I use: > 1) grep log to locate UUID like "grep -P "Processing.*" > freeswitch.log| more" > 2) grep for partial log of required call UIID like "grep > freeswitch.log | more" > > But filtered by UUD log is not containing strings like > 2015-04-17 18:30:40.086343 [INFO] mod_translate.c:343 +74991325866 > tel2accountcode > 2015-04-17 18:30:40.086343 [DEBUG] mod_translate.c:128 translating > [+74991325866] against [tel2accountcode] profile > 2015-04-17 18:30:40.086343 [DEBUG] mod_translate.c:137 +74991325866 =~ /\ > +74952312534/ > 2015-04-17 18:30:40.086343 [DEBUG] mod_translate.c:137 +74991325866 =~ /\ > +74952312535/ > 2015-04-17 18:30:40.086343 [DEBUG] mod_translate.c:137 +74991325866 =~ > /^.*$/ > 2015-04-17 18:30:40.086343 [NOTICE] mod_translate.c:362 Translated: _undef_ > > May be update mod_translate? > > > > > On Fri, Apr 17, 2015 at 7:42 PM, Brian West wrote: > >> use UUID as call-id, log uuid, grep out logs for calls. >> >> >> On Fri, Apr 17, 2015 at 11:20 AM, Sergey Safarov >> wrote: >> >>> Whether there is a possibility of default logging level to expose >>> NOTICE, and definitely calls from one caller_id set to debug? >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> >> -- >> >> *Brian West* >> brian at freeswitch.org >> >> >> *Twitter: @FreeSWITCH , @briankwest* >> http://www.freeswitchbook.com >> http://www.freeswitchcookbook.com >> >> ClueCon 2015 Call for Speakers >> | Register >> TODAY! | Reddit: /r/freeswitch >> >> >> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) >> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150420/fbf40489/attachment.html From msc at freeswitch.org Tue Apr 21 00:57:51 2015 From: msc at freeswitch.org (Michael Collins) Date: Mon, 20 Apr 2015 13:57:51 -0700 Subject: [Freeswitch-users] mod_conference CDR format In-Reply-To: References: Message-ID: Looking in mod_conference.c I'd say that the CDRs are explicitly created in XML format. If you truly need CSV then your lowest barrier to entry is almost certain to be a simple converter script to go from XML to CSV. -MC On Sun, Apr 19, 2015 at 10:58 PM, Free Switcher wrote: > Hello FreeSwitchers, > Does anyone know if it is possible to specify CDR format for > conferences? mod_conference outputs XML CDRs by default and I'd like > it in CSV format. I can't seem to find any way to specify format > anywhere. > > Thanks for any tips. > Regards, > Andy > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150420/d5e552ab/attachment.html From msc at freeswitch.org Tue Apr 21 01:09:28 2015 From: msc at freeswitch.org (Michael Collins) Date: Mon, 20 Apr 2015 14:09:28 -0700 Subject: [Freeswitch-users] Dynamic local_stream? In-Reply-To: References: Message-ID: It appears that there's nothing dynamic baked into mod_local_stream that would allow you to create a new stream from an API call. So it appears your two choices are: modify local_stream.conf.xml or use mod_xml_curl to serve up a dynamic configuration for local_stream. -MC On Mon, Apr 20, 2015 at 10:53 AM, Ali Pey wrote: > The problem with hold music is that it would restart the file/music if > there are more bridge calls. I'm looking for a way that the music would not > get restarted. > > Thanks. > > > On Thu, Apr 16, 2015 at 7:01 PM, Stanislav Sinyagin > wrote: > >> You can just playback those files or set them as ringback tone or hold >> music. Local stream is optimizing the playback so that the source file is >> read only once, and it restarts from the position it stopped last time. If >> it's not needed or not critical, you can just playback individual files >> instead. >> On Apr 16, 2015 6:24 PM, "Ali Pey" wrote: >> >>> Hello, >>> >>> Is it possible to dynamically set different local_stream files for >>> different users/bridges? >>> >>> For instance I need a different custom MOH for call1 than call2 and they >>> dynamically change as users can upload their own custom moh and I can't >>> change the local_stream.conf.xml config file. >>> >>> Thanks, >>> Ali Pey >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150420/e350c818/attachment-0001.html From andrew.keil at visytel.com Tue Apr 21 05:38:51 2015 From: andrew.keil at visytel.com (Andrew Keil) Date: Tue, 21 Apr 2015 01:38:51 +0000 Subject: [Freeswitch-users] Current production release 1.4.15 or 1.4.18? Message-ID: To FreeSWITCH Users, Simple question. Is the current FreeSWITCH release to use in production 1.4.15 or 1.4.18? I noticed that 1.4.18 was just released on March 26th 2015, however the main FreeSWITCH.org webpage still shows Release: 1.4.15. Kind Regards, Andrew Keil Visytel Pty Ltd -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150421/3a811c6e/attachment.html From brian at freeswitch.org Tue Apr 21 05:42:27 2015 From: brian at freeswitch.org (Brian West) Date: Mon, 20 Apr 2015 20:42:27 -0500 Subject: [Freeswitch-users] Current production release 1.4.15 or 1.4.18? In-Reply-To: References: Message-ID: 1.4.18 and ill get the website updated! On Monday, April 20, 2015, Andrew Keil wrote: > To FreeSWITCH Users, > > > > Simple question. Is the current FreeSWITCH release to use in production > 1.4.15 or 1.4.18? > > > > I noticed that 1.4.18 was just released on March 26th 2015, however the > main FreeSWITCH.org webpage still shows Release: 1.4.15. > > > > Kind Regards, > > > > Andrew Keil > > *Visytel Pty Ltd* > > > -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com ClueCon 2015 Call for Speakers | Register TODAY! | Reddit: /r/freeswitch *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150420/363ca121/attachment.html From krice at freeswitch.org Tue Apr 21 06:49:00 2015 From: krice at freeswitch.org (Ken Rice) Date: Mon, 20 Apr 2015 21:49:00 -0500 Subject: [Freeswitch-users] Current production release 1.4.15 or 1.4.18? In-Reply-To: References: Message-ID: <66C90D86-D02D-4E20-9E27-AC62B9EDE059@freeswitch.org> You always use the latest one. You can always verify that from the stash tags. Just keep in mind 1.x.y where y is the last micro update number and x is the minor update. If x is even its a release if its odd its a dev branch. Someone just forgot to update that version number (likely me) on the homepage. Sent from my iPhone > On Apr 20, 2015, at 8:38 PM, Andrew Keil wrote: > > To FreeSWITCH Users, > > Simple question. Is the current FreeSWITCH release to use in production 1.4.15 or 1.4.18? > > I noticed that 1.4.18 was just released on March 26th 2015, however the main FreeSWITCH.org webpage still shows Release: 1.4.15. > > Kind Regards, > > Andrew Keil > Visytel Pty Ltd > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150420/a0cd0499/attachment.html From fernando at softov.com.br Tue Apr 21 07:20:59 2015 From: fernando at softov.com.br (Luiz Fernando Softov) Date: Mon, 20 Apr 2015 23:20:59 -0400 Subject: [Freeswitch-users] How to receive call using gsmopen In-Reply-To: References: Message-ID: To enable Voice you need to make a AT command i don't know in other system, but in FreeBSD i use "cu" "cu -l /dev/ttyU0.1" AT^CVOICE=0 Enable Voice AT^CVOICE=1 Disable Voice AT^CVOICE=? Check status Or you can use a software to unlock, it's not free, i think you need to paid https://www.dc-unlocker.com/ Some modems/dongle don't have the destination number write in SIM, and in source code variable "destination" will be used to make calls. If you want to change this, you need to do some changes in source code and write real number in SIM card To get number written in SIM AT+CNUM To write number in SIM i make this AT+CPBS="ON";^CPBW=1;^CPBW=1,"556700000000",129 You can get explain of this AT commands in google.com To receive calls, like "Nandy" say. On gsmopen.conf.xml file, add this line between and : Or to have a number per modem * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Ring Extension 1001 based on GSM01 Ring Extension 1002 based on GSM02 2015-04-20 15:12 GMT-04:00 Anurag Rana : > I tried but didn't worked. I edited the files as said above. Registered a > Softphone with 1000 as user so that call can be received and dialled the sim > number in dongle. Nothing happened. > > Do I need to do something like "Unlocking voice capability" as given in > below link > https://wiki.freeswitch.org/wiki/GSMopen#UNLOCK_THE_DONGLE.21.21.21 > > I am using this device - > http://www.amazon.in/Micromax-MMX210G-Data-Card-White/dp/B00MF91LZ2/ref=sr_1_2?ie=UTF8&qid=1429556927&sr=8-2&keywords=micromax+dongle > > Anybody using this or similar device? > > > > Anurag Rana > M.Tech CSE, IIIT-Delhi, > https://sites.google.com/site/homepagerana/ > > > > > On Mon, Apr 20, 2015 at 12:40 PM, Giovanni Maruzzelli > wrote: >> >> you must set the destination, in global or interface specific section. >> If not set, there will be an error. >> >> -giovanni >> >> On Mon, Apr 20, 2015 at 8:58 AM, Nandy Dagondon >> wrote: >>> >>> >>> In the absence of , >>> I think the destination number will be the mobile number of the SIM >>> installed on the USB dongle. Can anyone confirm this? >>> >>> On Mon, Apr 20, 2015 at 2:55 PM, Nandy Dagondon >>> wrote: >>>> >>>> >>>> >>>> On gsmopen.conf.xml file, add this line between and >>>> : >>>> >>>> >>>> >>>> >>>> On your dialplan add e.g. public/incoming-gsm-call.xml containing these >>>> lines to ring extension 1000 >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> Good luck! >>>> >>>> >>>> On Sun, Apr 19, 2015 at 7:27 PM, Anurag Rana >>>> wrote: >>>>> >>>>> Hi All, >>>>> >>>>> I have micromax usb dongle with a gsm sim in it attached to my system. >>>>> mod_gsmopen has been compiled and has been loaded. Freeswitch is >>>>> running. >>>>> >>>>> This is the output of lsusb command - >>>>> ---------------------------------------------------------- >>>>> Bus 002 Device 003: ID 064e:e263 Suyin Corp. >>>>> Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching >>>>> Hub >>>>> Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub >>>>> Bus 001 Device 006: ID 1c9e:9605 OMEGA TECHNOLOGY >>>>> Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching >>>>> Hub >>>>> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub >>>>> Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub >>>>> Bus 003 Device 011: ID 15d9:0a4e Trust International B.V. >>>>> Bus 003 Device 010: ID 1a2c:0c21 China Resource Semico Co., Ltd >>>>> Bus 003 Device 009: ID 1a40:0101 Terminus Technology Inc. 4-Port HUB >>>>> Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub >>>>> >>>>> --------------------------------------------------------------------------------------- >>>>> >>>>> This is the output of dmesg | grep tty command >>>>> ---------------------------------------------------------------------- >>>>> [ 8114.018211] usb 1-1.2: GSM modem (1-port) converter now attached to >>>>> ttyUSB0 >>>>> [ 8114.018840] usb 1-1.2: GSM modem (1-port) converter now attached to >>>>> ttyUSB1 >>>>> [ 8114.019458] usb 1-1.2: GSM modem (1-port) converter now attached to >>>>> ttyUSB2 >>>>> [ 8114.019961] usb 1-1.2: GSM modem (1-port) converter now attached to >>>>> ttyUSB3 >>>>> --------------------------------------------------------------------- >>>>> >>>>> This is the content of gsmopen.conf.xml file >>>>> >>>>> ----------------------------------------------------------------- >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> ------------------------------------------------------------------------ >>>>> >>>>> >>>>> I searched internet for "how to receive a call using FS" or "How to >>>>> make an inbound call using gsmopen" >>>>> but could not find detailed stepwise explanation. >>>>> >>>>> >>>>> Can someone please tell me what I need to do next so that when I call >>>>> the sim number in dongle, call is received by FS and actions are performed >>>>> based on dialplan. >>>>> >>>>> OR >>>>> >>>>> direct me to some link which explains this. (apart from this >>>>> https://freeswitch.org/confluence/display/FREESWITCH/mod_gsmopen) >>>>> >>>>> >>>>> Thanks >>>>> >>>>> >>>>> Anurag Rana >>>>> M.Tech CSE, IIIT-Delhi, >>>>> https://sites.google.com/site/homepagerana/ >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> >>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>> >>>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >> >> >> >> >> -- >> Sincerely, >> >> Giovanni Maruzzelli >> Cell : +39-347-2665618 >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -- Luiz Fernando Softov http://www.softov.com.br fernando at softov.com.br From andrew.keil at visytel.com Tue Apr 21 07:38:01 2015 From: andrew.keil at visytel.com (Andrew Keil) Date: Tue, 21 Apr 2015 03:38:01 +0000 Subject: [Freeswitch-users] Current production release 1.4.15 or 1.4.18? In-Reply-To: References: Message-ID: Perfect. Thanks. From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Brian West Sent: Tuesday, 21 April 2015 11:42 AM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Current production release 1.4.15 or 1.4.18? 1.4.18 and ill get the website updated! On Monday, April 20, 2015, Andrew Keil > wrote: To FreeSWITCH Users, Simple question. Is the current FreeSWITCH release to use in production 1.4.15 or 1.4.18? I noticed that 1.4.18 was just released on March 26th 2015, however the main FreeSWITCH.org webpage still shows Release: 1.4.15. Kind Regards, Andrew Keil Visytel Pty Ltd -- Brian West brian at freeswitch.org [http://billing.freeswitch.org/templates/default/img/whmcslogo.png] Twitter: @FreeSWITCH , @briankwest http://www.freeswitchbook.com http://www.freeswitchcookbook.com ClueCon 2015 Call for Speakers | Register TODAY! | Reddit: /r/freeswitch T:+19184209001 | F:+19184209002 | M:+1918424WEST (9378) iNUM:+883 5100 1420 9001 | ISN:410*543 | Skype:briankwest -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150421/5757dabd/attachment.html From anthony.minessale at gmail.com Tue Apr 21 08:23:39 2015 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Mon, 20 Apr 2015 23:23:39 -0500 Subject: [Freeswitch-users] Dynamic local_stream? In-Reply-To: References: Message-ID: The start_local_stream func will do an xml search every time its called. Use it together with an xml hook module like mod_xml_curl or mod_xml_scgi to look at the request and generate the particular custom xml. If you keep using the word dynamic and you have not learned about xml hooks you are doomed. On Monday, April 20, 2015, Michael Collins wrote: > It appears that there's nothing dynamic baked into mod_local_stream that > would allow you to create a new stream from an API call. So it appears your > two choices are: modify local_stream.conf.xml or use mod_xml_curl to serve > up a dynamic configuration for local_stream. > > -MC > > On Mon, Apr 20, 2015 at 10:53 AM, Ali Pey > wrote: > >> The problem with hold music is that it would restart the file/music if >> there are more bridge calls. I'm looking for a way that the music would not >> get restarted. >> >> Thanks. >> >> >> On Thu, Apr 16, 2015 at 7:01 PM, Stanislav Sinyagin > > wrote: >> >>> You can just playback those files or set them as ringback tone or hold >>> music. Local stream is optimizing the playback so that the source file is >>> read only once, and it restarts from the position it stopped last time. If >>> it's not needed or not critical, you can just playback individual files >>> instead. >>> On Apr 16, 2015 6:24 PM, "Ali Pey" >> > wrote: >>> >>>> Hello, >>>> >>>> Is it possible to dynamically set different local_stream files for >>>> different users/bridges? >>>> >>>> For instance I need a different custom MOH for call1 than call2 and >>>> they dynamically change as users can upload their own custom moh and I >>>> can't change the local_stream.conf.xml config file. >>>> >>>> Thanks, >>>> Ali Pey >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > -- Anthony Minessale II ? @anthmfs ? @FreeSWITCH ? ? http://freeswitch.org/ ? http://cluecon.com/ ? http://twitter.com/FreeSWITCH ? irc.freenode.net #freeswitch ? *http://freeswitch.org/g+ * ClueCon Weekly Development Call ? sip:888 at conference.freeswitch.org ? +19193869900 https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150420/9bcc6ad7/attachment-0001.html From david.witham at netsip.com.au Tue Apr 21 09:09:47 2015 From: david.witham at netsip.com.au (David Witham) Date: Tue, 21 Apr 2015 05:09:47 +0000 Subject: [Freeswitch-users] What's wrong with Fax ECM and T.38? In-Reply-To: <55354117.3020602@gmail.com> References: <55354117.3020602@gmail.com> Message-ID: Hi Victor, I haven't observed that myself (although I hadn't looked for it either) but it makes some sense. ECM is used in T.30 to force retransmission where checksum errors are detected. This is effectively the same thing that is trying to be achieved with the redundancy packet mechanism in t.38 so I guess those two mechanisms could conceivably conflict, effectively re-transmitting re-transmitted packets. regards, David ________________________________________ From: freeswitch-users-bounces at lists.freeswitch.org on behalf of Victor Chukalovskiy Sent: Tuesday, 21 April 2015 04:10 To: FreeSWITCH Users Help Subject: [Freeswitch-users] What's wrong with Fax ECM and T.38? Good day, My appologies as this is not specific to FS per say. I'm looking if someone has feedback on a broader topic. I noticed that when T.30 DIS / DCS signals between fax machines negotiate error correction mode (ECM) it often causes issues to various T.38 implementations. I also noticed that certain soft-switches or media gateway would intercept DIS signal and overwrite ECM bit to "false". Thus making far-end fax machine believe call should proceed as non-ECM. In FS there is a channel variable for it. Some Cisco, Metaswitch gear do that as well. Would someone know what is it about ECM Fax mode that makes it less "t.38 friendly"? What forces vendors to implement tricks to prevent Fax machines from negotiating ECM? Many thanks, -Victor _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org From s.safarov at gmail.com Tue Apr 21 13:38:09 2015 From: s.safarov at gmail.com (Sergey Safarov) Date: Tue, 21 Apr 2015 12:38:09 +0300 Subject: [Freeswitch-users] loglevel per caller_id In-Reply-To: References: Message-ID: Hi Michael default is enabled in FS. And log file for most channel info contain uuid info, but not for translate application. I am thinking patch for translate module is required. On Mon, Apr 20, 2015 at 11:48 PM, Michael Collins wrote: > Hi Sergey, > > In case you didn't already get this working, I think Brian was suggesting > that you edit autoload_configs/logfile.conf.xml and enable this line: > > > Once you do that then the uuid for each call's log line will be the first > thing printed on the line. Makes it much easier to pull out just the log > lines associated with a specific call leg. > > -MC > > > > On Fri, Apr 17, 2015 at 12:48 PM, Sergey Safarov > wrote: > >> Than you Brian West for respond >> Currently I use this solution, but allow get partial log. I use: >> 1) grep log to locate UUID like "grep -P "Processing.*" >> freeswitch.log| more" >> 2) grep for partial log of required call UIID like "grep >> freeswitch.log | more" >> >> But filtered by UUD log is not containing strings like >> 2015-04-17 18:30:40.086343 [INFO] mod_translate.c:343 +74991325866 >> tel2accountcode >> 2015-04-17 18:30:40.086343 [DEBUG] mod_translate.c:128 translating >> [+74991325866] against [tel2accountcode] profile >> 2015-04-17 18:30:40.086343 [DEBUG] mod_translate.c:137 +74991325866 =~ /\ >> +74952312534/ >> 2015-04-17 18:30:40.086343 [DEBUG] mod_translate.c:137 +74991325866 =~ /\ >> +74952312535/ >> 2015-04-17 18:30:40.086343 [DEBUG] mod_translate.c:137 +74991325866 =~ >> /^.*$/ >> 2015-04-17 18:30:40.086343 [NOTICE] mod_translate.c:362 Translated: >> _undef_ >> >> May be update mod_translate? >> >> >> >> >> On Fri, Apr 17, 2015 at 7:42 PM, Brian West wrote: >> >>> use UUID as call-id, log uuid, grep out logs for calls. >>> >>> >>> On Fri, Apr 17, 2015 at 11:20 AM, Sergey Safarov >>> wrote: >>> >>>> Whether there is a possibility of default logging level to expose >>>> NOTICE, and definitely calls from one caller_id set to debug? >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> >>> -- >>> >>> *Brian West* >>> brian at freeswitch.org >>> >>> >>> *Twitter: @FreeSWITCH , @briankwest* >>> http://www.freeswitchbook.com >>> http://www.freeswitchcookbook.com >>> >>> ClueCon 2015 Call for Speakers >>> | Register >>> TODAY! | Reddit: /r/freeswitch >>> >>> >>> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) >>> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150421/95f78f40/attachment.html From steveayre at gmail.com Tue Apr 21 13:56:13 2015 From: steveayre at gmail.com (Steven Ayre) Date: Tue, 21 Apr 2015 10:56:13 +0100 Subject: [Freeswitch-users] loglevel per caller_id In-Reply-To: References: Message-ID: Whether a log message is global or specific to a channel depends on the logging function used to log the message. There probably are several channel-related messages scattered throughout the code that log globally instead. File a Jira or Stash pull request. On 21 April 2015 at 10:38, Sergey Safarov wrote: > Hi Michael > default is enabled in FS. And log file > for most channel info contain uuid info, but not for translate application. > I am thinking patch for translate module is required. > > On Mon, Apr 20, 2015 at 11:48 PM, Michael Collins > wrote: > >> Hi Sergey, >> >> In case you didn't already get this working, I think Brian was suggesting >> that you edit autoload_configs/logfile.conf.xml and enable this line: >> >> >> Once you do that then the uuid for each call's log line will be the first >> thing printed on the line. Makes it much easier to pull out just the log >> lines associated with a specific call leg. >> >> -MC >> >> >> >> On Fri, Apr 17, 2015 at 12:48 PM, Sergey Safarov >> wrote: >> >>> Than you Brian West for respond >>> Currently I use this solution, but allow get partial log. I use: >>> 1) grep log to locate UUID like "grep -P "Processing.*" >>> freeswitch.log| more" >>> 2) grep for partial log of required call UIID like "grep >>> freeswitch.log | more" >>> >>> But filtered by UUD log is not containing strings like >>> 2015-04-17 18:30:40.086343 [INFO] mod_translate.c:343 +74991325866 >>> tel2accountcode >>> 2015-04-17 18:30:40.086343 [DEBUG] mod_translate.c:128 translating >>> [+74991325866] against [tel2accountcode] profile >>> 2015-04-17 18:30:40.086343 [DEBUG] mod_translate.c:137 +74991325866 =~ >>> /\+74952312534/ >>> 2015-04-17 18:30:40.086343 [DEBUG] mod_translate.c:137 +74991325866 =~ >>> /\+74952312535/ >>> 2015-04-17 18:30:40.086343 [DEBUG] mod_translate.c:137 +74991325866 =~ >>> /^.*$/ >>> 2015-04-17 18:30:40.086343 [NOTICE] mod_translate.c:362 Translated: >>> _undef_ >>> >>> May be update mod_translate? >>> >>> >>> >>> >>> On Fri, Apr 17, 2015 at 7:42 PM, Brian West >>> wrote: >>> >>>> use UUID as call-id, log uuid, grep out logs for calls. >>>> >>>> >>>> On Fri, Apr 17, 2015 at 11:20 AM, Sergey Safarov >>>> wrote: >>>> >>>>> Whether there is a possibility of default logging level to expose >>>>> NOTICE, and definitely calls from one caller_id set to debug? >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>>> >>>> -- >>>> >>>> *Brian West* >>>> brian at freeswitch.org >>>> >>>> >>>> *Twitter: @FreeSWITCH , @briankwest* >>>> http://www.freeswitchbook.com >>>> http://www.freeswitchcookbook.com >>>> >>>> ClueCon 2015 Call for Speakers >>>> | Register >>>> TODAY! | Reddit: /r/freeswitch >>>> >>>> >>>> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) >>>> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150421/67dd651a/attachment-0001.html From ali.jibran44 at gmail.com Tue Apr 21 14:47:18 2015 From: ali.jibran44 at gmail.com (Ali Jibran) Date: Tue, 21 Apr 2015 15:47:18 +0500 Subject: [Freeswitch-users] Trunk Calls Message-ID: Hi all. I have voipfone trunked to freeswitch. Everything works fine. But now I've bought another number from the same provider. The call comes in but executes the same IVR at 1234. How do I change the dialplan that the call executes different IVR depending on the number dialed. here is the gateway conf: -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150421/e7ffa021/attachment.html From abalashov at evaristesys.com Tue Apr 21 14:50:08 2015 From: abalashov at evaristesys.com (Alex Balashov) Date: Tue, 21 Apr 2015 14:50:08 +0400 Subject: [Freeswitch-users] Trunk Calls In-Reply-To: References: Message-ID: <20150421105008.5419088.861.50357@evaristesys.com> An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150421/fad06b95/attachment.html From ali.jibran44 at gmail.com Tue Apr 21 14:57:29 2015 From: ali.jibran44 at gmail.com (Ali Jibran) Date: Tue, 21 Apr 2015 15:57:29 +0500 Subject: [Freeswitch-users] Trunk Calls In-Reply-To: <20150421105008.5419088.861.50357@evaristesys.com> References: <20150421105008.5419088.861.50357@evaristesys.com> Message-ID: Thanks for the quick reply. Yeah I forward all calls to an IVR. The issue is how do I control depending on what number is dialed? As you can see I have explicitly declared in the gateway conf to route to 1234. If I don't put that there it looks for my voipfone-username in the dialplan and not the number that I have actually dialed. Could this be a trunk issue? On Tue, Apr 21, 2015 at 3:50 PM, Alex Balashov wrote: > Do you have a generic condition rule in the dialplan for all incoming > traffic from this provider? If so, you need to add specific rules which > prescribe different actions depending on number dialed. > > -- > Alex Balashov | Principal | Evariste Systems LLC > 303 Perimeter Center North, Suite 300 > Atlanta, GA 30346 > United States > > Tel: +1-800-250-5920 (toll-free) / +1-678-954-0671 (direct) > Web: http://www.evaristesys.com/, http://www.csrpswitch.com/ > > Sent from my BlackBerry. > *From: *Ali Jibran > *Sent: *Tuesday, April 21, 2015 14:48 > *To: *freeswitch-users at lists.freeswitch.org > *Reply To: *FreeSWITCH Users Help > *Subject: *[Freeswitch-users] Trunk Calls > > Hi all. > > I have voipfone trunked to freeswitch. Everything works fine. But now I've > bought another number from the same provider. > The call comes in but executes the same IVR at 1234. How do I change the > dialplan that the call executes different IVR depending on the number > dialed. > > here is the gateway conf: > > > > > > > > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150421/71e19a04/attachment.html From abalashov at evaristesys.com Tue Apr 21 15:00:26 2015 From: abalashov at evaristesys.com (Alex Balashov) Date: Tue, 21 Apr 2015 15:00:26 +0400 Subject: [Freeswitch-users] Trunk Calls In-Reply-To: References: <20150421105008.5419088.861.50357@evaristesys.com> Message-ID: <20150421110026.5419088.15595.50362@evaristesys.com> An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150421/c3d4ba35/attachment-0001.html From nandy1925 at gmail.com Tue Apr 21 15:18:36 2015 From: nandy1925 at gmail.com (Nandy Dagondon) Date: Tue, 21 Apr 2015 19:18:36 +0800 Subject: [Freeswitch-users] How to receive call using gsmopen In-Reply-To: References: Message-ID: Yes. Voice capability must be unlocked. So far, I have tested Huawei E1550 and E1552. On Tue, Apr 21, 2015 at 3:12 AM, Anurag Rana wrote: > I tried but didn't worked. I edited the files as said above. Registered a > Softphone with 1000 as user so that call can be received and dialled the > sim number in dongle. Nothing happened. > > Do I need to do something like "Unlocking voice capability" as given in > below link > https://wiki.freeswitch.org/wiki/GSMopen#UNLOCK_THE_DONGLE.21.21.21 > > I am using this device - > http://www.amazon.in/Micromax-MMX210G-Data-Card-White/dp/B00MF91LZ2/ref=sr_1_2?ie=UTF8&qid=1429556927&sr=8-2&keywords=micromax+dongle > > Anybody using this or similar device? > > > > Anurag Rana > M.Tech CSE, IIIT-Delhi, > https://sites.google.com/site/homepagerana/ > > > > > On Mon, Apr 20, 2015 at 12:40 PM, Giovanni Maruzzelli > wrote: > >> you must set the destination, in global or interface specific section. >> If not set, there will be an error. >> >> -giovanni >> >> On Mon, Apr 20, 2015 at 8:58 AM, Nandy Dagondon >> wrote: >> >>> >>> In the absence of , >>> I think the destination number will be the mobile number of the SIM >>> installed on the USB dongle. Can anyone confirm this? >>> >>> On Mon, Apr 20, 2015 at 2:55 PM, Nandy Dagondon >>> wrote: >>> >>>> >>>> >>>> On gsmopen.conf.xml file, add this line between and >>>> : >>>> >>>> >>>> >>>> >>>> On your dialplan add e.g. public/incoming-gsm-call.xml containing these >>>> lines to ring extension 1000 >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> Good luck! >>>> >>>> >>>> On Sun, Apr 19, 2015 at 7:27 PM, Anurag Rana >>> > wrote: >>>> >>>>> Hi All, >>>>> >>>>> I have micromax usb dongle with a gsm sim in it attached to my system. >>>>> mod_gsmopen has been compiled and has been loaded. Freeswitch is >>>>> running. >>>>> >>>>> *This is the output of lsusb command -* >>>>> ---------------------------------------------------------- >>>>> Bus 002 Device 003: ID 064e:e263 Suyin Corp. >>>>> Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching >>>>> Hub >>>>> Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub >>>>> Bus 001 Device 006: ID 1c9e:9605 OMEGA TECHNOLOGY >>>>> Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching >>>>> Hub >>>>> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub >>>>> Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub >>>>> Bus 003 Device 011: ID 15d9:0a4e Trust International B.V. >>>>> Bus 003 Device 010: ID 1a2c:0c21 China Resource Semico Co., Ltd >>>>> Bus 003 Device 009: ID 1a40:0101 Terminus Technology Inc. 4-Port HUB >>>>> Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub >>>>> >>>>> --------------------------------------------------------------------------------------- >>>>> >>>>> *This is the output of dmesg | grep tty command* >>>>> ---------------------------------------------------------------------- >>>>> [ 8114.018211] usb 1-1.2: GSM modem (1-port) converter now attached to >>>>> ttyUSB0 >>>>> [ 8114.018840] usb 1-1.2: GSM modem (1-port) converter now attached to >>>>> ttyUSB1 >>>>> [ 8114.019458] usb 1-1.2: GSM modem (1-port) converter now attached to >>>>> ttyUSB2 >>>>> [ 8114.019961] usb 1-1.2: GSM modem (1-port) converter now attached to >>>>> ttyUSB3 >>>>> --------------------------------------------------------------------- >>>>> >>>>> *?This is the content of gsmopen.conf.xml file*? >>>>> >>>>> ?*-----*------------------------------------------------------------ >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> ------------------------------------------------------------------------ >>>>> >>>>> >>>>> I searched internet for "how to receive a call using FS" or "How to >>>>> make an inbound call using gsmopen"? >>>>> ? but could not find detailed stepwise explanation. >>>>> >>>>> >>>>> Can someone please tell me what I need to do next so that when I call >>>>> the sim number in dongle, call is received by FS and actions are performed >>>>> based on dialplan. >>>>> >>>>> OR >>>>> >>>>> direct me to some link which explains this. (apart from this >>>>> https://freeswitch.org/confluence/display/FREESWITCH/mod_gsmopen)? >>>>> >>>>> >>>>> ?Thanks? >>>>> >>>>> >>>>> Anurag Rana >>>>> M.Tech CSE, IIIT-Delhi, >>>>> https://sites.google.com/site/homepagerana/ >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> >> -- >> Sincerely, >> >> Giovanni Maruzzelli >> Cell : +39-347-2665618 >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150421/f0f3e2b7/attachment-0001.html From nandy1925 at gmail.com Tue Apr 21 15:22:38 2015 From: nandy1925 at gmail.com (Nandy Dagondon) Date: Tue, 21 Apr 2015 19:22:38 +0800 Subject: [Freeswitch-users] How to receive call using gsmopen In-Reply-To: References: Message-ID: With individual "destination" number for every device, you can hit different parts of the dialplan e.g. auto-attendant. On Tue, Apr 21, 2015 at 11:20 AM, Luiz Fernando Softov < fernando at softov.com.br> wrote: > To enable Voice you need to make a AT command > > i don't know in other system, but in FreeBSD i use "cu" > > "cu -l /dev/ttyU0.1" > > AT^CVOICE=0 Enable Voice > AT^CVOICE=1 Disable Voice > AT^CVOICE=? Check status > > Or you can use a software to unlock, it's not free, i think you need to > paid > > https://www.dc-unlocker.com/ > > Some modems/dongle don't have the destination number write in SIM, and > in source code variable "destination" will be used to make calls. > If you want to change this, you need to do some changes in source code > and write real number in SIM card > > To get number written in SIM > > AT+CNUM > > To write number in SIM i make this > > AT+CPBS="ON";^CPBW=1;^CPBW=1,"556700000000",129 > > You can get explain of this AT commands in google.com > > > To receive calls, like "Nandy" say. > > On gsmopen.conf.xml file, add this line between and > : > > > > > Or to have a number per modem > > > > > > > > > > > > > > > > > > > > > > > > * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * > * * * * * * * * * * * * * * * * > > Ring Extension 1001 based on GSM01 > > > > > > > > > Ring Extension 1002 based on GSM02 > > > > > > > > > 2015-04-20 15:12 GMT-04:00 Anurag Rana : > > I tried but didn't worked. I edited the files as said above. Registered a > > Softphone with 1000 as user so that call can be received and dialled the > sim > > number in dongle. Nothing happened. > > > > Do I need to do something like "Unlocking voice capability" as given in > > below link > > https://wiki.freeswitch.org/wiki/GSMopen#UNLOCK_THE_DONGLE.21.21.21 > > > > I am using this device - > > > http://www.amazon.in/Micromax-MMX210G-Data-Card-White/dp/B00MF91LZ2/ref=sr_1_2?ie=UTF8&qid=1429556927&sr=8-2&keywords=micromax+dongle > > > > Anybody using this or similar device? > > > > > > > > Anurag Rana > > M.Tech CSE, IIIT-Delhi, > > https://sites.google.com/site/homepagerana/ > > > > > > > > > > On Mon, Apr 20, 2015 at 12:40 PM, Giovanni Maruzzelli > > > wrote: > >> > >> you must set the destination, in global or interface specific section. > >> If not set, there will be an error. > >> > >> -giovanni > >> > >> On Mon, Apr 20, 2015 at 8:58 AM, Nandy Dagondon > >> wrote: > >>> > >>> > >>> In the absence of value="incoming_gsm_call"/>, > >>> I think the destination number will be the mobile number of the SIM > >>> installed on the USB dongle. Can anyone confirm this? > >>> > >>> On Mon, Apr 20, 2015 at 2:55 PM, Nandy Dagondon > >>> wrote: > >>>> > >>>> > >>>> > >>>> On gsmopen.conf.xml file, add this line between and > >>>> : > >>>> > >>>> > >>>> > >>>> > >>>> On your dialplan add e.g. public/incoming-gsm-call.xml containing > these > >>>> lines to ring extension 1000 > >>>> > >>>> > >>>> > >>>> expression="incoming_gsm_call"> > >>>> > >>>> > >>>> > >>>> > >>>> Good luck! > >>>> > >>>> > >>>> On Sun, Apr 19, 2015 at 7:27 PM, Anurag Rana < > anuragrana31189 at gmail.com> > >>>> wrote: > >>>>> > >>>>> Hi All, > >>>>> > >>>>> I have micromax usb dongle with a gsm sim in it attached to my > system. > >>>>> mod_gsmopen has been compiled and has been loaded. Freeswitch is > >>>>> running. > >>>>> > >>>>> This is the output of lsusb command - > >>>>> ---------------------------------------------------------- > >>>>> Bus 002 Device 003: ID 064e:e263 Suyin Corp. > >>>>> Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching > >>>>> Hub > >>>>> Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub > >>>>> Bus 001 Device 006: ID 1c9e:9605 OMEGA TECHNOLOGY > >>>>> Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching > >>>>> Hub > >>>>> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub > >>>>> Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub > >>>>> Bus 003 Device 011: ID 15d9:0a4e Trust International B.V. > >>>>> Bus 003 Device 010: ID 1a2c:0c21 China Resource Semico Co., Ltd > >>>>> Bus 003 Device 009: ID 1a40:0101 Terminus Technology Inc. 4-Port HUB > >>>>> Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub > >>>>> > >>>>> > --------------------------------------------------------------------------------------- > >>>>> > >>>>> This is the output of dmesg | grep tty command > >>>>> > ---------------------------------------------------------------------- > >>>>> [ 8114.018211] usb 1-1.2: GSM modem (1-port) converter now attached > to > >>>>> ttyUSB0 > >>>>> [ 8114.018840] usb 1-1.2: GSM modem (1-port) converter now attached > to > >>>>> ttyUSB1 > >>>>> [ 8114.019458] usb 1-1.2: GSM modem (1-port) converter now attached > to > >>>>> ttyUSB2 > >>>>> [ 8114.019961] usb 1-1.2: GSM modem (1-port) converter now attached > to > >>>>> ttyUSB3 > >>>>> --------------------------------------------------------------------- > >>>>> > >>>>> This is the content of gsmopen.conf.xml file > >>>>> > >>>>> ----------------------------------------------------------------- > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > ------------------------------------------------------------------------ > >>>>> > >>>>> > >>>>> I searched internet for "how to receive a call using FS" or "How to > >>>>> make an inbound call using gsmopen" > >>>>> but could not find detailed stepwise explanation. > >>>>> > >>>>> > >>>>> Can someone please tell me what I need to do next so that when I call > >>>>> the sim number in dongle, call is received by FS and actions are > performed > >>>>> based on dialplan. > >>>>> > >>>>> OR > >>>>> > >>>>> direct me to some link which explains this. (apart from this > >>>>> https://freeswitch.org/confluence/display/FREESWITCH/mod_gsmopen) > >>>>> > >>>>> > >>>>> Thanks > >>>>> > >>>>> > >>>>> Anurag Rana > >>>>> M.Tech CSE, IIIT-Delhi, > >>>>> https://sites.google.com/site/homepagerana/ > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > _________________________________________________________________________ > >>>>> Professional FreeSWITCH Consulting Services: > >>>>> consulting at freeswitch.org > >>>>> http://www.freeswitchsolutions.com > >>>>> > >>>>> Official FreeSWITCH Sites > >>>>> http://www.freeswitch.org > >>>>> http://confluence.freeswitch.org > >>>>> http://www.cluecon.com > >>>>> > >>>>> FreeSWITCH-users mailing list > >>>>> FreeSWITCH-users at lists.freeswitch.org > >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >>>>> > >>>>> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >>>>> http://www.freeswitch.org > >>>> > >>>> > >>> > >>> > >>> > _________________________________________________________________________ > >>> Professional FreeSWITCH Consulting Services: > >>> consulting at freeswitch.org > >>> http://www.freeswitchsolutions.com > >>> > >>> Official FreeSWITCH Sites > >>> http://www.freeswitch.org > >>> http://confluence.freeswitch.org > >>> http://www.cluecon.com > >>> > >>> FreeSWITCH-users mailing list > >>> FreeSWITCH-users at lists.freeswitch.org > >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >>> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >>> http://www.freeswitch.org > >> > >> > >> > >> > >> -- > >> Sincerely, > >> > >> Giovanni Maruzzelli > >> Cell : +39-347-2665618 > >> > >> > _________________________________________________________________________ > >> Professional FreeSWITCH Consulting Services: > >> consulting at freeswitch.org > >> http://www.freeswitchsolutions.com > >> > >> Official FreeSWITCH Sites > >> http://www.freeswitch.org > >> http://confluence.freeswitch.org > >> http://www.cluecon.com > >> > >> FreeSWITCH-users mailing list > >> FreeSWITCH-users at lists.freeswitch.org > >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >> http://www.freeswitch.org > > > > > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > > > -- > Luiz Fernando Softov > http://www.softov.com.br > fernando at softov.com.br > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150421/d7e1b273/attachment-0001.html From gfs at etherway.ru Tue Apr 21 15:36:14 2015 From: gfs at etherway.ru (=?UTF-8?B?0JPRg9GB0YLQsNCy0L4g0KHQuNC70LLQsA==?=) Date: Tue, 21 Apr 2015 14:36:14 +0300 Subject: [Freeswitch-users] mod_xml_radius is not creating the variables in the directory Message-ID: <5536362E.5010707@etherway.ru> I am not able to create the variables with the attribute values replied from radius in the directory. The directory is being created as bellow:
My radius configuration is like: 1008 Cleartext-Password := "1234" Acct-Interim-Interval := "30", h323-call-origin := "Answer from 1008", Freeswitch-AVPair := "315" What should I have to do to get the values from the attributes replied from radius server? Regards, Gustavo From ssinyagin at gmail.com Tue Apr 21 15:44:23 2015 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Tue, 21 Apr 2015 13:44:23 +0200 Subject: [Freeswitch-users] Trunk Calls In-Reply-To: References: Message-ID: remove the "extension" line from your gateway configuration. Then you will probably see the dialed number as destination_number. On Tue, Apr 21, 2015 at 12:47 PM, Ali Jibran wrote: > Hi all. > > I have voipfone trunked to freeswitch. Everything works fine. But now I've > bought another number from the same provider. > The call comes in but executes the same IVR at 1234. How do I change the > dialplan that the call executes different IVR depending on the number > dialed. > > here is the gateway conf: > > > > > > > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org From bee at netempire.de Tue Apr 21 16:04:56 2015 From: bee at netempire.de (Bemigho Eyimofe) Date: Tue, 21 Apr 2015 14:04:56 +0200 Subject: [Freeswitch-users] play_and_detect_speech not working Message-ID: <9874A070-FB43-4C75-9726-3AB7A554BD1F@netempire.de> Hello, I am trying to run play_and_detect_speech for async playing and listening. The console doesn't show any errors but neither a soundfile nor speech will be played to the client. Can anyone confirm that play_and_detect_speech is still working and give a valid example? Here is my Extension: Freeswitch console output: FreeSWITCH Started Max Sessions [1000] Session Rate [30] SQL [Enabled] 2015-04-21 13:45:03.542985 [CONSOLE] switch_core.c:2238 [This app Best viewed at 160x60 or more..] freeswitch at debian-queuex> 2015-04-21 13:45:03.551482 [INFO] switch_time.c:607 Clock synchronized to system time. 2015-04-21 13:45:18.032188 [CONSOLE] mod_voicemail.c:4066 Event Thread Started 2015-04-21 13:45:26.392280 [NOTICE] switch_channel.c:1055 New Channel sofia/internal/queuex_user1 at 10.1.11.115 [e6ed7d96-e81b-11e4-ac47-a729e6b18938] 2015-04-21 13:45:26.412163 [INFO] mod_dialplan_xml.c:635 Processing GDWOMSLK ->414 in context default 2015-04-21 13:45:26.432225 [INFO] switch_core_media.c:5364 Activating RTCP PORT 4117 2015-04-21 13:45:26.432225 [NOTICE] sofia_media.c:92 Pre-Answer sofia/internal/queuex_user1 at 10.1.11.115! 2015-04-21 13:45:26.432225 [NOTICE] mod_dptools.c:1268 Channel [sofia/internal/queuex_user1 at 10.1.11.115] has been answered 2015-04-21 13:45:26.432225 [INFO] mod_dptools.c:1638 PLAY AND DETECT SPEECH 2015-04-21 13:45:26.432225 [INFO] mod_unimrcp.c:3129 asr_handle: name = unimrcp, codec = (null), rate = 8000, grammar = (null), param = (null) 2015-04-21 13:45:26.432225 [INFO] mod_unimrcp.c:3131 codec = L16, rate = 8000, dest = (null) 2015-04-21 13:45:26.432225 [NOTICE] mrcp_application.c:96 (ASR-0) Create MRCP Handle 0x837cbc0 [unimrcpserver-mrcp1] 2015-04-21 13:45:26.432225 [INFO] mrcp_client_session.c:133 (ASR-0) Create Channel ASR-0 2015-04-21 13:45:26.432225 [INFO] mrcp_client_session.c:387 (ASR-0) Receive App Request ASR-0 [2] 2015-04-21 13:45:26.432225 [NOTICE] rtsp_client.c:298 () Create RTSP Handle 0x837ebc8 2015-04-21 13:45:26.432225 [INFO] mrcp_client.c:700 (ASR-0) Add MRCP Handle ASR-0 2015-04-21 13:45:26.432225 [NOTICE] mrcp_client_session.c:719 (ASR-0) Add Control Channel ASR-0 2015-04-21 13:45:26.451886 [INFO] mrcp_client_session.c:411 (ASR-0) Send Offer ASR-0 [c:0 a:1 v:0] to 127.0.1.1:1554 2015-04-21 13:45:26.451886 [NOTICE] rtsp_client.c:374 () Established RTSP Connection 127.0.0.1:41506 <-> 127.0.1.1:1554 2015-04-21 13:45:26.451886 [INFO] rtsp_client.c:573 () Add RTSP Handle 0x837ebc8 2015-04-21 13:45:26.451886 [INFO] rtsp_client.c:839 () Send RTSP Data 127.0.0.1:41506 <-> 127.0.1.1:1554 [347 bytes] SETUP rtsp://127.0.1.1:1554/speechrecognizer RTSP/1.0 CSeq: 1 Transport: RTP/AVP;unicast;client_port=4000-4001 Content-Type: application/sdp Content-Length: 179 v=0 o=FreeSWITCH 0 0 IN IP4 127.0.1.1 s=- c=IN IP4 127.0.1.1 t=0 0 m=audio 4000 RTP/AVP 0 8 96 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:96 L16/8000 a=sendonly 2015-04-21 13:45:26.451886 [INFO] rtsp_client.c:526 () Push RTSP Request to In-Progress Queue 0x837ebc8 CSeq:1 2015-04-21 13:45:26.451886 [INFO] rtsp_client.c:937 () Receive RTSP Data 127.0.0.1:41506 <-> 127.0.1.1:1554 [312 bytes] RTSP/1.0 200 OK CSeq: 1 Transport: RTP/AVP;unicast;client_port=4000-4001;server_port=5008-5009 Session: e6f516a0e81b11e4 Content-Type: application/sdp Content-Length: 133 v=0 o=UniMRCPServer 0 0 IN IP4 127.0.1.1 s=- c=IN IP4 127.0.1.1 t=0 0 m=audio 5008 RTP/AVP 0 a=rtpmap:0 PCMU/8000 a=recvonly 2015-04-21 13:45:26.451886 [INFO] rtsp_client.c:551 () Pop In-Progress RTSP Request 0x837ebc8 CSeq:1 2015-04-21 13:45:26.451886 [INFO] rtsp_client.c:688 () Add RTSP Session 0x837ebc8 2015-04-21 13:45:26.451886 [INFO] mrcp_client_session.c:151 (ASR-0) Receive Answer ASR-0 [c:0 a:1 v:0] Status 200 2015-04-21 13:45:26.451886 [INFO] mpf_rtp_stream.c:331 () Enable RTP Session 127.0.1.1:4000 2015-04-21 13:45:26.451886 [INFO] mpf_rtp_stream.c:921 () Open RTP Transmitter 127.0.1.1:4000 -> 127.0.1.1:5008 2015-04-21 13:45:26.451886 [INFO] mpf_bridge.c:93 () Media Path ASR-0 Source->[LPCM/8000/1]->Bridge->[LPCM/8000/1]->Encoder->[PCMU/8000/1]->Sink 2015-04-21 13:45:26.451886 [INFO] mrcp_client_session.c:455 (ASR-0) Raise App Response ASR-0 [2] SUCCESS [0] 2015-04-21 13:45:26.451886 [INFO] mrcp_client_session.c:392 (ASR-0) Receive App MRCP Request ASR-0 2015-04-21 13:45:26.451886 [INFO] mrcp_client_session.c:622 (ASR-0) Send MRCP Request ASR-0 [1] 2015-04-21 13:45:26.451886 [INFO] rtsp_client.c:839 () Send RTSP Data 127.0.0.1:41506 <-> 127.0.1.1:1554 [378 bytes] ANNOUNCE rtsp://127.0.1.1:1554/speechrecognizer RTSP/1.0 CSeq: 2 Session: e6f516a0e81b11e4 Content-Type: application/mrcp Content-Length: 229 RECOGNIZE 1 MRCP/1.0 Content-Type: text/uri-list Recognition-Timeout: 5000 Recognizer-Start-Timers: false Vendor-Specific-Parameters: no-input timeout=5000 Content-Length: 46 builtin:grammar/boolean?language=en-US;y=1;n=2 2015-04-21 13:45:26.451886 [INFO] rtsp_client.c:526 () Push RTSP Request to In-Progress Queue 0x837ebc8 CSeq:2 2015-04-21 13:45:26.451886 [INFO] rtsp_client.c:937 () Receive RTSP Data 127.0.0.1:41506 <-> 127.0.1.1:1554 [137 bytes] RTSP/1.0 200 OK CSeq: 2 Session: e6f516a0e81b11e4 Content-Type: application/mrcp Content-Length: 30 MRCP/1.0 1 200 IN-PROGRESS 2015-04-21 13:45:26.451886 [INFO] rtsp_client.c:551 () Pop In-Progress RTSP Request 0x837ebc8 CSeq:2 2015-04-21 13:45:26.451886 [INFO] mrcp_client_session.c:500 (ASR-0) Raise App MRCP Response ASR-0 2015-04-21 13:45:26.451886 [WARNING] switch_core_file.c:230 File has 2 channels, muxing to 1 channel will occur. 2015-04-21 13:45:26.531882 [WARNING] sofia.c:5692 Ping succeeded sipgate with code 200 - count 1/1/1, state UP 2015-04-21 13:45:26.872152 [INFO] rtsp_client.c:937 () Receive RTSP Data 127.0.0.1:41506 <-> 127.0.1.1:1554 [190 bytes] ANNOUNCE rtsp://127.0.1.1:1554/speechrecognizer RTSP/1.0 CSeq: 2 Session: e6f516a0e81b11e4 Content-Type: application/mrcp Content-Length: 42 START-OF-SPEECH 1 IN-PROGRESS MRCP/1.0 2015-04-21 13:45:26.872152 [INFO] rtsp_client.c:839 () Send RTSP Data 127.0.0.1:41506 <-> 127.0.1.1:1554 [55 bytes] RTSP/1.0 200 OK CSeq: 2 Session: e6f516a0e81b11e4 2015-04-21 13:45:26.872152 [INFO] mrcp_client_session.c:516 (ASR-0) Raise App MRCP Event ASR-0 2015-04-21 13:45:26.891692 [INFO] switch_ivr_async.c:3884 (sofia/internal/queuex_user1 at 10.1.11.115) START OF SPEECH 2015-04-21 13:45:26.891692 [INFO] switch_ivr_async.c:3943 (sofia/internal/queuex_user1 at 10.1.11.115) WAITING FOR RESULT 2015-04-21 13:45:35.692016 [NOTICE] switch_rtp.c:5185 Receiving an RTCP packet[2015-21-03 11:45:35.700029] SSRC[723361390]RTT[0.013550] A[3068113717] - DLSR[273063] - LSR[3067839766] 2015-04-21 13:45:40.312178 [NOTICE] switch_rtp.c:5185 Receiving an RTCP packet[2015-21-03 11:45:40.320207] SSRC[723361390]RTT[0.013275] A[3068416505] - DLSR[248184] - LSR[3068167451] 2015-04-21 13:45:44.932184 [NOTICE] switch_rtp.c:5185 Receiving an RTCP packet[2015-21-03 11:45:44.939794] SSRC[723361390]RTT[0.012268] A[3068719254] - DLSR[223320] - LSR[3068495130] 2015-04-21 13:45:49.551974 [NOTICE] switch_rtp.c:5185 Receiving an RTCP packet[2015-21-03 11:45:49.559918] SSRC[723361390]RTT[0.010956] A[3069022038] - DLSR[198496] - LSR[3068822824] 2015-04-21 13:45:54.171909 [NOTICE] switch_rtp.c:5185 Receiving an RTCP packet[2015-21-03 11:45:54.180123] SSRC[723361390]RTT[0.010818] A[3069324828] - DLSR[173622] - LSR[3069150497] 2015-04-21 13:45:58.791859 [NOTICE] switch_rtp.c:5185 Receiving an RTCP packet[2015-21-03 11:45:58.800101] SSRC[723361390]RTT[0.010559] A[3069627603] - DLSR[148737] - LSR[3069478174] 2015-04-21 13:46:03.411703 [NOTICE] switch_rtp.c:5185 Receiving an RTCP packet[2015-21-03 11:46:03.420106] SSRC[723361390]RTT[0.010025] A[3069930380] - DLSR[123880] - LSR[3069805843] 2015-04-21 13:46:08.031655 [NOTICE] switch_rtp.c:5185 Receiving an RTCP packet[2015-21-03 11:46:08.39750] SSRC[723361390]RTT[0.008957] A[3070233133] - DLSR[99038] - LSR[3070133508] 2015-04-21 13:46:12.651812 [NOTICE] switch_rtp.c:5185 Receiving an RTCP packet[2015-21-03 11:46:12.660125] SSRC[723361390]RTT[0.008652] A[3070535933] - DLSR[74161] - LSR[3070461205] 2015-04-21 13:46:17.271783 [NOTICE] switch_rtp.c:5185 Receiving an RTCP packet[2015-21-03 11:46:17.280116] SSRC[723361390]RTT[0.008118] A[3070838709] - DLSR[49271] - LSR[3070788906] 2015-04-21 13:46:21.891722 [NOTICE] switch_rtp.c:5185 Receiving an RTCP packet[2015-21-03 11:46:21.900002] SSRC[723361390]RTT[0.007355] A[3071141478] - DLSR[24416] - LSR[3071116580] 2015-04-21 13:46:26.511739 [NOTICE] switch_rtp.c:5185 Receiving an RTCP packet[2015-21-03 11:46:26.520157] SSRC[723361390]RTT[0.006851] A[3071444265] - DLSR[327236] - LSR[3071116580] 2015-04-21 13:46:31.132034 [NOTICE] switch_rtp.c:5185 Receiving an RTCP packet[2015-21-03 11:46:31.139830] SSRC[723361390]RTT[0.005707] A[3071747019] - DLSR[302385] - LSR[3071444260] 2015-04-21 13:46:34.811605 [NOTICE] sofia.c:952 Hangup sofia/internal/queuex_user1 at 10.1.11.115 [CS_EXECUTE] [NORMAL_CLEARING] 2015-04-21 13:46:34.811605 [INFO] mrcp_client_session.c:392 (ASR-0) Receive App MRCP Request ASR-0 2015-04-21 13:46:34.811605 [INFO] mrcp_client_session.c:622 (ASR-0) Send MRCP Request ASR-0 [2] 2015-04-21 13:46:34.811605 [INFO] rtsp_client.c:839 () Send RTSP Data 127.0.0.1:41506 <-> 127.0.1.1:1554 [167 bytes] ANNOUNCE rtsp://127.0.1.1:1554/speechrecognizer RTSP/1.0 CSeq: 3 Session: e6f516a0e81b11e4 Content-Type: application/mrcp Content-Length: 19 STOP 2 MRCP/1.0 2015-04-21 13:46:34.811605 [INFO] rtsp_client.c:526 () Push RTSP Request to In-Progress Queue 0x837ebc8 CSeq:3 2015-04-21 13:46:34.811605 [INFO] rtsp_client.c:937 () Receive RTSP Data 127.0.0.1:41506 <-> 127.0.1.1:1554 [170 bytes] RTSP/1.0 200 OK CSeq: 3 Session: e6f516a0e81b11e4 Content-Type: application/mrcp Content-Length: 63 MRCP/1.0 2 200 COMPLETE Active-Request-Id-List: 1 2015-04-21 13:46:34.811605 [INFO] rtsp_client.c:551 () Pop In-Progress RTSP Request 0x837ebc8 CSeq:3 2015-04-21 13:46:34.811605 [INFO] mrcp_client_session.c:500 (ASR-0) Raise App MRCP Response ASR-0 2015-04-21 13:46:34.811605 [INFO] mrcp_client_session.c:387 (ASR-0) Receive App Request ASR-0 [1] 2015-04-21 13:46:34.811605 [INFO] mrcp_client_session.c:833 (ASR-0) Terminate Session ASR-0 2015-04-21 13:46:34.811605 [INFO] rtsp_client.c:839 () Send RTSP Data 127.0.0.1:41506 <-> 127.0.1.1:1554 [96 bytes] TEARDOWN rtsp://127.0.1.1:1554/speechrecognizer RTSP/1.0 CSeq: 4 Session: e6f516a0e81b11e4 2015-04-21 13:46:34.811605 [INFO] rtsp_client.c:526 () Push RTSP Request to In-Progress Queue 0x837ebc8 CSeq:4 2015-04-21 13:46:34.831763 [INFO] mpf_rtp_stream.c:935 () Close RTP Transmitter 127.0.1.1:4000 -> 127.0.1.1:5008 [s:3418 o:546880] 2015-04-21 13:46:34.831763 [INFO] mpf_rtp_stream.c:418 () Remove RTP Session 127.0.1.1:4000 2015-04-21 13:46:34.831763 [INFO] rtsp_client.c:937 () Receive RTSP Data 127.0.0.1:41506 <-> 127.0.1.1:1554 [55 bytes] RTSP/1.0 200 OK CSeq: 4 Session: e6f516a0e81b11e4 2015-04-21 13:46:34.831763 [INFO] rtsp_client.c:551 () Pop In-Progress RTSP Request 0x837ebc8 CSeq:4 2015-04-21 13:46:34.831763 [INFO] rtsp_client.c:706 () Remove RTSP Session 0x837ebc8 2015-04-21 13:46:34.831763 [INFO] rtsp_client.c:442 () Remove RTSP Handle 0x837ebc8 2015-04-21 13:46:34.831763 [NOTICE] rtsp_client.c:305 () Destroy RTSP Handle 0x837ebc8 2015-04-21 13:46:34.831763 [INFO] rtsp_client.c:382 () Close RTSP Connection 127.0.0.1:41506 <-> 127.0.1.1:1554 2015-04-21 13:46:34.831763 [NOTICE] rtsp_client.c:432 () Destroy RTSP Connection 127.0.0.1:41506 <-> 127.0.1.1:1554 2015-04-21 13:46:34.831763 [INFO] mrcp_client_session.c:209 (ASR-0) Session Terminated ASR-0 2015-04-21 13:46:34.831763 [INFO] mrcp_client.c:710 (ASR-0) Remove MRCP Handle ASR-0 2015-04-21 13:46:34.831763 [INFO] mrcp_client_session.c:455 (ASR-0) Raise App Response ASR-0 [1] SUCCESS [0] 2015-04-21 13:46:34.831763 [NOTICE] mrcp_application.c:182 (ASR-0) Destroy MRCP Handle ASR-0 2015-04-21 13:46:34.831763 [NOTICE] switch_core_session.c:1641 Session 1 (sofia/internal/queuex_user1 at 10.1.11.115) Ended 2015-04-21 13:46:34.831763 [NOTICE] switch_core_session.c:1645 Close Channel sofia/internal/queuex_user1 at 10.1.11.115 [CS_DESTROY] Freundliche Gr??e, Bemigho Eyimofe Softwareentwickler . Netempire AG | L?ghauser Stra?e 16 | D - 51503 R?srath . Fon: 0221 99 11 12 - 22 | Fax: 0221 99 11 12 - 99 . mailto:bee at netempire.de | http://www.netempire.de __________________________________________________________ . Vorstandsvorsitzender: Andreas Nettesheim . Vorstand: Dr. Guido Gimmler | Johannes Krause | Kim Bauer . Vorsitzender des Aufsichtsrates: Dr. Dierk Wehrmeister . Handelsregister: Amtsgericht K?ln, HRB 35407 . USt-IdNr.: DE 215404683 __________________________________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150421/20dff547/attachment-0001.html From gmaruzz at gmail.com Tue Apr 21 16:18:27 2015 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Tue, 21 Apr 2015 14:18:27 +0200 Subject: [Freeswitch-users] perl ESL outbound socket, no DTMF if not async ??? Message-ID: Ciao FreeSWITCHers, on FS 1.4.18: using perl ESL outbound socket, I see FS receives DTMF 2833 only when socket is declared "async" in dialplan. NB: not only the outbound socket does not receives DTMF events, is FreeSWITCH itself that does not receives DTMFs. Is this correct? Is this the expected behavior? If I delete "async" from dialplan, DTMFs are not received es: works, while with no DTMFs at all. ==== btw, this is an example of outbound_socket in perl ESL #!/usr/bin/perl require ESL; use IO::Socket::INET; my $ip = "127.0.0.1"; my $sock = new IO::Socket::INET ( LocalHost => $ip, LocalPort => '8040', Proto => 'tcp', Listen => 1, Reuse => 1 ); die "Could not create socket: $!\n" unless $sock; for(;;) { my $new_sock = $sock->accept(); my $pid = fork(); if ($pid) { print "New child pid $pid created...\n"; close($new_sock); next; } my $fd = fileno($new_sock); my $con = new ESL::ESLconnection($fd); my $info = $con->getInfo(); my $uuid = $info->getHeader("unique-id"); printf "Connected call %s, from %s\n", $uuid, $info->getHeader("caller-caller-id-number"); $con->sendRecv("myevents $uuid"); $con->setEventLock("1"); # need this for forcing execution order on async, has no effect if no "async" in dialplan $con->execute("sleep","500"); $con->execute("answer"); $con->execute("sleep","500"); $con->execute("playback", "ivr/ivr-welcome_to_freeswitch.wav"); $con->execute("sleep","500"); $con->execute("playback", "ivr/ivr-finished_pound_hash_key.wav"); while($con->connected()) { my $e = $con->recvEvent(); if ($e) { my $name = $e->getHeader("event-name"); print "EVENT [$name]\n"; if ($name eq "DTMF") { my $digit = $e->getHeader("dtmf-digit"); my $duration = $e->getHeader("dtmf-duration"); print "DTMF digit $digit ($duration)\n"; $con->execute("hangup"); } } } print "BYE\n"; close($new_sock); } -- Sincerely, Giovanni Maruzzelli Cell : +39-347-2665618 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150421/6cbac1c8/attachment.html From vainnkiitta at gmail.com Tue Apr 21 16:31:33 2015 From: vainnkiitta at gmail.com (John) Date: Tue, 21 Apr 2015 18:01:33 +0530 Subject: [Freeswitch-users] Unable to load mod_java. In-Reply-To: References: Message-ID: Somehow the error message gone now!! Thanks, John On Sat, Feb 7, 2015 at 3:34 PM, John wrote: > Hi All > > I have built mod_java and have mod_java.so in /usr/local/freeswitch/mod/ > but when I am trying to load mod_java from freeswitch terminal > like : load mod_java getting following error : > > 2015-02-07 15:01:13.175331 [INFO] mod_enum.c:880 ENUM Reloaded > 2015-02-07 15:01:13.175331 [NOTICE] modjava.c:366 Java Framework Loading... > 2015-02-07 15:01:13.175331 [INFO] switch_time.c:1411 Timezone reloaded > 1781 definitions > > +OK Reloading XML > -ERR [module load file routine returned an error] > > 2015-02-07 15:01:13.215310 [CRIT] switch_loadable_module.c:1447 Error > Loading module /usr/local/freeswitch/mod/mod_java.so > **Module load routine returned an error** > > I am using OpenJDK version : > > java version "1.6.0_33" OpenJDK Runtime Environment (IcedTea6 1.13.5) > (6b33-1.13.5-1ubuntu0.14.04) OpenJDK 64-Bit Server VM (build > 23.25-b01, mixed mode) > > and my conf/autoload_configs/java. > conf.xml reads as : > > > > > > > > > Can someone help me to resolve this error? I tried googling this issue > and accordingly made above config changes. > > Thanks, > John From 0x6e6562 at gmail.com Tue Apr 21 17:44:10 2015 From: 0x6e6562 at gmail.com (Ben Hood) Date: Tue, 21 Apr 2015 14:44:10 +0100 Subject: [Freeswitch-users] Loading phrases on demand via mod_xml_curl Message-ID: Hi, It is possible to load a phrase on demand (and for every individual call) using mod_xml_curl? Currently my web server is returning:
when the phrases section of mod_xml_curl is configured thusly: but when a dialplan tries to load to load the vmg phrase: The execution cannot find the vmg macro: 2015-04-21 15:35:10.843131 [DEBUG] switch_ivr_menu.c:469 Executing IVR menu vmg_ivr 2015-04-21 15:35:10.843131 [DEBUG] switch_ivr_play_say.c:70 No language specified - Using [en] 2015-04-21 15:35:10.943130 [CONSOLE] mod_xml_curl.c:323 XML response is in /tmp/cbaaec2b-50ed-48ab-b5fa-68d3d7b34cb9.tmp.xml 2015-04-21 15:35:10.943130 [ERR] switch_ivr_play_say.c:145 Can't find macro vmg. The debug file that mod_xml_curl writes to disk (/tmp/cbaaec2b-50ed-48ab-b5fa-68d3d7b34cb9.tmp.xml) contains the macro called vmg. So I was wondering if phrase loading via mod_xml_curl is not supposed to work in this way, i.e. that a macro sourced remotely cannot be late bound to an IVR menu declaration? The following mailing list post http://lists.freeswitch.org/pipermail/freeswitch-users/2013-August/099239.html seems to suggest this behavior. But if that is the case, then I'm a bit surprised that the HTTP request appears to be executed every time the macro is referenced by a dialplan. Am I missing the point some where? Many thanks, Ben From freeswitch at tropic.net Tue Apr 21 19:58:02 2015 From: freeswitch at tropic.net (Tony Mendez) Date: Tue, 21 Apr 2015 16:58:02 +0100 Subject: [Freeswitch-users] Challenges Message-ID: Hi all, I have installed the latest version of freeswitch, with fusionpbx. It is an upgraded install. However, some of the extensions do not generate a ring tone when calling in. Specifically, it is one extension and one ring group. Everything else is fine ( I think). Would be good if someone can help with 1) direct me to the relevant sections in the freeswitch manual, or 2) just tell me how to make it ring. In fusionpbx, it is set to ?default? for that specific ring group, same as the other ring groups. Gracias, Tony From max at nysolutions.com Tue Apr 21 20:50:27 2015 From: max at nysolutions.com (Moishe Grunstein) Date: Tue, 21 Apr 2015 16:50:27 +0000 Subject: [Freeswitch-users] Challenges In-Reply-To: References: Message-ID: You should open an issue at https://code.google.com/p/fusionpbx/ Or join #fusionpbx in freenode irc Thanks, Moishe Grunstein Tornado Computer Systems, Inc. 212.400.7650 888.IPPBX.US Service Request Email: support at nysolutions.com Computer Networking * Managed Services * IP Video Surveillance * Network Assessments * Web Solutions * Voice over IP * Disaster Recovery * Network Security * Site Surveys * CMS -----Original Message----- From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Tony Mendez Sent: Tuesday, April 21, 2015 11:58 AM To: FreeSWITCH-users at lists.freeswitch.org Subject: [Freeswitch-users] Challenges Hi all, I have installed the latest version of freeswitch, with fusionpbx. It is an upgraded install. However, some of the extensions do not generate a ring tone when calling in. Specifically, it is one extension and one ring group. Everything else is fine ( I think). Would be good if someone can help with 1) direct me to the relevant sections in the freeswitch manual, or 2) just tell me how to make it ring. In fusionpbx, it is set to ?default? for that specific ring group, same as the other ring groups. Gracias, Tony _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org From gmaruzz at gmail.com Tue Apr 21 20:50:13 2015 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Tue, 21 Apr 2015 18:50:13 +0200 Subject: [Freeswitch-users] Challenges In-Reply-To: References: Message-ID: You may want to ask this question on the #fusionpbx channel on IRC: irc.freenode.net On Tue, Apr 21, 2015 at 5:58 PM, Tony Mendez wrote: > Hi all, > > I have installed the latest version of freeswitch, with fusionpbx. It is > an upgraded install. However, some of the extensions do not generate a ring > tone when calling in. Specifically, it is one extension and one ring group. > Everything else is fine ( I think). Would be good if someone can help with > 1) direct me to the relevant sections in the freeswitch manual, or 2) just > tell me how to make it ring. In fusionpbx, it is set to ?default? for that > specific ring group, same as the other ring groups. > > Gracias, > > Tony > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -- Sincerely, Giovanni Maruzzelli Cell : +39-347-2665618 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150421/f4040247/attachment.html From ssinyagin at gmail.com Tue Apr 21 21:56:10 2015 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Tue, 21 Apr 2015 19:56:10 +0200 Subject: [Freeswitch-users] Challenges In-Reply-To: References: Message-ID: Or get rid of fusionpbx and edit configs directly :) On Apr 21, 2015 6:51 PM, "Giovanni Maruzzelli" wrote: > You may want to ask this question on the #fusionpbx channel on IRC: > irc.freenode.net > > > > On Tue, Apr 21, 2015 at 5:58 PM, Tony Mendez > wrote: > >> Hi all, >> >> I have installed the latest version of freeswitch, with fusionpbx. It is >> an upgraded install. However, some of the extensions do not generate a ring >> tone when calling in. Specifically, it is one extension and one ring group. >> Everything else is fine ( I think). Would be good if someone can help with >> 1) direct me to the relevant sections in the freeswitch manual, or 2) just >> tell me how to make it ring. In fusionpbx, it is set to ?default? for that >> specific ring group, same as the other ring groups. >> >> Gracias, >> >> Tony >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org > > > > > -- > Sincerely, > > Giovanni Maruzzelli > Cell : +39-347-2665618 > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150421/685d7943/attachment-0001.html From gmaruzz at gmail.com Tue Apr 21 22:01:28 2015 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Tue, 21 Apr 2015 20:01:28 +0200 Subject: [Freeswitch-users] Challenges In-Reply-To: References: Message-ID: On Tue, Apr 21, 2015 at 7:56 PM, Stanislav Sinyagin wrote: > Or get rid of fusionpbx and edit configs directly :) > Ciao Stanislav, I know your post is a joke, but for the sake of readers not in the know, FusionPBX does so many things on top of managing FreeSWITCH configs. Is a complete and extensible enterprise PBX. -giovanni > On Apr 21, 2015 6:51 PM, "Giovanni Maruzzelli" wrote: > >> You may want to ask this question on the #fusionpbx channel on IRC: >> irc.freenode.net >> >> >> >> On Tue, Apr 21, 2015 at 5:58 PM, Tony Mendez >> wrote: >> >>> Hi all, >>> >>> I have installed the latest version of freeswitch, with fusionpbx. It is >>> an upgraded install. However, some of the extensions do not generate a ring >>> tone when calling in. Specifically, it is one extension and one ring group. >>> Everything else is fine ( I think). Would be good if someone can help with >>> 1) direct me to the relevant sections in the freeswitch manual, or 2) just >>> tell me how to make it ring. In fusionpbx, it is set to ?default? for that >>> specific ring group, same as the other ring groups. >>> >>> Gracias, >>> >>> Tony >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >> >> >> >> >> -- >> Sincerely, >> >> Giovanni Maruzzelli >> Cell : +39-347-2665618 >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Sincerely, Giovanni Maruzzelli Cell : +39-347-2665618 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150421/8942f65b/attachment.html From ssinyagin at gmail.com Tue Apr 21 22:32:06 2015 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Tue, 21 Apr 2015 20:32:06 +0200 Subject: [Freeswitch-users] Challenges In-Reply-To: References: Message-ID: Well, Giovanni, this was only partially a joke. But it's not the right place, and I don't really have time to criticize FusionPBX. In short, if you can avoid it, you better do without it :) On Tue, Apr 21, 2015 at 8:01 PM, Giovanni Maruzzelli wrote: > On Tue, Apr 21, 2015 at 7:56 PM, Stanislav Sinyagin > wrote: >> >> Or get rid of fusionpbx and edit configs directly :) > > Ciao Stanislav, > I know your post is a joke, but for the sake of readers not in the know, > FusionPBX does so many things on top of managing FreeSWITCH configs. Is a > complete and extensible enterprise PBX. > -giovanni > >> >> On Apr 21, 2015 6:51 PM, "Giovanni Maruzzelli" wrote: >>> >>> You may want to ask this question on the #fusionpbx channel on >>> IRC:irc.freenode.net >>> >>> >>> >>> On Tue, Apr 21, 2015 at 5:58 PM, Tony Mendez >>> wrote: >>>> >>>> Hi all, >>>> >>>> I have installed the latest version of freeswitch, with fusionpbx. It is >>>> an upgraded install. However, some of the extensions do not generate a ring >>>> tone when calling in. Specifically, it is one extension and one ring group. >>>> Everything else is fine ( I think). Would be good if someone can help with >>>> 1) direct me to the relevant sections in the freeswitch manual, or 2) just >>>> tell me how to make it ring. In fusionpbx, it is set to ?default? for that >>>> specific ring group, same as the other ring groups. >>>> >>>> Gracias, >>>> >>>> Tony >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>> >>> >>> >>> >>> -- >>> Sincerely, >>> >>> Giovanni Maruzzelli >>> Cell : +39-347-2665618 >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org > > > > > -- > Sincerely, > > Giovanni Maruzzelli > Cell : +39-347-2665618 > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org From bote_radio at botecomm.com Tue Apr 21 22:44:00 2015 From: bote_radio at botecomm.com (Bote Man) Date: Tue, 21 Apr 2015 14:44:00 -0400 Subject: [Freeswitch-users] Challenges In-Reply-To: References: Message-ID: <00ff01d07c63$2235ebb0$66a1c310$@botecomm.com> Is it possible that early media or ring ready are being handled differently by the different phones that he has and therefore suppressing the ring in some cases? Bote > -----Original Message----- > From: Moishe Grunstein > Sent: Tuesday, 21 April, 2015 12:50 > Subject: Re: [Freeswitch-users] Challenges > > You should open an issue at https://code.google.com/p/fusionpbx/ > Or join #fusionpbx in freenode irc > > Thanks, > > Moishe Grunstein > > -----Original Message----- > From: Tony Mendez > Sent: Tuesday, April 21, 2015 11:58 AM > Subject: [Freeswitch-users] Challenges > > Hi all, > > I have installed the latest version of freeswitch, with fusionpbx. It is an > upgraded install. However, some of the extensions do not generate a ring > tone when calling in. Specifically, it is one extension and one ring group. > Everything else is fine ( I think). Would be good if someone can help with 1) > direct me to the relevant sections in the freeswitch manual, or 2) just tell me > how to make it ring. In fusionpbx, it is set to ?default? for that specific ring > group, same as the other ring groups. > > Gracias, > > Tony > From alipey at gmail.com Tue Apr 21 23:17:36 2015 From: alipey at gmail.com (Ali Pey) Date: Tue, 21 Apr 2015 15:17:36 -0400 Subject: [Freeswitch-users] att_xfer and blind transfer Message-ID: Hello, Is there anyway to do blind transfer with att_xfer? Also, based on wiki for att_xfer, to cancel transfer and go back to the caller, you can press # ONLY after C-leg (last party) answers. However, most users would need to be able cancel transfer while the last party is ringing and hasn't answered. Is that possible? Thanks, Ali Pey -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150421/80303dcc/attachment.html From nandy1925 at gmail.com Wed Apr 22 04:00:48 2015 From: nandy1925 at gmail.com (Nandy Dagondon) Date: Wed, 22 Apr 2015 08:00:48 +0800 Subject: [Freeswitch-users] att_xfer and blind transfer In-Reply-To: References: Message-ID: Please detail what you expect. Re cancel. Ring timeout will take care of that. /Nandy On Wed, Apr 22, 2015 at 3:17 AM, Ali Pey wrote: > Hello, > > Is there anyway to do blind transfer with att_xfer? > > Also, based on wiki for att_xfer, to cancel transfer and go back to the > caller, you can press # ONLY after C-leg (last party) answers. However, > most users would need to be able cancel transfer while the last party is > ringing and hasn't answered. Is that possible? > > > Thanks, > Ali Pey > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150422/37c7c519/attachment.html From ali.jibran44 at gmail.com Wed Apr 22 09:39:26 2015 From: ali.jibran44 at gmail.com (Ali Jibran) Date: Wed, 22 Apr 2015 10:39:26 +0500 Subject: [Freeswitch-users] Trunk Calls In-Reply-To: References: Message-ID: I talked to voipfone and had to buy different virtual extensions for both the numbers. Now they come in via different numbers. Thanks for the help people :) On Tuesday, April 21, 2015, Stanislav Sinyagin wrote: > remove the "extension" line from your gateway configuration. Then you > will probably see the dialed number as destination_number. > > > On Tue, Apr 21, 2015 at 12:47 PM, Ali Jibran > wrote: > > Hi all. > > > > I have voipfone trunked to freeswitch. Everything works fine. But now > I've > > bought another number from the same provider. > > The call comes in but executes the same IVR at 1234. How do I change the > > dialplan that the call executes different IVR depending on the number > > dialed. > > > > here is the gateway conf: > > > > > > > > > > > > > > > > > > > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150422/5dfd620f/attachment-0001.html From gfs at etherway.ru Wed Apr 22 11:35:32 2015 From: gfs at etherway.ru (=?UTF-8?B?0JPRg9GB0YLQsNCy0L4g0KHQuNC70LLQsA==?=) Date: Wed, 22 Apr 2015 10:35:32 +0300 Subject: [Freeswitch-users] Duplicate request from FreeSWITCH in the radius server Message-ID: <55374F44.7050403@etherway.ru> I am getting duplicate request from my freeswitch: Info: rlm_radutmp: Login entry for NAS localhost port 0 duplicate I am using freeswitch and freeradius in the same machine. The radius is authenticating the request but why the freeswitch is sending twice? Is something in the radiusclient that I shoud change? Regards, Gustavo From tculjaga at gmail.com Wed Apr 22 12:26:10 2015 From: tculjaga at gmail.com (Tihomir Culjaga) Date: Wed, 22 Apr 2015 10:26:10 +0200 Subject: [Freeswitch-users] T.30 faxing - V.27ter Message-ID: Hi, i got an issue with faxing between a fax machine and FreeSWITCH T.30 protocol. I'm able to send and get faxes everywhere except to this machine. The fax machine uses V.27ter protocol at 4800 and no ECM. faxing from a different fax machine works perfectly but not when i send it from FS. FS logs are here: https://pastebin.freeswitch.org/24139 I extracted audio and tried to decode it with fax_decode ( from spends/tests ) and it fails to decode as well. Also, i tried to decode the audio between two fax machines when the fax went ok and it fax_decode fails on this one as well. fax_decode logs: https://pastebin.freeswitch.org/24140 so maybe we have an issue with V.27ter perhaps. can anyone look say a bit more on this issue ? P.S.: FreeSWITCH Version 1.4.18+git~20150312T185523Z~4eed221b69~32bit (git 4eed221 2015-03-12 18:55:23Z 32bit) regards, Tihomir. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150422/483572b6/attachment.html From brian at freeswitch.org Wed Apr 22 12:32:45 2015 From: brian at freeswitch.org (Brian West) Date: Wed, 22 Apr 2015 03:32:45 -0500 Subject: [Freeswitch-users] att_xfer and blind transfer In-Reply-To: References: Message-ID: Wiki says # will cancel it before answer. On Tuesday, April 21, 2015, Ali Pey wrote: > Hello, > > Is there anyway to do blind transfer with att_xfer? > > Also, based on wiki for att_xfer, to cancel transfer and go back to the > caller, you can press # ONLY after C-leg (last party) answers. However, > most users would need to be able cancel transfer while the last party is > ringing and hasn't answered. Is that possible? > > > Thanks, > Ali Pey > > -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com ClueCon 2015 Call for Speakers | Register TODAY! | Reddit: /r/freeswitch *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150422/0b115b28/attachment.html From brian at freeswitch.org Wed Apr 22 12:40:02 2015 From: brian at freeswitch.org (Brian West) Date: Wed, 22 Apr 2015 03:40:02 -0500 Subject: [Freeswitch-users] T.30 faxing - V.27ter In-Reply-To: References: Message-ID: JIRA FS-7453: It's helpful to reference it in your post so others can comment on it too, keeping all relevant info in one place. Thanks, /b On Wednesday, April 22, 2015, Tihomir Culjaga wrote: > Hi, > > i got an issue with faxing between a fax machine and FreeSWITCH T.30 > protocol. > > I'm able to send and get faxes everywhere except to this machine. > The fax machine uses V.27ter protocol at 4800 and no ECM. > faxing from a different fax machine works perfectly but not when i send it > from FS. > > FS logs are here: https://pastebin.freeswitch.org/24139 > > I extracted audio > and tried to decode it with fax_decode ( from spends/tests ) and it fails > to decode as well. > Also, i tried to decode the audio between two fax machines when the fax > went ok and it fax_decode fails on this one as well. > > fax_decode logs: > https://pastebin.freeswitch.org/24140 > > > so maybe we have an issue with V.27ter perhaps. > > can anyone look say a bit more on this issue ? > > P.S.: FreeSWITCH Version 1.4.18+git~20150312T185523Z~4eed221b69~32bit > (git 4eed221 2015-03-12 18:55:23Z 32bit) > > > regards, > Tihomir. > > -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com ClueCon 2015 Call for Speakers | Register TODAY! | Reddit: /r/freeswitch *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150422/18aca7dd/attachment.html From tculjaga at gmail.com Wed Apr 22 13:53:42 2015 From: tculjaga at gmail.com (Tihomir Culjaga) Date: Wed, 22 Apr 2015 11:53:42 +0200 Subject: [Freeswitch-users] T.30 faxing - V.27ter In-Reply-To: References: Message-ID: you are right! trouble making fax machine is: Samsung Xpress M2875FD On Wed, Apr 22, 2015 at 10:40 AM, Brian West wrote: > JIRA FS-7453: It's helpful to reference it in your post so others can > comment on it too, keeping all relevant info in one place. > > Thanks, > /b > > > On Wednesday, April 22, 2015, Tihomir Culjaga wrote: > >> Hi, >> >> i got an issue with faxing between a fax machine and FreeSWITCH T.30 >> protocol. >> >> I'm able to send and get faxes everywhere except to this machine. >> The fax machine uses V.27ter protocol at 4800 and no ECM. >> faxing from a different fax machine works perfectly but not when i send >> it from FS. >> >> FS logs are here: https://pastebin.freeswitch.org/24139 >> >> I extracted audio >> and tried to decode it with fax_decode ( from spends/tests ) and it >> fails to decode as well. >> Also, i tried to decode the audio between two fax machines when the fax >> went ok and it fax_decode fails on this one as well. >> >> fax_decode logs: >> https://pastebin.freeswitch.org/24140 >> >> >> so maybe we have an issue with V.27ter perhaps. >> >> can anyone look say a bit more on this issue ? >> >> P.S.: FreeSWITCH Version 1.4.18+git~20150312T185523Z~4eed221b69~32bit >> (git 4eed221 2015-03-12 18:55:23Z 32bit) >> >> >> regards, >> Tihomir. >> >> > > -- > > *Brian West* > brian at freeswitch.org > > > *Twitter: @FreeSWITCH , @briankwest* > http://www.freeswitchbook.com > http://www.freeswitchcookbook.com > > ClueCon 2015 Call for Speakers > | Register > TODAY! | Reddit: /r/freeswitch > > > *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) > *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150422/be21cff1/attachment-0001.html From luis.azedo at factorlusitano.com Wed Apr 22 14:38:11 2015 From: luis.azedo at factorlusitano.com (Luis Azedo) Date: Wed, 22 Apr 2015 11:38:11 +0100 Subject: [Freeswitch-users] patch for sofia_sip_i_invite to support replaces with action Message-ID: Hi, i need a inline custom action passed with an INVITE msg with a replaces header or a better to use this scenario. right now, for calls with replaces header there is support for sla, intercept and attendant transfer. my problem is that intercept requires the bridge_uuid which is not set on one leg calls (on hold playing music) so the intercept condition won't be hit. the attendant transfer takes app/data applies and then hangs up the call. i need a simple answer,intercept:(sip->sip_replaces->rp_call_id) instead of bridge_uuid. i tried to set signal_bond and originate_signal_bound on the channel to see if i could bypass this, but with no luck. i created a small patch that i am attaching here with the hope that FreeSWITCH will look and possibly merge it. Best -------------- next part -------------- diff --git a/src/mod/endpoints/mod_sofia/sofia.c b/src/mod/endpoints/mod_sofia/sofia.c index f8ccbd6..7111a1c 100644 --- a/src/mod/endpoints/mod_sofia/sofia.c +++ b/src/mod/endpoints/mod_sofia/sofia.c @@ -9885,7 +9885,19 @@ void sofia_handle_sip_i_invite(switch_core_session_t *session, nua_t *nua, sofia "%sanswer,sofia_sla:%s", codec_str, b_private->uuid); } } else { - if (!zstr(bridge_uuid)) { + char* rep_app = NULL; + char* rep_data = NULL; + if(sip->sip_replaces->rq_url->url_params && sip->sip_replaces->rp_call_id) { + rep_app = switch_find_parameter(sip->sip_replaces->rq_url->url_params,"fs-app", switch_core_session_get_pool(session)); + rep_data = switch_find_parameter(sip->sip_replaces->rq_url->url_params,"fs-data", switch_core_session_get_pool(session)); + } + if(rep_app && rep_data) { + switch_channel_mark_hold(b_channel, SWITCH_FALSE); + tech_pvt->caller_profile->destination_number = switch_core_sprintf(tech_pvt->caller_profile->pool, "answer,%s:%s", rep_app, rep_data); + } else if(rep_app) { + switch_channel_mark_hold(b_channel, SWITCH_FALSE); + tech_pvt->caller_profile->destination_number = switch_core_sprintf(tech_pvt->caller_profile->pool, "answer,%s", rep_app); + } else if (!zstr(bridge_uuid)) { switch_channel_mark_hold(b_channel, SWITCH_FALSE); tech_pvt->caller_profile->destination_number = switch_core_sprintf(tech_pvt->caller_profile->pool, "answer,intercept:%s", bridge_uuid); } else { From mike at jerris.com Wed Apr 22 16:20:05 2015 From: mike at jerris.com (Michael Jerris) Date: Wed, 22 Apr 2015 08:20:05 -0400 Subject: [Freeswitch-users] patch for sofia_sip_i_invite to support replaces with action In-Reply-To: References: Message-ID: Couldn't this be a huge security vulnerability used to inject arbitrary commands into a session in FreeSWITCH? On Wednesday, April 22, 2015, Luis Azedo wrote: > Hi, > > i need a inline custom action passed with an INVITE msg with a replaces > header > or a better to use this scenario. > > right now, for calls with replaces header there is support for sla, > intercept and attendant transfer. > > my problem is that intercept requires the bridge_uuid which is not set > on one leg calls (on hold playing music) so the intercept condition > won't be hit. > > the attendant transfer takes app/data applies and then hangs up the call. > > i need a simple answer,intercept:(sip->sip_replaces->rp_call_id) > instead of bridge_uuid. > > i tried to set signal_bond and originate_signal_bound on the channel > to see if i could bypass this, but with no luck. > > i created a small patch that i am attaching here with the hope that > FreeSWITCH will look and possibly merge it. > > Best > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150422/48885f3f/attachment.html From krice at freeswitch.org Wed Apr 22 16:57:15 2015 From: krice at freeswitch.org (Ken Rice) Date: Wed, 22 Apr 2015 07:57:15 -0500 Subject: [Freeswitch-users] ClueCon Weekly Today at 1PM EST! Message-ID: Greetings FreeSWITCHers! Today Wed, April 22nd @ 1PM EST Join us at https://conference.freeswitch.org/ for ClueCon Weekly. Click the ?Call 888? button to join us. This week Chris Rienze (@crienzo), author of mod_rayo, and regular contributor to FreeSWITCH, will be showing off some good things with lua, graylog, and pcapsipdump. Also have your Headset and WebCams ready and use Chrome when calling 888 to get in on the Video side of the conf! -- Ken http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org irc.freenode.net #freeswitch Twitter: @FreeSWITCH -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150422/96d797e2/attachment.html From denis at ringme.ru Wed Apr 22 17:17:14 2015 From: denis at ringme.ru (=?UTF-8?B?0JTQtdC90LjRgQ==?=) Date: Wed, 22 Apr 2015 16:17:14 +0300 Subject: [Freeswitch-users] Current production release 1.4.15 or 1.4.18? In-Reply-To: References: Message-ID: <55379F5A.2000208@ringme.ru> on centos repo - only .15 :( On 21.04.2015 04:38, Andrew Keil wrote: > > To FreeSWITCH Users, > > Simple question. Is the current FreeSWITCH release to use in > production 1.4.15 or 1.4.18? > > I noticed that 1.4.18 was just released on March 26^th 2015, however > the main FreeSWITCH.org webpage still shows Release: 1.4.15. > > Kind Regards, > > Andrew Keil > > *Visytel Pty Ltd* > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150422/f40c4e45/attachment.html From denis at ringme.ru Wed Apr 22 17:20:13 2015 From: denis at ringme.ru (=?UTF-8?B?0JTQtdC90LjRgQ==?=) Date: Wed, 22 Apr 2015 16:20:13 +0300 Subject: [Freeswitch-users] att_xfer + leg A Message-ID: <5537A00D.3030108@ringme.ru> How to make att_xfer from leg A? It makes for B only... From ssinyagin at gmail.com Wed Apr 22 17:22:35 2015 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Wed, 22 Apr 2015 15:22:35 +0200 Subject: [Freeswitch-users] patch for sofia_sip_i_invite to support replaces with action In-Reply-To: References: Message-ID: why don't you pass the call to mod_perl or Lua, and do all the necessary lookups in the script? This shpouldn;t be a big deal to implement, and much more safe than patching mod_sofia. On Wed, Apr 22, 2015 at 12:38 PM, Luis Azedo wrote: > Hi, > > i need a inline custom action passed with an INVITE msg with a replaces header > or a better to use this scenario. > > right now, for calls with replaces header there is support for sla, > intercept and attendant transfer. > > my problem is that intercept requires the bridge_uuid which is not set > on one leg calls (on hold playing music) so the intercept condition > won't be hit. > > the attendant transfer takes app/data applies and then hangs up the call. > > i need a simple answer,intercept:(sip->sip_replaces->rp_call_id) > instead of bridge_uuid. > > i tried to set signal_bond and originate_signal_bound on the channel > to see if i could bypass this, but with no luck. > > i created a small patch that i am attaching here with the hope that > FreeSWITCH will look and possibly merge it. > > Best > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org From alipey at gmail.com Wed Apr 22 17:27:07 2015 From: alipey at gmail.com (Ali Pey) Date: Wed, 22 Apr 2015 09:27:07 -0400 Subject: [Freeswitch-users] att_xfer and blind transfer In-Reply-To: References: Message-ID: Thanks Brian. How about Blind Transfer? Can I complete the transfer by pressing * to connect A to C before C has answered? On Wed, Apr 22, 2015 at 4:32 AM, Brian West wrote: > Wiki says # will cancel it before answer. > > > On Tuesday, April 21, 2015, Ali Pey wrote: > >> Hello, >> >> Is there anyway to do blind transfer with att_xfer? >> >> Also, based on wiki for att_xfer, to cancel transfer and go back to the >> caller, you can press # ONLY after C-leg (last party) answers. However, >> most users would need to be able cancel transfer while the last party is >> ringing and hasn't answered. Is that possible? >> >> >> Thanks, >> Ali Pey >> >> > > -- > > *Brian West* > brian at freeswitch.org > > > *Twitter: @FreeSWITCH , @briankwest* > > > http://www.freeswitchbook.com > > http://www.freeswitchcookbook.com > > > ClueCon 2015 Call for Speakers > | > Register > TODAY! > | Reddit: /r/freeswitch > > > *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) > *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > > Official FreeSWITCH Sites > > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > > > http://www.cluecon.com > > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > > > http://www.freeswitch.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150422/f86c6f43/attachment-0001.html From brian at freeswitch.org Wed Apr 22 17:40:27 2015 From: brian at freeswitch.org (Brian West) Date: Wed, 22 Apr 2015 08:40:27 -0500 Subject: [Freeswitch-users] patch for sofia_sip_i_invite to support replaces with action In-Reply-To: References: Message-ID: Patches belong in JIRA please, Can you issue a pull request here are the instructions on how to do that https://freeswitch.org/confluence/display/FREESWITCH/Pull+Requests Thanks, On Wed, Apr 22, 2015 at 5:38 AM, Luis Azedo wrote: > Hi, > > i need a inline custom action passed with an INVITE msg with a replaces > header > or a better to use this scenario. > > right now, for calls with replaces header there is support for sla, > intercept and attendant transfer. > > my problem is that intercept requires the bridge_uuid which is not set > on one leg calls (on hold playing music) so the intercept condition > won't be hit. > > the attendant transfer takes app/data applies and then hangs up the call. > > i need a simple answer,intercept:(sip->sip_replaces->rp_call_id) > instead of bridge_uuid. > > i tried to set signal_bond and originate_signal_bound on the channel > to see if i could bypass this, but with no luck. > > i created a small patch that i am attaching here with the hope that > FreeSWITCH will look and possibly merge it. > > Best > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com ClueCon 2015 Call for Speakers | Register TODAY! | Reddit: /r/freeswitch *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150422/bf1c941d/attachment.html From denis at ringme.ru Wed Apr 22 17:41:01 2015 From: denis at ringme.ru (=?UTF-8?B?0JTQtdC90LjRgQ==?=) Date: Wed, 22 Apr 2015 16:41:01 +0300 Subject: [Freeswitch-users] Loading phrases on demand via mod_xml_curl In-Reply-To: References: Message-ID: <5537A4ED.5050201@ringme.ru>
freeswitch.xml
On 21.04.2015 16:44, Ben Hood wrote: > Hi, > > It is possible to load a phrase on demand (and for every individual > call) using mod_xml_curl? > > Currently my web server is returning: > > >
> > > > > > > > > > > >
>
> > when the phrases section of mod_xml_curl is configured thusly: > > > > > > > > > > value="127.0.0.1/phrase" > bindings="languages"/> > > > > but when a dialplan tries to load to load the vmg phrase: > > greet-long="phrase:vmg" > invalid-sound="ivr/ivr-that_was_an_invalid_entry.wav" > exit-sound="voicemail/vm-goodbye.wav" > confirm-macro="" > confirm-key="" > tts-engine="flite" > tts-voice="slt" > confirm-attempts="3" > timeout="10000" > inter-digit-timeout="2000" > max-failures="3" > max-timeouts="3" > digit-len="1"> > > The execution cannot find the vmg macro: > > 2015-04-21 15:35:10.843131 [DEBUG] switch_ivr_menu.c:469 Executing IVR > menu vmg_ivr > 2015-04-21 15:35:10.843131 [DEBUG] switch_ivr_play_say.c:70 No > language specified - Using [en] > 2015-04-21 15:35:10.943130 [CONSOLE] mod_xml_curl.c:323 XML response > is in /tmp/cbaaec2b-50ed-48ab-b5fa-68d3d7b34cb9.tmp.xml > 2015-04-21 15:35:10.943130 [ERR] switch_ivr_play_say.c:145 Can't find macro vmg. > > The debug file that mod_xml_curl writes to disk > (/tmp/cbaaec2b-50ed-48ab-b5fa-68d3d7b34cb9.tmp.xml) contains the macro > called vmg. > > So I was wondering if phrase loading via mod_xml_curl is not supposed > to work in this way, i.e. that a macro sourced remotely cannot be late > bound to an IVR menu declaration? > > The following mailing list post > > http://lists.freeswitch.org/pipermail/freeswitch-users/2013-August/099239.html > > seems to suggest this behavior. > > But if that is the case, then I'm a bit surprised that the HTTP > request appears to be executed every time the macro is referenced by a > dialplan. > > Am I missing the point some where? > > Many thanks, > > Ben > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org From brian at freeswitch.org Wed Apr 22 17:41:31 2015 From: brian at freeswitch.org (Brian West) Date: Wed, 22 Apr 2015 08:41:31 -0500 Subject: [Freeswitch-users] att_xfer and blind transfer In-Reply-To: References: Message-ID: https://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_att_xfer Either the docs are wrong, or the code is broken. Can you test that # can be pressed prior to answer to cancel per documentation. On Wed, Apr 22, 2015 at 8:27 AM, Ali Pey wrote: > Thanks Brian. > > How about Blind Transfer? Can I complete the transfer by pressing * to > connect A to C before C has answered? > > > > On Wed, Apr 22, 2015 at 4:32 AM, Brian West wrote: > >> Wiki says # will cancel it before answer. >> >> >> On Tuesday, April 21, 2015, Ali Pey wrote: >> >>> Hello, >>> >>> Is there anyway to do blind transfer with att_xfer? >>> >>> Also, based on wiki for att_xfer, to cancel transfer and go back to the >>> caller, you can press # ONLY after C-leg (last party) answers. However, >>> most users would need to be able cancel transfer while the last party is >>> ringing and hasn't answered. Is that possible? >>> >>> >>> Thanks, >>> Ali Pey >>> >>> >> >> -- >> >> *Brian West* >> brian at freeswitch.org >> >> >> *Twitter: @FreeSWITCH , @briankwest* >> >> >> http://www.freeswitchbook.com >> >> http://www.freeswitchcookbook.com >> >> >> ClueCon 2015 Call for Speakers >> | >> Register >> TODAY! >> | Reddit: /r/freeswitch >> >> >> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) >> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> >> Official FreeSWITCH Sites >> >> >> http://www.freeswitch.org >> >> http://confluence.freeswitch.org >> >> >> >> http://www.cluecon.com >> >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> >> >> >> http://www.freeswitch.org >> >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com ClueCon 2015 Call for Speakers | Register TODAY! | Reddit: /r/freeswitch *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150422/79d89834/attachment-0001.html From luis.azedo at factorlusitano.com Wed Apr 22 17:47:58 2015 From: luis.azedo at factorlusitano.com (Luis Azedo) Date: Wed, 22 Apr 2015 14:47:58 +0100 Subject: [Freeswitch-users] patch for sofia_sip_i_invite to support replaces with action Message-ID: > > Couldn't this be a huge security vulnerability used to inject arbitrary > commands into a session in FreeSWITCH? > > isn't the call authenticated first ? anyway, an option can be added to sip_profile to allow this. > why don't you pass the call to mod_perl or Lua, and do all the > necessary lookups in the script? This shpouldn;t be a big deal to > implement, and much more safe than patching mod_sofia. > > not an option, but thanks for suggesting > >>> -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150422/85dee507/attachment.html From brian at freeswitch.org Wed Apr 22 18:01:16 2015 From: brian at freeswitch.org (Brian West) Date: Wed, 22 Apr 2015 09:01:16 -0500 Subject: [Freeswitch-users] Current production release 1.4.15 or 1.4.18? In-Reply-To: <55379F5A.2000208@ringme.ru> References: <55379F5A.2000208@ringme.ru> Message-ID: There is an issue, we are working thru it. On Wed, Apr 22, 2015 at 8:17 AM, ????? wrote: > on centos repo - only .15 :( > > > On 21.04.2015 04:38, Andrew Keil wrote: > > To FreeSWITCH Users, > > > > Simple question. Is the current FreeSWITCH release to use in production > 1.4.15 or 1.4.18? > > > > I noticed that 1.4.18 was just released on March 26th 2015, however the > main FreeSWITCH.org webpage still shows Release: 1.4.15. > > > > Kind Regards, > > > > Andrew Keil > > *Visytel Pty Ltd* > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: consulting at freeswitch.orghttp://www.freeswitchsolutions.com > > Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com > > FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com ClueCon 2015 Call for Speakers | Register TODAY! | Reddit: /r/freeswitch *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150422/64e03806/attachment.html From jhorsburgh at gmail.com Wed Apr 22 16:58:54 2015 From: jhorsburgh at gmail.com (jhorsburgh) Date: Wed, 22 Apr 2015 05:58:54 -0700 (MST) Subject: [Freeswitch-users] Duplicate DTMF Issue Message-ID: <1429707534872-7596155.post@n2.nabble.com> Hello All, I am having some issues detecting DTMF tones and was hoping someone could shed some light on the problem. *Background* I am using Freeswitch (1.4.14~32bit) with GSMopen to receive calls and process high-speed DTMF signal for use with Alarm Systems. Unfortunately the standard inband DTMF detection is not quite up to the task but spandsp works perfectly. *Problem* The problem I am having is that the standard inband DTMF detection remains enabled when spandsp is enabled producing duplicates of each detected tone. Is there a way of disabling DTMF detection with the exception of spandsp? Any help would be greatly appreciated. Kind regards, Jeremy 2015-04-22 12:18:22.129468 [DEBUG] mod_gsmopen.cpp:919 rev 1.4.14~32bit [(nil)|37 ][DEBUG_GSMOPEN 919 ][interface1][-1, 5, 5] gsmopen/interface1 CHANNEL got SWITCH_MESSAGE_INDICATE_TRANSCODING_NECESSARY 2015-04-22 12:18:22.569494 [DEBUG] switch_channel.c:488 RECV DTMF 5:2000 2015-04-22 12:18:22.569494 [DEBUG] mod_gsmopen.cpp:745 rev 1.4.14~32bit [(nil)|37 ][DEBUG_GSMOPEN 745 ][interface1][-1, 5, 5] DTMF DETECTED: [5] new_dtmf_timestamp: 1652802529, delta_t: 515839955 2015-04-22 12:18:22.569494 [DEBUG] mod_spandsp_dsp.c:373 DTMF BEGIN DETECTED: [5] 2015-04-22 12:18:22.569494 [DEBUG] switch_channel.c:488 RECV DTMF 5:2000 2015-04-22 12:18:22.749457 [DEBUG] mod_spandsp_dsp.c:385 DTMF END DETECTED: [5], duration = 178 ms 2015-04-22 12:18:23.049446 [DEBUG] switch_channel.c:488 RECV DTMF 3:2000 2015-04-22 12:18:23.049446 [DEBUG] mod_gsmopen.cpp:745 rev 1.4.14~32bit [(nil)|37 ][DEBUG_GSMOPEN 745 ][interface1][-1, 5, 5] DTMF DETECTED: [3] new_dtmf_timestamp: 1653282480, delta_t: 479951 2015-04-22 12:18:23.049446 [DEBUG] mod_spandsp_dsp.c:373 DTMF BEGIN DETECTED: [3] 2015-04-22 12:18:23.049446 [DEBUG] switch_channel.c:488 RECV DTMF 3:2000 2015-04-22 12:18:23.229447 [DEBUG] mod_spandsp_dsp.c:385 DTMF END DETECTED: [3], duration = 165 ms 2015-04-22 12:18:23.529449 [DEBUG] switch_channel.c:488 RECV DTMF 5:2000 2015-04-22 12:18:23.529449 [DEBUG] mod_gsmopen.cpp:745 rev 1.4.14~32bit [(nil)|37 ][DEBUG_GSMOPEN 745 ][interface1][-1, 5, 5] DTMF DETECTED: [5] new_dtmf_timestamp: 1653762488, delta_t: 480008 2015-04-22 12:18:23.549464 [DEBUG] mod_spandsp_dsp.c:373 DTMF BEGIN DETECTED: [5] 2015-04-22 12:18:23.549464 [DEBUG] switch_channel.c:488 RECV DTMF 5:2000 2015-04-22 12:18:23.689495 [DEBUG] mod_spandsp_dsp.c:385 DTMF END DETECTED: [5], duration = 140 ms 2015-04-22 12:18:24.029440 [DEBUG] switch_channel.c:488 RECV DTMF 2:2000 2015-04-22 12:18:24.029440 [DEBUG] mod_gsmopen.cpp:745 rev 1.4.14~32bit [(nil)|37 ][DEBUG_GSMOPEN 745 ][interface1][-1, 5, 5] DTMF DETECTED: [2] new_dtmf_timestamp: 1654262471, delta_t: 499983 2015-04-22 12:18:24.029440 [DEBUG] mod_spandsp_dsp.c:373 DTMF BEGIN DETECTED: [2] 2015-04-22 12:18:24.029440 [DEBUG] switch_channel.c:488 RECV DTMF 2:2000 2015-04-22 12:18:24.169442 [DEBUG] mod_spandsp_dsp.c:385 DTMF END DETECTED: [2], duration = 153 ms 2015-04-22 12:18:24.489445 [DEBUG] switch_channel.c:488 RECV DTMF 5:2000 2015-04-22 12:18:24.489445 [DEBUG] mod_gsmopen.cpp:745 rev 1.4.14~32bit [(nil)|37 ][DEBUG_GSMOPEN 745 ][interface1][-1, 5, 5] DTMF DETECTED: [5] new_dtmf_timestamp: 1654722477, delta_t: 460006 2015-04-22 12:18:24.489445 [DEBUG] mod_spandsp_dsp.c:373 DTMF BEGIN DETECTED: [5] 2015-04-22 12:18:24.489445 [DEBUG] switch_channel.c:488 RECV DTMF 5:2000 2015-04-22 12:18:24.649447 [DEBUG] mod_spandsp_dsp.c:385 DTMF END DETECTED: [5], duration = 153 ms 2015-04-22 12:18:25.609450 [INFO] switch_cpp.cpp:1328 Failed to validate Checksum - '5533552255' -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Duplicate-DTMF-Issue-tp7596155.html Sent from the freeswitch-users mailing list archive at Nabble.com. From freeswitch at tropic.net Wed Apr 22 12:57:59 2015 From: freeswitch at tropic.net (Tony Mendez) Date: Wed, 22 Apr 2015 09:57:59 +0100 Subject: [Freeswitch-users] Challenges In-Reply-To: <00ff01d07c63$2235ebb0$66a1c310$@botecomm.com> References: <00ff01d07c63$2235ebb0$66a1c310$@botecomm.com> Message-ID: Thanks for all who replied. The solution was a missing ring_ready on that ring group. Added one through fusionpbx, and it now rings. Gasp! Tony > On 21 Apr 2015, at 19:44, Bote Man wrote: > > Is it possible that early media or ring ready are being handled differently by the different phones that he has and therefore suppressing the ring in some cases? > > Bote > > >> -----Original Message----- >> From: Moishe Grunstein >> Sent: Tuesday, 21 April, 2015 12:50 >> Subject: Re: [Freeswitch-users] Challenges >> >> You should open an issue at https://code.google.com/p/fusionpbx/ >> Or join #fusionpbx in freenode irc >> >> Thanks, >> >> Moishe Grunstein >> >> -----Original Message----- >> From: Tony Mendez >> Sent: Tuesday, April 21, 2015 11:58 AM >> Subject: [Freeswitch-users] Challenges >> >> Hi all, >> >> I have installed the latest version of freeswitch, with fusionpbx. It is an >> upgraded install. However, some of the extensions do not generate a ring >> tone when calling in. Specifically, it is one extension and one ring group. >> Everything else is fine ( I think). Would be good if someone can help with 1) >> direct me to the relevant sections in the freeswitch manual, or 2) just tell me >> how to make it ring. In fusionpbx, it is set to ?default? for that specific ring >> group, same as the other ring groups. >> >> Gracias, >> >> Tony >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org From kbdfck at gmail.com Wed Apr 22 18:29:26 2015 From: kbdfck at gmail.com (Dmitry Sytchev) Date: Wed, 22 Apr 2015 17:29:26 +0300 Subject: [Freeswitch-users] Broken pipe when calling WS SIP endpoint, while incoming call is ok Message-ID: Hi all! I faced strange problem after upgrading to real SSL certs from startssl for WSS. When calling to WS endpoint (SIP.js 0.6.4), I get these strange messages, and call doesn't reach browser. tport.c:984 tport_base_connect() tport_base_connect(0x7f07dc005240): what(pf=2 ws/[1.2.2.94]:62846): Broken pipe tport.c:984 tport_base_connect() tport_base_connect(0x7f07dc005240): what(pf=2 ws/[1.2.2.94]:62846): Broken pipe nta.c:8496 outgoing_print_tport_error() nta: INVITE (74519703): Broken pipe (32) with ws/[1.2.2.94]:62846 Strange thing that inbound calls from WS endpoint work just fine! And setting certs back to self-signed doesn't fix problem. I'd appreciate any help, because I don't know how to debug it further. I really don't know what was the reason of the problem, does anybody have any suggestions? Here is log of calling to endpoint: 2015-04-22 17:05:34.771151 [DEBUG] mod_sofia.c:87 sofia/internal/sip:8vtik7g6 at 1.2.2.94:62846 SOFIA INIT 2015-04-22 17:05:34.771151 [DEBUG] sofia_glue.c:1203 sip:8vtik7g6 at 1.2.2.94:62846;transport=ws Setting proxy route to sofia/internal/sip:8vtik7g6 at 1.2.2.94:62846 2015-04-22 17:05:34.771151 [DEBUG] sofia_glue.c:1232 sofia/internal/sip:8vtik7g6 at 1.2.2.94:62846 sending invite version: 1.5.15b git 326289c 2014-12-20 06:25:59Z 64bit Local SDP: v=0 o=FreeSWITCH 1429686302 1429686303 IN IP4 3.4.90.23 s=FreeSWITCH c=IN IP4 3.4.90.23 t=0 0 a=msid-semantic: WMS Crr9GuLnR9pipW39wCmFv1EBDRcj6Iky m=audio 25232 RTP/SAVPF 9 0 8 3 101 13 a=rtpmap:9 G722/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:3 GSM/8000 a=rtpmap:101 telephone-event/8000 a=fingerprint:sha-256 FD:70:F0:83:A9:4E:C4:77:24:68:E3:75:0A:8D:D2:C9:F9:1D:ED:EC:5F:1B:B6:FE:1F:A0:27:33:37:FB:F2:9F a=rtcp-mux a=rtcp:25232 IN IP4 3.4.90.23 a=ssrc:1295801150 cname:0CyxWaKE90MpNGoa a=ssrc:1295801150 msid:Crr9GuLnR9pipW39wCmFv1EBDRcj6Iky a0 a=ssrc:1295801150 mslabel:Crr9GuLnR9pipW39wCmFv1EBDRcj6Iky a=ssrc:1295801150 label:Crr9GuLnR9pipW39wCmFv1EBDRcj6Ikya0 a=ice-ufrag:8AFtraVVSY5Pwgen a=ice-pwd:ICKvClZCbCRP86P6wkpOlbA4 a=candidate:3511026785 1 udp 659136 3.4.90.23 25232 typ host generation 0 a=candidate:3511026785 2 udp 659136 3.4.90.23 25232 typ host generation 0 a=ptime:20 a=sendrecv 2015-04-22 17:05:34.771151 [DEBUG] switch_core_state_machine.c:40 sofia/internal/sip:8vtik7g6 at 1.2.2.94:62846 Standard INIT 2015-04-22 17:05:34.771151 [DEBUG] switch_core_state_machine.c:48 (sofia/internal/sip:8vtik7g6 at 1.2.2.94:62846) State Change CS_INIT -> CS_ROUTING 2015-04-22 17:05:34.771151 [DEBUG] switch_core_session.c:1388 Send signal sofia/internal/sip:8vtik7g6 at 1.2.2.94:62846 [BREAK] 2015-04-22 17:05:34.771151 [DEBUG] switch_core_state_machine.c:512 (sofia/internal/sip:8vtik7g6 at 1.2.2.94:62846) State INIT going to sleep 2015-04-22 17:05:34.771151 [DEBUG] switch_core_state_machine.c:472 (sofia/internal/sip:8vtik7g6 at 1.2.2.94:62846) Running State Change CS_ROUTING 2015-04-22 17:05:34.771151 [DEBUG] switch_core_state_machine.c:528 (sofia/internal/sip:8vtik7g6 at 1.2.2.94:62846) State ROUTING 2015-04-22 17:05:34.771151 [DEBUG] mod_sofia.c:123 sofia/internal/sip:8vtik7g6 at 1.2.2.94:62846 SOFIA ROUTING 2015-04-22 17:05:34.771151 [DEBUG] switch_ivr_originate.c:67 (sofia/internal/sip:8vtik7g6 at 1.2.2.94:62846) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2015-04-22 17:05:34.771151 [DEBUG] switch_core_session.c:1388 Send signal sofia/internal/sip:8vtik7g6 at 1.2.2.94:62846 [BREAK] 2015-04-22 17:05:34.771151 [DEBUG] switch_core_state_machine.c:528 (sofia/internal/sip:8vtik7g6 at 1.2.2.94:62846) State ROUTING going to sleep 2015-04-22 17:05:34.771151 [DEBUG] switch_core_state_machine.c:472 (sofia/internal/sip:8vtik7g6 at 1.2.2.94:62846) Running State Change CS_CONSUME_MEDIA 2015-04-22 17:05:34.771151 [DEBUG] switch_core_state_machine.c:547 (sofia/internal/sip:8vtik7g6 at 1.2.2.94:62846) State CONSUME_MEDIA 2015-04-22 17:05:34.771151 [DEBUG] switch_core_state_machine.c:547 (sofia/internal/sip:8vtik7g6 at 1.2.2.94:62846) State CONSUME_MEDIA going to sleep tport.c:984 tport_base_connect() tport_base_connect(0x7f07dc005240): what(pf=2 ws/[1.2.2.94]:62846): Broken pipe tport.c:984 tport_base_connect() tport_base_connect(0x7f07dc005240): what(pf=2 ws/[1.2.2.94]:62846): Broken pipe nta.c:8496 outgoing_print_tport_error() nta: INVITE (74519703): Broken pipe (32) with ws/[1.2.2.94]:62846 -- Best regards, Dmitry Sytchev, IT Engineer From kbdfck at gmail.com Wed Apr 22 18:30:39 2015 From: kbdfck at gmail.com (Dmitry Sytchev) Date: Wed, 22 Apr 2015 17:30:39 +0300 Subject: [Freeswitch-users] Broken pipe when calling WS SIP endpoint, while incoming call is ok In-Reply-To: References: Message-ID: I use 1.5.15b+git~20141220T062559Z~326289caf9~64bit Before I tried to upgrade SSL cert, all was working good except need to accept wrong cert in browser... 2015-04-22 17:29 GMT+03:00 Dmitry Sytchev : > Hi all! > > I faced strange problem after upgrading to real SSL certs from startssl for WSS. > When calling to WS endpoint (SIP.js 0.6.4), I get these strange > messages, and call doesn't reach browser. > > tport.c:984 tport_base_connect() tport_base_connect(0x7f07dc005240): > what(pf=2 ws/[1.2.2.94]:62846): Broken pipe > tport.c:984 tport_base_connect() tport_base_connect(0x7f07dc005240): > what(pf=2 ws/[1.2.2.94]:62846): Broken pipe > nta.c:8496 outgoing_print_tport_error() nta: INVITE (74519703): Broken > pipe (32) with ws/[1.2.2.94]:62846 > > > Strange thing that inbound calls from WS endpoint work just fine! And > setting certs back to self-signed doesn't fix problem. > I'd appreciate any help, because I don't know how to debug it further. > I really don't know what was the reason of the problem, does anybody > have any suggestions? > > Here is log of calling to endpoint: > > 2015-04-22 17:05:34.771151 [DEBUG] mod_sofia.c:87 > sofia/internal/sip:8vtik7g6 at 1.2.2.94:62846 SOFIA INIT > 2015-04-22 17:05:34.771151 [DEBUG] sofia_glue.c:1203 > sip:8vtik7g6 at 1.2.2.94:62846;transport=ws Setting proxy route to > sofia/internal/sip:8vtik7g6 at 1.2.2.94:62846 > 2015-04-22 17:05:34.771151 [DEBUG] sofia_glue.c:1232 > sofia/internal/sip:8vtik7g6 at 1.2.2.94:62846 sending invite version: > 1.5.15b git 326289c 2014-12-20 06:25:59Z 64bit > Local SDP: > v=0 > o=FreeSWITCH 1429686302 1429686303 IN IP4 3.4.90.23 > s=FreeSWITCH > c=IN IP4 3.4.90.23 > t=0 0 > a=msid-semantic: WMS Crr9GuLnR9pipW39wCmFv1EBDRcj6Iky > m=audio 25232 RTP/SAVPF 9 0 8 3 101 13 > a=rtpmap:9 G722/8000 > a=rtpmap:0 PCMU/8000 > a=rtpmap:8 PCMA/8000 > a=rtpmap:3 GSM/8000 > a=rtpmap:101 telephone-event/8000 > a=fingerprint:sha-256 > FD:70:F0:83:A9:4E:C4:77:24:68:E3:75:0A:8D:D2:C9:F9:1D:ED:EC:5F:1B:B6:FE:1F:A0:27:33:37:FB:F2:9F > a=rtcp-mux > a=rtcp:25232 IN IP4 3.4.90.23 > a=ssrc:1295801150 cname:0CyxWaKE90MpNGoa > a=ssrc:1295801150 msid:Crr9GuLnR9pipW39wCmFv1EBDRcj6Iky a0 > a=ssrc:1295801150 mslabel:Crr9GuLnR9pipW39wCmFv1EBDRcj6Iky > a=ssrc:1295801150 label:Crr9GuLnR9pipW39wCmFv1EBDRcj6Ikya0 > a=ice-ufrag:8AFtraVVSY5Pwgen > a=ice-pwd:ICKvClZCbCRP86P6wkpOlbA4 > a=candidate:3511026785 1 udp 659136 3.4.90.23 25232 typ host generation 0 > a=candidate:3511026785 2 udp 659136 3.4.90.23 25232 typ host generation 0 > a=ptime:20 > a=sendrecv > > 2015-04-22 17:05:34.771151 [DEBUG] switch_core_state_machine.c:40 > sofia/internal/sip:8vtik7g6 at 1.2.2.94:62846 Standard INIT > 2015-04-22 17:05:34.771151 [DEBUG] switch_core_state_machine.c:48 > (sofia/internal/sip:8vtik7g6 at 1.2.2.94:62846) State Change CS_INIT -> > CS_ROUTING > 2015-04-22 17:05:34.771151 [DEBUG] switch_core_session.c:1388 Send > signal sofia/internal/sip:8vtik7g6 at 1.2.2.94:62846 [BREAK] > 2015-04-22 17:05:34.771151 [DEBUG] switch_core_state_machine.c:512 > (sofia/internal/sip:8vtik7g6 at 1.2.2.94:62846) State INIT going to sleep > 2015-04-22 17:05:34.771151 [DEBUG] switch_core_state_machine.c:472 > (sofia/internal/sip:8vtik7g6 at 1.2.2.94:62846) Running State Change > CS_ROUTING > 2015-04-22 17:05:34.771151 [DEBUG] switch_core_state_machine.c:528 > (sofia/internal/sip:8vtik7g6 at 1.2.2.94:62846) State ROUTING > 2015-04-22 17:05:34.771151 [DEBUG] mod_sofia.c:123 > sofia/internal/sip:8vtik7g6 at 1.2.2.94:62846 SOFIA ROUTING > 2015-04-22 17:05:34.771151 [DEBUG] switch_ivr_originate.c:67 > (sofia/internal/sip:8vtik7g6 at 1.2.2.94:62846) State Change CS_ROUTING > -> CS_CONSUME_MEDIA > 2015-04-22 17:05:34.771151 [DEBUG] switch_core_session.c:1388 Send > signal sofia/internal/sip:8vtik7g6 at 1.2.2.94:62846 [BREAK] > 2015-04-22 17:05:34.771151 [DEBUG] switch_core_state_machine.c:528 > (sofia/internal/sip:8vtik7g6 at 1.2.2.94:62846) State ROUTING going to > sleep > 2015-04-22 17:05:34.771151 [DEBUG] switch_core_state_machine.c:472 > (sofia/internal/sip:8vtik7g6 at 1.2.2.94:62846) Running State Change > CS_CONSUME_MEDIA > 2015-04-22 17:05:34.771151 [DEBUG] switch_core_state_machine.c:547 > (sofia/internal/sip:8vtik7g6 at 1.2.2.94:62846) State CONSUME_MEDIA > 2015-04-22 17:05:34.771151 [DEBUG] switch_core_state_machine.c:547 > (sofia/internal/sip:8vtik7g6 at 1.2.2.94:62846) State CONSUME_MEDIA going > to sleep > tport.c:984 tport_base_connect() tport_base_connect(0x7f07dc005240): > what(pf=2 ws/[1.2.2.94]:62846): Broken pipe > tport.c:984 tport_base_connect() tport_base_connect(0x7f07dc005240): > what(pf=2 ws/[1.2.2.94]:62846): Broken pipe > nta.c:8496 outgoing_print_tport_error() nta: INVITE (74519703): Broken > pipe (32) with ws/[1.2.2.94]:62846 > > -- > Best regards, > > Dmitry Sytchev, > IT Engineer -- Best regards, Dmitry Sytchev, IT Engineer From brian at freeswitch.org Wed Apr 22 18:32:34 2015 From: brian at freeswitch.org (Brian West) Date: Wed, 22 Apr 2015 09:32:34 -0500 Subject: [Freeswitch-users] Broken pipe when calling WS SIP endpoint, while incoming call is ok In-Reply-To: References: Message-ID: What order did you put your wss.pem in ? /b On Wed, Apr 22, 2015 at 9:29 AM, Dmitry Sytchev wrote: > Hi all! > > I faced strange problem after upgrading to real SSL certs from startssl > for WSS. > When calling to WS endpoint (SIP.js 0.6.4), I get these strange > messages, and call doesn't reach browser. > > tport.c:984 tport_base_connect() tport_base_connect(0x7f07dc005240): > what(pf=2 ws/[1.2.2.94]:62846): Broken pipe > tport.c:984 tport_base_connect() tport_base_connect(0x7f07dc005240): > what(pf=2 ws/[1.2.2.94]:62846): Broken pipe > nta.c:8496 outgoing_print_tport_error() nta: INVITE (74519703): Broken > pipe (32) with ws/[1.2.2.94]:62846 > > > Strange thing that inbound calls from WS endpoint work just fine! And > setting certs back to self-signed doesn't fix problem. > I'd appreciate any help, because I don't know how to debug it further. > I really don't know what was the reason of the problem, does anybody > have any suggestions? > > Here is log of calling to endpoint: > > 2015-04-22 17:05:34.771151 [DEBUG] mod_sofia.c:87 > sofia/internal/sip:8vtik7g6 at 1.2.2.94:62846 SOFIA INIT > 2015-04-22 17:05:34.771151 [DEBUG] sofia_glue.c:1203 > sip:8vtik7g6 at 1.2.2.94:62846;transport=ws Setting proxy route to > sofia/internal/sip:8vtik7g6 at 1.2.2.94:62846 > 2015-04-22 17:05:34.771151 [DEBUG] sofia_glue.c:1232 > sofia/internal/sip:8vtik7g6 at 1.2.2.94:62846 sending invite version: > 1.5.15b git 326289c 2014-12-20 06:25:59Z 64bit > Local SDP: > v=0 > o=FreeSWITCH 1429686302 1429686303 IN IP4 3.4.90.23 > s=FreeSWITCH > c=IN IP4 3.4.90.23 > t=0 0 > a=msid-semantic: WMS Crr9GuLnR9pipW39wCmFv1EBDRcj6Iky > m=audio 25232 RTP/SAVPF 9 0 8 3 101 13 > a=rtpmap:9 G722/8000 > a=rtpmap:0 PCMU/8000 > a=rtpmap:8 PCMA/8000 > a=rtpmap:3 GSM/8000 > a=rtpmap:101 telephone-event/8000 > a=fingerprint:sha-256 > > FD:70:F0:83:A9:4E:C4:77:24:68:E3:75:0A:8D:D2:C9:F9:1D:ED:EC:5F:1B:B6:FE:1F:A0:27:33:37:FB:F2:9F > a=rtcp-mux > a=rtcp:25232 IN IP4 3.4.90.23 > a=ssrc:1295801150 cname:0CyxWaKE90MpNGoa > a=ssrc:1295801150 msid:Crr9GuLnR9pipW39wCmFv1EBDRcj6Iky a0 > a=ssrc:1295801150 mslabel:Crr9GuLnR9pipW39wCmFv1EBDRcj6Iky > a=ssrc:1295801150 label:Crr9GuLnR9pipW39wCmFv1EBDRcj6Ikya0 > a=ice-ufrag:8AFtraVVSY5Pwgen > a=ice-pwd:ICKvClZCbCRP86P6wkpOlbA4 > a=candidate:3511026785 1 udp 659136 3.4.90.23 25232 typ host generation 0 > a=candidate:3511026785 2 udp 659136 3.4.90.23 25232 typ host generation 0 > a=ptime:20 > a=sendrecv > > 2015-04-22 17:05:34.771151 [DEBUG] switch_core_state_machine.c:40 > sofia/internal/sip:8vtik7g6 at 1.2.2.94:62846 Standard INIT > 2015-04-22 17:05:34.771151 [DEBUG] switch_core_state_machine.c:48 > (sofia/internal/sip:8vtik7g6 at 1.2.2.94:62846) State Change CS_INIT -> > CS_ROUTING > 2015-04-22 17:05:34.771151 [DEBUG] switch_core_session.c:1388 Send > signal sofia/internal/sip:8vtik7g6 at 1.2.2.94:62846 [BREAK] > 2015-04-22 17:05:34.771151 [DEBUG] switch_core_state_machine.c:512 > (sofia/internal/sip:8vtik7g6 at 1.2.2.94:62846) State INIT going to sleep > 2015-04-22 17:05:34.771151 [DEBUG] switch_core_state_machine.c:472 > (sofia/internal/sip:8vtik7g6 at 1.2.2.94:62846) Running State Change > CS_ROUTING > 2015-04-22 17:05:34.771151 [DEBUG] switch_core_state_machine.c:528 > (sofia/internal/sip:8vtik7g6 at 1.2.2.94:62846) State ROUTING > 2015-04-22 17:05:34.771151 [DEBUG] mod_sofia.c:123 > sofia/internal/sip:8vtik7g6 at 1.2.2.94:62846 SOFIA ROUTING > 2015-04-22 17:05:34.771151 [DEBUG] switch_ivr_originate.c:67 > (sofia/internal/sip:8vtik7g6 at 1.2.2.94:62846) State Change CS_ROUTING > -> CS_CONSUME_MEDIA > 2015-04-22 17:05:34.771151 [DEBUG] switch_core_session.c:1388 Send > signal sofia/internal/sip:8vtik7g6 at 1.2.2.94:62846 [BREAK] > 2015-04-22 17:05:34.771151 [DEBUG] switch_core_state_machine.c:528 > (sofia/internal/sip:8vtik7g6 at 1.2.2.94:62846) State ROUTING going to > sleep > 2015-04-22 17:05:34.771151 [DEBUG] switch_core_state_machine.c:472 > (sofia/internal/sip:8vtik7g6 at 1.2.2.94:62846) Running State Change > CS_CONSUME_MEDIA > 2015-04-22 17:05:34.771151 [DEBUG] switch_core_state_machine.c:547 > (sofia/internal/sip:8vtik7g6 at 1.2.2.94:62846) State CONSUME_MEDIA > 2015-04-22 17:05:34.771151 [DEBUG] switch_core_state_machine.c:547 > (sofia/internal/sip:8vtik7g6 at 1.2.2.94:62846) State CONSUME_MEDIA going > to sleep > tport.c:984 tport_base_connect() tport_base_connect(0x7f07dc005240): > what(pf=2 ws/[1.2.2.94]:62846): Broken pipe > tport.c:984 tport_base_connect() tport_base_connect(0x7f07dc005240): > what(pf=2 ws/[1.2.2.94]:62846): Broken pipe > nta.c:8496 outgoing_print_tport_error() nta: INVITE (74519703): Broken > pipe (32) with ws/[1.2.2.94]:62846 > > -- > Best regards, > > Dmitry Sytchev, > IT Engineer > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com ClueCon 2015 Call for Speakers | Register TODAY! | Reddit: /r/freeswitch *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150422/b8a58f44/attachment.html From mike at jerris.com Wed Apr 22 18:33:42 2015 From: mike at jerris.com (Michael Jerris) Date: Wed, 22 Apr 2015 10:33:42 -0400 Subject: [Freeswitch-users] patch for sofia_sip_i_invite to support replaces with action In-Reply-To: References: Message-ID: <0A61B468-484C-47C3-B56F-FB5ADCCC723D@jerris.com> Sometimes the call is authenticated, sometimes not. Regardless, do you want any autheticated call to be able to run any arbitrary application including "system" on your switch? > On Apr 22, 2015, at 9:47 AM, Luis Azedo wrote: > > Couldn't this be a huge security vulnerability used to inject arbitrary commands into a session in FreeSWITCH? > > > isn't the call authenticated first ? anyway, an option can be added to sip_profile to allow this. > > why don't you pass the call to mod_perl or Lua, and do all the > necessary lookups in the script? This shpouldn;t be a big deal to > implement, and much more safe than patching mod_sofia. > > not an option, but thanks for suggesting -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150422/52f0fb41/attachment.html From kbdfck at gmail.com Wed Apr 22 18:37:13 2015 From: kbdfck at gmail.com (Dmitry Sytchev) Date: Wed, 22 Apr 2015 17:37:13 +0300 Subject: [Freeswitch-users] Broken pipe when calling WS SIP endpoint, while incoming call is ok In-Reply-To: References: Message-ID: Cert -> key -> signing CA cert Calls from WS to FS work. I noticed that problem may be linked with user accounts, which have registrations from WS and from plain SIP. Is it possible FS stops sending calls to WS when it start sending it to SIP endpoint? 2015-04-22 17:32 GMT+03:00 Brian West : > What order did you put your wss.pem in ? > > /b > > > On Wed, Apr 22, 2015 at 9:29 AM, Dmitry Sytchev wrote: > >> Hi all! >> >> I faced strange problem after upgrading to real SSL certs from startssl >> for WSS. >> When calling to WS endpoint (SIP.js 0.6.4), I get these strange >> messages, and call doesn't reach browser. >> >> tport.c:984 tport_base_connect() tport_base_connect(0x7f07dc005240): >> what(pf=2 ws/[1.2.2.94]:62846): Broken pipe >> tport.c:984 tport_base_connect() tport_base_connect(0x7f07dc005240): >> what(pf=2 ws/[1.2.2.94]:62846): Broken pipe >> nta.c:8496 outgoing_print_tport_error() nta: INVITE (74519703): Broken >> pipe (32) with ws/[1.2.2.94]:62846 >> >> >> Strange thing that inbound calls from WS endpoint work just fine! And >> setting certs back to self-signed doesn't fix problem. >> I'd appreciate any help, because I don't know how to debug it further. >> I really don't know what was the reason of the problem, does anybody >> have any suggestions? >> >> Here is log of calling to endpoint: >> >> 2015-04-22 17:05:34.771151 [DEBUG] mod_sofia.c:87 >> sofia/internal/sip:8vtik7g6 at 1.2.2.94:62846 SOFIA INIT >> 2015-04-22 17:05:34.771151 [DEBUG] sofia_glue.c:1203 >> sip:8vtik7g6 at 1.2.2.94:62846;transport=ws Setting proxy route to >> sofia/internal/sip:8vtik7g6 at 1.2.2.94:62846 >> 2015-04-22 17:05:34.771151 [DEBUG] sofia_glue.c:1232 >> sofia/internal/sip:8vtik7g6 at 1.2.2.94:62846 sending invite version: >> 1.5.15b git 326289c 2014-12-20 06:25:59Z 64bit >> Local SDP: >> v=0 >> o=FreeSWITCH 1429686302 1429686303 IN IP4 3.4.90.23 >> s=FreeSWITCH >> c=IN IP4 3.4.90.23 >> t=0 0 >> a=msid-semantic: WMS Crr9GuLnR9pipW39wCmFv1EBDRcj6Iky >> m=audio 25232 RTP/SAVPF 9 0 8 3 101 13 >> a=rtpmap:9 G722/8000 >> a=rtpmap:0 PCMU/8000 >> a=rtpmap:8 PCMA/8000 >> a=rtpmap:3 GSM/8000 >> a=rtpmap:101 telephone-event/8000 >> a=fingerprint:sha-256 >> >> FD:70:F0:83:A9:4E:C4:77:24:68:E3:75:0A:8D:D2:C9:F9:1D:ED:EC:5F:1B:B6:FE:1F:A0:27:33:37:FB:F2:9F >> a=rtcp-mux >> a=rtcp:25232 IN IP4 3.4.90.23 >> a=ssrc:1295801150 cname:0CyxWaKE90MpNGoa >> a=ssrc:1295801150 msid:Crr9GuLnR9pipW39wCmFv1EBDRcj6Iky a0 >> a=ssrc:1295801150 mslabel:Crr9GuLnR9pipW39wCmFv1EBDRcj6Iky >> a=ssrc:1295801150 label:Crr9GuLnR9pipW39wCmFv1EBDRcj6Ikya0 >> a=ice-ufrag:8AFtraVVSY5Pwgen >> a=ice-pwd:ICKvClZCbCRP86P6wkpOlbA4 >> a=candidate:3511026785 1 udp 659136 3.4.90.23 25232 typ host generation 0 >> a=candidate:3511026785 2 udp 659136 3.4.90.23 25232 typ host generation 0 >> a=ptime:20 >> a=sendrecv >> >> 2015-04-22 17:05:34.771151 [DEBUG] switch_core_state_machine.c:40 >> sofia/internal/sip:8vtik7g6 at 1.2.2.94:62846 Standard INIT >> 2015-04-22 17:05:34.771151 [DEBUG] switch_core_state_machine.c:48 >> (sofia/internal/sip:8vtik7g6 at 1.2.2.94:62846) State Change CS_INIT -> >> CS_ROUTING >> 2015-04-22 17:05:34.771151 [DEBUG] switch_core_session.c:1388 Send >> signal sofia/internal/sip:8vtik7g6 at 1.2.2.94:62846 [BREAK] >> 2015-04-22 17:05:34.771151 [DEBUG] switch_core_state_machine.c:512 >> (sofia/internal/sip:8vtik7g6 at 1.2.2.94:62846) State INIT going to sleep >> 2015-04-22 17:05:34.771151 [DEBUG] switch_core_state_machine.c:472 >> (sofia/internal/sip:8vtik7g6 at 1.2.2.94:62846) Running State Change >> CS_ROUTING >> 2015-04-22 17:05:34.771151 [DEBUG] switch_core_state_machine.c:528 >> (sofia/internal/sip:8vtik7g6 at 1.2.2.94:62846) State ROUTING >> 2015-04-22 17:05:34.771151 [DEBUG] mod_sofia.c:123 >> sofia/internal/sip:8vtik7g6 at 1.2.2.94:62846 SOFIA ROUTING >> 2015-04-22 17:05:34.771151 [DEBUG] switch_ivr_originate.c:67 >> (sofia/internal/sip:8vtik7g6 at 1.2.2.94:62846) State Change CS_ROUTING >> -> CS_CONSUME_MEDIA >> 2015-04-22 17:05:34.771151 [DEBUG] switch_core_session.c:1388 Send >> signal sofia/internal/sip:8vtik7g6 at 1.2.2.94:62846 [BREAK] >> 2015-04-22 17:05:34.771151 [DEBUG] switch_core_state_machine.c:528 >> (sofia/internal/sip:8vtik7g6 at 1.2.2.94:62846) State ROUTING going to >> sleep >> 2015-04-22 17:05:34.771151 [DEBUG] switch_core_state_machine.c:472 >> (sofia/internal/sip:8vtik7g6 at 1.2.2.94:62846) Running State Change >> CS_CONSUME_MEDIA >> 2015-04-22 17:05:34.771151 [DEBUG] switch_core_state_machine.c:547 >> (sofia/internal/sip:8vtik7g6 at 1.2.2.94:62846) State CONSUME_MEDIA >> 2015-04-22 17:05:34.771151 [DEBUG] switch_core_state_machine.c:547 >> (sofia/internal/sip:8vtik7g6 at 1.2.2.94:62846) State CONSUME_MEDIA going >> to sleep >> tport.c:984 tport_base_connect() tport_base_connect(0x7f07dc005240): >> what(pf=2 ws/[1.2.2.94]:62846): Broken pipe >> tport.c:984 tport_base_connect() tport_base_connect(0x7f07dc005240): >> what(pf=2 ws/[1.2.2.94]:62846): Broken pipe >> nta.c:8496 outgoing_print_tport_error() nta: INVITE (74519703): Broken >> pipe (32) with ws/[1.2.2.94]:62846 >> >> -- >> Best regards, >> >> Dmitry Sytchev, >> IT Engineer >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > > *Brian West* > brian at freeswitch.org > > > *Twitter: @FreeSWITCH , @briankwest* > http://www.freeswitchbook.com > http://www.freeswitchcookbook.com > > ClueCon 2015 Call for Speakers > | Register > TODAY! | Reddit: /r/freeswitch > > > *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) > *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Best regards, Dmitry Sytchev, IT Engineer -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150422/407fe178/attachment-0001.html From luis.azedo at factorlusitano.com Wed Apr 22 19:01:21 2015 From: luis.azedo at factorlusitano.com (Luis Azedo) Date: Wed, 22 Apr 2015 16:01:21 +0100 Subject: [Freeswitch-users] patch for sofia_sip_i_invite to support replaces with action Message-ID: "Sometimes the call is authenticated, sometimes not. Regardless, do you want any autheticated call to be able to run any arbitrary application including "system" on your switch?" yes, if the control is on the proxy, that would be handy, but that's not the case. and i already refered that it could be configurable. anyway, i do agree the patch does opens the system to security issues. i actually have it harcoded with intercept:tp_call_id, just wanted to give some options without success. i opened a jira ticket and will work from there. Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150422/5f656d10/attachment.html From gmaruzz at gmail.com Wed Apr 22 21:16:49 2015 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Wed, 22 Apr 2015 19:16:49 +0200 Subject: [Freeswitch-users] Duplicate DTMF Issue In-Reply-To: <1429707534872-7596155.post@n2.nabble.com> References: <1429707534872-7596155.post@n2.nabble.com> Message-ID: Hello Jeremy, I've not understood the problem, and the solution you are looking for. You want gsmopen not to recognize DTMFs, so you can analyze the audio with spandsp? Can you give more info ? -giovanni On Wed, Apr 22, 2015 at 2:58 PM, jhorsburgh wrote: > Hello All, > I am having some issues detecting DTMF tones and was hoping > someone could shed some light on the problem. > > *Background* > I am using Freeswitch (1.4.14~32bit) with GSMopen to receive calls and > process high-speed DTMF signal for use with Alarm Systems. Unfortunately > the > standard inband DTMF detection is not quite up to the task but spandsp > works > perfectly. > > *Problem* > The problem I am having is that the standard inband DTMF detection remains > enabled when spandsp is enabled producing duplicates of each detected tone. > > Is there a way of disabling DTMF detection with the exception of spandsp? > > Any help would be greatly appreciated. > > Kind regards, > Jeremy > > > > 2015-04-22 12:18:22.129468 [DEBUG] mod_gsmopen.cpp:919 rev 1.4.14~32bit > [(nil)|37 ][DEBUG_GSMOPEN 919 ][interface1][-1, 5, 5] > gsmopen/interface1 CHANNEL got > SWITCH_MESSAGE_INDICATE_TRANSCODING_NECESSARY > 2015-04-22 12:18:22.569494 [DEBUG] switch_channel.c:488 RECV DTMF 5:2000 > 2015-04-22 12:18:22.569494 [DEBUG] mod_gsmopen.cpp:745 rev 1.4.14~32bit > [(nil)|37 ][DEBUG_GSMOPEN 745 ][interface1][-1, 5, 5] DTMF DETECTED: > [5] new_dtmf_timestamp: 1652802529, delta_t: 515839955 > 2015-04-22 12:18:22.569494 [DEBUG] mod_spandsp_dsp.c:373 DTMF BEGIN > DETECTED: [5] > 2015-04-22 12:18:22.569494 [DEBUG] switch_channel.c:488 RECV DTMF 5:2000 > 2015-04-22 12:18:22.749457 [DEBUG] mod_spandsp_dsp.c:385 DTMF END DETECTED: > [5], duration = 178 ms > 2015-04-22 12:18:23.049446 [DEBUG] switch_channel.c:488 RECV DTMF 3:2000 > 2015-04-22 12:18:23.049446 [DEBUG] mod_gsmopen.cpp:745 rev 1.4.14~32bit > [(nil)|37 ][DEBUG_GSMOPEN 745 ][interface1][-1, 5, 5] DTMF DETECTED: > [3] new_dtmf_timestamp: 1653282480, delta_t: 479951 > 2015-04-22 12:18:23.049446 [DEBUG] mod_spandsp_dsp.c:373 DTMF BEGIN > DETECTED: [3] > 2015-04-22 12:18:23.049446 [DEBUG] switch_channel.c:488 RECV DTMF 3:2000 > 2015-04-22 12:18:23.229447 [DEBUG] mod_spandsp_dsp.c:385 DTMF END DETECTED: > [3], duration = 165 ms > 2015-04-22 12:18:23.529449 [DEBUG] switch_channel.c:488 RECV DTMF 5:2000 > 2015-04-22 12:18:23.529449 [DEBUG] mod_gsmopen.cpp:745 rev 1.4.14~32bit > [(nil)|37 ][DEBUG_GSMOPEN 745 ][interface1][-1, 5, 5] DTMF DETECTED: > [5] new_dtmf_timestamp: 1653762488, delta_t: 480008 > 2015-04-22 12:18:23.549464 [DEBUG] mod_spandsp_dsp.c:373 DTMF BEGIN > DETECTED: [5] > 2015-04-22 12:18:23.549464 [DEBUG] switch_channel.c:488 RECV DTMF 5:2000 > 2015-04-22 12:18:23.689495 [DEBUG] mod_spandsp_dsp.c:385 DTMF END DETECTED: > [5], duration = 140 ms > 2015-04-22 12:18:24.029440 [DEBUG] switch_channel.c:488 RECV DTMF 2:2000 > 2015-04-22 12:18:24.029440 [DEBUG] mod_gsmopen.cpp:745 rev 1.4.14~32bit > [(nil)|37 ][DEBUG_GSMOPEN 745 ][interface1][-1, 5, 5] DTMF DETECTED: > [2] new_dtmf_timestamp: 1654262471, delta_t: 499983 > 2015-04-22 12:18:24.029440 [DEBUG] mod_spandsp_dsp.c:373 DTMF BEGIN > DETECTED: [2] > 2015-04-22 12:18:24.029440 [DEBUG] switch_channel.c:488 RECV DTMF 2:2000 > 2015-04-22 12:18:24.169442 [DEBUG] mod_spandsp_dsp.c:385 DTMF END DETECTED: > [2], duration = 153 ms > 2015-04-22 12:18:24.489445 [DEBUG] switch_channel.c:488 RECV DTMF 5:2000 > 2015-04-22 12:18:24.489445 [DEBUG] mod_gsmopen.cpp:745 rev 1.4.14~32bit > [(nil)|37 ][DEBUG_GSMOPEN 745 ][interface1][-1, 5, 5] DTMF DETECTED: > [5] new_dtmf_timestamp: 1654722477, delta_t: 460006 > 2015-04-22 12:18:24.489445 [DEBUG] mod_spandsp_dsp.c:373 DTMF BEGIN > DETECTED: [5] > 2015-04-22 12:18:24.489445 [DEBUG] switch_channel.c:488 RECV DTMF 5:2000 > 2015-04-22 12:18:24.649447 [DEBUG] mod_spandsp_dsp.c:385 DTMF END DETECTED: > [5], duration = 153 ms > 2015-04-22 12:18:25.609450 [INFO] switch_cpp.cpp:1328 Failed to validate > Checksum - '5533552255' > > > > > > > -- > View this message in context: > http://freeswitch-users.2379917.n2.nabble.com/Duplicate-DTMF-Issue-tp7596155.html > Sent from the freeswitch-users mailing list archive at Nabble.com. > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Sincerely, Giovanni Maruzzelli Cell : +39-347-2665618 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150422/c1e71dbc/attachment.html From w8hdkim at gmail.com Wed Apr 22 22:59:57 2015 From: w8hdkim at gmail.com (Kim Culhan) Date: Wed, 22 Apr 2015 14:59:57 -0400 Subject: [Freeswitch-users] Internal and external ip addresses Message-ID: I've been running FS for some years with two nic's, one on the internal network which is configured on the FS internal profile, the other nic on the external network with an internet ip. Is this how internal and external were designed to be used? Most recently I've installed a new FS machine and noticed some problems with registering to a gateway on the external interface, which is why I ask these questions. thanks -kim -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150422/b02bd7c1/attachment.html From vishal.kakkar at gmail.com Wed Apr 22 23:01:26 2015 From: vishal.kakkar at gmail.com (Vishal Kakkar) Date: Thu, 23 Apr 2015 00:31:26 +0530 Subject: [Freeswitch-users] Capturing call time of IVR Menus Message-ID: Hi all, I got requirement to capture details about- how much time caller spent with each menu item in IVR, during his call. Any one please help, how can we capture this? I am already using mod-xml-cdr for call record capturing. Thanks Vishal. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150423/ef3c18b5/attachment.html From blasterjr at gmail.com Wed Apr 22 23:28:00 2015 From: blasterjr at gmail.com (Chris Tunbridge) Date: Wed, 22 Apr 2015 13:28:00 -0600 Subject: [Freeswitch-users] Capturing call time of IVR Menus In-Reply-To: References: Message-ID: Vishal you should be able to look at the transfer stamps between when they were transferred to the IVR extension and when they were transferred away inside your mod_xml_cdr. Other than that you could write a variable like so at the start and this at the end But this makes it add more items to the XML-CDR and i think the best way is probably to just use the transfer times. On Wed, Apr 22, 2015 at 1:01 PM, Vishal Kakkar wrote: > Hi all, > > I got requirement to capture details about- > how much time caller spent with each menu item in IVR, during his call. > > Any one please help, how can we capture this? > I am already using mod-xml-cdr for call record capturing. > > Thanks > Vishal. > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150422/c576eeee/attachment.html From ben at langfeld.co.uk Wed Apr 22 23:29:36 2015 From: ben at langfeld.co.uk (Ben Langfeld) Date: Wed, 22 Apr 2015 16:29:36 -0300 Subject: [Freeswitch-users] Internal and external ip addresses In-Reply-To: References: Message-ID: You might start by detailing the problem you're having. On 22 April 2015 at 15:59, Kim Culhan wrote: > I've been running FS for some years with two nic's, one on the internal > network > which is configured on the FS internal profile, the other nic on the > external network with an internet ip. > > Is this how internal and external were designed to be used? > > Most recently I've installed a new FS machine and noticed some problems > with > registering to a gateway on the external interface, which is why I ask > these questions. > > thanks > -kim > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150422/0b2c2cc5/attachment-0001.html From italorossib at gmail.com Wed Apr 22 23:47:28 2015 From: italorossib at gmail.com (=?UTF-8?B?w410YWxvIFJvc3Np?=) Date: Wed, 22 Apr 2015 19:47:28 +0000 Subject: [Freeswitch-users] FreeSWITCH 1.6 docs - pre-beta testing Message-ID: Hello Folks, FreeSWITCH 1.6 guide is open for pre-beta testing, you are welcome to give it a try and give your feedback to the team. Here is the doc link: https://freeswitch.org/confluence/display/FREESWITCH/FreeSWITCH+1.6+Video Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150422/531112f4/attachment.html From brian at freeswitch.org Wed Apr 22 23:52:29 2015 From: brian at freeswitch.org (Brian West) Date: Wed, 22 Apr 2015 14:52:29 -0500 Subject: [Freeswitch-users] [Freeswitch-docs] FreeSWITCH 1.6 docs - pre-beta testing In-Reply-To: References: Message-ID: If you find an issue or have questions please join #freeswitch-video on freenode. Bug reports go to JIRA, tag them 1.6, I'm sure we have more shake down to do. Thanks, On Wed, Apr 22, 2015 at 2:47 PM, ?talo Rossi wrote: > Hello Folks, > > FreeSWITCH 1.6 guide is open for pre-beta testing, you are welcome to give > it a try and give your feedback to the team. > > Here is the doc link: > https://freeswitch.org/confluence/display/FREESWITCH/FreeSWITCH+1.6+Video > > Thanks! > > > _______________________________________________ > Freeswitch-docs mailing list > Freeswitch-docs at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-docs > > -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com ClueCon 2015 Call for Speakers | Register TODAY! | Reddit: /r/freeswitch *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150422/a5000d4f/attachment.html From ssinyagin at gmail.com Thu Apr 23 04:19:43 2015 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Thu, 23 Apr 2015 02:19:43 +0200 Subject: [Freeswitch-users] Internal and external ip addresses In-Reply-To: References: Message-ID: the profile names ("external", "internal") don't really mean anything, and they are just default suggestions that work for most situations out of the box. You can create as many SIP profiles as needed, and even delete the default ones. The "internal" profile binds to port 5060 and authenticates all incoming SIP requests. Usually it's used for the SIP clients to register at FS and authenticate against the directory. The "external" profile binds to port 5080 and does not authenticate incoming SIP calls. Usually it's used to register at ITSP accounts and to communicate with them. Also this profile may accept SIP calls from anyone in the public Internet. Both profiles have parameters that define their IP address binding: the server may have several NICs, or it may be placed behind the NAT, so you may need to influence FreeSWITCH in how it associates a SIP profile with an IP address. You may also need to specify the public NAT address explicitly. For an SBC, for example, other SIP profile names would be more convenient: "inside", "outside". You may also need different profiles for SIP clients registering from internal LAN and from public internet. Same way with contexts -- "default" and "public" are only suggestions how to organize the dialplan, but you may have a completely different set of contexts. I covered this shortly in my tutorial: https://freeswitch.org/confluence/display/FREESWITCH/FreeSWITCH+PBX+Example cheers s. On Wed, Apr 22, 2015 at 8:59 PM, Kim Culhan wrote: > I've been running FS for some years with two nic's, one on the internal > network > which is configured on the FS internal profile, the other nic on the > external network with an internet ip. > > Is this how internal and external were designed to be used? > > Most recently I've installed a new FS machine and noticed some problems with > registering to a gateway on the external interface, which is why I ask these > questions. > > thanks > -kim > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org From steveu at coppice.org Thu Apr 23 06:00:20 2015 From: steveu at coppice.org (Steve Underwood) Date: Thu, 23 Apr 2015 10:00:20 +0800 Subject: [Freeswitch-users] echo cancelation In-Reply-To: References: <55322645.8010509@coppice.org> Message-ID: <55385234.8030706@coppice.org> On 04/18/2015 07:13 PM, Sergey Safarov wrote: > How would you expect to use echo cancellation in FS? > I thinking it can be used like t38_gateway application (audio to image > converter). In echo canceler application audio with echo converted to > audio without echo. How would you propose to do that with a fixed rate type of echo canceler, like OSLEC? > > On the one hand SpanDSP library compiled with FS and contains > > functions for echo canceler libs/spandsp/src/echo.c > Not really. Look carefully at those routines. > In source > * echo.c - An echo cancellor, suitable for electrical and acoustic > * cancellation. This code does not currently comply with > * any relevant standards (e.g. G.164/5/7/8). One day.... > And other 70 string of following comments describe file as echo canceler > Also in echo_can_update() > at string 429 > clean_rx = rx - echo_value; > > at string 569 > if ((ec->adaption_mode & ECHO_CAN_USE_NLP)) > { > /* Non-linear processor - a fancy way to say "zap small > signals, to avoid > residual echo due to (uLaw/ALaw) non-linearity in the > channel.". */ > > Look in echo.h comments .... > > in the echo_tests.c > The echo cancellation tests test the echo cancellor against the G.168 > spec. > > At http://www.rowetel.com/blog/?page_id=454 I read > spandsp : A subset of spandsp to support testing and development of > Oslec. The echo canceller and G168 test suite source code live in here. > > I thinking it really echo canceler functions. Do you also believe in unicorns? I find lots of stuff about them in children's books. I am the author of SpanSDP. People are always trying to tell me that half finished chunks of code are fully functional. It gets rather annoying after a while. I even find people telling me a problem is solved when there is a project web site somewhere that hasn't been touched in years, and contains no code. I never really had the incentive to finish the echo canceler in SpanDSP, because David Rowe took my work in progress and fleshed it out to the fully functional OSLEC. I did finish the G.168 test suite in SpanDSP, so David could use that for his testing. > > SpanDSP does NOT contain OSLEC. OSLEC has its origins in the work in > progress echo canceller in SpanDSP. > If it two different product then echo canceler may be realized by > > 1. SpanDSP library > 2. Oslec kernel driver > > I has find relation In source files between OSLEC kernel driver > (drivers/staging/echo) and SpanDSP functions: > oslec_create(int len, int adaption_mode) - echo_can_init(int len, int > adaption_mode) > oslec_adaption_mode(struct oslec_state *ec, int adaption_mode) - > oslec_update(struct oslec_state *ec, int16_t tx, int16_t rx) > - echo_can_update(echo_can_state_t *ec, int16_t tx, int16_t rx) > oslec_hpf_tx(struct oslec_state *ec, int16_t tx) > - echo_can_hpf_tx(echo_can_state_t *ec, int16_t tx) > > And FS may use two echo canceler engines (SpanSDP or OSLEC kernel > driver). What is prevent to do it? SpanDSP doesn't have a working echo canceler. The OSLEC echo canceler is blocked by licence conditions. The OSLEC echo canceler is a great addition to the PSTN interfaces - DADHI and FreeTDM - but has no use elsewhere. > > On Sat, Apr 18, 2015 at 12:39 PM, Steve Underwood > wrote: > > On 04/18/2015 02:40 PM, Sergey Safarov wrote: > > Could you help me understand that prevents the use echo > cancellation in FS > How would you expect to use echo cancellation in FS? > > On the one hand SpanDSP library compiled with FS and contains > > functions for echo canceler libs/spandsp/src/echo.c > Not really. Look carefully at those routines. > > On the other hand FS does not contain applications of echo canceler. > Correct. > > Also, I found the discussion in which states GPL is not compatible > > with the MPL1.1 and it prevent use Oslec (SpanDSP is uses Oslec). > SpanDSP does NOT contain OSLEC. OSLEC has its origins in the work in > progress echo canceller in SpanDSP. > > Regards, > Steve > Regards, Steve From 0x6e6562 at gmail.com Thu Apr 23 13:27:18 2015 From: 0x6e6562 at gmail.com (Ben Hood) Date: Thu, 23 Apr 2015 10:27:18 +0100 Subject: [Freeswitch-users] Loading phrases on demand via mod_xml_curl In-Reply-To: <5537A4ED.5050201@ringme.ru> References: <5537A4ED.5050201@ringme.ru> Message-ID: Thanks very much for this! On Wed, Apr 22, 2015 at 2:41 PM, ????? wrote: > >
> > > > and set lang=en > > > freeswitch.xml >
> > > > > On 21.04.2015 16:44, Ben Hood wrote: >> Hi, >> >> It is possible to load a phrase on demand (and for every individual >> call) using mod_xml_curl? >> >> Currently my web server is returning: >> >> >>
>> >> >> >> >> >> >> >> >> >> >> >>
>>
>> >> when the phrases section of mod_xml_curl is configured thusly: >> >> >> >> >> >> >> >> >> >> > value="127.0.0.1/phrase" >> bindings="languages"/> >> >> >> >> but when a dialplan tries to load to load the vmg phrase: >> >> > greet-long="phrase:vmg" >> invalid-sound="ivr/ivr-that_was_an_invalid_entry.wav" >> exit-sound="voicemail/vm-goodbye.wav" >> confirm-macro="" >> confirm-key="" >> tts-engine="flite" >> tts-voice="slt" >> confirm-attempts="3" >> timeout="10000" >> inter-digit-timeout="2000" >> max-failures="3" >> max-timeouts="3" >> digit-len="1"> >> >> The execution cannot find the vmg macro: >> >> 2015-04-21 15:35:10.843131 [DEBUG] switch_ivr_menu.c:469 Executing IVR >> menu vmg_ivr >> 2015-04-21 15:35:10.843131 [DEBUG] switch_ivr_play_say.c:70 No >> language specified - Using [en] >> 2015-04-21 15:35:10.943130 [CONSOLE] mod_xml_curl.c:323 XML response >> is in /tmp/cbaaec2b-50ed-48ab-b5fa-68d3d7b34cb9.tmp.xml >> 2015-04-21 15:35:10.943130 [ERR] switch_ivr_play_say.c:145 Can't find macro vmg. >> >> The debug file that mod_xml_curl writes to disk >> (/tmp/cbaaec2b-50ed-48ab-b5fa-68d3d7b34cb9.tmp.xml) contains the macro >> called vmg. >> >> So I was wondering if phrase loading via mod_xml_curl is not supposed >> to work in this way, i.e. that a macro sourced remotely cannot be late >> bound to an IVR menu declaration? >> >> The following mailing list post >> >> http://lists.freeswitch.org/pipermail/freeswitch-users/2013-August/099239.html >> >> seems to suggest this behavior. >> >> But if that is the case, then I'm a bit surprised that the HTTP >> request appears to be executed every time the macro is referenced by a >> dialplan. >> >> Am I missing the point some where? >> >> Many thanks, >> >> Ben >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org From s.safarov at gmail.com Thu Apr 23 16:12:02 2015 From: s.safarov at gmail.com (Sergey Safarov) Date: Thu, 23 Apr 2015 15:12:02 +0300 Subject: [Freeswitch-users] echo cancelation In-Reply-To: <55385234.8030706@coppice.org> References: <55322645.8010509@coppice.org> <55385234.8030706@coppice.org> Message-ID: 1)How would you propose to do that with a fixed rate type of echo canceler, like OSLEC? If application can be used only with PCM/8000 call it wil be helpful for me. For other rates OSLEC source code changes may be requered. 2) Do you also believe in unicorns? ... Please accept my apologies. Now I understand what said Steve Underwood 3) The OSLEC echo canceler is blocked by licence conditions. I find it difficult to understand why the FS can use GPL Linux kernel, but can not use one of his GPL drivers (not propritory firmware driver). 4) The OSLEC echo canceler is a great addition to the PSTN interfaces - DADHI and FreeTDM - but has no use elsewhere. Could you help me to see how OSLEC uses DAHDI or FreeTDM api. Why other application cannot use OSLEC without DAHDI? Sergey. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150423/4d592495/attachment-0001.html From jhorsburgh at gmail.com Thu Apr 23 16:39:48 2015 From: jhorsburgh at gmail.com (Jeremy) Date: Thu, 23 Apr 2015 22:39:48 +1000 Subject: [Freeswitch-users] Duplicate DTMF Issue Message-ID: Hi Giovanni, Thank you for your reply, sorry I didn't explain the problem very well. I am trying to detect a string of DTMF's with a short pulse duration (about 50ms) and the normal DTMF detection is not able to reliably do this (it seems to miss almost all of the tones). Spandsp appears to be able to reliably do this but when I enable spandsp, I get duplicate tones detected by both spandsp and gsmopen (I think its gsmopen, example below). You are correct. Is it possible for gsmopen not to recognize DTMF's and use only spandsp to analyze the audio? Thank you for your help in advance. Jeremy. P.S. Greatly appreciate the work you have put into GSMopen, brilliant work! Hello Jeremy, I've not understood the problem, and the solution you are looking for. You want gsmopen not to recognize DTMFs, so you can analyze the audio with spandsp? Can you give more info ? -giovanni On Wed, Apr 22, 2015 at 2:58 PM, jhorsburgh > wrote: >* Hello All, *>* I am having some issues detecting DTMF tones and was hoping *>* someone could shed some light on the problem. *>>* *Background* *>* I am using Freeswitch (1.4.14~32bit) with GSMopen to receive calls and *>* process high-speed DTMF signal for use with Alarm Systems. Unfortunately *>* the *>* standard inband DTMF detection is not quite up to the task but spandsp *>* works *>* perfectly. *>>* *Problem* *>* The problem I am having is that the standard inband DTMF detection remains *>* enabled when spandsp is enabled producing duplicates of each detected tone. *>>* Is there a way of disabling DTMF detection with the exception of spandsp? *>>* Any help would be greatly appreciated. *>>* Kind regards, *>* Jeremy *>>>>* 2015-04-22 12:18:22.129468 [DEBUG] mod_gsmopen.cpp:919 rev 1.4.14~32bit *>* [(nil)|37 ][DEBUG_GSMOPEN 919 ][interface1][-1, 5, 5] *>* gsmopen/interface1 CHANNEL got *>* SWITCH_MESSAGE_INDICATE_TRANSCODING_NECESSARY *>* 2015-04-22 12:18:22.569494 [DEBUG] switch_channel.c:488 RECV DTMF 5:2000 *>* 2015-04-22 12:18:22.569494 [DEBUG] mod_gsmopen.cpp:745 rev 1.4.14~32bit *>* [(nil)|37 ][DEBUG_GSMOPEN 745 ][interface1][-1, 5, 5] DTMF DETECTED: *>* [5] new_dtmf_timestamp: 1652802529, delta_t: 515839955 *>* 2015-04-22 12:18:22.569494 [DEBUG] mod_spandsp_dsp.c:373 DTMF BEGIN *>* DETECTED: [5] *>* 2015-04-22 12:18:22.569494 [DEBUG] switch_channel.c:488 RECV DTMF 5:2000 *>* 2015-04-22 12:18:22.749457 [DEBUG] mod_spandsp_dsp.c:385 DTMF END DETECTED: *>* [5], duration = 178 ms *>* 2015-04-22 12:18:23.049446 [DEBUG] switch_channel.c:488 RECV DTMF 3:2000 *>* 2015-04-22 12:18:23.049446 [DEBUG] mod_gsmopen.cpp:745 rev 1.4.14~32bit *>* [(nil)|37 ][DEBUG_GSMOPEN 745 ][interface1][-1, 5, 5] DTMF DETECTED: *>* [3] new_dtmf_timestamp: 1653282480, delta_t: 479951 *>* 2015-04-22 12:18:23.049446 [DEBUG] mod_spandsp_dsp.c:373 DTMF BEGIN *>* DETECTED: [3] *>* 2015-04-22 12:18:23.049446 [DEBUG] switch_channel.c:488 RECV DTMF 3:2000 *>* 2015-04-22 12:18:23.229447 [DEBUG] mod_spandsp_dsp.c:385 DTMF END DETECTED: *>* [3], duration = 165 ms *>* 2015-04-22 12:18:23.529449 [DEBUG] switch_channel.c:488 RECV DTMF 5:2000 *>* 2015-04-22 12:18:23.529449 [DEBUG] mod_gsmopen.cpp:745 rev 1.4.14~32bit *>* [(nil)|37 ][DEBUG_GSMOPEN 745 ][interface1][-1, 5, 5] DTMF DETECTED: *>* [5] new_dtmf_timestamp: 1653762488, delta_t: 480008 *>* 2015-04-22 12:18:23.549464 [DEBUG] mod_spandsp_dsp.c:373 DTMF BEGIN *>* DETECTED: [5] *>* 2015-04-22 12:18:23.549464 [DEBUG] switch_channel.c:488 RECV DTMF 5:2000 *>* 2015-04-22 12:18:23.689495 [DEBUG] mod_spandsp_dsp.c:385 DTMF END DETECTED: *>* [5], duration = 140 ms *>* 2015-04-22 12:18:24.029440 [DEBUG] switch_channel.c:488 RECV DTMF 2:2000 *>* 2015-04-22 12:18:24.029440 [DEBUG] mod_gsmopen.cpp:745 rev 1.4.14~32bit *>* [(nil)|37 ][DEBUG_GSMOPEN 745 ][interface1][-1, 5, 5] DTMF DETECTED: *>* [2] new_dtmf_timestamp: 1654262471, delta_t: 499983 *>* 2015-04-22 12:18:24.029440 [DEBUG] mod_spandsp_dsp.c:373 DTMF BEGIN *>* DETECTED: [2] *>* 2015-04-22 12:18:24.029440 [DEBUG] switch_channel.c:488 RECV DTMF 2:2000 *>* 2015-04-22 12:18:24.169442 [DEBUG] mod_spandsp_dsp.c:385 DTMF END DETECTED: *>* [2], duration = 153 ms *>* 2015-04-22 12:18:24.489445 [DEBUG] switch_channel.c:488 RECV DTMF 5:2000 *>* 2015-04-22 12:18:24.489445 [DEBUG] mod_gsmopen.cpp:745 rev 1.4.14~32bit *>* [(nil)|37 ][DEBUG_GSMOPEN 745 ][interface1][-1, 5, 5] DTMF DETECTED: *>* [5] new_dtmf_timestamp: 1654722477, delta_t: 460006 *>* 2015-04-22 12:18:24.489445 [DEBUG] mod_spandsp_dsp.c:373 DTMF BEGIN *>* DETECTED: [5] *>* 2015-04-22 12:18:24.489445 [DEBUG] switch_channel.c:488 RECV DTMF 5:2000 *>* 2015-04-22 12:18:24.649447 [DEBUG] mod_spandsp_dsp.c:385 DTMF END DETECTED: *>* [5], duration = 153 ms *>* 2015-04-22 12:18:25.609450 [INFO] switch_cpp.cpp:1328 Failed to validate *>* Checksum - '5533552255' *>>>>>>>* -- *>* View this message in context: *>* http://freeswitch-users.2379917.n2.nabble.com/Duplicate-DTMF-Issue-tp7596155.html *>* Sent from the freeswitch-users mailing list archive at Nabble.com. *>>* _________________________________________________________________________ *>* Professional FreeSWITCH Consulting Services: *>* consulting at freeswitch.org *>* http://www.freeswitchsolutions.com *>>* Official FreeSWITCH Sites *>* http://www.freeswitch.org *>* http://confluence.freeswitch.org *>* http://www.cluecon.com *>>* FreeSWITCH-users mailing list *>* FreeSWITCH-users at lists.freeswitch.org *>* http://lists.freeswitch.org/mailman/listinfo/freeswitch-users *>* UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users *>* http://www.freeswitch.org *> -- Sincerely, Giovanni Maruzzelli Cell : +39-347-2665618 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150422/c1e71dbc/attachment.html -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150423/170d2475/attachment.html From steveu at coppice.org Thu Apr 23 17:22:34 2015 From: steveu at coppice.org (Steve Underwood) Date: Thu, 23 Apr 2015 21:22:34 +0800 Subject: [Freeswitch-users] echo cancelation In-Reply-To: References: <55322645.8010509@coppice.org> <55385234.8030706@coppice.org> Message-ID: <5538F21A.9040201@coppice.org> On 04/23/2015 08:12 PM, Sergey Safarov wrote: > 1)How would you propose to do that with a fixed rate type of echo > canceler, like OSLEC? > If application can be used only with PCM/8000 call it wil be helpful > for me. > For other rates OSLEC source code changes may be requered. In VoIP you don't really have exactly 8000 samples per second. You might have 7999 in one direction and 8001 in the other. OSLEC can't tolerate that. It needs the two directions be using EXACTLY the same sample rate. > 2) Do you also believe in unicorns? ... > Please accept my apologies. Now I understand what said Steve Underwood > > 3) The OSLEC echo canceler is blocked by licence conditions. > I find it difficult to understand why the FS can use GPL Linux kernel, > but can not use one of his GPL drivers (not propritory firmware driver). The kernel is not a part of Freeswitch. The licencing of one piece of software has not bearing on the licencing of some other piece of software it communicates with. > > 4) The OSLEC echo canceler is a great addition to the PSTN interfaces - > DADHI and FreeTDM - but has no use elsewhere. > Could you help me to see how OSLEC uses DAHDI or FreeTDM api. Why > other application cannot use OSLEC without DAHDI? > > Sergey. > Regards, Steve From gmaruzz at gmail.com Thu Apr 23 17:32:31 2015 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Thu, 23 Apr 2015 15:32:31 +0200 Subject: [Freeswitch-users] Duplicate DTMF Issue In-Reply-To: References: Message-ID: Hello Jeremy, ok, understood now. Gsmopen uses internally spandsp to detect DTMFs. Because of possible false multiple detections, there is an hardcoded minimum duration of 350 ms for each DTMF. In your specific case, edit mod_gsmopen.cpp in /usr/src/freeswitch/src/mod/endpoints/mod_gsmopen, and modify the value at line 3302: if ((new_dtmf_timestamp - tech_pvt->old_dtmf_timestamp) > 350000) { //FIXME: make it configurable change that value to 50000 or little less (is not configurable, as you can see :) ) and recompile (eg: from /usr/src/freeswitch type make mod_gsmopen-install) That should do the trick. Let us know if you encounter problems. -giovanni On Thu, Apr 23, 2015 at 2:39 PM, Jeremy wrote: > Hi Giovanni, > > Thank you for your reply, sorry I didn't explain the problem very well. > > I am trying to detect a string of DTMF's with a short pulse duration (about 50ms) and the normal DTMF detection is not able to reliably do this (it seems to miss almost all of the tones). > > Spandsp appears to be able to reliably do this but when I enable spandsp, I get duplicate tones detected by both spandsp and gsmopen (I think its gsmopen, example below). > > You are correct. Is it possible for gsmopen not to recognize DTMF's and use only spandsp to analyze the audio? > > Thank you for your help in advance. > > Jeremy. > > > P.S. Greatly appreciate the work you have put into GSMopen, brilliant work! > > > Hello Jeremy, > > I've not understood the problem, and the solution you are looking for. > > You want gsmopen not to recognize DTMFs, so you can analyze the audio with > spandsp? > > Can you give more info ? > > -giovanni > > On Wed, Apr 22, 2015 at 2:58 PM, jhorsburgh > wrote: > > >* Hello All, > *>* I am having some issues detecting DTMF tones and was hoping > *>* someone could shed some light on the problem. > *>>* *Background* > *>* I am using Freeswitch (1.4.14~32bit) with GSMopen to receive calls and > *>* process high-speed DTMF signal for use with Alarm Systems. Unfortunately > *>* the > *>* standard inband DTMF detection is not quite up to the task but spandsp > *>* works > *>* perfectly. > *>>* *Problem* > *>* The problem I am having is that the standard inband DTMF detection remains > *>* enabled when spandsp is enabled producing duplicates of each detected tone. > *>>* Is there a way of disabling DTMF detection with the exception of spandsp? > *>>* Any help would be greatly appreciated. > *>>* Kind regards, > *>* Jeremy > *>>>>* 2015-04-22 12:18:22.129468 [DEBUG] mod_gsmopen.cpp:919 rev 1.4.14~32bit > *>* [(nil)|37 ][DEBUG_GSMOPEN 919 ][interface1][-1, 5, 5] > *>* gsmopen/interface1 CHANNEL got > *>* SWITCH_MESSAGE_INDICATE_TRANSCODING_NECESSARY > *>* 2015-04-22 12:18:22.569494 [DEBUG] switch_channel.c:488 RECV DTMF 5:2000 > *>* 2015-04-22 12:18:22.569494 [DEBUG] mod_gsmopen.cpp:745 rev 1.4.14~32bit > *>* [(nil)|37 ][DEBUG_GSMOPEN 745 ][interface1][-1, 5, 5] DTMF DETECTED: > *>* [5] new_dtmf_timestamp: 1652802529, delta_t: 515839955 > *>* 2015-04-22 12:18:22.569494 [DEBUG] mod_spandsp_dsp.c:373 DTMF BEGIN > *>* DETECTED: [5] > *>* 2015-04-22 12:18:22.569494 [DEBUG] switch_channel.c:488 RECV DTMF 5:2000 > *>* 2015-04-22 12:18:22.749457 [DEBUG] mod_spandsp_dsp.c:385 DTMF END DETECTED: > *>* [5], duration = 178 ms > *>* 2015-04-22 12:18:23.049446 [DEBUG] switch_channel.c:488 RECV DTMF 3:2000 > *>* 2015-04-22 12:18:23.049446 [DEBUG] mod_gsmopen.cpp:745 rev 1.4.14~32bit > *>* [(nil)|37 ][DEBUG_GSMOPEN 745 ][interface1][-1, 5, 5] DTMF DETECTED: > *>* [3] new_dtmf_timestamp: 1653282480, delta_t: 479951 > *>* 2015-04-22 12:18:23.049446 [DEBUG] mod_spandsp_dsp.c:373 DTMF BEGIN > *>* DETECTED: [3] > *>* 2015-04-22 12:18:23.049446 [DEBUG] switch_channel.c:488 RECV DTMF 3:2000 > *>* 2015-04-22 12:18:23.229447 [DEBUG] mod_spandsp_dsp.c:385 DTMF END DETECTED: > *>* [3], duration = 165 ms > *>* 2015-04-22 12:18:23.529449 [DEBUG] switch_channel.c:488 RECV DTMF 5:2000 > *>* 2015-04-22 12:18:23.529449 [DEBUG] mod_gsmopen.cpp:745 rev 1.4.14~32bit > *>* [(nil)|37 ][DEBUG_GSMOPEN 745 ][interface1][-1, 5, 5] DTMF DETECTED: > *>* [5] new_dtmf_timestamp: 1653762488, delta_t: 480008 > *>* 2015-04-22 12:18:23.549464 [DEBUG] mod_spandsp_dsp.c:373 DTMF BEGIN > *>* DETECTED: [5] > *>* 2015-04-22 12:18:23.549464 [DEBUG] switch_channel.c:488 RECV DTMF 5:2000 > *>* 2015-04-22 12:18:23.689495 [DEBUG] mod_spandsp_dsp.c:385 DTMF END DETECTED: > *>* [5], duration = 140 ms > *>* 2015-04-22 12:18:24.029440 [DEBUG] switch_channel.c:488 RECV DTMF 2:2000 > *>* 2015-04-22 12:18:24.029440 [DEBUG] mod_gsmopen.cpp:745 rev 1.4.14~32bit > *>* [(nil)|37 ][DEBUG_GSMOPEN 745 ][interface1][-1, 5, 5] DTMF DETECTED: > *>* [2] new_dtmf_timestamp: 1654262471, delta_t: 499983 > *>* 2015-04-22 12:18:24.029440 [DEBUG] mod_spandsp_dsp.c:373 DTMF BEGIN > *>* DETECTED: [2] > *>* 2015-04-22 12:18:24.029440 [DEBUG] switch_channel.c:488 RECV DTMF 2:2000 > *>* 2015-04-22 12:18:24.169442 [DEBUG] mod_spandsp_dsp.c:385 DTMF END DETECTED: > *>* [2], duration = 153 ms > *>* 2015-04-22 12:18:24.489445 [DEBUG] switch_channel.c:488 RECV DTMF 5:2000 > *>* 2015-04-22 12:18:24.489445 [DEBUG] mod_gsmopen.cpp:745 rev 1.4.14~32bit > *>* [(nil)|37 ][DEBUG_GSMOPEN 745 ][interface1][-1, 5, 5] DTMF DETECTED: > *>* [5] new_dtmf_timestamp: 1654722477, delta_t: 460006 > *>* 2015-04-22 12:18:24.489445 [DEBUG] mod_spandsp_dsp.c:373 DTMF BEGIN > *>* DETECTED: [5] > *>* 2015-04-22 12:18:24.489445 [DEBUG] switch_channel.c:488 RECV DTMF 5:2000 > *>* 2015-04-22 12:18:24.649447 [DEBUG] mod_spandsp_dsp.c:385 DTMF END DETECTED: > *>* [5], duration = 153 ms > *>* 2015-04-22 12:18:25.609450 [INFO] switch_cpp.cpp:1328 Failed to validate > *>* Checksum - '5533552255' > *>>>>>>>* -- > *>* View this message in context: > *>* http://freeswitch-users.2379917.n2.nabble.com/Duplicate-DTMF-Issue-tp7596155.html > *>* Sent from the freeswitch-users mailing list archive at Nabble.com. > *>>* _________________________________________________________________________ > *>* Professional FreeSWITCH Consulting Services: > *>* consulting at freeswitch.org > *>* http://www.freeswitchsolutions.com > *>>* Official FreeSWITCH Sites > *>* http://www.freeswitch.org > *>* http://confluence.freeswitch.org > *>* http://www.cluecon.com > *>>* FreeSWITCH-users mailing list > *>* FreeSWITCH-users at lists.freeswitch.org > *>* http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > *>* UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > *>* http://www.freeswitch.org > *> > > > -- > Sincerely, > > Giovanni Maruzzelli > Cell : +39-347-2665618 > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150422/c1e71dbc/attachment.html > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Sincerely, Giovanni Maruzzelli Cell : +39-347-2665618 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150423/9c2753e2/attachment-0001.html From aqsyounas at gmail.com Thu Apr 23 19:18:32 2015 From: aqsyounas at gmail.com (Aqs Younas) Date: Thu, 23 Apr 2015 20:18:32 +0500 Subject: [Freeswitch-users] Best sound file format for freeswitch Message-ID: Hi,users. I have 1-100 sound files (mp3) and wants to play these files in loop from 1 to 100 to more than 250 concurrent users. Currently these sound files have format. Codec: MPEG audio layer 1/2/3 (mpga) Channels: Stereo Sample Rate: 22050 Hz Bitrate: 64 kb/s While playing these files I see in freeswitch log. *2015-04-23 14:17:59.351859 [WARNING] switch_core_file.c:230 File has 2 channels, muxing to 1 channel will occur.* I want my freeswitch to have minimum load while playing these files (located on freeswitch server). I which file format I must convert these files to have my freeswitch with minimum load. Your Guys opinion is much appreciated. Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150423/afb9514d/attachment.html From s.safarov at gmail.com Thu Apr 23 19:51:43 2015 From: s.safarov at gmail.com (Sergey Safarov) Date: Thu, 23 Apr 2015 18:51:43 +0300 Subject: [Freeswitch-users] echo cancelation In-Reply-To: <5538F21A.9040201@coppice.org> References: <55322645.8010509@coppice.org> <55385234.8030706@coppice.org> <5538F21A.9040201@coppice.org> Message-ID: > In VoIP you don't really have exactly 8000 samples per second. You might > have 7999 in one direction and 8001 in the other. OSLEC can't tolerate > that. It needs the two directions be using EXACTLY the same sample rate. > If TDM line and VoIP rate is not same then VoIP gateway is generating/dropping some part of PCM data. It similar to PDH device connected to SDH multiplexer and has not same clock source. Solution is elastic buffer. http://www.reeve.com/Documents/Synchronization.pdf The kernel is not a part of Freeswitch. The licencing of one piece of > software has not bearing on the licencing of some other piece of > software it communicates with. > > So after all OSLEC is not a part of FS. You do not compile OSLEC as part of the FS. OSLEC compiled as part of the Linux kernel. You just send the data or read data from the device driver, as well as you read or write data on the hard drive (or file system). After all, the FS does not ask the hard disk driver (or file system) under which it was written license. Why ask echo kernel device? Sergey -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150423/499cabf5/attachment.html From blasterjr at gmail.com Thu Apr 23 19:59:50 2015 From: blasterjr at gmail.com (Chris Tunbridge) Date: Thu, 23 Apr 2015 09:59:50 -0600 Subject: [Freeswitch-users] Best sound file format for freeswitch In-Reply-To: References: Message-ID: This depends on the codec your users are using. If its PCMA or PCMU then you should be fine with wav, and if you want to suppress the 2 channels message you can convert it to a mono file, here's an example with sox. sox input.mp3 -c 1 -r 8000 output.wav On Thu, Apr 23, 2015 at 9:18 AM, Aqs Younas wrote: > Hi,users. > > I have 1-100 sound files (mp3) and wants to play these files in loop from > 1 to 100 to more than 250 concurrent users. > > Currently these sound files have format. > > Codec: MPEG audio layer 1/2/3 (mpga) > Channels: Stereo > Sample Rate: 22050 Hz > Bitrate: 64 kb/s > > While playing these files I see in freeswitch log. > > > *2015-04-23 14:17:59.351859 [WARNING] switch_core_file.c:230 File has 2 > channels, muxing to 1 channel will occur.* > > > I want my freeswitch to have minimum load while playing these files > (located on freeswitch server). > > I which file format I must convert these files to have my freeswitch with > minimum load. > > Your Guys opinion is much appreciated. > > Thanks > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150423/a9b4f25d/attachment.html From gmaruzz at gmail.com Thu Apr 23 20:14:29 2015 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Thu, 23 Apr 2015 18:14:29 +0200 Subject: [Freeswitch-users] Best sound file format for freeswitch In-Reply-To: References: Message-ID: > I want my freeswitch to have minimum load while playing these files >> (located on freeswitch server). >> >> I which file format I must convert these files to have my freeswitch >> with minimum load. >> > also, if you want the minimum possible load, mod_native_file (compiled by default) lets you use audio files in native format (eg: in PCMU format, or whatever codec you happen to use): http://freeswitch.org/confluence/display/FREESWITCH/mod_native_file -giovanni -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150423/28997186/attachment.html From aqsyounas at gmail.com Thu Apr 23 20:16:29 2015 From: aqsyounas at gmail.com (Aqs Younas) Date: Thu, 23 Apr 2015 21:16:29 +0500 Subject: [Freeswitch-users] Best sound file format for freeswitch In-Reply-To: References: Message-ID: Thanks for your quick reply. Does suppressing 2 channels would be helpful? On 23 April 2015 at 20:59, Chris Tunbridge wrote: > This depends on the codec your users are using. > > If its PCMA or PCMU then you should be fine with wav, and if you want to > suppress the 2 channels message you can convert it to a mono file, here's > an example with sox. > > sox input.mp3 -c 1 -r 8000 output.wav > > On Thu, Apr 23, 2015 at 9:18 AM, Aqs Younas wrote: > >> Hi,users. >> >> I have 1-100 sound files (mp3) and wants to play these files in loop from >> 1 to 100 to more than 250 concurrent users. >> >> Currently these sound files have format. >> >> Codec: MPEG audio layer 1/2/3 (mpga) >> Channels: Stereo >> Sample Rate: 22050 Hz >> Bitrate: 64 kb/s >> >> While playing these files I see in freeswitch log. >> >> >> *2015-04-23 14:17:59.351859 [WARNING] switch_core_file.c:230 File has 2 >> channels, muxing to 1 channel will occur.* >> >> >> I want my freeswitch to have minimum load while playing these files >> (located on freeswitch server). >> >> I which file format I must convert these files to have my freeswitch >> with minimum load. >> >> Your Guys opinion is much appreciated. >> >> Thanks >> >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150423/fc9da794/attachment.html From brian at freeswitch.org Thu Apr 23 20:19:09 2015 From: brian at freeswitch.org (Brian West) Date: Thu, 23 Apr 2015 11:19:09 -0500 Subject: [Freeswitch-users] Best sound file format for freeswitch In-Reply-To: References: Message-ID: Are you playing the same file to all 250 people? On Thu, Apr 23, 2015 at 11:16 AM, Aqs Younas wrote: > Thanks for your quick reply. > > Does suppressing 2 channels would be helpful? > > On 23 April 2015 at 20:59, Chris Tunbridge wrote: > >> This depends on the codec your users are using. >> >> If its PCMA or PCMU then you should be fine with wav, and if you want to >> suppress the 2 channels message you can convert it to a mono file, here's >> an example with sox. >> >> sox input.mp3 -c 1 -r 8000 output.wav >> >> On Thu, Apr 23, 2015 at 9:18 AM, Aqs Younas wrote: >> >>> Hi,users. >>> >>> I have 1-100 sound files (mp3) and wants to play these files in loop >>> from 1 to 100 to more than 250 concurrent users. >>> >>> Currently these sound files have format. >>> >>> Codec: MPEG audio layer 1/2/3 (mpga) >>> Channels: Stereo >>> Sample Rate: 22050 Hz >>> Bitrate: 64 kb/s >>> >>> While playing these files I see in freeswitch log. >>> >>> >>> *2015-04-23 14:17:59.351859 [WARNING] switch_core_file.c:230 File has 2 >>> channels, muxing to 1 channel will occur.* >>> >>> >>> I want my freeswitch to have minimum load while playing these files >>> (located on freeswitch server). >>> >>> I which file format I must convert these files to have my freeswitch >>> with minimum load. >>> >>> Your Guys opinion is much appreciated. >>> >>> Thanks >>> >>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com ClueCon 2015 Call for Speakers | Register TODAY! | Reddit: /r/freeswitch *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150423/7519124d/attachment-0001.html From gmaruzz at gmail.com Thu Apr 23 20:21:00 2015 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Thu, 23 Apr 2015 18:21:00 +0200 Subject: [Freeswitch-users] Best sound file format for freeswitch In-Reply-To: References: Message-ID: On Thu, Apr 23, 2015 at 6:16 PM, Aqs Younas wrote: > Thanks for your quick reply. > > Does suppressing 2 channels would be helpful? > > yes, go from stereo mp3 to mono with one only pass. You can use sox, lame, audacty or whatever, but probably the easiest and bullet proof way is to load mod_shout in fs_encode, and use it as per mod_native_file confluence page instructions -giovanni > On 23 April 2015 at 20:59, Chris Tunbridge wrote: > >> This depends on the codec your users are using. >> >> If its PCMA or PCMU then you should be fine with wav, and if you want to >> suppress the 2 channels message you can convert it to a mono file, here's >> an example with sox. >> >> sox input.mp3 -c 1 -r 8000 output.wav >> >> On Thu, Apr 23, 2015 at 9:18 AM, Aqs Younas wrote: >> >>> Hi,users. >>> >>> I have 1-100 sound files (mp3) and wants to play these files in loop >>> from 1 to 100 to more than 250 concurrent users. >>> >>> Currently these sound files have format. >>> >>> Codec: MPEG audio layer 1/2/3 (mpga) >>> Channels: Stereo >>> Sample Rate: 22050 Hz >>> Bitrate: 64 kb/s >>> >>> While playing these files I see in freeswitch log. >>> >>> >>> *2015-04-23 14:17:59.351859 [WARNING] switch_core_file.c:230 File has 2 >>> channels, muxing to 1 channel will occur.* >>> >>> >>> I want my freeswitch to have minimum load while playing these files >>> (located on freeswitch server). >>> >>> I which file format I must convert these files to have my freeswitch >>> with minimum load. >>> >>> Your Guys opinion is much appreciated. >>> >>> Thanks >>> >>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Sincerely, Giovanni Maruzzelli Cell : +39-347-2665618 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150423/ce5119b9/attachment.html From aqsyounas at gmail.com Thu Apr 23 20:33:52 2015 From: aqsyounas at gmail.com (Aqs Younas) Date: Thu, 23 Apr 2015 21:33:52 +0500 Subject: [Freeswitch-users] Best sound file format for freeswitch In-Reply-To: References: Message-ID: Yep, We are playing same sound files to every user. Actually sound files are some sort of lecture files. As soon as a call comes in, we start playing files from 1 to 100. On 23 April 2015 at 21:21, Giovanni Maruzzelli wrote: > > > On Thu, Apr 23, 2015 at 6:16 PM, Aqs Younas wrote: > >> Thanks for your quick reply. >> >> Does suppressing 2 channels would be helpful? >> >> > yes, go from stereo mp3 to mono with one only pass. You can use sox, lame, > audacty or whatever, but probably the easiest and bullet proof way is to > load mod_shout in fs_encode, and use it as per mod_native_file confluence > page instructions > > -giovanni > > > > >> On 23 April 2015 at 20:59, Chris Tunbridge wrote: >> >>> This depends on the codec your users are using. >>> >>> If its PCMA or PCMU then you should be fine with wav, and if you want to >>> suppress the 2 channels message you can convert it to a mono file, here's >>> an example with sox. >>> >>> sox input.mp3 -c 1 -r 8000 output.wav >>> >>> On Thu, Apr 23, 2015 at 9:18 AM, Aqs Younas wrote: >>> >>>> Hi,users. >>>> >>>> I have 1-100 sound files (mp3) and wants to play these files in loop >>>> from 1 to 100 to more than 250 concurrent users. >>>> >>>> Currently these sound files have format. >>>> >>>> Codec: MPEG audio layer 1/2/3 (mpga) >>>> Channels: Stereo >>>> Sample Rate: 22050 Hz >>>> Bitrate: 64 kb/s >>>> >>>> While playing these files I see in freeswitch log. >>>> >>>> >>>> *2015-04-23 14:17:59.351859 [WARNING] switch_core_file.c:230 File has 2 >>>> channels, muxing to 1 channel will occur.* >>>> >>>> >>>> I want my freeswitch to have minimum load while playing these files >>>> (located on freeswitch server). >>>> >>>> I which file format I must convert these files to have my freeswitch >>>> with minimum load. >>>> >>>> Your Guys opinion is much appreciated. >>>> >>>> Thanks >>>> >>>> >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > Sincerely, > > Giovanni Maruzzelli > Cell : +39-347-2665618 > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150423/0a225d88/attachment.html From brian at freeswitch.org Thu Apr 23 20:39:09 2015 From: brian at freeswitch.org (Brian West) Date: Thu, 23 Apr 2015 11:39:09 -0500 Subject: [Freeswitch-users] Best sound file format for freeswitch In-Reply-To: References: Message-ID: Then use local_stream, then your load is no longer a concern! Its one file, one decode, copied to many clients. On Thu, Apr 23, 2015 at 11:33 AM, Aqs Younas wrote: > Yep, We are playing same sound files to every user. Actually sound files > are some sort of lecture files. As soon as a call comes in, we start > playing files from 1 to 100. > > On 23 April 2015 at 21:21, Giovanni Maruzzelli wrote: > >> >> >> On Thu, Apr 23, 2015 at 6:16 PM, Aqs Younas wrote: >> >>> Thanks for your quick reply. >>> >>> Does suppressing 2 channels would be helpful? >>> >>> >> yes, go from stereo mp3 to mono with one only pass. You can use sox, >> lame, audacty or whatever, but probably the easiest and bullet proof way is >> to load mod_shout in fs_encode, and use it as per mod_native_file >> confluence page instructions >> >> -giovanni >> >> >> >> >>> On 23 April 2015 at 20:59, Chris Tunbridge wrote: >>> >>>> This depends on the codec your users are using. >>>> >>>> If its PCMA or PCMU then you should be fine with wav, and if you want >>>> to suppress the 2 channels message you can convert it to a mono file, >>>> here's an example with sox. >>>> >>>> sox input.mp3 -c 1 -r 8000 output.wav >>>> >>>> On Thu, Apr 23, 2015 at 9:18 AM, Aqs Younas >>>> wrote: >>>> >>>>> Hi,users. >>>>> >>>>> I have 1-100 sound files (mp3) and wants to play these files in loop >>>>> from 1 to 100 to more than 250 concurrent users. >>>>> >>>>> Currently these sound files have format. >>>>> >>>>> Codec: MPEG audio layer 1/2/3 (mpga) >>>>> Channels: Stereo >>>>> Sample Rate: 22050 Hz >>>>> Bitrate: 64 kb/s >>>>> >>>>> While playing these files I see in freeswitch log. >>>>> >>>>> >>>>> *2015-04-23 14:17:59.351859 [WARNING] switch_core_file.c:230 File has >>>>> 2 channels, muxing to 1 channel will occur.* >>>>> >>>>> >>>>> I want my freeswitch to have minimum load while playing these files >>>>> (located on freeswitch server). >>>>> >>>>> I which file format I must convert these files to have my freeswitch >>>>> with minimum load. >>>>> >>>>> Your Guys opinion is much appreciated. >>>>> >>>>> Thanks >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> >> -- >> Sincerely, >> >> Giovanni Maruzzelli >> Cell : +39-347-2665618 >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com ClueCon 2015 Call for Speakers | Register TODAY! | Reddit: /r/freeswitch *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150423/6eb32294/attachment-0001.html From saumar at uol.com.br Thu Apr 23 01:48:42 2015 From: saumar at uol.com.br (Saumar Hajjar) Date: Wed, 22 Apr 2015 18:48:42 -0300 Subject: [Freeswitch-users] Stale channels with mod_callcenter in uuid-standby mode Message-ID: <5538173A.5020602@uol.com.br> After a mod_callcenter member hangs up, its channel is still present in the system, and its uuid is unkillable. I believe FS team calls it a "stale channel". The uuid-standby agent won't receive any more calls, until he/she hangs up - what would make uuid-standby a "agent hangup and call again" mode. What I'm trying to do, is nothing fancy. Basically I'm following the mod_callcenter documentation without much tweaking. Here's the test case setup: - Freeswitch with default config, mod_callcenter enabled also with default config Tested with the following versions: 1.4.18+git~20150312T185523Z~4eed221b69~64bit (git 4eed221 2015-03-12 18:55:23Z 64bit) 1.5.15b+git~20150117T062211Z~46cf8a4dce~64bit (git 46cf8a4 2015-01-17 06:22:11Z 64bit) 1.5.15b+git~20150421T235828Z~a4d877c189~64bit (git a4d877c 2015-04-21 23:58:28Z 64bit) - Dialplan mod_callcenter entries: - Start FS and add a test agent: callcenter_config agent add 1002 at default uuid-standby - Agent (extension 1002) dials 4099: The agent starts hearing music on hold. show channels uuid,direction,created,created_epoch,name,state,cid_name,cid_num,ip_addr,dest,application,application_data,dialplan,context,read_codec,read_rate,read_bit_rate,write_codec,write_rate,write_bit_rate,secure,hostname,presence_id,presence_data,callstate,callee_name,callee_num,callee_direction,call_uuid,sent_callee_name,sent_callee_num,initial_cid_name,initial_cid_num,initial_ip_addr,initial_dest,initial_dialplan,initial_context a1c9b1a4-7926-4da9-9041-100df3d1bbbb,inbound,2015-04-22 18:01:46,1429736506,sofia/internal/1002 at 192.168.0.136,CS_EXECUTE,1002,1002,192.168.0.103,4099,playback,local_stream://moh,XML,default,PCMU,8000,64000,PCMU,8000,64000,,hajjar-notebook,1002 at 192.168.0.136,,ACTIVE,,,,,,,1002,1002,192.168.0.103,4099,XML,default callcenter_config agent list name|system|uuid|type|contact|status|state|max_no_answer|wrap_up_time|reject_delay_time|busy_delay_time|no_answer_delay_time|last_bridge_start|last_bridge_end|last_offered_call|last_status_change|no_answer_count|calls_answered|talk_time|ready_time 1002 at default|single_box|a1c9b1a4-7926-4da9-9041-100df3d1bbbb|uuid-standby||Available (On Demand)|Waiting|1|5|0|5|5|1429734669|1429735319|1429734669|1429736506|0|0|0|0 - Member (extension 1000) dials *91: The member gets bridged to the uuid-stand by agent. Great. show channels uuid,direction,created,created_epoch,name,state,cid_name,cid_num,ip_addr,dest,application,application_data,dialplan,context,read_codec,read_rate,read_bit_rate,write_codec,write_rate,write_bit_rate,secure,hostname,presence_id,presence_data,callstate,callee_name,callee_num,callee_direction,call_uuid,sent_callee_name,sent_callee_num,initial_cid_name,initial_cid_num,initial_ip_addr,initial_dest,initial_dialplan,initial_context a1c9b1a4-7926-4da9-9041-100df3d1bbbb,inbound,2015-04-22 18:01:46,1429736506,sofia/internal/1002 at 192.168.0.136,CS_EXCHANGE_MEDIA,1000,1000,192.168.0.103,4099,uuid_bridge,d298fa41-b855-4027-ba4a-ac112df641d5,XML,default,PCMU,8000,64000,PCMU,8000,64000,,hajjar-notebook,1002 at 192.168.0.136,,ACTIVE,1002,1002,SEND,d298fa41-b855-4027-ba4a-ac112df641d5,1000,1000,1002,1002,192.168.0.103,4099,XML,default d298fa41-b855-4027-ba4a-ac112df641d5,inbound,2015-04-22 18:04:47,1429736687,sofia/internal/1000 at 192.168.0.136,CS_SOFT_EXECUTE,1000,1000,192.168.0.120,*94000,uuid_bridge,a1c9b1a4-7926-4da9-9041-100df3d1bbbb,XML,default,PCMU,8000,64000,PCMU,8000,64000,,hajjar-notebook,1000 at 192.168.0.136,,ACTIVE,1002,1002,SEND,d298fa41-b855-4027-ba4a-ac112df641d5,1002,1002,1000,1000,192.168.0.120,*94000,XML,default 2 total. show calls uuid,direction,created,created_epoch,name,state,cid_name,cid_num,ip_addr,dest,presence_id,presence_data,callstate,callee_name,callee_num,callee_direction,call_uuid,hostname,sent_callee_name,sent_callee_num,b_uuid,b_direction,b_created,b_created_epoch,b_name,b_state,b_cid_name,b_cid_num,b_ip_addr,b_dest,b_presence_id,b_presence_data,b_callstate,b_callee_name,b_callee_num,b_callee_direction,b_sent_callee_name,b_sent_callee_num,call_created_epoch d298fa41-b855-4027-ba4a-ac112df641d5,inbound,2015-04-22 18:04:47,1429736687,sofia/internal/1000 at 192.168.0.136,CS_SOFT_EXECUTE,1000,1000,192.168.0.120,*94000,1000 at 192.168.0.136,,ACTIVE,1002,1002,SEND,d298fa41-b855-4027-ba4a-ac112df641d5,hajjar-notebook,1002,1002,a1c9b1a4-7926-4da9-9041-100df3d1bbbb,inbound,2015-04-22 18:01:46,1429736506,sofia/internal/1002 at 192.168.0.136,CS_EXCHANGE_MEDIA,1000,1000,192.168.0.103,4099,1002 at 192.168.0.136,,ACTIVE,1002,1002,SEND,1000,1000,1429736687 1 total. callcenter_config agent list name|system|uuid|type|contact|status|state|max_no_answer|wrap_up_time|reject_delay_time|busy_delay_time|no_answer_delay_time|last_bridge_start|last_bridge_end|last_offered_call|last_status_change|no_answer_count|calls_answered|talk_time|ready_time 1002 at default|single_box|a1c9b1a4-7926-4da9-9041-100df3d1bbbb|uuid-standby||Available (On Demand)|In a queue call|1|5|0|5|5|1429736687|1429735319|1429736687|1429736506|0|1|0|0 - Member hangs up show channels uuid,direction,created,created_epoch,name,state,cid_name,cid_num,ip_addr,dest,application,application_data,dialplan,context,read_codec,read_rate,read_bit_rate,write_codec,write_rate,write_bit_rate,secure,hostname,presence_id,presence_data,callstate,callee_name,callee_num,callee_direction,call_uuid,sent_callee_name,sent_callee_num,initial_cid_name,initial_cid_num,initial_ip_addr,initial_dest,initial_dialplan,initial_context a1c9b1a4-7926-4da9-9041-100df3d1bbbb,inbound,2015-04-22 18:01:46,1429736506,sofia/internal/1002 at 192.168.0.136,CS_EXECUTE,1002,1002,192.168.0.103,4099,playback,local_stream://moh,XML,default,PCMU,8000,64000,PCMU,8000,64000,,hajjar-notebook,1002 at 192.168.0.136,,ACTIVE,1000,1000,RECV,d298fa41-b855-4027-ba4a-ac112df641d5,,,1002,1002,192.168.0.103,4099,XML,default d298fa41-b855-4027-ba4a-ac112df641d5,inbound,2015-04-22 18:04:47,1429736687,sofia/internal/1000 at 192.168.0.136,CS_SOFT_EXECUTE,1000,1000,192.168.0.120,*94000,uuid_bridge,a1c9b1a4-7926-4da9-9041-100df3d1bbbb,XML,default,PCMU,8000,64000,PCMU,8000,64000,,hajjar-notebook,1000 at 192.168.0.136,,ACTIVE,1002,1002,SEND,d298fa41-b855-4027-ba4a-ac112df641d5,1002,1002,1000,1000,192.168.0.120,*94000,XML,default 2 total. show calls uuid,direction,created,created_epoch,name,state,cid_name,cid_num,ip_addr,dest,presence_id,presence_data,callstate,callee_name,callee_num,callee_direction,call_uuid,hostname,sent_callee_name,sent_callee_num,b_uuid,b_direction,b_created,b_created_epoch,b_name,b_state,b_cid_name,b_cid_num,b_ip_addr,b_dest,b_presence_id,b_presence_data,b_callstate,b_callee_name,b_callee_num,b_callee_direction,b_sent_callee_name,b_sent_callee_num,call_created_epoch d298fa41-b855-4027-ba4a-ac112df641d5,inbound,2015-04-22 18:04:47,1429736687,sofia/internal/1000 at 192.168.0.136,CS_SOFT_EXECUTE,1000,1000,192.168.0.120,*94000,1000 at 192.168.0.136,,ACTIVE,1002,1002,SEND,d298fa41-b855-4027-ba4a-ac112df641d5,hajjar-notebook,1002,1002,a1c9b1a4-7926-4da9-9041-100df3d1bbbb,inbound,2015-04-22 18:01:46,1429736506,sofia/internal/1002 at 192.168.0.136,CS_EXECUTE,1002,1002,192.168.0.103,4099,1002 at 192.168.0.136,,ACTIVE,1000,1000,RECV,,,1429736687 1 total. callcenter_config agent list name|system|uuid|type|contact|status|state|max_no_answer|wrap_up_time|reject_delay_time|busy_delay_time|no_answer_delay_time|last_bridge_start|last_bridge_end|last_offered_call|last_status_change|no_answer_count|calls_answered|talk_time|ready_time 1002 at default|single_box|a1c9b1a4-7926-4da9-9041-100df3d1bbbb|uuid-standby||Available (On Demand)|Waiting|1|5|0|5|5|1429736687|1429735319|1429736687|1429736990|0|1|0|0 Here the agent gets transfered back to uuid-standby extension and restarts hearing moh. It's state is "Waiting" - but he/she won't answer new calls. But the state is "Waiting" only because it got overridden by the dialplan. In my tests, removing the callcenter_config(agent set state..) from dialplan (and controlling agent state via CLI), I've noticed that the agent state never gets back to "Idle" (if On Demand) or "Waiting". It gets stuck in "In a queue call". Trying touuid_kill the member uuid, results in -ERR No such channel! - When agent finally hangs up: 2015-04-22 18:21:56.804183 [NOTICE] sofia.c:952 Hangup sofia/internal/1002 at 192.168.0.136 [CS_EXECUTE] [NORMAL_CLEARING] 2015-04-22 18:21:56.824219 [NOTICE] switch_core_session.c:1641 Session 6 (sofia/internal/1000 at 192.168.0.136) Ended 2015-04-22 18:21:56.824219 [NOTICE] switch_core_session.c:1645 Close Channel sofia/internal/1000 at 192.168.0.136 [CS_DESTROY] 2015-04-22 18:21:57.104198 [NOTICE] switch_core_session.c:1641 Session 4 (sofia/internal/1002 at 192.168.0.136) Ended 2015-04-22 18:21:57.104198 [NOTICE] switch_core_session.c:1645 Close Channel sofia/internal/1002 at 192.168.0.136 [CS_DESTROY] show channels, show calls return 0 If callcenter_config(agent set state...) is commented out in dialplan, callcenter_config agent list shows the agent as "Idle". Meaning mod_callcenter only perceives the call has been disconnected, after the agent hangs up... I'm not blaming mod_callcenter - maybe it's related to transfer_after_bridge. I already tried using exec_after_bridge_app/arg to a script that sleeps and transfer back to 4099. I also tried increasing the dialplan sleep. I'd appreciate any advice on how to make uuid-standby work. Thanks in advance, Saumar From saumar at uol.com.br Thu Apr 23 20:37:12 2015 From: saumar at uol.com.br (Saumar Hajjar) Date: Thu, 23 Apr 2015 13:37:12 -0300 Subject: [Freeswitch-users] Stale channels with mod_callcenter in uuid-standby mode Message-ID: <55391FB8.3010100@uol.com.br> (Reposting: the 1st "version" didn't reach the list for some reason) After a mod_callcenter member hangs up, its channel is still present in the system, and its uuid is unkillable. I believe FS team calls it a "stale channel". The uuid-standby agent won't receive any more calls, until he/she hangs up - what would make uuid-standby a "agent hangup and call again" mode. What I'm trying to do, is nothing fancy. Basically I'm following the mod_callcenter documentation without much tweaking. Here's the test case setup: - Freeswitch with default config, mod_callcenter enabled also with default config Tested with the following versions: 1.4.18+git~20150312T185523Z~4eed221b69~64bit (git 4eed221 2015-03-12 18:55:23Z 64bit) 1.5.15b+git~20150117T062211Z~46cf8a4dce~64bit (git 46cf8a4 2015-01-17 06:22:11Z 64bit) 1.5.15b+git~20150421T235828Z~a4d877c189~64bit (git a4d877c 2015-04-21 23:58:28Z 64bit) - Dialplan mod_callcenter entries: - Start FS and add a test agent: callcenter_config agent add 1002 at default uuid-standby - Agent (extension 1002) dials 4099: The agent starts hearing music on hold. show channels uuid,direction,created,created_epoch,name,state,cid_name,cid_num,ip_addr,dest,application,application_data,dialplan,context,read_codec,read_rate,read_bit_rate,write_codec,write_rate,write_bit_rate,secure,hostname,presence_id,presence_data,callstate,callee_name,callee_num,callee_direction,call_uuid,sent_callee_name,sent_callee_num,initial_cid_name,initial_cid_num,initial_ip_addr,initial_dest,initial_dialplan,initial_context a1c9b1a4-7926-4da9-9041-100df3d1bbbb,inbound,2015-04-22 18:01:46,1429736506,sofia/internal/1002 at 192.168.0.136,CS_EXECUTE,1002,1002,192.168.0.103,4099,playback,local_stream://moh,XML,default,PCMU,8000,64000,PCMU,8000,64000,,hajjar-notebook,1002 at 192.168.0.136,,ACTIVE,,,,,,,1002,1002,192.168.0.103,4099,XML,default callcenter_config agent list name|system|uuid|type|contact|status|state|max_no_answer|wrap_up_time|reject_delay_time|busy_delay_time|no_answer_delay_time|last_bridge_start|last_bridge_end|last_offered_call|last_status_change|no_answer_count|calls_answered|talk_time|ready_time 1002 at default|single_box|a1c9b1a4-7926-4da9-9041-100df3d1bbbb|uuid-standby||Available (On Demand)|Waiting|1|5|0|5|5|1429734669|1429735319|1429734669|1429736506|0|0|0|0 - Member (extension 1000) dials *91: The member gets bridged to the uuid-stand by agent. Great. show channels uuid,direction,created,created_epoch,name,state,cid_name,cid_num,ip_addr,dest,application,application_data,dialplan,context,read_codec,read_rate,read_bit_rate,write_codec,write_rate,write_bit_rate,secure,hostname,presence_id,presence_data,callstate,callee_name,callee_num,callee_direction,call_uuid,sent_callee_name,sent_callee_num,initial_cid_name,initial_cid_num,initial_ip_addr,initial_dest,initial_dialplan,initial_context a1c9b1a4-7926-4da9-9041-100df3d1bbbb,inbound,2015-04-22 18:01:46,1429736506,sofia/internal/1002 at 192.168.0.136,CS_EXCHANGE_MEDIA,1000,1000,192.168.0.103,4099,uuid_bridge,d298fa41-b855-4027-ba4a-ac112df641d5,XML,default,PCMU,8000,64000,PCMU,8000,64000,,hajjar-notebook,1002 at 192.168.0.136,,ACTIVE,1002,1002,SEND,d298fa41-b855-4027-ba4a-ac112df641d5,1000,1000,1002,1002,192.168.0.103,4099,XML,default d298fa41-b855-4027-ba4a-ac112df641d5,inbound,2015-04-22 18:04:47,1429736687,sofia/internal/1000 at 192.168.0.136,CS_SOFT_EXECUTE,1000,1000,192.168.0.120,*91,uuid_bridge,a1c9b1a4-7926-4da9-9041-100df3d1bbbb,XML,default,PCMU,8000,64000,PCMU,8000,64000,,hajjar-notebook,1000 at 192.168.0.136,,ACTIVE,1002,1002,SEND,d298fa41-b855-4027-ba4a-ac112df641d5,1002,1002,1000,1000,192.168.0.120,*91,XML,default 2 total. show calls uuid,direction,created,created_epoch,name,state,cid_name,cid_num,ip_addr,dest,presence_id,presence_data,callstate,callee_name,callee_num,callee_direction,call_uuid,hostname,sent_callee_name,sent_callee_num,b_uuid,b_direction,b_created,b_created_epoch,b_name,b_state,b_cid_name,b_cid_num,b_ip_addr,b_dest,b_presence_id,b_presence_data,b_callstate,b_callee_name,b_callee_num,b_callee_direction,b_sent_callee_name,b_sent_callee_num,call_created_epoch d298fa41-b855-4027-ba4a-ac112df641d5,inbound,2015-04-22 18:04:47,1429736687,sofia/internal/1000 at 192.168.0.136,CS_SOFT_EXECUTE,1000,1000,192.168.0.120,*91,1000 at 192.168.0.136,,ACTIVE,1002,1002,SEND,d298fa41-b855-4027-ba4a-ac112df641d5,hajjar-notebook,1002,1002,a1c9b1a4-7926-4da9-9041-100df3d1bbbb,inbound,2015-04-22 18:01:46,1429736506,sofia/internal/1002 at 192.168.0.136,CS_EXCHANGE_MEDIA,1000,1000,192.168.0.103,4099,1002 at 192.168.0.136,,ACTIVE,1002,1002,SEND,1000,1000,1429736687 1 total. callcenter_config agent list name|system|uuid|type|contact|status|state|max_no_answer|wrap_up_time|reject_delay_time|busy_delay_time|no_answer_delay_time|last_bridge_start|last_bridge_end|last_offered_call|last_status_change|no_answer_count|calls_answered|talk_time|ready_time 1002 at default|single_box|a1c9b1a4-7926-4da9-9041-100df3d1bbbb|uuid-standby||Available (On Demand)|In a queue call|1|5|0|5|5|1429736687|1429735319|1429736687|1429736506|0|1|0|0 - Member hangs up show channels uuid,direction,created,created_epoch,name,state,cid_name,cid_num,ip_addr,dest,application,application_data,dialplan,context,read_codec,read_rate,read_bit_rate,write_codec,write_rate,write_bit_rate,secure,hostname,presence_id,presence_data,callstate,callee_name,callee_num,callee_direction,call_uuid,sent_callee_name,sent_callee_num,initial_cid_name,initial_cid_num,initial_ip_addr,initial_dest,initial_dialplan,initial_context a1c9b1a4-7926-4da9-9041-100df3d1bbbb,inbound,2015-04-22 18:01:46,1429736506,sofia/internal/1002 at 192.168.0.136,CS_EXECUTE,1002,1002,192.168.0.103,4099,playback,local_stream://moh,XML,default,PCMU,8000,64000,PCMU,8000,64000,,hajjar-notebook,1002 at 192.168.0.136,,ACTIVE,1000,1000,RECV,d298fa41-b855-4027-ba4a-ac112df641d5,,,1002,1002,192.168.0.103,4099,XML,default d298fa41-b855-4027-ba4a-ac112df641d5,inbound,2015-04-22 18:04:47,1429736687,sofia/internal/1000 at 192.168.0.136,CS_SOFT_EXECUTE,1000,1000,192.168.0.120,*91,uuid_bridge,a1c9b1a4-7926-4da9-9041-100df3d1bbbb,XML,default,PCMU,8000,64000,PCMU,8000,64000,,hajjar-notebook,1000 at 192.168.0.136,,ACTIVE,1002,1002,SEND,d298fa41-b855-4027-ba4a-ac112df641d5,1002,1002,1000,1000,192.168.0.120,*91,XML,default 2 total. show calls uuid,direction,created,created_epoch,name,state,cid_name,cid_num,ip_addr,dest,presence_id,presence_data,callstate,callee_name,callee_num,callee_direction,call_uuid,hostname,sent_callee_name,sent_callee_num,b_uuid,b_direction,b_created,b_created_epoch,b_name,b_state,b_cid_name,b_cid_num,b_ip_addr,b_dest,b_presence_id,b_presence_data,b_callstate,b_callee_name,b_callee_num,b_callee_direction,b_sent_callee_name,b_sent_callee_num,call_created_epoch d298fa41-b855-4027-ba4a-ac112df641d5,inbound,2015-04-22 18:04:47,1429736687,sofia/internal/1000 at 192.168.0.136,CS_SOFT_EXECUTE,1000,1000,192.168.0.120,*91,1000 at 192.168.0.136,,ACTIVE,1002,1002,SEND,d298fa41-b855-4027-ba4a-ac112df641d5,hajjar-notebook,1002,1002,a1c9b1a4-7926-4da9-9041-100df3d1bbbb,inbound,2015-04-22 18:01:46,1429736506,sofia/internal/1002 at 192.168.0.136,CS_EXECUTE,1002,1002,192.168.0.103,4099,1002 at 192.168.0.136,,ACTIVE,1000,1000,RECV,,,1429736687 1 total. callcenter_config agent list name|system|uuid|type|contact|status|state|max_no_answer|wrap_up_time|reject_delay_time|busy_delay_time|no_answer_delay_time|last_bridge_start|last_bridge_end|last_offered_call|last_status_change|no_answer_count|calls_answered|talk_time|ready_time 1002 at default|single_box|a1c9b1a4-7926-4da9-9041-100df3d1bbbb|uuid-standby||Available (On Demand)|Waiting|1|5|0|5|5|1429736687|1429735319|1429736687|1429736990|0|1|0|0 Here the agent gets transfered back to uuid-standby extension and restarts hearing moh. Its state is "Waiting" - but he/she won't answer new calls. But the state is "Waiting" only because it got overridden by the dialplan. In my tests, removing the callcenter_config(agent set state..) from dialplan (and controlling agent state via CLI), I've noticed that the agent state never gets back to "Idle" (if On Demand) or "Waiting". It gets stuck in "In a queue call". Trying to uuid_kill the member uuid, results in -ERR No such channel! - When agent finally hangs up: 2015-04-22 18:21:56.804183 [NOTICE] sofia.c:952 Hangup sofia/internal/1002 at 192.168.0.136 [CS_EXECUTE] [NORMAL_CLEARING] 2015-04-22 18:21:56.824219 [NOTICE] switch_core_session.c:1641 Session 6 (sofia/internal/1000 at 192.168.0.136) Ended 2015-04-22 18:21:56.824219 [NOTICE] switch_core_session.c:1645 Close Channel sofia/internal/1000 at 192.168.0.136 [CS_DESTROY] 2015-04-22 18:21:57.104198 [NOTICE] switch_core_session.c:1641 Session 4 (sofia/internal/1002 at 192.168.0.136) Ended 2015-04-22 18:21:57.104198 [NOTICE] switch_core_session.c:1645 Close Channel sofia/internal/1002 at 192.168.0.136 [CS_DESTROY] show channels, show calls return 0 If callcenter_config(agent set state...) is commented out in dialplan, callcenter_config agent list shows the agent as "Idle". Meaning mod_callcenter only perceives the call has been disconnected, after the agent hangs up... I'm not blaming mod_callcenter - maybe it's related to transfer_after_bridge. I already tried using exec_after_bridge_app/arg to a script that sleeps and transfer back to 4099. I also tried increasing the dialplan sleep. I'd appreciate any advice on how to make uuid-standby work. Thanks in advance, Saumar From aqsyounas at gmail.com Thu Apr 23 20:43:10 2015 From: aqsyounas at gmail.com (Aqs Younas) Date: Thu, 23 Apr 2015 21:43:10 +0500 Subject: [Freeswitch-users] Best sound file format for freeswitch In-Reply-To: References: Message-ID: Hi, Brian. I think you misunderstood my question. Its not one file but 100 files that we are playing in sequence(1-100) to every Caller. Thanks On 23 April 2015 at 21:33, Aqs Younas wrote: > Yep, We are playing same sound files to every user. Actually sound files > are some sort of lecture files. As soon as a call comes in, we start > playing files from 1 to 100. > > On 23 April 2015 at 21:21, Giovanni Maruzzelli wrote: > >> >> >> On Thu, Apr 23, 2015 at 6:16 PM, Aqs Younas wrote: >> >>> Thanks for your quick reply. >>> >>> Does suppressing 2 channels would be helpful? >>> >>> >> yes, go from stereo mp3 to mono with one only pass. You can use sox, >> lame, audacty or whatever, but probably the easiest and bullet proof way is >> to load mod_shout in fs_encode, and use it as per mod_native_file >> confluence page instructions >> >> -giovanni >> >> >> >> >>> On 23 April 2015 at 20:59, Chris Tunbridge wrote: >>> >>>> This depends on the codec your users are using. >>>> >>>> If its PCMA or PCMU then you should be fine with wav, and if you want >>>> to suppress the 2 channels message you can convert it to a mono file, >>>> here's an example with sox. >>>> >>>> sox input.mp3 -c 1 -r 8000 output.wav >>>> >>>> On Thu, Apr 23, 2015 at 9:18 AM, Aqs Younas >>>> wrote: >>>> >>>>> Hi,users. >>>>> >>>>> I have 1-100 sound files (mp3) and wants to play these files in loop >>>>> from 1 to 100 to more than 250 concurrent users. >>>>> >>>>> Currently these sound files have format. >>>>> >>>>> Codec: MPEG audio layer 1/2/3 (mpga) >>>>> Channels: Stereo >>>>> Sample Rate: 22050 Hz >>>>> Bitrate: 64 kb/s >>>>> >>>>> While playing these files I see in freeswitch log. >>>>> >>>>> >>>>> *2015-04-23 14:17:59.351859 [WARNING] switch_core_file.c:230 File has >>>>> 2 channels, muxing to 1 channel will occur.* >>>>> >>>>> >>>>> I want my freeswitch to have minimum load while playing these files >>>>> (located on freeswitch server). >>>>> >>>>> I which file format I must convert these files to have my freeswitch >>>>> with minimum load. >>>>> >>>>> Your Guys opinion is much appreciated. >>>>> >>>>> Thanks >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> >> -- >> Sincerely, >> >> Giovanni Maruzzelli >> Cell : +39-347-2665618 >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150423/5864f2ee/attachment-0001.html From paul.atreides83 at googlemail.com Thu Apr 23 23:28:56 2015 From: paul.atreides83 at googlemail.com (Paul Atreides) Date: Thu, 23 Apr 2015 21:28:56 +0200 Subject: [Freeswitch-users] Music on hold for multi-tenant environment Message-ID: Hi, I am using a Grandstream GXP2140. When I am having an active call and another person is calling me then I can switch between the two calls. The person set to hold should hear the hold music but it only plays the beginning and then just comes silence. I don't get any error messages. How can I set it up that it keeps playing the music? Log: 2015-04-23 21:19:00.154957 [DEBUG] switch_channel.c:1961 (sofia/internal/ sip:13 at 10.0.200.13:5060) Callstate Change HELD -> UNHELD 2015-04-23 21:19:00.154957 [DEBUG] switch_core_io.c:1026 (sofia/internal/ sip:13 at 10.0.200.13:5060) Callstate Change UNHELD -> ACTIVE Dialplan: Thank you -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150423/d6383747/attachment.html From italorossib at gmail.com Fri Apr 24 00:15:21 2015 From: italorossib at gmail.com (=?UTF-8?B?w410YWxvIFJvc3Np?=) Date: Thu, 23 Apr 2015 20:15:21 +0000 Subject: [Freeswitch-users] Stale channels with mod_callcenter in uuid-standby mode In-Reply-To: <55391FB8.3010100@uol.com.br> References: <55391FB8.3010100@uol.com.br> Message-ID: Hi Saumar, Can you please file a JIRA? Attach your dialplan example, FreeSWITCH debug logs with siptrace enabled. I'll try to replicate it. On Thu, Apr 23, 2015 at 1:42 PM Saumar Hajjar wrote: > (Reposting: the 1st "version" didn't reach the list for some reason) > > After a mod_callcenter member hangs up, its channel is still present in > the system, and its uuid is unkillable. > I believe FS team calls it a "stale channel". > The uuid-standby agent won't receive any more calls, until he/she hangs > up - what would make uuid-standby a "agent hangup and call again" mode. > > What I'm trying to do, is nothing fancy. Basically I'm following the > mod_callcenter documentation without much tweaking. > Here's the test case setup: > > - Freeswitch with default config, mod_callcenter enabled also with > default config > Tested with the following versions: > 1.4.18+git~20150312T185523Z~4eed221b69~64bit (git 4eed221 2015-03-12 > 18:55:23Z 64bit) > 1.5.15b+git~20150117T062211Z~46cf8a4dce~64bit (git 46cf8a4 2015-01-17 > 06:22:11Z 64bit) > 1.5.15b+git~20150421T235828Z~a4d877c189~64bit (git a4d877c 2015-04-21 > 23:58:28Z 64bit) > > - Dialplan mod_callcenter entries: > > > > > > > > > > > > > > > > > > data="cc_warning_tone=tone_stream://%(200,0,500,600,700)"/> > > > > > > - Start FS and add a test agent: > callcenter_config agent add 1002 at default uuid-standby > > - Agent (extension 1002) dials 4099: > The agent starts hearing music on hold. > > show channels > > uuid,direction,created,created_epoch,name,state,cid_name,cid_num,ip_addr,dest,application,application_data,dialplan,context,read_codec,read_rate,read_bit_rate,write_codec,write_rate,write_bit_rate,secure,hostname,presence_id,presence_data,callstate,callee_name,callee_num,callee_direction,call_uuid,sent_callee_name,sent_callee_num,initial_cid_name,initial_cid_num,initial_ip_addr,initial_dest,initial_dialplan,initial_context > a1c9b1a4-7926-4da9-9041-100df3d1bbbb,inbound,2015-04-22 > 18:01:46,1429736506,sofia/internal/1002 at 192.168.0.136 > ,CS_EXECUTE,1002,1002,192.168.0.103,4099,playback,local_stream://moh,XML,default,PCMU,8000,64000,PCMU,8000,64000,,hajjar-notebook, > 1002 at 192.168.0.136,,ACTIVE,,,,,,,1002,1002,192.168.0.103,4099,XML,default > > callcenter_config agent list > > name|system|uuid|type|contact|status|state|max_no_answer|wrap_up_time|reject_delay_time|busy_delay_time|no_answer_delay_time|last_bridge_start|last_bridge_end|last_offered_call|last_status_change|no_answer_count|calls_answered|talk_time|ready_time > 1002 at default > |single_box|a1c9b1a4-7926-4da9-9041-100df3d1bbbb|uuid-standby||Available > (On > > Demand)|Waiting|1|5|0|5|5|1429734669|1429735319|1429734669|1429736506|0|0|0|0 > > - Member (extension 1000) dials *91: > The member gets bridged to the uuid-stand by agent. Great. > > show channels > > uuid,direction,created,created_epoch,name,state,cid_name,cid_num,ip_addr,dest,application,application_data,dialplan,context,read_codec,read_rate,read_bit_rate,write_codec,write_rate,write_bit_rate,secure,hostname,presence_id,presence_data,callstate,callee_name,callee_num,callee_direction,call_uuid,sent_callee_name,sent_callee_num,initial_cid_name,initial_cid_num,initial_ip_addr,initial_dest,initial_dialplan,initial_context > a1c9b1a4-7926-4da9-9041-100df3d1bbbb,inbound,2015-04-22 > 18:01:46,1429736506,sofia/internal/1002 at 192.168.0.136 > ,CS_EXCHANGE_MEDIA,1000,1000,192.168.0.103,4099,uuid_bridge,d298fa41-b855-4027-ba4a-ac112df641d5,XML,default,PCMU,8000,64000,PCMU,8000,64000,,hajjar-notebook, > 1002 at 192.168.0.136 > ,,ACTIVE,1002,1002,SEND,d298fa41-b855-4027-ba4a-ac112df641d5,1000,1000,1002,1002,192.168.0.103,4099,XML,default > d298fa41-b855-4027-ba4a-ac112df641d5,inbound,2015-04-22 > 18:04:47,1429736687,sofia/internal/1000 at 192.168.0.136 > ,CS_SOFT_EXECUTE,1000,1000,192.168.0.120,*91,uuid_bridge,a1c9b1a4-7926-4da9-9041-100df3d1bbbb,XML,default,PCMU,8000,64000,PCMU,8000,64000,,hajjar-notebook, > 1000 at 192.168.0.136 > ,,ACTIVE,1002,1002,SEND,d298fa41-b855-4027-ba4a-ac112df641d5,1002,1002,1000,1000,192.168.0.120,*91,XML,default > > 2 total. > > show calls > > uuid,direction,created,created_epoch,name,state,cid_name,cid_num,ip_addr,dest,presence_id,presence_data,callstate,callee_name,callee_num,callee_direction,call_uuid,hostname,sent_callee_name,sent_callee_num,b_uuid,b_direction,b_created,b_created_epoch,b_name,b_state,b_cid_name,b_cid_num,b_ip_addr,b_dest,b_presence_id,b_presence_data,b_callstate,b_callee_name,b_callee_num,b_callee_direction,b_sent_callee_name,b_sent_callee_num,call_created_epoch > d298fa41-b855-4027-ba4a-ac112df641d5,inbound,2015-04-22 > 18:04:47,1429736687,sofia/internal/1000 at 192.168.0.136 > ,CS_SOFT_EXECUTE,1000,1000,192.168.0.120,*91,1000 at 192.168.0.136 > ,,ACTIVE,1002,1002,SEND,d298fa41-b855-4027-ba4a-ac112df641d5,hajjar-notebook,1002,1002,a1c9b1a4-7926-4da9-9041-100df3d1bbbb,inbound,2015-04-22 > 18:01:46,1429736506,sofia/internal/1002 at 192.168.0.136 > ,CS_EXCHANGE_MEDIA,1000,1000,192.168.0.103,4099,1002 at 192.168.0.136 > ,,ACTIVE,1002,1002,SEND,1000,1000,1429736687 > > 1 total. > > callcenter_config agent list > > name|system|uuid|type|contact|status|state|max_no_answer|wrap_up_time|reject_delay_time|busy_delay_time|no_answer_delay_time|last_bridge_start|last_bridge_end|last_offered_call|last_status_change|no_answer_count|calls_answered|talk_time|ready_time > 1002 at default > |single_box|a1c9b1a4-7926-4da9-9041-100df3d1bbbb|uuid-standby||Available > (On Demand)|In a queue > call|1|5|0|5|5|1429736687|1429735319|1429736687|1429736506|0|1|0|0 > > - Member hangs up > show channels > > uuid,direction,created,created_epoch,name,state,cid_name,cid_num,ip_addr,dest,application,application_data,dialplan,context,read_codec,read_rate,read_bit_rate,write_codec,write_rate,write_bit_rate,secure,hostname,presence_id,presence_data,callstate,callee_name,callee_num,callee_direction,call_uuid,sent_callee_name,sent_callee_num,initial_cid_name,initial_cid_num,initial_ip_addr,initial_dest,initial_dialplan,initial_context > a1c9b1a4-7926-4da9-9041-100df3d1bbbb,inbound,2015-04-22 > 18:01:46,1429736506,sofia/internal/1002 at 192.168.0.136 > ,CS_EXECUTE,1002,1002,192.168.0.103,4099,playback,local_stream://moh,XML,default,PCMU,8000,64000,PCMU,8000,64000,,hajjar-notebook, > 1002 at 192.168.0.136 > ,,ACTIVE,1000,1000,RECV,d298fa41-b855-4027-ba4a-ac112df641d5,,,1002,1002,192.168.0.103,4099,XML,default > d298fa41-b855-4027-ba4a-ac112df641d5,inbound,2015-04-22 > 18:04:47,1429736687,sofia/internal/1000 at 192.168.0.136 > ,CS_SOFT_EXECUTE,1000,1000,192.168.0.120,*91,uuid_bridge,a1c9b1a4-7926-4da9-9041-100df3d1bbbb,XML,default,PCMU,8000,64000,PCMU,8000,64000,,hajjar-notebook, > 1000 at 192.168.0.136 > ,,ACTIVE,1002,1002,SEND,d298fa41-b855-4027-ba4a-ac112df641d5,1002,1002,1000,1000,192.168.0.120,*91,XML,default > > 2 total. > > show calls > > uuid,direction,created,created_epoch,name,state,cid_name,cid_num,ip_addr,dest,presence_id,presence_data,callstate,callee_name,callee_num,callee_direction,call_uuid,hostname,sent_callee_name,sent_callee_num,b_uuid,b_direction,b_created,b_created_epoch,b_name,b_state,b_cid_name,b_cid_num,b_ip_addr,b_dest,b_presence_id,b_presence_data,b_callstate,b_callee_name,b_callee_num,b_callee_direction,b_sent_callee_name,b_sent_callee_num,call_created_epoch > d298fa41-b855-4027-ba4a-ac112df641d5,inbound,2015-04-22 > 18:04:47,1429736687,sofia/internal/1000 at 192.168.0.136 > ,CS_SOFT_EXECUTE,1000,1000,192.168.0.120,*91,1000 at 192.168.0.136 > ,,ACTIVE,1002,1002,SEND,d298fa41-b855-4027-ba4a-ac112df641d5,hajjar-notebook,1002,1002,a1c9b1a4-7926-4da9-9041-100df3d1bbbb,inbound,2015-04-22 > 18:01:46,1429736506,sofia/internal/1002 at 192.168.0.136 > ,CS_EXECUTE,1002,1002,192.168.0.103,4099,1002 at 192.168.0.136 > ,,ACTIVE,1000,1000,RECV,,,1429736687 > > 1 total. > > callcenter_config agent list > > name|system|uuid|type|contact|status|state|max_no_answer|wrap_up_time|reject_delay_time|busy_delay_time|no_answer_delay_time|last_bridge_start|last_bridge_end|last_offered_call|last_status_change|no_answer_count|calls_answered|talk_time|ready_time > 1002 at default > |single_box|a1c9b1a4-7926-4da9-9041-100df3d1bbbb|uuid-standby||Available > (On > > Demand)|Waiting|1|5|0|5|5|1429736687|1429735319|1429736687|1429736990|0|1|0|0 > > Here the agent gets transfered back to uuid-standby extension and > restarts hearing moh. > Its state is "Waiting" - but he/she won't answer new calls. But the > state is "Waiting" only because it got overridden by the dialplan. > In my tests, removing the callcenter_config(agent set state..) from > dialplan (and controlling agent state via CLI), I've noticed that the > agent state never gets back to "Idle" (if On Demand) or "Waiting". It > gets stuck in "In a queue call". > > Trying to uuid_kill the member uuid, results in -ERR No such channel! > > - When agent finally hangs up: > 2015-04-22 18:21:56.804183 [NOTICE] sofia.c:952 Hangup > sofia/internal/1002 at 192.168.0.136 [CS_EXECUTE] [NORMAL_CLEARING] > 2015-04-22 18:21:56.824219 [NOTICE] switch_core_session.c:1641 Session 6 > (sofia/internal/1000 at 192.168.0.136) Ended > 2015-04-22 18:21:56.824219 [NOTICE] switch_core_session.c:1645 Close > Channel sofia/internal/1000 at 192.168.0.136 [CS_DESTROY] > 2015-04-22 18:21:57.104198 [NOTICE] switch_core_session.c:1641 Session 4 > (sofia/internal/1002 at 192.168.0.136) Ended > 2015-04-22 18:21:57.104198 [NOTICE] switch_core_session.c:1645 Close > Channel sofia/internal/1002 at 192.168.0.136 [CS_DESTROY] > > show channels, show calls return 0 > > If callcenter_config(agent set state...) is commented out in dialplan, > callcenter_config agent list shows the agent as "Idle". Meaning > mod_callcenter only perceives the call has been disconnected, after the > agent hangs up... > > I'm not blaming mod_callcenter - maybe it's related to > transfer_after_bridge. > I already tried using exec_after_bridge_app/arg to a script that sleeps > and transfer back to 4099. I also tried increasing the dialplan sleep. > I'd appreciate any advice on how to make uuid-standby work. > > Thanks in advance, > > Saumar > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150423/07a3e9c8/attachment-0001.html From brian at freeswitch.org Fri Apr 24 00:19:01 2015 From: brian at freeswitch.org (Brian West) Date: Thu, 23 Apr 2015 15:19:01 -0500 Subject: [Freeswitch-users] Best sound file format for freeswitch In-Reply-To: References: Message-ID: Still doesn't matter, If you have 100 files you wish to pay in sequence to all the callers, the same applies. Its still one local string with a list of things to play and its shared to all callers. On Thu, Apr 23, 2015 at 11:43 AM, Aqs Younas wrote: > Hi, Brian. > > I think you misunderstood my question. Its not one file but 100 files that > we are playing in sequence(1-100) to every Caller. > > Thanks > > > On 23 April 2015 at 21:33, Aqs Younas wrote: > >> Yep, We are playing same sound files to every user. Actually sound files >> are some sort of lecture files. As soon as a call comes in, we start >> playing files from 1 to 100. >> >> On 23 April 2015 at 21:21, Giovanni Maruzzelli wrote: >> >>> >>> >>> On Thu, Apr 23, 2015 at 6:16 PM, Aqs Younas wrote: >>> >>>> Thanks for your quick reply. >>>> >>>> Does suppressing 2 channels would be helpful? >>>> >>>> >>> yes, go from stereo mp3 to mono with one only pass. You can use sox, >>> lame, audacty or whatever, but probably the easiest and bullet proof way is >>> to load mod_shout in fs_encode, and use it as per mod_native_file >>> confluence page instructions >>> >>> -giovanni >>> >>> >>> >>> >>>> On 23 April 2015 at 20:59, Chris Tunbridge wrote: >>>> >>>>> This depends on the codec your users are using. >>>>> >>>>> If its PCMA or PCMU then you should be fine with wav, and if you want >>>>> to suppress the 2 channels message you can convert it to a mono file, >>>>> here's an example with sox. >>>>> >>>>> sox input.mp3 -c 1 -r 8000 output.wav >>>>> >>>>> On Thu, Apr 23, 2015 at 9:18 AM, Aqs Younas >>>>> wrote: >>>>> >>>>>> Hi,users. >>>>>> >>>>>> I have 1-100 sound files (mp3) and wants to play these files in loop >>>>>> from 1 to 100 to more than 250 concurrent users. >>>>>> >>>>>> Currently these sound files have format. >>>>>> >>>>>> Codec: MPEG audio layer 1/2/3 (mpga) >>>>>> Channels: Stereo >>>>>> Sample Rate: 22050 Hz >>>>>> Bitrate: 64 kb/s >>>>>> >>>>>> While playing these files I see in freeswitch log. >>>>>> >>>>>> >>>>>> *2015-04-23 14:17:59.351859 [WARNING] switch_core_file.c:230 File has >>>>>> 2 channels, muxing to 1 channel will occur.* >>>>>> >>>>>> >>>>>> I want my freeswitch to have minimum load while playing these files >>>>>> (located on freeswitch server). >>>>>> >>>>>> I which file format I must convert these files to have my freeswitch >>>>>> with minimum load. >>>>>> >>>>>> Your Guys opinion is much appreciated. >>>>>> >>>>>> Thanks >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> _________________________________________________________________________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at freeswitch.org >>>>>> http://www.freeswitchsolutions.com >>>>>> >>>>>> Official FreeSWITCH Sites >>>>>> http://www.freeswitch.org >>>>>> http://confluence.freeswitch.org >>>>>> http://www.cluecon.com >>>>>> >>>>>> FreeSWITCH-users mailing list >>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE: >>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>> >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> >>> -- >>> Sincerely, >>> >>> Giovanni Maruzzelli >>> Cell : +39-347-2665618 >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com ClueCon 2015 Call for Speakers | Register TODAY! | Reddit: /r/freeswitch *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150423/19254bf2/attachment.html From saumar at uol.com.br Fri Apr 24 00:41:07 2015 From: saumar at uol.com.br (Saumar Hajjar) Date: Thu, 23 Apr 2015 17:41:07 -0300 Subject: [Freeswitch-users] Stale channels with mod_callcenter in uuid-standby mode In-Reply-To: References: <55391FB8.3010100@uol.com.br> Message-ID: <553958E3.50607@uol.com.br> Hi ?talo. I was planning to file a bug report, but tried the list first, just in case it was a known issue or just a misinterpretation of the documentation. I'll collect the traces and submit it. Thanks. On 23/04/2015 17:15, ?talo Rossi wrote: > Hi Saumar, > > Can you please file a JIRA? > > Attach your dialplan example, FreeSWITCH debug logs with siptrace enabled. > > I'll try to replicate it. > > On Thu, Apr 23, 2015 at 1:42 PM Saumar Hajjar > wrote: > > (Reposting: the 1st "version" didn't reach the list for some reason) > > After a mod_callcenter member hangs up, its channel is still > present in > the system, and its uuid is unkillable. > I believe FS team calls it a "stale channel". > The uuid-standby agent won't receive any more calls, until he/she > hangs > up - what would make uuid-standby a "agent hangup and call again" > mode. > > What I'm trying to do, is nothing fancy. Basically I'm following the > mod_callcenter documentation without much tweaking. > Here's the test case setup: > > - Freeswitch with default config, mod_callcenter enabled also with > default config > Tested with the following versions: > 1.4.18+git~20150312T185523Z~4eed221b69~64bit (git 4eed221 2015-03-12 > 18:55:23Z 64bit) > 1.5.15b+git~20150117T062211Z~46cf8a4dce~64bit (git 46cf8a4 2015-01-17 > 06:22:11Z 64bit) > 1.5.15b+git~20150421T235828Z~a4d877c189~64bit (git a4d877c 2015-04-21 > 23:58:28Z 64bit) > > - Dialplan mod_callcenter entries: > > > > > > > > > > > > > > > > > > data="cc_warning_tone=tone_stream://%(200,0,500,600,700)"/> > > > > > > - Start FS and add a test agent: > callcenter_config agent add 1002 at default uuid-standby > > - Agent (extension 1002) dials 4099: > The agent starts hearing music on hold. > > show channels > uuid,direction,created,created_epoch,name,state,cid_name,cid_num,ip_addr,dest,application,application_data,dialplan,context,read_codec,read_rate,read_bit_rate,write_codec,write_rate,write_bit_rate,secure,hostname,presence_id,presence_data,callstate,callee_name,callee_num,callee_direction,call_uuid,sent_callee_name,sent_callee_num,initial_cid_name,initial_cid_num,initial_ip_addr,initial_dest,initial_dialplan,initial_context > a1c9b1a4-7926-4da9-9041-100df3d1bbbb,inbound,2015-04-22 > 18:01:46,1429736506,sofia/internal/1002 at 192.168.0.136 > ,CS_EXECUTE,1002,1002,192.168.0.103,4099,playback,local_stream://moh,XML,default,PCMU,8000,64000,PCMU,8000,64000,,hajjar-notebook,1002 at 192.168.0.136 > ,,ACTIVE,,,,,,,1002,1002,192.168.0.103,4099,XML,default > > callcenter_config agent list > name|system|uuid|type|contact|status|state|max_no_answer|wrap_up_time|reject_delay_time|busy_delay_time|no_answer_delay_time|last_bridge_start|last_bridge_end|last_offered_call|last_status_change|no_answer_count|calls_answered|talk_time|ready_time > 1002 at default|single_box|a1c9b1a4-7926-4da9-9041-100df3d1bbbb|uuid-standby||Available > (On > Demand)|Waiting|1|5|0|5|5|1429734669|1429735319|1429734669|1429736506|0|0|0|0 > > - Member (extension 1000) dials *91: > The member gets bridged to the uuid-stand by agent. Great. > > show channels > uuid,direction,created,created_epoch,name,state,cid_name,cid_num,ip_addr,dest,application,application_data,dialplan,context,read_codec,read_rate,read_bit_rate,write_codec,write_rate,write_bit_rate,secure,hostname,presence_id,presence_data,callstate,callee_name,callee_num,callee_direction,call_uuid,sent_callee_name,sent_callee_num,initial_cid_name,initial_cid_num,initial_ip_addr,initial_dest,initial_dialplan,initial_context > a1c9b1a4-7926-4da9-9041-100df3d1bbbb,inbound,2015-04-22 > 18:01:46,1429736506,sofia/internal/1002 at 192.168.0.136 > ,CS_EXCHANGE_MEDIA,1000,1000,192.168.0.103,4099,uuid_bridge,d298fa41-b855-4027-ba4a-ac112df641d5,XML,default,PCMU,8000,64000,PCMU,8000,64000,,hajjar-notebook,1002 at 192.168.0.136 > ,,ACTIVE,1002,1002,SEND,d298fa41-b855-4027-ba4a-ac112df641d5,1000,1000,1002,1002,192.168.0.103,4099,XML,default > d298fa41-b855-4027-ba4a-ac112df641d5,inbound,2015-04-22 > 18:04:47,1429736687,sofia/internal/1000 at 192.168.0.136 > ,CS_SOFT_EXECUTE,1000,1000,192.168.0.120,*91,uuid_bridge,a1c9b1a4-7926-4da9-9041-100df3d1bbbb,XML,default,PCMU,8000,64000,PCMU,8000,64000,,hajjar-notebook,1000 at 192.168.0.136 > ,,ACTIVE,1002,1002,SEND,d298fa41-b855-4027-ba4a-ac112df641d5,1002,1002,1000,1000,192.168.0.120,*91,XML,default > > 2 total. > > show calls > uuid,direction,created,created_epoch,name,state,cid_name,cid_num,ip_addr,dest,presence_id,presence_data,callstate,callee_name,callee_num,callee_direction,call_uuid,hostname,sent_callee_name,sent_callee_num,b_uuid,b_direction,b_created,b_created_epoch,b_name,b_state,b_cid_name,b_cid_num,b_ip_addr,b_dest,b_presence_id,b_presence_data,b_callstate,b_callee_name,b_callee_num,b_callee_direction,b_sent_callee_name,b_sent_callee_num,call_created_epoch > d298fa41-b855-4027-ba4a-ac112df641d5,inbound,2015-04-22 > 18:04:47,1429736687,sofia/internal/1000 at 192.168.0.136 > ,CS_SOFT_EXECUTE,1000,1000,192.168.0.120,*91,1000 at 192.168.0.136 > ,,ACTIVE,1002,1002,SEND,d298fa41-b855-4027-ba4a-ac112df641d5,hajjar-notebook,1002,1002,a1c9b1a4-7926-4da9-9041-100df3d1bbbb,inbound,2015-04-22 > 18:01:46,1429736506,sofia/internal/1002 at 192.168.0.136 > ,CS_EXCHANGE_MEDIA,1000,1000,192.168.0.103,4099,1002 at 192.168.0.136 > ,,ACTIVE,1002,1002,SEND,1000,1000,1429736687 > > 1 total. > > callcenter_config agent list > name|system|uuid|type|contact|status|state|max_no_answer|wrap_up_time|reject_delay_time|busy_delay_time|no_answer_delay_time|last_bridge_start|last_bridge_end|last_offered_call|last_status_change|no_answer_count|calls_answered|talk_time|ready_time > 1002 at default|single_box|a1c9b1a4-7926-4da9-9041-100df3d1bbbb|uuid-standby||Available > (On Demand)|In a queue > call|1|5|0|5|5|1429736687|1429735319|1429736687|1429736506|0|1|0|0 > > - Member hangs up > show channels > uuid,direction,created,created_epoch,name,state,cid_name,cid_num,ip_addr,dest,application,application_data,dialplan,context,read_codec,read_rate,read_bit_rate,write_codec,write_rate,write_bit_rate,secure,hostname,presence_id,presence_data,callstate,callee_name,callee_num,callee_direction,call_uuid,sent_callee_name,sent_callee_num,initial_cid_name,initial_cid_num,initial_ip_addr,initial_dest,initial_dialplan,initial_context > a1c9b1a4-7926-4da9-9041-100df3d1bbbb,inbound,2015-04-22 > 18:01:46,1429736506,sofia/internal/1002 at 192.168.0.136 > ,CS_EXECUTE,1002,1002,192.168.0.103,4099,playback,local_stream://moh,XML,default,PCMU,8000,64000,PCMU,8000,64000,,hajjar-notebook,1002 at 192.168.0.136 > ,,ACTIVE,1000,1000,RECV,d298fa41-b855-4027-ba4a-ac112df641d5,,,1002,1002,192.168.0.103,4099,XML,default > d298fa41-b855-4027-ba4a-ac112df641d5,inbound,2015-04-22 > 18:04:47,1429736687,sofia/internal/1000 at 192.168.0.136 > ,CS_SOFT_EXECUTE,1000,1000,192.168.0.120,*91,uuid_bridge,a1c9b1a4-7926-4da9-9041-100df3d1bbbb,XML,default,PCMU,8000,64000,PCMU,8000,64000,,hajjar-notebook,1000 at 192.168.0.136 > ,,ACTIVE,1002,1002,SEND,d298fa41-b855-4027-ba4a-ac112df641d5,1002,1002,1000,1000,192.168.0.120,*91,XML,default > > 2 total. > > show calls > uuid,direction,created,created_epoch,name,state,cid_name,cid_num,ip_addr,dest,presence_id,presence_data,callstate,callee_name,callee_num,callee_direction,call_uuid,hostname,sent_callee_name,sent_callee_num,b_uuid,b_direction,b_created,b_created_epoch,b_name,b_state,b_cid_name,b_cid_num,b_ip_addr,b_dest,b_presence_id,b_presence_data,b_callstate,b_callee_name,b_callee_num,b_callee_direction,b_sent_callee_name,b_sent_callee_num,call_created_epoch > d298fa41-b855-4027-ba4a-ac112df641d5,inbound,2015-04-22 > 18:04:47,1429736687,sofia/internal/1000 at 192.168.0.136 > ,CS_SOFT_EXECUTE,1000,1000,192.168.0.120,*91,1000 at 192.168.0.136 > ,,ACTIVE,1002,1002,SEND,d298fa41-b855-4027-ba4a-ac112df641d5,hajjar-notebook,1002,1002,a1c9b1a4-7926-4da9-9041-100df3d1bbbb,inbound,2015-04-22 > 18:01:46,1429736506,sofia/internal/1002 at 192.168.0.136 > ,CS_EXECUTE,1002,1002,192.168.0.103,4099,1002 at 192.168.0.136 > ,,ACTIVE,1000,1000,RECV,,,1429736687 > > 1 total. > > callcenter_config agent list > name|system|uuid|type|contact|status|state|max_no_answer|wrap_up_time|reject_delay_time|busy_delay_time|no_answer_delay_time|last_bridge_start|last_bridge_end|last_offered_call|last_status_change|no_answer_count|calls_answered|talk_time|ready_time > 1002 at default|single_box|a1c9b1a4-7926-4da9-9041-100df3d1bbbb|uuid-standby||Available > (On > Demand)|Waiting|1|5|0|5|5|1429736687|1429735319|1429736687|1429736990|0|1|0|0 > > Here the agent gets transfered back to uuid-standby extension and > restarts hearing moh. > Its state is "Waiting" - but he/she won't answer new calls. But the > state is "Waiting" only because it got overridden by the dialplan. > In my tests, removing the callcenter_config(agent set state..) from > dialplan (and controlling agent state via CLI), I've noticed that the > agent state never gets back to "Idle" (if On Demand) or "Waiting". It > gets stuck in "In a queue call". > > Trying to uuid_kill the member uuid, results in -ERR No such channel! > > - When agent finally hangs up: > 2015-04-22 18:21:56.804183 [NOTICE] sofia.c:952 Hangup > sofia/internal/1002 at 192.168.0.136 > [CS_EXECUTE] [NORMAL_CLEARING] > 2015-04-22 18:21:56.824219 [NOTICE] switch_core_session.c:1641 > Session 6 > (sofia/internal/1000 at 192.168.0.136 ) Ended > 2015-04-22 18:21:56.824219 [NOTICE] switch_core_session.c:1645 Close > Channel sofia/internal/1000 at 192.168.0.136 > [CS_DESTROY] > 2015-04-22 18:21:57.104198 [NOTICE] switch_core_session.c:1641 > Session 4 > (sofia/internal/1002 at 192.168.0.136 ) Ended > 2015-04-22 18:21:57.104198 [NOTICE] switch_core_session.c:1645 Close > Channel sofia/internal/1002 at 192.168.0.136 > [CS_DESTROY] > > show channels, show calls return 0 > > If callcenter_config(agent set state...) is commented out in dialplan, > callcenter_config agent list shows the agent as "Idle". Meaning > mod_callcenter only perceives the call has been disconnected, > after the > agent hangs up... > > I'm not blaming mod_callcenter - maybe it's related to > transfer_after_bridge. > I already tried using exec_after_bridge_app/arg to a script that > sleeps > and transfer back to 4099. I also tried increasing the dialplan sleep. > I'd appreciate any advice on how to make uuid-standby work. > > Thanks in advance, > > Saumar > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150423/4bbf43a3/attachment-0001.html From blasterjr at gmail.com Fri Apr 24 01:06:58 2015 From: blasterjr at gmail.com (Chris Tunbridge) Date: Thu, 23 Apr 2015 15:06:58 -0600 Subject: [Freeswitch-users] Best sound file format for freeswitch In-Reply-To: References: Message-ID: Brain i think what he's trying to say is that he'll have upto 250 callers, that can call in at any time, and when a caller calls in, they need to start at the beginning of this list, not where the stream currently is. On Thu, Apr 23, 2015 at 2:19 PM, Brian West wrote: > Still doesn't matter, If you have 100 files you wish to pay in sequence to > all the callers, the same applies. Its still one local string with a list > of things to play and its shared to all callers. > > On Thu, Apr 23, 2015 at 11:43 AM, Aqs Younas wrote: > >> Hi, Brian. >> >> I think you misunderstood my question. Its not one file but 100 files >> that we are playing in sequence(1-100) to every Caller. >> >> Thanks >> >> >> On 23 April 2015 at 21:33, Aqs Younas wrote: >> >>> Yep, We are playing same sound files to every user. Actually sound files >>> are some sort of lecture files. As soon as a call comes in, we start >>> playing files from 1 to 100. >>> >>> On 23 April 2015 at 21:21, Giovanni Maruzzelli >>> wrote: >>> >>>> >>>> >>>> On Thu, Apr 23, 2015 at 6:16 PM, Aqs Younas >>>> wrote: >>>> >>>>> Thanks for your quick reply. >>>>> >>>>> Does suppressing 2 channels would be helpful? >>>>> >>>>> >>>> yes, go from stereo mp3 to mono with one only pass. You can use sox, >>>> lame, audacty or whatever, but probably the easiest and bullet proof way is >>>> to load mod_shout in fs_encode, and use it as per mod_native_file >>>> confluence page instructions >>>> >>>> -giovanni >>>> >>>> >>>> >>>> >>>>> On 23 April 2015 at 20:59, Chris Tunbridge >>>>> wrote: >>>>> >>>>>> This depends on the codec your users are using. >>>>>> >>>>>> If its PCMA or PCMU then you should be fine with wav, and if you want >>>>>> to suppress the 2 channels message you can convert it to a mono file, >>>>>> here's an example with sox. >>>>>> >>>>>> sox input.mp3 -c 1 -r 8000 output.wav >>>>>> >>>>>> On Thu, Apr 23, 2015 at 9:18 AM, Aqs Younas >>>>>> wrote: >>>>>> >>>>>>> Hi,users. >>>>>>> >>>>>>> I have 1-100 sound files (mp3) and wants to play these files in loop >>>>>>> from 1 to 100 to more than 250 concurrent users. >>>>>>> >>>>>>> Currently these sound files have format. >>>>>>> >>>>>>> Codec: MPEG audio layer 1/2/3 (mpga) >>>>>>> Channels: Stereo >>>>>>> Sample Rate: 22050 Hz >>>>>>> Bitrate: 64 kb/s >>>>>>> >>>>>>> While playing these files I see in freeswitch log. >>>>>>> >>>>>>> >>>>>>> *2015-04-23 14:17:59.351859 [WARNING] switch_core_file.c:230 File >>>>>>> has 2 channels, muxing to 1 channel will occur.* >>>>>>> >>>>>>> >>>>>>> I want my freeswitch to have minimum load while playing these files >>>>>>> (located on freeswitch server). >>>>>>> >>>>>>> I which file format I must convert these files to have my freeswitch >>>>>>> with minimum load. >>>>>>> >>>>>>> Your Guys opinion is much appreciated. >>>>>>> >>>>>>> Thanks >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> _________________________________________________________________________ >>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>> consulting at freeswitch.org >>>>>>> http://www.freeswitchsolutions.com >>>>>>> >>>>>>> Official FreeSWITCH Sites >>>>>>> http://www.freeswitch.org >>>>>>> http://confluence.freeswitch.org >>>>>>> http://www.cluecon.com >>>>>>> >>>>>>> FreeSWITCH-users mailing list >>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> UNSUBSCRIBE: >>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>> http://www.freeswitch.org >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> _________________________________________________________________________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at freeswitch.org >>>>>> http://www.freeswitchsolutions.com >>>>>> >>>>>> Official FreeSWITCH Sites >>>>>> http://www.freeswitch.org >>>>>> http://confluence.freeswitch.org >>>>>> http://www.cluecon.com >>>>>> >>>>>> FreeSWITCH-users mailing list >>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE: >>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>> >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>>> >>>> -- >>>> Sincerely, >>>> >>>> Giovanni Maruzzelli >>>> Cell : +39-347-2665618 >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > > *Brian West* > brian at freeswitch.org > > > *Twitter: @FreeSWITCH , @briankwest* > http://www.freeswitchbook.com > http://www.freeswitchcookbook.com > > ClueCon 2015 Call for Speakers > | Register > TODAY! | Reddit: /r/freeswitch > > > *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) > *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150423/9ecdc0b4/attachment.html From anthony.minessale at gmail.com Fri Apr 24 01:20:10 2015 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Thu, 23 Apr 2015 16:20:10 -0500 Subject: [Freeswitch-users] Best sound file format for freeswitch In-Reply-To: References: Message-ID: WAV is best if you have several callers with varying codecs. Its stored decoded and only has to encode and PCMU for instance from SLIN is not very costly. Ideally you want to match the rate and number of channels that most callers will have. On Thu, Apr 23, 2015 at 4:06 PM, Chris Tunbridge wrote: > Brain i think what he's trying to say is that he'll have upto 250 callers, > that can call in at any time, and when a caller calls in, they need to > start at the beginning of this list, not where the stream currently is. > > On Thu, Apr 23, 2015 at 2:19 PM, Brian West wrote: > >> Still doesn't matter, If you have 100 files you wish to pay in sequence >> to all the callers, the same applies. Its still one local string with a >> list of things to play and its shared to all callers. >> >> On Thu, Apr 23, 2015 at 11:43 AM, Aqs Younas wrote: >> >>> Hi, Brian. >>> >>> I think you misunderstood my question. Its not one file but 100 files >>> that we are playing in sequence(1-100) to every Caller. >>> >>> Thanks >>> >>> >>> On 23 April 2015 at 21:33, Aqs Younas wrote: >>> >>>> Yep, We are playing same sound files to every user. Actually sound >>>> files are some sort of lecture files. As soon as a call comes in, we start >>>> playing files from 1 to 100. >>>> >>>> On 23 April 2015 at 21:21, Giovanni Maruzzelli >>>> wrote: >>>> >>>>> >>>>> >>>>> On Thu, Apr 23, 2015 at 6:16 PM, Aqs Younas >>>>> wrote: >>>>> >>>>>> Thanks for your quick reply. >>>>>> >>>>>> Does suppressing 2 channels would be helpful? >>>>>> >>>>>> >>>>> yes, go from stereo mp3 to mono with one only pass. You can use sox, >>>>> lame, audacty or whatever, but probably the easiest and bullet proof way is >>>>> to load mod_shout in fs_encode, and use it as per mod_native_file >>>>> confluence page instructions >>>>> >>>>> -giovanni >>>>> >>>>> >>>>> >>>>> >>>>>> On 23 April 2015 at 20:59, Chris Tunbridge >>>>>> wrote: >>>>>> >>>>>>> This depends on the codec your users are using. >>>>>>> >>>>>>> If its PCMA or PCMU then you should be fine with wav, and if you >>>>>>> want to suppress the 2 channels message you can convert it to a mono file, >>>>>>> here's an example with sox. >>>>>>> >>>>>>> sox input.mp3 -c 1 -r 8000 output.wav >>>>>>> >>>>>>> On Thu, Apr 23, 2015 at 9:18 AM, Aqs Younas >>>>>>> wrote: >>>>>>> >>>>>>>> Hi,users. >>>>>>>> >>>>>>>> I have 1-100 sound files (mp3) and wants to play these files in >>>>>>>> loop from 1 to 100 to more than 250 concurrent users. >>>>>>>> >>>>>>>> Currently these sound files have format. >>>>>>>> >>>>>>>> Codec: MPEG audio layer 1/2/3 (mpga) >>>>>>>> Channels: Stereo >>>>>>>> Sample Rate: 22050 Hz >>>>>>>> Bitrate: 64 kb/s >>>>>>>> >>>>>>>> While playing these files I see in freeswitch log. >>>>>>>> >>>>>>>> >>>>>>>> *2015-04-23 14:17:59.351859 [WARNING] switch_core_file.c:230 File >>>>>>>> has 2 channels, muxing to 1 channel will occur.* >>>>>>>> >>>>>>>> >>>>>>>> I want my freeswitch to have minimum load while playing these files >>>>>>>> (located on freeswitch server). >>>>>>>> >>>>>>>> I which file format I must convert these files to have my >>>>>>>> freeswitch with minimum load. >>>>>>>> >>>>>>>> Your Guys opinion is much appreciated. >>>>>>>> >>>>>>>> Thanks >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> _________________________________________________________________________ >>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>> consulting at freeswitch.org >>>>>>>> http://www.freeswitchsolutions.com >>>>>>>> >>>>>>>> Official FreeSWITCH Sites >>>>>>>> http://www.freeswitch.org >>>>>>>> http://confluence.freeswitch.org >>>>>>>> http://www.cluecon.com >>>>>>>> >>>>>>>> FreeSWITCH-users mailing list >>>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>> UNSUBSCRIBE: >>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>> http://www.freeswitch.org >>>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> _________________________________________________________________________ >>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>> consulting at freeswitch.org >>>>>>> http://www.freeswitchsolutions.com >>>>>>> >>>>>>> Official FreeSWITCH Sites >>>>>>> http://www.freeswitch.org >>>>>>> http://confluence.freeswitch.org >>>>>>> http://www.cluecon.com >>>>>>> >>>>>>> FreeSWITCH-users mailing list >>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> UNSUBSCRIBE: >>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>> http://www.freeswitch.org >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> _________________________________________________________________________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at freeswitch.org >>>>>> http://www.freeswitchsolutions.com >>>>>> >>>>>> Official FreeSWITCH Sites >>>>>> http://www.freeswitch.org >>>>>> http://confluence.freeswitch.org >>>>>> http://www.cluecon.com >>>>>> >>>>>> FreeSWITCH-users mailing list >>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE: >>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> Sincerely, >>>>> >>>>> Giovanni Maruzzelli >>>>> Cell : +39-347-2665618 >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> >> -- >> >> *Brian West* >> brian at freeswitch.org >> >> >> *Twitter: @FreeSWITCH , @briankwest* >> http://www.freeswitchbook.com >> http://www.freeswitchcookbook.com >> >> ClueCon 2015 Call for Speakers >> | Register >> TODAY! | Reddit: /r/freeswitch >> >> >> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) >> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Anthony Minessale II ? @anthmfs ? @FreeSWITCH ? ? http://freeswitch.org/ ? http://cluecon.com/ ? http://twitter.com/FreeSWITCH ? irc.freenode.net #freeswitch ? *http://freeswitch.org/g+ * ClueCon Weekly Development Call ? sip:888 at conference.freeswitch.org ? +19193869900 https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150423/366c2eb9/attachment-0001.html From naveen.khanna.bm at gmail.com Fri Apr 24 10:08:57 2015 From: naveen.khanna.bm at gmail.com (Naveen Khanna) Date: Fri, 24 Apr 2015 11:38:57 +0530 Subject: [Freeswitch-users] Peer to Peer as compared to sipxecs Message-ID: <8B479499-AF3F-4A10-B05C-17615E0C9D09@gmail.com> Hi, Recently I am being asked about peer to peer communication capabilities of freeswtich as compared to sipxecs. As I understand that NAT is a blocker for having peer to peer communication, but It appears that spixecs has some work arounds. So I thought I will bring my understanding to this forum and get some clarity on the Subject. There are three scenarios : #1 Freeswitch, and 2 SIP phones are in the same NAT. #2 Freeswitch and 2 SIP phones are in 2 separate NATs. i.e. Freeswitch is in one NAT and 2 SIP Phones are behind 1 common ADSL connection #3 Freeswitch and 2 SIP phones are in 3 separate NATs. i.e. Freeswitch is in on NAT and 2 SIP Phones are behind 2 ADSL connection provide by different ISP. As per my understanding #1 is fairly possible in freeswitch, however I need to how does freeswitch #2 and #3. Regards, Naveen Khanna From bilaln018 at gmail.com Fri Apr 24 11:24:14 2015 From: bilaln018 at gmail.com (Bilal Abbasi) Date: Fri, 24 Apr 2015 12:24:14 +0500 Subject: [Freeswitch-users] [Warning][switch_core_media.c:1945 Changing current codec to PCMU (payload type 0)] Message-ID: Hi FS Users, I am currently getting the following Warning message on my FS server. 2015-04-24 03:00:37.433196 [WARNING] switch_core_media.c:1945 Changing current codec to PCMU (payload type 0). 2015-04-24 03:00:37.433196 [DEBUG] sofia.c:6413 Channel sofia/x.x.x.x entering state [ready][200] 2015-04-24 03:00:37.453197 [DEBUG] switch_core_media.c:2260 Changing Codec from G722 at 20ms@8000hz to PCMU at 20ms@8000hz 2015-04-24 03:00:37.493187 [DEBUG] switch_core_media.c:2352 Set Codec sofia/sipinterface_1/simple at x.x.x.x PCMU/8000 20 ms 160 samples 64000 bits 1 channels 2015-04-24 03:00:37.493187 [DEBUG] switch_core_codec.c:123 sofia/sipinterface_1/simple at x.x.x.x Original read codec replaced with PCMU:0 2015-04-24 03:00:37.493187 [NOTICE] switch_core_io.c:1257 Activating write resampler Please help me, Regards Bilal Abbasi -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150424/b7d7184e/attachment.html From jhorsburgh at gmail.com Fri Apr 24 13:29:31 2015 From: jhorsburgh at gmail.com (Jeremy) Date: Fri, 24 Apr 2015 19:29:31 +1000 Subject: [Freeswitch-users] Duplicate DTMF Issue Message-ID: Hey Giovanni, Awesome! I will compile it tonight and let you know how it goes. Thank you again for your help. Jeremy Hello Jeremy, ok, understood now. Gsmopen uses internally spandsp to detect DTMFs. Because of possible false multiple detections, there is an hardcoded minimum duration of 350 ms for each DTMF. In your specific case, edit mod_gsmopen.cpp in /usr/src/freeswitch/src/mod/endpoints/mod_gsmopen, and modify the value at line 3302: if ((new_dtmf_timestamp - tech_pvt->old_dtmf_timestamp) > 350000) { //FIXME: make it configurable change that value to 50000 or little less (is not configurable, as you can see :) ) and recompile (eg: from /usr/src/freeswitch type make mod_gsmopen-install) That should do the trick. Let us know if you encounter problems. -giovanni On Thu, Apr 23, 2015 at 2:39 PM, Jeremy > wrote: >* Hi Giovanni, *>>* Thank you for your reply, sorry I didn't explain the problem very well. *>>* I am trying to detect a string of DTMF's with a short pulse duration (about 50ms) and the normal DTMF detection is not able to reliably do this (it seems to miss almost all of the tones). *>>* Spandsp appears to be able to reliably do this but when I enable spandsp, I get duplicate tones detected by both spandsp and gsmopen (I think its gsmopen, example below). *>>* You are correct. Is it possible for gsmopen not to recognize DTMF's and use only spandsp to analyze the audio? *>>* Thank you for your help in advance. *>>* Jeremy. *>>>* P.S. Greatly appreciate the work you have put into GSMopen, brilliant work! *>>>* Hello Jeremy, *>>* I've not understood the problem, and the solution you are looking for. *>>* You want gsmopen not to recognize DTMFs, so you can analyze the audio with *>* spandsp? *>>* Can you give more info ? *>>* -giovanni *>>* On Wed, Apr 22, 2015 at 2:58 PM, jhorsburgh >> wrote: *>>* >* Hello All, *>* *>* I am having some issues detecting DTMF tones and was hoping *>* *>* someone could shed some light on the problem. *>* *>>* *Background* *>* *>* I am using Freeswitch (1.4.14~32bit) with GSMopen to receive calls and *>* *>* process high-speed DTMF signal for use with Alarm Systems. Unfortunately *>* *>* the *>* *>* standard inband DTMF detection is not quite up to the task but spandsp *>* *>* works *>* *>* perfectly. *>* *>>* *Problem* *>* *>* The problem I am having is that the standard inband DTMF detection remains *>* *>* enabled when spandsp is enabled producing duplicates of each detected tone. *>* *>>* Is there a way of disabling DTMF detection with the exception of spandsp? *>* *>>* Any help would be greatly appreciated. *>* *>>* Kind regards, *>* *>* Jeremy *>* *>>>>* 2015-04-22 12:18:22.129468 [DEBUG] mod_gsmopen.cpp:919 rev 1.4.14~32bit *>* *>* [(nil)|37 ][DEBUG_GSMOPEN 919 ][interface1][-1, 5, 5] *>* *>* gsmopen/interface1 CHANNEL got *>* *>* SWITCH_MESSAGE_INDICATE_TRANSCODING_NECESSARY *>* *>* 2015-04-22 12:18:22.569494 [DEBUG] switch_channel.c:488 RECV DTMF 5:2000 *>* *>* 2015-04-22 12:18:22.569494 [DEBUG] mod_gsmopen.cpp:745 rev 1.4.14~32bit *>* *>* [(nil)|37 ][DEBUG_GSMOPEN 745 ][interface1][-1, 5, 5] DTMF DETECTED: *>* *>* [5] new_dtmf_timestamp: 1652802529, delta_t: 515839955 *>* *>* 2015-04-22 12:18:22.569494 [DEBUG] mod_spandsp_dsp.c:373 DTMF BEGIN *>* *>* DETECTED: [5] *>* *>* 2015-04-22 12:18:22.569494 [DEBUG] switch_channel.c:488 RECV DTMF 5:2000 *>* *>* 2015-04-22 12:18:22.749457 [DEBUG] mod_spandsp_dsp.c:385 DTMF END DETECTED: *>* *>* [5], duration = 178 ms *>* *>* 2015-04-22 12:18:23.049446 [DEBUG] switch_channel.c:488 RECV DTMF 3:2000 *>* *>* 2015-04-22 12:18:23.049446 [DEBUG] mod_gsmopen.cpp:745 rev 1.4.14~32bit *>* *>* [(nil)|37 ][DEBUG_GSMOPEN 745 ][interface1][-1, 5, 5] DTMF DETECTED: *>* *>* [3] new_dtmf_timestamp: 1653282480, delta_t: 479951 *>* *>* 2015-04-22 12:18:23.049446 [DEBUG] mod_spandsp_dsp.c:373 DTMF BEGIN *>* *>* DETECTED: [3] *>* *>* 2015-04-22 12:18:23.049446 [DEBUG] switch_channel.c:488 RECV DTMF 3:2000 *>* *>* 2015-04-22 12:18:23.229447 [DEBUG] mod_spandsp_dsp.c:385 DTMF END DETECTED: *>* *>* [3], duration = 165 ms *>* *>* 2015-04-22 12:18:23.529449 [DEBUG] switch_channel.c:488 RECV DTMF 5:2000 *>* *>* 2015-04-22 12:18:23.529449 [DEBUG] mod_gsmopen.cpp:745 rev 1.4.14~32bit *>* *>* [(nil)|37 ][DEBUG_GSMOPEN 745 ][interface1][-1, 5, 5] DTMF DETECTED: *>* *>* [5] new_dtmf_timestamp: 1653762488, delta_t: 480008 *>* *>* 2015-04-22 12:18:23.549464 [DEBUG] mod_spandsp_dsp.c:373 DTMF BEGIN *>* *>* DETECTED: [5] *>* *>* 2015-04-22 12:18:23.549464 [DEBUG] switch_channel.c:488 RECV DTMF 5:2000 *>* *>* 2015-04-22 12:18:23.689495 [DEBUG] mod_spandsp_dsp.c:385 DTMF END DETECTED: *>* *>* [5], duration = 140 ms *>* *>* 2015-04-22 12:18:24.029440 [DEBUG] switch_channel.c:488 RECV DTMF 2:2000 *>* *>* 2015-04-22 12:18:24.029440 [DEBUG] mod_gsmopen.cpp:745 rev 1.4.14~32bit *>* *>* [(nil)|37 ][DEBUG_GSMOPEN 745 ][interface1][-1, 5, 5] DTMF DETECTED: *>* *>* [2] new_dtmf_timestamp: 1654262471, delta_t: 499983 *>* *>* 2015-04-22 12:18:24.029440 [DEBUG] mod_spandsp_dsp.c:373 DTMF BEGIN *>* *>* DETECTED: [2] *>* *>* 2015-04-22 12:18:24.029440 [DEBUG] switch_channel.c:488 RECV DTMF 2:2000 *>* *>* 2015-04-22 12:18:24.169442 [DEBUG] mod_spandsp_dsp.c:385 DTMF END DETECTED: *>* *>* [2], duration = 153 ms *>* *>* 2015-04-22 12:18:24.489445 [DEBUG] switch_channel.c:488 RECV DTMF 5:2000 *>* *>* 2015-04-22 12:18:24.489445 [DEBUG] mod_gsmopen.cpp:745 rev 1.4.14~32bit *>* *>* [(nil)|37 ][DEBUG_GSMOPEN 745 ][interface1][-1, 5, 5] DTMF DETECTED: *>* *>* [5] new_dtmf_timestamp: 1654722477, delta_t: 460006 *>* *>* 2015-04-22 12:18:24.489445 [DEBUG] mod_spandsp_dsp.c:373 DTMF BEGIN *>* *>* DETECTED: [5] *>* *>* 2015-04-22 12:18:24.489445 [DEBUG] switch_channel.c:488 RECV DTMF 5:2000 *>* *>* 2015-04-22 12:18:24.649447 [DEBUG] mod_spandsp_dsp.c:385 DTMF END DETECTED: *>* *>* [5], duration = 153 ms *>* *>* 2015-04-22 12:18:25.609450 [INFO] switch_cpp.cpp:1328 Failed to validate *>* *>* Checksum - '5533552255' *>* *>>>>>>>* -- *>* *>* View this message in context: *>* *>* http://freeswitch-users.2379917.n2.nabble.com/Duplicate-DTMF-Issue-tp7596155.html > *>* *>* Sent from the freeswitch-users mailing list archive at Nabble.com. *>* *>>* _________________________________________________________________________ *>* *>* Professional FreeSWITCH Consulting Services: *>* *>* consulting at freeswitch.org > *>* *>* http://www.freeswitchsolutions.com > *>* *>>* Official FreeSWITCH Sites *>* *>* http://www.freeswitch.org > *>* *>* http://confluence.freeswitch.org > *>* *>* http://www.cluecon.com > *>* *>>* FreeSWITCH-users mailing list *>* *>* FreeSWITCH-users at lists.freeswitch.org > *>* *>* http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > *>* *>* UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > *>* *>* http://www.freeswitch.org > *>* *> *>>>* -- *>* Sincerely, *>>* Giovanni Maruzzelli *>* Cell : +39-347-2665618 *>* -------------- next part -------------- *>* An HTML attachment was scrubbed... *>* URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150422/c1e71dbc/attachment.html *>>>>* _________________________________________________________________________ *>* Professional FreeSWITCH Consulting Services: *>* consulting at freeswitch.org *>* http://www.freeswitchsolutions.com *>>* Official FreeSWITCH Sites *>* http://www.freeswitch.org *>* http://confluence.freeswitch.org *>* http://www.cluecon.com *>>* FreeSWITCH-users mailing list *>* FreeSWITCH-users at lists.freeswitch.org *>* http://lists.freeswitch.org/mailman/listinfo/freeswitch-users *>* UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users *>* http://www.freeswitch.org *> -- Sincerely, Giovanni Maruzzelli Cell : +39-347-2665618 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150423/9c2753e2/attachment-0001.html -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150424/74b3ecd7/attachment-0001.html From k.presler at megafit.su Fri Apr 24 16:15:59 2015 From: k.presler at megafit.su (=?koi8-r?B?68nSyczMIPDSxdPMxdI=?=) Date: Fri, 24 Apr 2015 12:15:59 +0000 Subject: [Freeswitch-users] freeswitch sometimes crashes with core dump Message-ID: Please help me to analyze and understand what's going on. We have FS with python script dial plan. Python script asks SOAP API to get dial plan for call, parses result and returns Dialplan XML via fetch_xml function. I can't distinguish main source of error and crash, is problem in FS itself, mod_python, python or in my script. Please help me, below some system data and link to dump log CentOS release 6.6 (Final) linux 2.6.32-504.8.1.el6.x86_64 FreeSWITCH Version 1.2.24+git~20141120T223008Z~5dfc7cf803~64bit (git 5dfc7cf 2014-11-20 22:30:08Z 64bit) Python 2.6.6 (r266:84292, Jan 22 2014, 09:42:36) (SUDS,lxml...) http://pastebin.com/BkSmzq73 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150424/312e139b/attachment.html From max at nysolutions.com Fri Apr 24 16:44:43 2015 From: max at nysolutions.com (Moishe Grunstein) Date: Fri, 24 Apr 2015 12:44:43 +0000 Subject: [Freeswitch-users] freeswitch sometimes crashes with core dump In-Reply-To: References: Message-ID: The mailing list is not for core dumps see https://freeswitch.org/confluence/display/FREESWITCH/Reporting+Bugs+to+JIRA Thanks, Moishe Grunstein Tornado Computer Systems, Inc. 212.400.7650 888.IPPBX.US Service Request Email: support at nysolutions.com [cid:image001.jpg at 01C72F94.9EE45D60] Computer Networking * Managed Services * IP Video Surveillance * Network Assessments * Web Solutions * Voice over IP * Disaster Recovery * Network Security * Site Surveys * CMS From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of ?????? ??????? Sent: Friday, April 24, 2015 8:16 AM To: freeswitch-users at lists.freeswitch.org Subject: [Freeswitch-users] freeswitch sometimes crashes with core dump Please help me to analyze and understand what's going on. We have FS with python script dial plan. Python script asks SOAP API to get dial plan for call, parses result and returns Dialplan XML via fetch_xml function. I can't distinguish main source of error and crash, is problem in FS itself, mod_python, python or in my script. Please help me, below some system data and link to dump log CentOS release 6.6 (Final) linux 2.6.32-504.8.1.el6.x86_64 FreeSWITCH Version 1.2.24+git~20141120T223008Z~5dfc7cf803~64bit (git 5dfc7cf 2014-11-20 22:30:08Z 64bit) Python 2.6.6 (r266:84292, Jan 22 2014, 09:42:36) (SUDS,lxml...) http://pastebin.com/BkSmzq73 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150424/6979406f/attachment.html -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 2424 bytes Desc: image001.jpg Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150424/6979406f/attachment.jpg From krice at freeswitch.org Fri Apr 24 16:45:14 2015 From: krice at freeswitch.org (Ken Rice) Date: Fri, 24 Apr 2015 07:45:14 -0500 Subject: [Freeswitch-users] freeswitch sometimes crashes with core dump In-Reply-To: Message-ID: This doesn?t look like a crash in FreeSWITCH or mod_python but in the actual underlying Python engine itself. Also are running FS 1.2 which is EOL suggest upgrading to latest and trying again. This should be a straight forward migration On 4/24/15, 7:15 AM, "?????? ???????" wrote: > Please help me to analyze and understand what?s going on. > We have FS with python script dial plan. > Python script asks SOAP API to get dial plan for call, parses result and > returns Dialplan XML via fetch_xml function. > > I can?t distinguish main source of error and crash, is problem in FS itself, > mod_python, python or in my script. > Please help me, below some system data and link to dump log > > CentOS release 6.6 (Final) > linux 2.6.32-504.8.1.el6.x86_64 > FreeSWITCH Version 1.2.24+git~20141120T223008Z~5dfc7cf803~64bit (git 5dfc7cf > 2014-11-20 22:30:08Z 64bit) > Python 2.6.6 (r266:84292, Jan 22 2014, 09:42:36) (SUDS,lxml?) > > http://pastebin.com/BkSmzq73 > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -- Ken http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org irc.freenode.net #freeswitch Twitter: @FreeSWITCH -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150424/ff1db733/attachment.html From brian at freeswitch.org Fri Apr 24 16:58:15 2015 From: brian at freeswitch.org (Brian West) Date: Fri, 24 Apr 2015 07:58:15 -0500 Subject: [Freeswitch-users] [Warning][switch_core_media.c:1945 Changing current codec to PCMU (payload type 0)] In-Reply-To: References: Message-ID: Does the call work? On Friday, April 24, 2015, Bilal Abbasi wrote: > Hi FS Users, > > I am currently getting the following Warning message on my FS server. > 2015-04-24 03:00:37.433196 [WARNING] switch_core_media.c:1945 Changing > current codec to PCMU (payload type 0). > 2015-04-24 03:00:37.433196 [DEBUG] sofia.c:6413 Channel sofia/x.x.x.x > entering state [ready][200] > 2015-04-24 03:00:37.453197 [DEBUG] switch_core_media.c:2260 Changing Codec > from G722 at 20ms@8000hz to PCMU at 20ms@8000hz > 2015-04-24 03:00:37.493187 [DEBUG] switch_core_media.c:2352 Set Codec > sofia/sipinterface_1/simple at x.x.x.x PCMU/8000 20 ms 160 samples 64000 > bits 1 channels > 2015-04-24 03:00:37.493187 [DEBUG] switch_core_codec.c:123 > sofia/sipinterface_1/simple at x.x.x.x Original read codec replaced with > PCMU:0 > 2015-04-24 03:00:37.493187 [NOTICE] switch_core_io.c:1257 Activating write > resampler > > Please help me, > > Regards > Bilal Abbasi > -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com ClueCon 2015 Call for Speakers | Register TODAY! | Reddit: /r/freeswitch *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150424/50fb0b5b/attachment-0001.html From olegstolyar at gmail.com Fri Apr 24 17:04:02 2015 From: olegstolyar at gmail.com (Oleg Stolyar) Date: Fri, 24 Apr 2015 06:04:02 -0700 Subject: [Freeswitch-users] Confirmation of ICE connectivity check success Message-ID: Hi guys, Is there something in FreeSWITCH logs or events I can use to confirm whether the ICE connectivity check ( https://tools.ietf.org/html/rfc5245#section-2.2) succeeded and what candidate pair was chosen? If it did not succeed, is there a way to see the attempted candidate pair and most importantly to determine for each pair what direction the connectivity failed? This is for WebRTC, if it makes a difference. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150424/b9a6992a/attachment.html From krice at freeswitch.org Fri Apr 24 18:00:41 2015 From: krice at freeswitch.org (Ken Rice) Date: Fri, 24 Apr 2015 14:00:41 +0000 Subject: [Freeswitch-users] FreeSWITCH Friday FreeForAll Reminder! Message-ID: <553a4c892c991_5c658c332c91030@resque-worker-high.0.mail> FreeSWITCHers, Do not forget to join us at 2PM CST for the FreeSWITCH Friday FreeFor All Visit http://ift.tt/1n3h0Pf and Click Call 888 with your WebRTC enabled Browser and headset, Call sip:888 at conference.freeswitch.org or see http://ift.tt/1prwIZL for access info! -- Ken FreeSWITCH.org ClueCon.com OSTAG.org irc.freenode.net #freeswitch Twitter: @FreeSWITCH @ClueCon -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150424/55a309dd/attachment.html From paul.atreides83 at googlemail.com Fri Apr 24 19:14:07 2015 From: paul.atreides83 at googlemail.com (Paul Atreides) Date: Fri, 24 Apr 2015 17:14:07 +0200 Subject: [Freeswitch-users] Music on hold for multi-tenant environment In-Reply-To: References: Message-ID: As it turned out the MOH is only working when I initiate then call from the GXP2140. When someone else is calling, from another SIP phone or from the PSTN then the MOH ain't working 2015-04-24 17:12:15.192047 [DEBUG] switch_core_session.c:1053 Send signal sofia/internal/sip:18 at 10.0.200.18:5060 [BREAK] 2015-04-24 17:12:15.192047 [DEBUG] switch_core_session.c:1053 Send signal sofia/internal/sip:18 at 10.0.200.18:5060 [BREAK] 2015-04-24 17:12:15.212049 [DEBUG] sofia.c:6614 Channel sofia/internal/ sip:18 at 10.0.200.18:5060 entering state [received][100] 2015-04-24 17:12:15.212049 [DEBUG] sofia.c:6624 Remote SDP: v=0 o=18 8000 8001 IN IP4 10.0.200.18 s=SIP Call c=IN IP4 0.0.0.0 t=0 0 m=audio 5004 RTP/AVP 0 8 18 9 2 101 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:9 G722/8000 a=rtpmap:2 G726-32/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=sendonly a=ptime:20 2015-04-24 17:12:15.212049 [DEBUG] switch_channel.c:1787 (sofia/internal/ sip:18 at 10.0.200.18:5060) Callstate Change ACTIVE -> HELD 2015-04-24 17:12:15.212049 [DEBUG] switch_core_session.c:1188 Send signal sofia/internal/17 at 192.168.176.6 [BREAK] 2015-04-24 17:12:15.232050 [DEBUG] switch_core_session.c:908 Send signal sofia/internal/17 at 192.168.176.6 [BREAK] 2015-04-24 17:12:15.352060 [DEBUG] switch_ivr.c:614 sofia/internal/ 17 at 192.168.176.6 Command Execute playback(/usr/local/freeswitch/sounds/music/output.mp3) EXECUTE sofia/internal/17 at 192.168.176.6 playback(/usr/local/freeswitch/sounds/music/output.mp3) 2015-04-24 17:12:15.352060 [DEBUG] switch_ivr_play_say.c:1314 Codec Activated L16 at 8000hz 1 channels 20ms 2015-04-24 17:12:15.452067 [DEBUG] switch_core_media.c:3615 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2015-04-24 17:12:15.452067 [DEBUG] switch_core_media.c:3670 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2015-04-24 17:12:15.452067 [DEBUG] switch_core_media.c:3615 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2015-04-24 17:12:15.452067 [DEBUG] switch_core_media.c:3615 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2015-04-24 17:12:15.452067 [DEBUG] switch_core_media.c:3615 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2015-04-24 17:12:15.452067 [DEBUG] switch_core_media.c:3670 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2015-04-24 17:12:15.452067 [DEBUG] switch_core_media.c:3615 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1] 2015-04-24 17:12:15.452067 [DEBUG] switch_core_media.c:3615 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1] 2015-04-24 17:12:15.452067 [DEBUG] switch_core_media.c:3615 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2015-04-24 17:12:15.452067 [DEBUG] switch_core_media.c:3615 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2015-04-24 17:12:15.452067 [DEBUG] switch_core_media.c:3615 Audio Codec Compare [G726-32:2:8000:20:0:1]/[PCMU:0:8000:20:64000:1] 2015-04-24 17:12:15.452067 [DEBUG] switch_core_media.c:3615 Audio Codec Compare [G726-32:2:8000:20:0:1]/[PCMA:8:8000:20:64000:1] 2015-04-24 17:12:15.452067 [DEBUG] switch_core_media.c:3531 Set telephone-event payload to 101 2015-04-24 17:12:15.452067 [DEBUG] switch_core_media.c:3852 Set 2833 dtmf send payload to 101 2015-04-24 17:12:15.452067 [DEBUG] switch_core_media.c:5100 Audio params changed for sofia/internal/sip:18 at 10.0.200.18:5060 from 10.0.200.18:5004 to 0.0.0.0:5004 2015-04-24 17:12:15.452067 [DEBUG] switch_core_media.c:5111 AUDIO RTP [sofia/internal/sip:18 at 10.0.200.18:5060] 192.168.176.6 port 23704 -> 0.0.0.0 port 5004 codec: 0 ms: 20 2015-04-24 17:12:15.452067 [DEBUG] switch_core_media.c:5140 AUDIO RTP CHANGING DEST TO: [0.0.0.0:5004] 2015-04-24 17:12:15.452067 [DEBUG] sofia.c:7259 Processing updated SDP 2015-04-24 17:12:15.452067 [DEBUG] switch_core_session.c:1053 Send signal sofia/internal/sip:18 at 10.0.200.18:5060 [BREAK] 2015-04-24 17:12:15.472069 [DEBUG] sofia.c:6614 Channel sofia/internal/ sip:18 at 10.0.200.18:5060 entering state [completed][200] 2015-04-24 17:12:15.472069 [DEBUG] switch_core_session.c:1053 Send signal sofia/internal/sip:18 at 10.0.200.18:5060 [BREAK] 2015-04-24 17:12:15.472069 [DEBUG] switch_core_session.c:1053 Send signal sofia/internal/sip:18 at 10.0.200.18:5060 [BREAK] 2015-04-24 17:12:15.472069 [DEBUG] switch_core_session.c:1053 Send signal sofia/internal/sip:18 at 10.0.200.18:5060 [BREAK] 2015-04-24 17:12:15.492071 [DEBUG] sofia.c:6614 Channel sofia/internal/ sip:18 at 10.0.200.18:5060 entering state [ready][200] 2015-04-24 17:12:15.492071 [DEBUG] sofia.c:6624 Remote SDP: v=0 o=18 8000 8000 IN IP4 10.0.200.18 s=SIP Call c=IN IP4 10.0.200.18 t=0 0 m=audio 5004 RTP/AVP 0 8 101 a=sendrecv a=rtpmap:0 PCMU/8000 a=ptime:20 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 2015-04-24 17:12:15.492071 [DEBUG] switch_core_media.c:3615 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2015-04-24 17:12:15.492071 [DEBUG] switch_core_media.c:3670 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2015-04-24 17:12:15.492071 [DEBUG] switch_core_media.c:3615 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2015-04-24 17:12:15.492071 [DEBUG] switch_core_media.c:3615 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2015-04-24 17:12:15.492071 [DEBUG] switch_core_media.c:3615 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2015-04-24 17:12:15.492071 [DEBUG] switch_core_media.c:3670 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2015-04-24 17:12:15.492071 [DEBUG] switch_core_media.c:3531 Set telephone-event payload to 101 2015-04-24 17:12:15.492071 [DEBUG] switch_core_media.c:3852 Set 2833 dtmf send payload to 101 2015-04-24 17:12:15.492071 [DEBUG] sofia.c:7318 Processing updated SDP 2015-04-24 17:12:15.492071 [DEBUG] switch_core_media.c:5100 Audio params changed for sofia/internal/sip:18 at 10.0.200.18:5060 from 0.0.0.0:5004 to 10.0.200.18:5004 2015-04-24 17:12:15.492071 [DEBUG] switch_core_media.c:5111 AUDIO RTP [sofia/internal/sip:18 at 10.0.200.18:5060] 192.168.176.6 port 23704 -> 10.0.200.18 port 5004 codec: 0 ms: 20 2015-04-24 17:12:15.492071 [DEBUG] switch_core_media.c:5140 AUDIO RTP CHANGING DEST TO: [10.0.200.18:5004] 2015-04-24 17:12:15.752091 [DEBUG] switch_ivr_play_say.c:1747 done playing file /usr/local/freeswitch/sounds/music/output.mp3 2015-04-24 17:12:15.752091 [DEBUG] switch_core_session.c:908 Send signal sofia/internal/17 at 192.168.176.6 [BREAK] 2015-04-24 17:12:15.752091 [DEBUG] switch_ivr_bridge.c:395 Send signal sofia/internal/sip:18 at 10.0.200.18:5060 [BREAK] 2015-04-24 17:12:15.752091 [DEBUG] switch_channel.c:1961 (sofia/internal/ sip:18 at 10.0.200.18:5060) Callstate Change HELD -> UNHELD 2015-04-24 17:12:15.752091 [DEBUG] switch_core_io.c:1026 (sofia/internal/ sip:18 at 10.0.200.18:5060) Callstate Change UNHELD -> ACTIVE On Thu, Apr 23, 2015 at 9:28 PM, Paul Atreides < paul.atreides83 at googlemail.com> wrote: > Hi, > > I am using a Grandstream GXP2140. When I am having an active call and > another person is > calling me then I can switch between the two calls. The person set to hold > should hear > the hold music but it only plays the beginning and then just comes > silence. I don't get any error messages. > > How can I set it up that it keeps playing the music? > > Log: > 2015-04-23 21:19:00.154957 [DEBUG] switch_channel.c:1961 (sofia/internal/ > sip:13 at 10.0.200.13:5060) Callstate Change HELD -> UNHELD > 2015-04-23 21:19:00.154957 [DEBUG] switch_core_io.c:1026 (sofia/internal/ > sip:13 at 10.0.200.13:5060) Callstate Change UNHELD -> ACTIVE > > Dialplan: > data="hold_music=$${sounds_dir}/music/song.mp3"/> > > Thank you > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150424/2eb6aa4c/attachment.html From eagle.antonio at gmail.com Fri Apr 24 21:02:22 2015 From: eagle.antonio at gmail.com (Antonio Teixeira) Date: Fri, 24 Apr 2015 18:02:22 +0100 Subject: [Freeswitch-users] User Context Message-ID: Hi, I'm having a small problem with usercontext on a multiple domain setup. Version: FreeSWITCH Version 1.4.18-1~64bit (-1 64bit) Config: https://pastebin.freeswitch.org/24153 Log: 2015-04-24 15:43:58.470673 [INFO] mod_dialplan_xml.c:635 Processing User A <3005>->123 in context default I can't setup the context var and freeswitch fallsback to default. Is this a BUG or I'm to blame ? A/t -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150424/9a01f23b/attachment.html From jaykris at gmail.com Fri Apr 24 21:40:59 2015 From: jaykris at gmail.com (JP) Date: Fri, 24 Apr 2015 10:40:59 -0700 Subject: [Freeswitch-users] Suspend RTP Transmission Until RTP Has Been Received From Remote Party Message-ID: I've observed that FreeSWITCH will initially transmit RTP to the remote party's private IP address until it has received at least 10 packets, at which time it will start sending to the remote party's NATed address. Is there some way to suspend the transmission of RTP altogether until at least one packet has been received from the remote party? It would be ideal if this could be controlled on a per call and/or per SIP profile basis. Thanks, -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150424/82a47c3a/attachment-0001.html From brian at freeswitch.org Fri Apr 24 21:44:06 2015 From: brian at freeswitch.org (Brian West) Date: Fri, 24 Apr 2015 12:44:06 -0500 Subject: [Freeswitch-users] Suspend RTP Transmission Until RTP Has Been Received From Remote Party In-Reply-To: References: Message-ID: Couldn't you fix your client to report the proper IP in the first place? What you're proposing would prevent two FreeSWITCH systems from every talking because neither would send ANYTHING. On Fri, Apr 24, 2015 at 12:40 PM, JP wrote: > I've observed that FreeSWITCH will initially transmit RTP to the remote > party's private IP address until it has received at least 10 packets, at > which time it will start sending to the remote party's NATed address. Is > there some way to suspend the transmission of RTP altogether until at least > one packet has been received from the remote party? It would be ideal if > this could be controlled on a per call and/or per SIP profile basis. > > > Thanks, > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com ClueCon 2015 Call for Speakers | Register TODAY! | Reddit: /r/freeswitch *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150424/18e06c68/attachment.html From jprangi at gmail.com Sat Apr 25 01:25:26 2015 From: jprangi at gmail.com (Jai Rangi) Date: Fri, 24 Apr 2015 14:25:26 -0700 Subject: [Freeswitch-users] Random Freeswitch Crash Message-ID: FS Server has been running fine for last 5 months, suddenly since yesterday it started crashing every few hours. Checked the log files and did not see any error message. I made few changes recently: Enabled Shared line in sip_profile/internal Using a LUA script for group call, change the originate to enterprise originate. From bridge(user/101 at domainname,user/102 at domainname) To bridge(user/101 at domainname:_:user/102 at domainname) The reason I did this, was that, if shared line is registered on more than one device, we want all the devices to ring and other people should be able to take call by just pressing the line numbers. Changes the debug to level to 10 and still no information in the log file. No core dump was generated for me to share or look at. FS is running a server with decent specs. Dual CPU, Quad Core, 48 GB Ram. SSD Hard drive. Wondering if anyone else had the smiler issue and if I can get a hint where I can look for more hints on why FS dies all of a sudden. Thank you, -Jai -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150424/198a5bce/attachment.html From gmaruzz at gmail.com Sat Apr 25 01:37:18 2015 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Fri, 24 Apr 2015 23:37:18 +0200 Subject: [Freeswitch-users] Random Freeswitch Crash In-Reply-To: References: Message-ID: May it be an hardware problem, like faulty RAM chips? sent from my mobile, Giovanni Maruzzelli cell: +39 347 266 56 18 On Apr 24, 2015 11:35 PM, "Jai Rangi" wrote: > FS Server has been running fine for last 5 months, suddenly since > yesterday it started crashing every few hours. Checked the log files and > did not see any error message. > > I made few changes recently: > > Enabled Shared line in sip_profile/internal > > > > > Using a LUA script for group call, change the originate to enterprise > originate. > > From > bridge(user/101 at domainname,user/102 at domainname) > > To > > bridge(user/101 at domainname:_:user/102 at domainname) > > The reason I did this, was that, if shared line is registered on more > than one device, we want all the devices to ring and other people should be > able to take call by just pressing the line numbers. > > Changes the debug to level to 10 and still no information in the log file. > No core dump was generated for me to share or look at. > > FS is running a server with decent specs. Dual CPU, Quad Core, 48 GB Ram. > SSD Hard drive. > > Wondering if anyone else had the smiler issue and if I can get a hint > where I can look for more hints on why FS dies all of a sudden. > > Thank you, > -Jai > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150424/ad97d6ad/attachment.html From brian at freeswitch.org Sat Apr 25 01:38:21 2015 From: brian at freeswitch.org (Brian West) Date: Fri, 24 Apr 2015 16:38:21 -0500 Subject: [Freeswitch-users] Random Freeswitch Crash In-Reply-To: References: Message-ID: Please report all crashes via JIRA, at http://jira.freeswitch.org, If you can try the latest 1.4.18 release and verify if the crash goes away too. It could be something we've already fixed. Thanks, On Fri, Apr 24, 2015 at 4:25 PM, Jai Rangi wrote: > FS Server has been running fine for last 5 months, suddenly since > yesterday it started crashing every few hours. Checked the log files and > did not see any error message. > > I made few changes recently: > > Enabled Shared line in sip_profile/internal > > > > > Using a LUA script for group call, change the originate to enterprise > originate. > > From > bridge(user/101 at domainname,user/102 at domainname) > > To > > bridge(user/101 at domainname:_:user/102 at domainname) > > The reason I did this, was that, if shared line is registered on more > than one device, we want all the devices to ring and other people should be > able to take call by just pressing the line numbers. > > Changes the debug to level to 10 and still no information in the log file. > No core dump was generated for me to share or look at. > > FS is running a server with decent specs. Dual CPU, Quad Core, 48 GB Ram. > SSD Hard drive. > > Wondering if anyone else had the smiler issue and if I can get a hint > where I can look for more hints on why FS dies all of a sudden. > > Thank you, > -Jai > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com ClueCon 2015 Call for Speakers | Register TODAY! | Reddit: /r/freeswitch *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150424/0e59ae46/attachment-0001.html From max at nysolutions.com Sat Apr 25 01:38:53 2015 From: max at nysolutions.com (Moishe Grunstein) Date: Fri, 24 Apr 2015 21:38:53 +0000 Subject: [Freeswitch-users] Random Freeswitch Crash In-Reply-To: References: Message-ID: If FS crashes see https://freeswitch.org/confluence/display/FREESWITCH/Reporting+Bugs+to+JIRA Thanks, Moishe Grunstein Tornado Computer Systems, Inc. 212.400.7650 888.IPPBX.US Service Request Email: support at nysolutions.com [cid:image001.jpg at 01C72F94.9EE45D60] Computer Networking * Managed Services * IP Video Surveillance * Network Assessments * Web Solutions * Voice over IP * Disaster Recovery * Network Security * Site Surveys * CMS From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Jai Rangi Sent: Friday, April 24, 2015 5:25 PM To: freeswitch-users at lists.freeswitch.org Subject: [Freeswitch-users] Random Freeswitch Crash FS Server has been running fine for last 5 months, suddenly since yesterday it started crashing every few hours. Checked the log files and did not see any error message. I made few changes recently: Enabled Shared line in sip_profile/internal Using a LUA script for group call, change the originate to enterprise originate. From bridge(user/101 at domainname,user/102 at domainname) To bridge(user/101 at domainname:_:user/102 at domainname) The reason I did this, was that, if shared line is registered on more than one device, we want all the devices to ring and other people should be able to take call by just pressing the line numbers. Changes the debug to level to 10 and still no information in the log file. No core dump was generated for me to share or look at. FS is running a server with decent specs. Dual CPU, Quad Core, 48 GB Ram. SSD Hard drive. Wondering if anyone else had the smiler issue and if I can get a hint where I can look for more hints on why FS dies all of a sudden. Thank you, -Jai -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150424/03c7681d/attachment.html -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 2424 bytes Desc: image001.jpg Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150424/03c7681d/attachment.jpg From anthony.minessale at gmail.com Sat Apr 25 01:39:07 2015 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Fri, 24 Apr 2015 16:39:07 -0500 Subject: [Freeswitch-users] Random Freeswitch Crash In-Reply-To: References: Message-ID: Issues go on jira. https://freeswitch.org/jira Before reporting a ticket reproduce your problem on the latest release and/or the master branch in that order. On Fri, Apr 24, 2015 at 4:25 PM, Jai Rangi wrote: > FS Server has been running fine for last 5 months, suddenly since > yesterday it started crashing every few hours. Checked the log files and > did not see any error message. > > I made few changes recently: > > Enabled Shared line in sip_profile/internal > > > > > Using a LUA script for group call, change the originate to enterprise > originate. > > From > bridge(user/101 at domainname,user/102 at domainname) > > To > > bridge(user/101 at domainname:_:user/102 at domainname) > > The reason I did this, was that, if shared line is registered on more > than one device, we want all the devices to ring and other people should be > able to take call by just pressing the line numbers. > > Changes the debug to level to 10 and still no information in the log file. > No core dump was generated for me to share or look at. > > FS is running a server with decent specs. Dual CPU, Quad Core, 48 GB Ram. > SSD Hard drive. > > Wondering if anyone else had the smiler issue and if I can get a hint > where I can look for more hints on why FS dies all of a sudden. > > Thank you, > -Jai > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Anthony Minessale II ? @anthmfs ? @FreeSWITCH ? ? http://freeswitch.org/ ? http://cluecon.com/ ? http://twitter.com/FreeSWITCH ? irc.freenode.net #freeswitch ? *http://freeswitch.org/g+ * ClueCon Weekly Development Call ? sip:888 at conference.freeswitch.org ? +19193869900 https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150424/e2e98f47/attachment.html From jprangi at gmail.com Sat Apr 25 02:24:58 2015 From: jprangi at gmail.com (Jai Rangi) Date: Fri, 24 Apr 2015 15:24:58 -0700 Subject: [Freeswitch-users] Random Freeswitch Crash Message-ID: I see some replies, on archive, but not getting emails. Checked my spam also. Reply yo my own post, apology if this creates a new thread. I am using 1.4.18,. This is the first thing I did. Update from 1.4.11 Anthony suggest latest master branch, should I update to 1.5.1. I did not go for that as it was not recommended. I cant not reproduce the issue, if happens by itself and I have no idea. I will try to get as much information I can from this list https://freeswitch.org/confluence/display/FREESWITCH/Reporting+Bugs+to+JIRA I dont get any core dump, so I cant get backtrace. Do I have to enable something to get the code dump. I have this enabled in switch.conf.xml On Fri, Apr 24, 2015 at 2:25 PM, Jai Rangi wrote: > FS Server has been running fine for last 5 months, suddenly since > yesterday it started crashing every few hours. Checked the log files and > did not see any error message. > > I made few changes recently: > > Enabled Shared line in sip_profile/internal > > > > > Using a LUA script for group call, change the originate to enterprise > originate. > > From > bridge(user/101 at domainname,user/102 at domainname) > > To > > bridge(user/101 at domainname:_:user/102 at domainname) > > The reason I did this, was that, if shared line is registered on more > than one device, we want all the devices to ring and other people should be > able to take call by just pressing the line numbers. > > Changes the debug to level to 10 and still no information in the log file. > No core dump was generated for me to share or look at. > > FS is running a server with decent specs. Dual CPU, Quad Core, 48 GB Ram. > SSD Hard drive. > > Wondering if anyone else had the smiler issue and if I can get a hint > where I can look for more hints on why FS dies all of a sudden. > > Thank you, > -Jai > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150424/5953cb2a/attachment-0001.html From s.safarov at gmail.com Sat Apr 25 11:35:04 2015 From: s.safarov at gmail.com (Sergey Safarov) Date: Sat, 25 Apr 2015 10:35:04 +0300 Subject: [Freeswitch-users] transfer aleg via ${dial-string} Message-ID: I want emulate REFER message from bleg via ${dial-string}. Please help me find how to do it. I try 1) originate sofia/internal/sip:1000 at 8.8.8.8 &bridge({execute_on_ring='transfer 1001 XML default'}loopback/9180/default) 2) originate sofia/internal/sip:1000 at 8.8.8.8 &bridge({execute_on_ring='transfer 1001 XML default'}sofia/internal/ sip:1002 at 8.8.8.8) In both cases all leg hangup. Also two question: 1) can be lua or other scripting language used to emulate endpoint (implement endpoint interface)? 2) how can be realized "execute_on_channel_create_failure" logic similarity "execute_on_ring". Sergey -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150425/250e0949/attachment.html From brian at freeswitch.org Sat Apr 25 20:43:13 2015 From: brian at freeswitch.org (Brian West) Date: Sat, 25 Apr 2015 11:43:13 -0500 Subject: [Freeswitch-users] User Context In-Reply-To: References: Message-ID: Well that would all depend on how you're doing authentication, Are you doing a challenge to all the calls? On Fri, Apr 24, 2015 at 12:02 PM, Antonio Teixeira wrote: > Hi, > > I'm having a small problem with usercontext on a multiple domain setup. > > Version: > FreeSWITCH Version 1.4.18-1~64bit (-1 64bit) > > Config: > https://pastebin.freeswitch.org/24153 > > Log: > 2015-04-24 15:43:58.470673 [INFO] mod_dialplan_xml.c:635 Processing User A > <3005>->123 in context default > > I can't setup the context var and freeswitch fallsback to default. > Is this a BUG or I'm to blame ? > > A/t > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com ClueCon 2015 Call for Speakers | Register TODAY! | Reddit: /r/freeswitch *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150425/4b86820c/attachment.html From govoiper at gmail.com Sun Apr 26 04:38:48 2015 From: govoiper at gmail.com (SamyGo) Date: Sat, 25 Apr 2015 20:38:48 -0400 Subject: [Freeswitch-users] Compile Error with mod_lua Message-ID: Hi all, I'm having bit of a trouble installing freeswitch on CentOS7 with lua5.2 installed from source. When I compile FS it gives me the following output. making all mod_lua make[5]: Entering directory `/usr/src/freeswitch.git/src/mod/languages/mod_lua' CXX mod_lua_la-mod_lua.lo CXX mod_lua_la-freeswitch_lua.lo CXX mod_lua_la-mod_lua_wrap.lo mod_lua_wrap.cpp: In function 'int* SWIG_get_int_num_array_fixed(lua_State*, int, int)': mod_lua_wrap.cpp:1379:47: error: array bound forbidden after parenthesized type-id #define SWIG_ALLOC_ARRAY(TYPE,LEN) new (TYPE)[LEN] ^ mod_lua_wrap.cpp:1433:9: note: in expansion of macro 'SWIG_ALLOC_ARRAY' array=SWIG_ALLOC_ARRAY(TYPE,size);\ ^ mod_lua_wrap.cpp:1470:1: note: in expansion of macro 'SWIG_DECLARE_TYPEMAP_ARR_FN' SWIG_DECLARE_TYPEMAP_ARR_FN(int,int); ^ mod_lua_wrap.cpp:1379:47: note: try removing the parentheses around the type-id #define SWIG_ALLOC_ARRAY(TYPE,LEN) new (TYPE)[LEN] ^ mod_lua_wrap.cpp:1433:9: note: in expansion of macro 'SWIG_ALLOC_ARRAY' array=SWIG_ALLOC_ARRAY(TYPE,size);\ ^ mod_lua_wrap.cpp:1470:1: note: in expansion of macro 'SWIG_DECLARE_TYPEMAP_ARR_FN' SWIG_DECLARE_TYPEMAP_ARR_FN(int,int); ^ mod_lua_wrap.cpp: In function 'int* SWIG_get_int_num_array_var(lua_State*, int, int*)': mod_lua_wrap.cpp:1379:47: error: array bound forbidden after parenthesized type-id #define SWIG_ALLOC_ARRAY(TYPE,LEN) new (TYPE)[LEN] ^ Any help would be greatly appreacited. Thanks, Sammy -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150425/31de9095/attachment.html From jungleboogie0 at gmail.com Sun Apr 26 06:25:07 2015 From: jungleboogie0 at gmail.com (jungle Boogie) Date: Sat, 25 Apr 2015 19:25:07 -0700 Subject: [Freeswitch-users] Compile Error with mod_lua In-Reply-To: References: Message-ID: On 25 April 2015 at 17:38, SamyGo wrote: > I'm having bit of a trouble installing freeswitch on CentOS7 with lua5.2 > installed from source. > > When I compile FS it gives me the following output. Similar failure for me: http://pastiebin.com/553c4993ace8a > version FreeSWITCH Version 1.5.15b+git~20150420T021147Z~777c1154ee~32bit (git 777c115 2015-04-20 02:11:47Z 32bit) lua52 was install from raspbian (because using raspberry pi2) but freeswitch is from master branch. I see there were two commits but I don't know enough about git to know the problem: https://freeswitch.org/stash/projects/FS/repos/freeswitch/commits -- ------- inum: 883510009027723 sip: jungleboogie at sip2sip.info xmpp: jungle-boogie at jit.si From govoiper at gmail.com Sun Apr 26 06:27:47 2015 From: govoiper at gmail.com (SamyGo) Date: Sat, 25 Apr 2015 22:27:47 -0400 Subject: [Freeswitch-users] Compile Error with mod_lua In-Reply-To: References: Message-ID: I quickly realized that Im not on 1.4 branch and compiled using git branch 1.4 and now its all fine. On Sat, Apr 25, 2015 at 10:25 PM, jungle Boogie wrote: > On 25 April 2015 at 17:38, SamyGo wrote: > > I'm having bit of a trouble installing freeswitch on CentOS7 with lua5.2 > > installed from source. > > > > When I compile FS it gives me the following output. > > > Similar failure for me: > http://pastiebin.com/553c4993ace8a > > > version > FreeSWITCH Version 1.5.15b+git~20150420T021147Z~777c1154ee~32bit (git > 777c115 2015-04-20 02:11:47Z 32bit) > > lua52 was install from raspbian (because using raspberry pi2) but > freeswitch is from master branch. > > I see there were two commits but I don't know enough about git to know > the problem: > https://freeswitch.org/stash/projects/FS/repos/freeswitch/commits > > -- > ------- > inum: 883510009027723 > sip: jungleboogie at sip2sip.info > xmpp: jungle-boogie at jit.si > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150425/1a89ed4c/attachment.html From jungleboogie0 at gmail.com Sun Apr 26 06:42:44 2015 From: jungleboogie0 at gmail.com (jungle Boogie) Date: Sat, 25 Apr 2015 19:42:44 -0700 Subject: [Freeswitch-users] Compile Error with mod_lua In-Reply-To: References: Message-ID: On 25 Apr 2015 19:28, "SamyGo" wrote: > > I quickly realized that Im not on 1.4 branch and compiled using git branch 1.4 and now its all fine. > And what branch were you compiling from? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150425/c77a53a0/attachment-0001.html From govoiper at gmail.com Sun Apr 26 06:50:30 2015 From: govoiper at gmail.com (SamyGo) Date: Sat, 25 Apr 2015 22:50:30 -0400 Subject: [Freeswitch-users] Compile Error with mod_lua In-Reply-To: References: Message-ID: master, so if you're downloading from git add this '-b v1.4' like this: git clone -b v1.4 https://freeswitch.org/stash/scm/fs/freeswitch.git freeswitch.git see if this helps you out as well. On Sat, Apr 25, 2015 at 10:42 PM, jungle Boogie wrote: > > On 25 Apr 2015 19:28, "SamyGo" wrote: > > > > I quickly realized that Im not on 1.4 branch and compiled using git > branch 1.4 and now its all fine. > > > And what branch were you compiling from? > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150425/0ed5d096/attachment.html From smrdoshi at gmail.com Sun Apr 26 08:19:34 2015 From: smrdoshi at gmail.com (Samir Doshi) Date: Sun, 26 Apr 2015 09:49:34 +0530 Subject: [Freeswitch-users] Need cluster architecture suggestion Message-ID: Hi Guys, What will be the best setup architecture to handle 50k subscriber registration and approximate 30k concurrent calls? We are planning to use opensips/kamailio proxy server for load balance & to handle registration and multiple freeswitch servers to handle media. Database will be MySQL. Is this good way? OR anybody have any other proposed architecture which can be helpful? Moreover Is there any way we can change codec realtime based on internet connectivity speed? Please let us know your thoughts. Thanks in advance. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150426/10de7e80/attachment.html From ssinyagin at gmail.com Sun Apr 26 13:10:48 2015 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Sun, 26 Apr 2015 11:10:48 +0200 Subject: [Freeswitch-users] Need cluster architecture suggestion In-Reply-To: References: Message-ID: There's an option to use FreeSWITCH as a registrar, and Kamailio would be a simple stateless load balancer and failover manager. Have you considered this option as well? On Apr 26, 2015 6:21 AM, "Samir Doshi" wrote: > Hi Guys, > > What will be the best setup architecture to handle 50k subscriber > registration and approximate 30k concurrent calls? > We are planning to use opensips/kamailio proxy server for load balance & > to handle registration and multiple freeswitch servers to handle media. > Database will be MySQL. > > Is this good way? OR anybody have any other proposed architecture which > can be helpful? > > Moreover Is there any way we can change codec realtime based on internet > connectivity speed? > > Please let us know your thoughts. > > Thanks in advance. > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150426/f4ef7835/attachment.html From eagle.antonio at gmail.com Sun Apr 26 14:56:12 2015 From: eagle.antonio at gmail.com (Antonio Teixeira) Date: Sun, 26 Apr 2015 11:56:12 +0100 Subject: [Freeswitch-users] User Context In-Reply-To: References: Message-ID: Hi Brian, I have attached the profile XML on : https://pastebin.freeswitch.org/24154 Thanks 2015-04-25 17:43 GMT+01:00 Brian West : > Well that would all depend on how you're doing authentication, Are you > doing a challenge to all the calls? > > On Fri, Apr 24, 2015 at 12:02 PM, Antonio Teixeira < > eagle.antonio at gmail.com> wrote: > >> Hi, >> >> I'm having a small problem with usercontext on a multiple domain setup. >> >> Version: >> FreeSWITCH Version 1.4.18-1~64bit (-1 64bit) >> >> Config: >> https://pastebin.freeswitch.org/24153 >> >> Log: >> 2015-04-24 15:43:58.470673 [INFO] mod_dialplan_xml.c:635 Processing User >> A <3005>->123 in context default >> >> I can't setup the context var and freeswitch fallsback to default. >> Is this a BUG or I'm to blame ? >> >> A/t >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > > *Brian West* > brian at freeswitch.org > > > *Twitter: @FreeSWITCH , @briankwest* > http://www.freeswitchbook.com > http://www.freeswitchcookbook.com > > ClueCon 2015 Call for Speakers > | Register > TODAY! | Reddit: /r/freeswitch > > > *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) > *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150426/d0cefd37/attachment.html From smrdoshi at gmail.com Sun Apr 26 17:01:00 2015 From: smrdoshi at gmail.com (Samir Doshi) Date: Sun, 26 Apr 2015 18:31:00 +0530 Subject: [Freeswitch-users] Need cluster architecture suggestion In-Reply-To: References: Message-ID: Hi, Thanks for your reply. Nope, I am not sure how that's going to be work out? Would you be able to give some more hint on that? On Sun, Apr 26, 2015 at 2:40 PM, Stanislav Sinyagin wrote: > There's an option to use FreeSWITCH as a registrar, and Kamailio would be > a simple stateless load balancer and failover manager. Have you considered > this option as well? > On Apr 26, 2015 6:21 AM, "Samir Doshi" wrote: > >> Hi Guys, >> >> What will be the best setup architecture to handle 50k subscriber >> registration and approximate 30k concurrent calls? >> We are planning to use opensips/kamailio proxy server for load balance & >> to handle registration and multiple freeswitch servers to handle media. >> Database will be MySQL. >> >> Is this good way? OR anybody have any other proposed architecture which >> can be helpful? >> >> Moreover Is there any way we can change codec realtime based on internet >> connectivity speed? >> >> Please let us know your thoughts. >> >> Thanks in advance. >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150426/88bd732b/attachment-0001.html From ssinyagin at gmail.com Sun Apr 26 17:27:26 2015 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Sun, 26 Apr 2015 15:27:26 +0200 Subject: [Freeswitch-users] Need cluster architecture suggestion In-Reply-To: References: Message-ID: here I started to outline the Kamailio configuration, but the project was stopped by the customer: https://github.com/xlab1/sipfe_kamailio The config was tested and it works so far. Basically the kamailio's Dispatcher module has a configuration where to send the requests, based on the user SIP domain name, and it is able to work in failover or load-balancer mode. but this whole thing needs more engineering and testing effort. The main benefit of having the registrar at FreeSWITCH is the presence, BLF, MWI out of the box. Also it can handle more complex call scenarios than Kamailio is able to do -- this would be essential for small business customers. On Sun, Apr 26, 2015 at 3:01 PM, Samir Doshi wrote: > Hi, > > Thanks for your reply. > > Nope, I am not sure how that's going to be work out? > Would you be able to give some more hint on that? > > > On Sun, Apr 26, 2015 at 2:40 PM, Stanislav Sinyagin > wrote: >> >> There's an option to use FreeSWITCH as a registrar, and Kamailio would be >> a simple stateless load balancer and failover manager. Have you considered >> this option as well? >> >> On Apr 26, 2015 6:21 AM, "Samir Doshi" wrote: >>> >>> Hi Guys, >>> >>> What will be the best setup architecture to handle 50k subscriber >>> registration and approximate 30k concurrent calls? >>> We are planning to use opensips/kamailio proxy server for load balance & >>> to handle registration and multiple freeswitch servers to handle media. >>> Database will be MySQL. >>> >>> Is this good way? OR anybody have any other proposed architecture which >>> can be helpful? >>> >>> Moreover Is there any way we can change codec realtime based on internet >>> connectivity speed? >>> >>> Please let us know your thoughts. >>> >>> Thanks in advance. >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org From govoiper at gmail.com Sun Apr 26 17:57:13 2015 From: govoiper at gmail.com (SamyGo) Date: Sun, 26 Apr 2015 09:57:13 -0400 Subject: [Freeswitch-users] Need cluster architecture suggestion In-Reply-To: References: Message-ID: Hi Stanislav, That seems like a nice idea and as you mentioned definitely for smaller customers which can be handled within one FS capacity. Let's say I come across a customer in this schema who has extensions more than 1000. Naturally I'd think of using two or more FS dedicated for this customer's domain but the two FS might be two separate entities. The question is: is there any way that I can bind two or more FS with a shared memory space or backplane or DB such that the FS servers are mutually aware of a queue or conference. Sending calls to same queue from any of the FS server behave like one entity...etc ? Thanks for your time. SamyGo On Apr 26, 2015 9:28 AM, "Stanislav Sinyagin" wrote: > here I started to outline the Kamailio configuration, but the project > was stopped by the customer: > https://github.com/xlab1/sipfe_kamailio > The config was tested and it works so far. > > Basically the kamailio's Dispatcher module has a configuration where > to send the requests, based on the user SIP domain name, and it is > able to work in failover or load-balancer mode. > > but this whole thing needs more engineering and testing effort. > > The main benefit of having the registrar at FreeSWITCH is the > presence, BLF, MWI out of the box. Also it can handle more complex > call scenarios than Kamailio is able to do -- this would be essential > for small business customers. > > > > > > On Sun, Apr 26, 2015 at 3:01 PM, Samir Doshi wrote: > > Hi, > > > > Thanks for your reply. > > > > Nope, I am not sure how that's going to be work out? > > Would you be able to give some more hint on that? > > > > > > On Sun, Apr 26, 2015 at 2:40 PM, Stanislav Sinyagin > > > wrote: > >> > >> There's an option to use FreeSWITCH as a registrar, and Kamailio would > be > >> a simple stateless load balancer and failover manager. Have you > considered > >> this option as well? > >> > >> On Apr 26, 2015 6:21 AM, "Samir Doshi" wrote: > >>> > >>> Hi Guys, > >>> > >>> What will be the best setup architecture to handle 50k subscriber > >>> registration and approximate 30k concurrent calls? > >>> We are planning to use opensips/kamailio proxy server for load balance > & > >>> to handle registration and multiple freeswitch servers to handle media. > >>> Database will be MySQL. > >>> > >>> Is this good way? OR anybody have any other proposed architecture which > >>> can be helpful? > >>> > >>> Moreover Is there any way we can change codec realtime based on > internet > >>> connectivity speed? > >>> > >>> Please let us know your thoughts. > >>> > >>> Thanks in advance. > >>> > >>> > _________________________________________________________________________ > >>> Professional FreeSWITCH Consulting Services: > >>> consulting at freeswitch.org > >>> http://www.freeswitchsolutions.com > >>> > >>> Official FreeSWITCH Sites > >>> http://www.freeswitch.org > >>> http://confluence.freeswitch.org > >>> http://www.cluecon.com > >>> > >>> FreeSWITCH-users mailing list > >>> FreeSWITCH-users at lists.freeswitch.org > >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >>> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >>> http://www.freeswitch.org > >> > >> > >> > _________________________________________________________________________ > >> Professional FreeSWITCH Consulting Services: > >> consulting at freeswitch.org > >> http://www.freeswitchsolutions.com > >> > >> Official FreeSWITCH Sites > >> http://www.freeswitch.org > >> http://confluence.freeswitch.org > >> http://www.cluecon.com > >> > >> FreeSWITCH-users mailing list > >> FreeSWITCH-users at lists.freeswitch.org > >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >> http://www.freeswitch.org > > > > > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150426/39eacba9/attachment.html From smrdoshi at gmail.com Sun Apr 26 18:34:31 2015 From: smrdoshi at gmail.com (Samir Doshi) Date: Sun, 26 Apr 2015 20:04:31 +0530 Subject: [Freeswitch-users] Need cluster architecture suggestion In-Reply-To: References: Message-ID: Stanislav, I understood your point and that looks useful. BUT we really doesn't require presence, BLF etc etc features. Our main goal is to handle 50k+ subscribers with inbound and outbound calls smoothly. However based on your suggestion we have two options, Either use proxy server as registrar OR Separate FS servers as registrar. I don't know which option will be more effective. Any thoughts? Out of the curiosity, lets consider if we using FS as registrar then how media FS servers will know if subscriber is registered or not to make calls? Thanks, Samir On Sun, Apr 26, 2015 at 6:57 PM, Stanislav Sinyagin wrote: > here I started to outline the Kamailio configuration, but the project > was stopped by the customer: > https://github.com/xlab1/sipfe_kamailio > The config was tested and it works so far. > > Basically the kamailio's Dispatcher module has a configuration where > to send the requests, based on the user SIP domain name, and it is > able to work in failover or load-balancer mode. > > but this whole thing needs more engineering and testing effort. > > The main benefit of having the registrar at FreeSWITCH is the > presence, BLF, MWI out of the box. Also it can handle more complex > call scenarios than Kamailio is able to do -- this would be essential > for small business customers. > > > > > > On Sun, Apr 26, 2015 at 3:01 PM, Samir Doshi wrote: > > Hi, > > > > Thanks for your reply. > > > > Nope, I am not sure how that's going to be work out? > > Would you be able to give some more hint on that? > > > > > > On Sun, Apr 26, 2015 at 2:40 PM, Stanislav Sinyagin > > > wrote: > >> > >> There's an option to use FreeSWITCH as a registrar, and Kamailio would > be > >> a simple stateless load balancer and failover manager. Have you > considered > >> this option as well? > >> > >> On Apr 26, 2015 6:21 AM, "Samir Doshi" wrote: > >>> > >>> Hi Guys, > >>> > >>> What will be the best setup architecture to handle 50k subscriber > >>> registration and approximate 30k concurrent calls? > >>> We are planning to use opensips/kamailio proxy server for load balance > & > >>> to handle registration and multiple freeswitch servers to handle media. > >>> Database will be MySQL. > >>> > >>> Is this good way? OR anybody have any other proposed architecture which > >>> can be helpful? > >>> > >>> Moreover Is there any way we can change codec realtime based on > internet > >>> connectivity speed? > >>> > >>> Please let us know your thoughts. > >>> > >>> Thanks in advance. > >>> > >>> > _________________________________________________________________________ > >>> Professional FreeSWITCH Consulting Services: > >>> consulting at freeswitch.org > >>> http://www.freeswitchsolutions.com > >>> > >>> Official FreeSWITCH Sites > >>> http://www.freeswitch.org > >>> http://confluence.freeswitch.org > >>> http://www.cluecon.com > >>> > >>> FreeSWITCH-users mailing list > >>> FreeSWITCH-users at lists.freeswitch.org > >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >>> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >>> http://www.freeswitch.org > >> > >> > >> > _________________________________________________________________________ > >> Professional FreeSWITCH Consulting Services: > >> consulting at freeswitch.org > >> http://www.freeswitchsolutions.com > >> > >> Official FreeSWITCH Sites > >> http://www.freeswitch.org > >> http://confluence.freeswitch.org > >> http://www.cluecon.com > >> > >> FreeSWITCH-users mailing list > >> FreeSWITCH-users at lists.freeswitch.org > >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >> http://www.freeswitch.org > > > > > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150426/8cd8f870/attachment-0001.html From ssinyagin at gmail.com Sun Apr 26 19:00:29 2015 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Sun, 26 Apr 2015 17:00:29 +0200 Subject: [Freeswitch-users] Need cluster architecture suggestion In-Reply-To: References: Message-ID: @SamyGo your question is quite different to what Samir has described :) In this conversation, we already defined several completely different usage scenarios, each needing its own engineering effort: 1) Mass residential service -- I guess that's what Samir has meant. Everyone gets a single number and a standard set of residential services. 2) Small businesses that I mentioned -- they would form small work groups with some business rules,like conditional forwarding, simultaneous ringing, probably some custom IVR, voice mail etc. 3) Scalable application cluster for call centers 4) Scalable application cluster for conferencing I don't think it makes sense to throw all of them to the same platform, and the platform can actually be optimized for the task. #1 can be relatively easily be solved with xml_curl. #2 also, although some ESL programming might be required. I would definitely go for a complete control over ESL for options #3 and #4, and they could be combined on the same physical platform. A queue could be organized via some distributed mechanism, but a conference needs to be served by a single instance of FreeSWITCH. But you can initiate different conference instances on different servers and route the calls intellectually. On Sun, Apr 26, 2015 at 3:57 PM, SamyGo wrote: > Hi Stanislav, > That seems like a nice idea and as you mentioned definitely for smaller > customers which can be handled within one FS capacity. Let's say I come > across a customer in this schema who has extensions more than 1000. > Naturally I'd think of using two or more FS dedicated for this customer's > domain but the two FS might be two separate entities. > > The question is: is there any way that I can bind two or more FS with a > shared memory space or backplane or DB such that the FS servers are mutually > aware of a queue or conference. Sending calls to same queue from any of the > FS server behave like one entity...etc ? > > Thanks for your time. > SamyGo > > On Apr 26, 2015 9:28 AM, "Stanislav Sinyagin" wrote: >> >> here I started to outline the Kamailio configuration, but the project >> was stopped by the customer: >> https://github.com/xlab1/sipfe_kamailio >> The config was tested and it works so far. >> >> Basically the kamailio's Dispatcher module has a configuration where >> to send the requests, based on the user SIP domain name, and it is >> able to work in failover or load-balancer mode. >> >> but this whole thing needs more engineering and testing effort. >> >> The main benefit of having the registrar at FreeSWITCH is the >> presence, BLF, MWI out of the box. Also it can handle more complex >> call scenarios than Kamailio is able to do -- this would be essential >> for small business customers. >> >> >> >> >> >> On Sun, Apr 26, 2015 at 3:01 PM, Samir Doshi wrote: >> > Hi, >> > >> > Thanks for your reply. >> > >> > Nope, I am not sure how that's going to be work out? >> > Would you be able to give some more hint on that? >> > >> > >> > On Sun, Apr 26, 2015 at 2:40 PM, Stanislav Sinyagin >> > >> > wrote: >> >> >> >> There's an option to use FreeSWITCH as a registrar, and Kamailio would >> >> be >> >> a simple stateless load balancer and failover manager. Have you >> >> considered >> >> this option as well? >> >> >> >> On Apr 26, 2015 6:21 AM, "Samir Doshi" wrote: >> >>> >> >>> Hi Guys, >> >>> >> >>> What will be the best setup architecture to handle 50k subscriber >> >>> registration and approximate 30k concurrent calls? >> >>> We are planning to use opensips/kamailio proxy server for load balance >> >>> & >> >>> to handle registration and multiple freeswitch servers to handle >> >>> media. >> >>> Database will be MySQL. >> >>> >> >>> Is this good way? OR anybody have any other proposed architecture >> >>> which >> >>> can be helpful? >> >>> >> >>> Moreover Is there any way we can change codec realtime based on >> >>> internet >> >>> connectivity speed? >> >>> >> >>> Please let us know your thoughts. >> >>> >> >>> Thanks in advance. >> >>> >> >>> >> >>> _________________________________________________________________________ >> >>> Professional FreeSWITCH Consulting Services: >> >>> consulting at freeswitch.org >> >>> http://www.freeswitchsolutions.com >> >>> >> >>> Official FreeSWITCH Sites >> >>> http://www.freeswitch.org >> >>> http://confluence.freeswitch.org >> >>> http://www.cluecon.com >> >>> >> >>> FreeSWITCH-users mailing list >> >>> FreeSWITCH-users at lists.freeswitch.org >> >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >>> >> >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> >>> http://www.freeswitch.org >> >> >> >> >> >> >> >> _________________________________________________________________________ >> >> Professional FreeSWITCH Consulting Services: >> >> consulting at freeswitch.org >> >> http://www.freeswitchsolutions.com >> >> >> >> Official FreeSWITCH Sites >> >> http://www.freeswitch.org >> >> http://confluence.freeswitch.org >> >> http://www.cluecon.com >> >> >> >> FreeSWITCH-users mailing list >> >> FreeSWITCH-users at lists.freeswitch.org >> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >> >> >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> >> http://www.freeswitch.org >> > >> > >> > >> > >> > _________________________________________________________________________ >> > Professional FreeSWITCH Consulting Services: >> > consulting at freeswitch.org >> > http://www.freeswitchsolutions.com >> > >> > Official FreeSWITCH Sites >> > http://www.freeswitch.org >> > http://confluence.freeswitch.org >> > http://www.cluecon.com >> > >> > FreeSWITCH-users mailing list >> > FreeSWITCH-users at lists.freeswitch.org >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> > http://www.freeswitch.org >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org From ali.jibran44 at gmail.com Sun Apr 26 19:06:04 2015 From: ali.jibran44 at gmail.com (Ali Jibran) Date: Sun, 26 Apr 2015 20:06:04 +0500 Subject: [Freeswitch-users] Need cluster architecture suggestion In-Reply-To: References: Message-ID: If some users are registered on one instance and the instance goes down....what would happen to the registrations? And how should that be worked around? On Sunday, April 26, 2015, Stanislav Sinyagin wrote: > @SamyGo your question is quite different to what Samir has described :) > > In this conversation, we already defined several completely different > usage scenarios, each needing its own engineering effort: > > 1) Mass residential service -- I guess that's what Samir has meant. > Everyone gets a single number and a standard set of residential > services. > > 2) Small businesses that I mentioned -- they would form small work > groups with some business rules,like conditional forwarding, > simultaneous ringing, probably some custom IVR, voice mail etc. > > 3) Scalable application cluster for call centers > > 4) Scalable application cluster for conferencing > > I don't think it makes sense to throw all of them to the same > platform, and the platform can actually be optimized for the task. > > #1 can be relatively easily be solved with xml_curl. #2 also, > although some ESL programming might be required. > > I would definitely go for a complete control over ESL for options #3 > and #4, and they could be combined on the same physical platform. A > queue could be organized via some distributed mechanism, but a > conference needs to be served by a single instance of FreeSWITCH. But > you can initiate different conference instances on different servers > and route the calls intellectually. > > > > > > > > > On Sun, Apr 26, 2015 at 3:57 PM, SamyGo > > wrote: > > Hi Stanislav, > > That seems like a nice idea and as you mentioned definitely for smaller > > customers which can be handled within one FS capacity. Let's say I come > > across a customer in this schema who has extensions more than 1000. > > Naturally I'd think of using two or more FS dedicated for this customer's > > domain but the two FS might be two separate entities. > > > > The question is: is there any way that I can bind two or more FS with a > > shared memory space or backplane or DB such that the FS servers are > mutually > > aware of a queue or conference. Sending calls to same queue from any of > the > > FS server behave like one entity...etc ? > > > > Thanks for your time. > > SamyGo > > > > On Apr 26, 2015 9:28 AM, "Stanislav Sinyagin" > wrote: > >> > >> here I started to outline the Kamailio configuration, but the project > >> was stopped by the customer: > >> https://github.com/xlab1/sipfe_kamailio > >> The config was tested and it works so far. > >> > >> Basically the kamailio's Dispatcher module has a configuration where > >> to send the requests, based on the user SIP domain name, and it is > >> able to work in failover or load-balancer mode. > >> > >> but this whole thing needs more engineering and testing effort. > >> > >> The main benefit of having the registrar at FreeSWITCH is the > >> presence, BLF, MWI out of the box. Also it can handle more complex > >> call scenarios than Kamailio is able to do -- this would be essential > >> for small business customers. > >> > >> > >> > >> > >> > >> On Sun, Apr 26, 2015 at 3:01 PM, Samir Doshi > wrote: > >> > Hi, > >> > > >> > Thanks for your reply. > >> > > >> > Nope, I am not sure how that's going to be work out? > >> > Would you be able to give some more hint on that? > >> > > >> > > >> > On Sun, Apr 26, 2015 at 2:40 PM, Stanislav Sinyagin > >> > > > >> > wrote: > >> >> > >> >> There's an option to use FreeSWITCH as a registrar, and Kamailio > would > >> >> be > >> >> a simple stateless load balancer and failover manager. Have you > >> >> considered > >> >> this option as well? > >> >> > >> >> On Apr 26, 2015 6:21 AM, "Samir Doshi" > wrote: > >> >>> > >> >>> Hi Guys, > >> >>> > >> >>> What will be the best setup architecture to handle 50k subscriber > >> >>> registration and approximate 30k concurrent calls? > >> >>> We are planning to use opensips/kamailio proxy server for load > balance > >> >>> & > >> >>> to handle registration and multiple freeswitch servers to handle > >> >>> media. > >> >>> Database will be MySQL. > >> >>> > >> >>> Is this good way? OR anybody have any other proposed architecture > >> >>> which > >> >>> can be helpful? > >> >>> > >> >>> Moreover Is there any way we can change codec realtime based on > >> >>> internet > >> >>> connectivity speed? > >> >>> > >> >>> Please let us know your thoughts. > >> >>> > >> >>> Thanks in advance. > >> >>> > >> >>> > >> >>> > _________________________________________________________________________ > >> >>> Professional FreeSWITCH Consulting Services: > >> >>> consulting at freeswitch.org > >> >>> http://www.freeswitchsolutions.com > >> >>> > >> >>> Official FreeSWITCH Sites > >> >>> http://www.freeswitch.org > >> >>> http://confluence.freeswitch.org > >> >>> http://www.cluecon.com > >> >>> > >> >>> FreeSWITCH-users mailing list > >> >>> FreeSWITCH-users at lists.freeswitch.org > >> >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >> >>> > >> >>> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >> >>> http://www.freeswitch.org > >> >> > >> >> > >> >> > >> >> > _________________________________________________________________________ > >> >> Professional FreeSWITCH Consulting Services: > >> >> consulting at freeswitch.org > >> >> http://www.freeswitchsolutions.com > >> >> > >> >> Official FreeSWITCH Sites > >> >> http://www.freeswitch.org > >> >> http://confluence.freeswitch.org > >> >> http://www.cluecon.com > >> >> > >> >> FreeSWITCH-users mailing list > >> >> FreeSWITCH-users at lists.freeswitch.org > >> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >> >> > >> >> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >> >> http://www.freeswitch.org > >> > > >> > > >> > > >> > > >> > > _________________________________________________________________________ > >> > Professional FreeSWITCH Consulting Services: > >> > consulting at freeswitch.org > >> > http://www.freeswitchsolutions.com > >> > > >> > Official FreeSWITCH Sites > >> > http://www.freeswitch.org > >> > http://confluence.freeswitch.org > >> > http://www.cluecon.com > >> > > >> > FreeSWITCH-users mailing list > >> > FreeSWITCH-users at lists.freeswitch.org > >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >> > UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >> > http://www.freeswitch.org > >> > >> > _________________________________________________________________________ > >> Professional FreeSWITCH Consulting Services: > >> consulting at freeswitch.org > >> http://www.freeswitchsolutions.com > >> > >> Official FreeSWITCH Sites > >> http://www.freeswitch.org > >> http://confluence.freeswitch.org > >> http://www.cluecon.com > >> > >> FreeSWITCH-users mailing list > >> FreeSWITCH-users at lists.freeswitch.org > >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >> http://www.freeswitch.org > > > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150426/5c2c42ff/attachment-0001.html From eschmidbauer at gmail.com Sun Apr 26 19:29:25 2015 From: eschmidbauer at gmail.com (E. Schmidbauer) Date: Sun, 26 Apr 2015 11:29:25 -0400 Subject: [Freeswitch-users] Need cluster architecture suggestion In-Reply-To: References: Message-ID: I would use Kamailio as the REGISTRAR and have FS handle presence by forwarding all SUBSCRIBES to FS. Use the 'usrloc' module in kamailio to store user location information and write a script or code to query the location database in order to generate the bridge data. On Sun, Apr 26, 2015 at 11:06 AM, Ali Jibran wrote: > If some users are registered on one instance and the instance goes > down....what would happen to the registrations? And how should that be > worked around? > > > On Sunday, April 26, 2015, Stanislav Sinyagin wrote: > >> @SamyGo your question is quite different to what Samir has described :) >> >> In this conversation, we already defined several completely different >> usage scenarios, each needing its own engineering effort: >> >> 1) Mass residential service -- I guess that's what Samir has meant. >> Everyone gets a single number and a standard set of residential >> services. >> >> 2) Small businesses that I mentioned -- they would form small work >> groups with some business rules,like conditional forwarding, >> simultaneous ringing, probably some custom IVR, voice mail etc. >> >> 3) Scalable application cluster for call centers >> >> 4) Scalable application cluster for conferencing >> >> I don't think it makes sense to throw all of them to the same >> platform, and the platform can actually be optimized for the task. >> >> #1 can be relatively easily be solved with xml_curl. #2 also, >> although some ESL programming might be required. >> >> I would definitely go for a complete control over ESL for options #3 >> and #4, and they could be combined on the same physical platform. A >> queue could be organized via some distributed mechanism, but a >> conference needs to be served by a single instance of FreeSWITCH. But >> you can initiate different conference instances on different servers >> and route the calls intellectually. >> >> >> >> >> >> >> >> >> On Sun, Apr 26, 2015 at 3:57 PM, SamyGo wrote: >> > Hi Stanislav, >> > That seems like a nice idea and as you mentioned definitely for smaller >> > customers which can be handled within one FS capacity. Let's say I come >> > across a customer in this schema who has extensions more than 1000. >> > Naturally I'd think of using two or more FS dedicated for this >> customer's >> > domain but the two FS might be two separate entities. >> > >> > The question is: is there any way that I can bind two or more FS with a >> > shared memory space or backplane or DB such that the FS servers are >> mutually >> > aware of a queue or conference. Sending calls to same queue from any of >> the >> > FS server behave like one entity...etc ? >> > >> > Thanks for your time. >> > SamyGo >> > >> > On Apr 26, 2015 9:28 AM, "Stanislav Sinyagin" >> wrote: >> >> >> >> here I started to outline the Kamailio configuration, but the project >> >> was stopped by the customer: >> >> https://github.com/xlab1/sipfe_kamailio >> >> The config was tested and it works so far. >> >> >> >> Basically the kamailio's Dispatcher module has a configuration where >> >> to send the requests, based on the user SIP domain name, and it is >> >> able to work in failover or load-balancer mode. >> >> >> >> but this whole thing needs more engineering and testing effort. >> >> >> >> The main benefit of having the registrar at FreeSWITCH is the >> >> presence, BLF, MWI out of the box. Also it can handle more complex >> >> call scenarios than Kamailio is able to do -- this would be essential >> >> for small business customers. >> >> >> >> >> >> >> >> >> >> >> >> On Sun, Apr 26, 2015 at 3:01 PM, Samir Doshi >> wrote: >> >> > Hi, >> >> > >> >> > Thanks for your reply. >> >> > >> >> > Nope, I am not sure how that's going to be work out? >> >> > Would you be able to give some more hint on that? >> >> > >> >> > >> >> > On Sun, Apr 26, 2015 at 2:40 PM, Stanislav Sinyagin >> >> > >> >> > wrote: >> >> >> >> >> >> There's an option to use FreeSWITCH as a registrar, and Kamailio >> would >> >> >> be >> >> >> a simple stateless load balancer and failover manager. Have you >> >> >> considered >> >> >> this option as well? >> >> >> >> >> >> On Apr 26, 2015 6:21 AM, "Samir Doshi" wrote: >> >> >>> >> >> >>> Hi Guys, >> >> >>> >> >> >>> What will be the best setup architecture to handle 50k subscriber >> >> >>> registration and approximate 30k concurrent calls? >> >> >>> We are planning to use opensips/kamailio proxy server for load >> balance >> >> >>> & >> >> >>> to handle registration and multiple freeswitch servers to handle >> >> >>> media. >> >> >>> Database will be MySQL. >> >> >>> >> >> >>> Is this good way? OR anybody have any other proposed architecture >> >> >>> which >> >> >>> can be helpful? >> >> >>> >> >> >>> Moreover Is there any way we can change codec realtime based on >> >> >>> internet >> >> >>> connectivity speed? >> >> >>> >> >> >>> Please let us know your thoughts. >> >> >>> >> >> >>> Thanks in advance. >> >> >>> >> >> >>> >> >> >>> >> _________________________________________________________________________ >> >> >>> Professional FreeSWITCH Consulting Services: >> >> >>> consulting at freeswitch.org >> >> >>> http://www.freeswitchsolutions.com >> >> >>> >> >> >>> Official FreeSWITCH Sites >> >> >>> http://www.freeswitch.org >> >> >>> http://confluence.freeswitch.org >> >> >>> http://www.cluecon.com >> >> >>> >> >> >>> FreeSWITCH-users mailing list >> >> >>> FreeSWITCH-users at lists.freeswitch.org >> >> >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >> >>> >> >> >>> UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> >> >>> http://www.freeswitch.org >> >> >> >> >> >> >> >> >> >> >> >> >> _________________________________________________________________________ >> >> >> Professional FreeSWITCH Consulting Services: >> >> >> consulting at freeswitch.org >> >> >> http://www.freeswitchsolutions.com >> >> >> >> >> >> Official FreeSWITCH Sites >> >> >> http://www.freeswitch.org >> >> >> http://confluence.freeswitch.org >> >> >> http://www.cluecon.com >> >> >> >> >> >> FreeSWITCH-users mailing list >> >> >> FreeSWITCH-users at lists.freeswitch.org >> >> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >> >> >> >> >> UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> >> >> http://www.freeswitch.org >> >> > >> >> > >> >> > >> >> > >> >> > >> _________________________________________________________________________ >> >> > Professional FreeSWITCH Consulting Services: >> >> > consulting at freeswitch.org >> >> > http://www.freeswitchsolutions.com >> >> > >> >> > Official FreeSWITCH Sites >> >> > http://www.freeswitch.org >> >> > http://confluence.freeswitch.org >> >> > http://www.cluecon.com >> >> > >> >> > FreeSWITCH-users mailing list >> >> > FreeSWITCH-users at lists.freeswitch.org >> >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >> > UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> >> > http://www.freeswitch.org >> >> >> >> >> _________________________________________________________________________ >> >> Professional FreeSWITCH Consulting Services: >> >> consulting at freeswitch.org >> >> http://www.freeswitchsolutions.com >> >> >> >> Official FreeSWITCH Sites >> >> http://www.freeswitch.org >> >> http://confluence.freeswitch.org >> >> http://www.cluecon.com >> >> >> >> FreeSWITCH-users mailing list >> >> FreeSWITCH-users at lists.freeswitch.org >> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >> UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> >> http://www.freeswitch.org >> > >> > >> > >> _________________________________________________________________________ >> > Professional FreeSWITCH Consulting Services: >> > consulting at freeswitch.org >> > http://www.freeswitchsolutions.com >> > >> > Official FreeSWITCH Sites >> > http://www.freeswitch.org >> > http://confluence.freeswitch.org >> > http://www.cluecon.com >> > >> > FreeSWITCH-users mailing list >> > FreeSWITCH-users at lists.freeswitch.org >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> > UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> > http://www.freeswitch.org >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150426/979f8a80/attachment.html From paul.atreides83 at googlemail.com Sun Apr 26 20:05:14 2015 From: paul.atreides83 at googlemail.com (Paul Atreides) Date: Sun, 26 Apr 2015 18:05:14 +0200 Subject: [Freeswitch-users] Music on Hold working only in one direction Message-ID: Hi, my music on hold is only working in one direction. When I call someone everything is working. But when I get called from the gateway over PSTN the music just gets alluded and then stops. The debug messages are not really helping. Is there a way how to figure this out? Oddly the transfer_ringback music is working in both ways vars.xml dialplan/default.xml Thank you -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150426/0ce1b929/attachment-0001.html From smrdoshi at gmail.com Sun Apr 26 22:23:50 2015 From: smrdoshi at gmail.com (Samir Doshi) Date: Sun, 26 Apr 2015 23:53:50 +0530 Subject: [Freeswitch-users] Need cluster architecture suggestion In-Reply-To: References: Message-ID: @Stanislav, #1 can be relatively easily be solved with xml_curl. True. We are going to handle calls using that only. We will have retail/residential customers only. @Schmidbauer, Keeping registration on both (kamailio and fs) will be unnecessary overload. Isn't it? Thanks, Samir On Sun, Apr 26, 2015 at 8:59 PM, E. Schmidbauer wrote: > I would use Kamailio as the REGISTRAR and have FS handle presence by > forwarding all SUBSCRIBES to FS. > Use the 'usrloc' module in kamailio to store user location information and > write a script or code to query the location database in order to generate > the bridge data. > > > On Sun, Apr 26, 2015 at 11:06 AM, Ali Jibran > wrote: > >> If some users are registered on one instance and the instance goes >> down....what would happen to the registrations? And how should that be >> worked around? >> >> >> On Sunday, April 26, 2015, Stanislav Sinyagin >> wrote: >> >>> @SamyGo your question is quite different to what Samir has described :) >>> >>> In this conversation, we already defined several completely different >>> usage scenarios, each needing its own engineering effort: >>> >>> 1) Mass residential service -- I guess that's what Samir has meant. >>> Everyone gets a single number and a standard set of residential >>> services. >>> >>> 2) Small businesses that I mentioned -- they would form small work >>> groups with some business rules,like conditional forwarding, >>> simultaneous ringing, probably some custom IVR, voice mail etc. >>> >>> 3) Scalable application cluster for call centers >>> >>> 4) Scalable application cluster for conferencing >>> >>> I don't think it makes sense to throw all of them to the same >>> platform, and the platform can actually be optimized for the task. >>> >>> #1 can be relatively easily be solved with xml_curl. #2 also, >>> although some ESL programming might be required. >>> >>> I would definitely go for a complete control over ESL for options #3 >>> and #4, and they could be combined on the same physical platform. A >>> queue could be organized via some distributed mechanism, but a >>> conference needs to be served by a single instance of FreeSWITCH. But >>> you can initiate different conference instances on different servers >>> and route the calls intellectually. >>> >>> >>> >>> >>> >>> >>> >>> >>> On Sun, Apr 26, 2015 at 3:57 PM, SamyGo wrote: >>> > Hi Stanislav, >>> > That seems like a nice idea and as you mentioned definitely for smaller >>> > customers which can be handled within one FS capacity. Let's say I come >>> > across a customer in this schema who has extensions more than 1000. >>> > Naturally I'd think of using two or more FS dedicated for this >>> customer's >>> > domain but the two FS might be two separate entities. >>> > >>> > The question is: is there any way that I can bind two or more FS with a >>> > shared memory space or backplane or DB such that the FS servers are >>> mutually >>> > aware of a queue or conference. Sending calls to same queue from any >>> of the >>> > FS server behave like one entity...etc ? >>> > >>> > Thanks for your time. >>> > SamyGo >>> > >>> > On Apr 26, 2015 9:28 AM, "Stanislav Sinyagin" >>> wrote: >>> >> >>> >> here I started to outline the Kamailio configuration, but the project >>> >> was stopped by the customer: >>> >> https://github.com/xlab1/sipfe_kamailio >>> >> The config was tested and it works so far. >>> >> >>> >> Basically the kamailio's Dispatcher module has a configuration where >>> >> to send the requests, based on the user SIP domain name, and it is >>> >> able to work in failover or load-balancer mode. >>> >> >>> >> but this whole thing needs more engineering and testing effort. >>> >> >>> >> The main benefit of having the registrar at FreeSWITCH is the >>> >> presence, BLF, MWI out of the box. Also it can handle more complex >>> >> call scenarios than Kamailio is able to do -- this would be essential >>> >> for small business customers. >>> >> >>> >> >>> >> >>> >> >>> >> >>> >> On Sun, Apr 26, 2015 at 3:01 PM, Samir Doshi >>> wrote: >>> >> > Hi, >>> >> > >>> >> > Thanks for your reply. >>> >> > >>> >> > Nope, I am not sure how that's going to be work out? >>> >> > Would you be able to give some more hint on that? >>> >> > >>> >> > >>> >> > On Sun, Apr 26, 2015 at 2:40 PM, Stanislav Sinyagin >>> >> > >>> >> > wrote: >>> >> >> >>> >> >> There's an option to use FreeSWITCH as a registrar, and Kamailio >>> would >>> >> >> be >>> >> >> a simple stateless load balancer and failover manager. Have you >>> >> >> considered >>> >> >> this option as well? >>> >> >> >>> >> >> On Apr 26, 2015 6:21 AM, "Samir Doshi" wrote: >>> >> >>> >>> >> >>> Hi Guys, >>> >> >>> >>> >> >>> What will be the best setup architecture to handle 50k subscriber >>> >> >>> registration and approximate 30k concurrent calls? >>> >> >>> We are planning to use opensips/kamailio proxy server for load >>> balance >>> >> >>> & >>> >> >>> to handle registration and multiple freeswitch servers to handle >>> >> >>> media. >>> >> >>> Database will be MySQL. >>> >> >>> >>> >> >>> Is this good way? OR anybody have any other proposed architecture >>> >> >>> which >>> >> >>> can be helpful? >>> >> >>> >>> >> >>> Moreover Is there any way we can change codec realtime based on >>> >> >>> internet >>> >> >>> connectivity speed? >>> >> >>> >>> >> >>> Please let us know your thoughts. >>> >> >>> >>> >> >>> Thanks in advance. >>> >> >>> >>> >> >>> >>> >> >>> >>> _________________________________________________________________________ >>> >> >>> Professional FreeSWITCH Consulting Services: >>> >> >>> consulting at freeswitch.org >>> >> >>> http://www.freeswitchsolutions.com >>> >> >>> >>> >> >>> Official FreeSWITCH Sites >>> >> >>> http://www.freeswitch.org >>> >> >>> http://confluence.freeswitch.org >>> >> >>> http://www.cluecon.com >>> >> >>> >>> >> >>> FreeSWITCH-users mailing list >>> >> >>> FreeSWITCH-users at lists.freeswitch.org >>> >> >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> >> >>> >>> >> >>> UNSUBSCRIBE: >>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>> >> >>> http://www.freeswitch.org >>> >> >> >>> >> >> >>> >> >> >>> >> >> >>> _________________________________________________________________________ >>> >> >> Professional FreeSWITCH Consulting Services: >>> >> >> consulting at freeswitch.org >>> >> >> http://www.freeswitchsolutions.com >>> >> >> >>> >> >> Official FreeSWITCH Sites >>> >> >> http://www.freeswitch.org >>> >> >> http://confluence.freeswitch.org >>> >> >> http://www.cluecon.com >>> >> >> >>> >> >> FreeSWITCH-users mailing list >>> >> >> FreeSWITCH-users at lists.freeswitch.org >>> >> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> >> >> >>> >> >> UNSUBSCRIBE: >>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>> >> >> http://www.freeswitch.org >>> >> > >>> >> > >>> >> > >>> >> > >>> >> > >>> _________________________________________________________________________ >>> >> > Professional FreeSWITCH Consulting Services: >>> >> > consulting at freeswitch.org >>> >> > http://www.freeswitchsolutions.com >>> >> > >>> >> > Official FreeSWITCH Sites >>> >> > http://www.freeswitch.org >>> >> > http://confluence.freeswitch.org >>> >> > http://www.cluecon.com >>> >> > >>> >> > FreeSWITCH-users mailing list >>> >> > FreeSWITCH-users at lists.freeswitch.org >>> >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> >> > UNSUBSCRIBE: >>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>> >> > http://www.freeswitch.org >>> >> >>> >> >>> _________________________________________________________________________ >>> >> Professional FreeSWITCH Consulting Services: >>> >> consulting at freeswitch.org >>> >> http://www.freeswitchsolutions.com >>> >> >>> >> Official FreeSWITCH Sites >>> >> http://www.freeswitch.org >>> >> http://confluence.freeswitch.org >>> >> http://www.cluecon.com >>> >> >>> >> FreeSWITCH-users mailing list >>> >> FreeSWITCH-users at lists.freeswitch.org >>> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> >> UNSUBSCRIBE: >>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>> >> http://www.freeswitch.org >>> > >>> > >>> > >>> _________________________________________________________________________ >>> > Professional FreeSWITCH Consulting Services: >>> > consulting at freeswitch.org >>> > http://www.freeswitchsolutions.com >>> > >>> > Official FreeSWITCH Sites >>> > http://www.freeswitch.org >>> > http://confluence.freeswitch.org >>> > http://www.cluecon.com >>> > >>> > FreeSWITCH-users mailing list >>> > FreeSWITCH-users at lists.freeswitch.org >>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> > UNSUBSCRIBE: >>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>> > http://www.freeswitch.org >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150426/fd201f4f/attachment-0001.html From s.safarov at gmail.com Mon Apr 27 00:00:57 2015 From: s.safarov at gmail.com (Sergey Safarov) Date: Sun, 26 Apr 2015 23:00:57 +0300 Subject: [Freeswitch-users] transfer aleg via ${dial-string} In-Reply-To: References: Message-ID: I has prepared draft of "transfer" endpoint. https://freeswitch.org/stash/users/safarov/repos/freeswitch-mod-radius-cdr_improvement/commits/10dcdbf5617746fd9b8d95b75aa6fd8f5c0f4723 Currently it can be called like originate user/1000 at 91.103.196.13 &bridge([origination_callee_id_number=1002]transfer/1000/default) I has some question. Please help me solve it. 1. without "tech_pvt" endpoint is not working. How to remove "pickup_pvt_t"; 2. how to change "pickup_endpoint_interface" to "tansfer_endpoint_interface" mod_dptools.c:4203; 3. how to enable bleg-channel reporting by mod_xml_cdr? Sergey On Sat, Apr 25, 2015 at 10:35 AM, Sergey Safarov wrote: > I want emulate REFER message from bleg via ${dial-string}. Please help me > find how to do it. > > I try > 1) originate sofia/internal/sip:1000 at 8.8.8.8 > &bridge({execute_on_ring='transfer 1001 XML default'}loopback/9180/default) > > 2) originate sofia/internal/sip:1000 at 8.8.8.8 > &bridge({execute_on_ring='transfer 1001 XML default'}sofia/internal/ > sip:1002 at 8.8.8.8) > > In both cases all leg hangup. > > Also two question: > 1) can be lua or other scripting language used to emulate endpoint > (implement endpoint interface)? > 2) how can be realized "execute_on_channel_create_failure" logic > similarity "execute_on_ring". > > Sergey > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150426/7b1f1178/attachment.html From kamil.nigmatullin at gmail.com Mon Apr 27 06:14:40 2015 From: kamil.nigmatullin at gmail.com (Kamil Nigmatullin) Date: Mon, 27 Apr 2015 08:14:40 +0600 Subject: [Freeswitch-users] Need cluster architecture suggestion In-Reply-To: References: Message-ID: I suggest to use opensips as a registrar and router/balancer with redis as a database. Use redis locacally and all requested parameteres keep in uri format as login=123;pass=456 . it gives you a very high performance and saves hard disk from non-stop reading. 26 ???. 2015 ?. 15:12 ???????????? "Stanislav Sinyagin" ???????: > There's an option to use FreeSWITCH as a registrar, and Kamailio would be > a simple stateless load balancer and failover manager. Have you considered > this option as well? > On Apr 26, 2015 6:21 AM, "Samir Doshi" wrote: > >> Hi Guys, >> >> What will be the best setup architecture to handle 50k subscriber >> registration and approximate 30k concurrent calls? >> We are planning to use opensips/kamailio proxy server for load balance & >> to handle registration and multiple freeswitch servers to handle media. >> Database will be MySQL. >> >> Is this good way? OR anybody have any other proposed architecture which >> can be helpful? >> >> Moreover Is there any way we can change codec realtime based on internet >> connectivity speed? >> >> Please let us know your thoughts. >> >> Thanks in advance. >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150427/9e396738/attachment.html From bilaln018 at gmail.com Mon Apr 27 08:21:24 2015 From: bilaln018 at gmail.com (Bilal Abbasi) Date: Mon, 27 Apr 2015 09:21:24 +0500 Subject: [Freeswitch-users] [Warning][switch_core_media.c:1945 Changing current codec to PCMU (payload type 0)] Message-ID: Hi Brain, Actully i am calling through SIPP, i will take tcpdump and will let you that actually voice works or not, But i am planing to get rid of this warning, i am assuming that this will not make a better stress testing results. Regards Bilal Abbasi -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150427/08aeb0c7/attachment.html From joseseabra4 at gmail.com Mon Apr 27 08:24:09 2015 From: joseseabra4 at gmail.com (=?UTF-8?B?Sm9zw6kgU2VhYnJh?=) Date: Mon, 27 Apr 2015 05:24:09 +0100 Subject: [Freeswitch-users] Need cluster architecture suggestion In-Reply-To: References: Message-ID: Hello, What kind of features do you want provide? for better preformance and scalability I propose you use kamailio in 2 ways, and freeswitch as application/sbc server, then rtpengine to sdp nat and SRTP/RTP: First create a kamailio instance to do the role of sip load balancer, natbox, and security. Second create a another kamailio instance to handle all your registers and presence services, and control all you calls/presence(sip signalling). For example an IVR: Call arrives at load balance, loadbalance select one of second kamailio instance through dispatcher module, and send it to there, then the second kamailio instance will checkout what kind of call you are requesting, after it see that you are trying to dial an ivr (developing some kamailio script logic) it will select one of your freeswitch's and send call to there, then in freeswitch using lua script you can build your dinamic dialplans. for sharing presence between several kamailios you can use dmq + dbtext to save presence information replicated through dmq. for sharing user location between kamailios use dmq + usrloc_dmq + dbtext You can use mysql, but with mysql isn't simple scale geographically another database that i advise you use to build your pbx is redis. I hope that my view was helpfull BR Jos? Seabra 2015-04-27 3:14 GMT+01:00 Kamil Nigmatullin : > I suggest to use opensips as a registrar and router/balancer with redis as > a database. Use redis locacally and all requested parameteres keep in uri > format as login=123;pass=456 . it gives you a very high performance and > saves hard disk from non-stop reading. > 26 ???. 2015 ?. 15:12 ???????????? "Stanislav Sinyagin" < > ssinyagin at gmail.com> ???????: > > There's an option to use FreeSWITCH as a registrar, and Kamailio would be >> a simple stateless load balancer and failover manager. Have you considered >> this option as well? >> On Apr 26, 2015 6:21 AM, "Samir Doshi" wrote: >> >>> Hi Guys, >>> >>> What will be the best setup architecture to handle 50k subscriber >>> registration and approximate 30k concurrent calls? >>> We are planning to use opensips/kamailio proxy server for load balance & >>> to handle registration and multiple freeswitch servers to handle media. >>> Database will be MySQL. >>> >>> Is this good way? OR anybody have any other proposed architecture which >>> can be helpful? >>> >>> Moreover Is there any way we can change codec realtime based on internet >>> connectivity speed? >>> >>> Please let us know your thoughts. >>> >>> Thanks in advance. >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Cumprimentos Jos? Seabra -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150427/4524ec92/attachment-0001.html From smrdoshi at gmail.com Mon Apr 27 10:29:34 2015 From: smrdoshi at gmail.com (Samir Doshi) Date: Mon, 27 Apr 2015 11:59:34 +0530 Subject: [Freeswitch-users] Need cluster architecture suggestion In-Reply-To: References: Message-ID: Redis looks interesting. Will look at that. Thanks guys for your time and suggestions. I will do further study and share my experience. Thanks, Samir On Mon, Apr 27, 2015 at 9:54 AM, Jos? Seabra wrote: > Hello, > > What kind of features do you want provide? for better preformance and > scalability I propose you use kamailio in 2 ways, and freeswitch as > application/sbc server, then rtpengine to sdp nat and SRTP/RTP: > > First create a kamailio instance to do the role of sip load balancer, > natbox, and security. > > Second create a another kamailio instance to handle all your registers and > presence services, and control all you calls/presence(sip signalling). > > For example an IVR: > Call arrives at load balance, loadbalance select one of second kamailio > instance through dispatcher module, and send it to there, then the second > kamailio instance will checkout what kind of call you are requesting, after > it see that you are trying to dial an ivr (developing some kamailio script > logic) it will select one of your freeswitch's and send call to there, then > in freeswitch using lua script you can build your dinamic dialplans. > > for sharing presence between several kamailios you can use dmq + dbtext > to save presence information replicated through dmq. > > for sharing user location between kamailios use dmq + usrloc_dmq + dbtext > > You can use mysql, but with mysql isn't simple scale geographically > > another database that i advise you use to build your pbx is redis. > > I hope that my view was helpfull > > > BR > Jos? Seabra > > 2015-04-27 3:14 GMT+01:00 Kamil Nigmatullin : > >> I suggest to use opensips as a registrar and router/balancer with redis >> as a database. Use redis locacally and all requested parameteres keep in >> uri format as login=123;pass=456 . it gives you a very high performance and >> saves hard disk from non-stop reading. >> 26 ???. 2015 ?. 15:12 ???????????? "Stanislav Sinyagin" < >> ssinyagin at gmail.com> ???????: >> >> There's an option to use FreeSWITCH as a registrar, and Kamailio would be >>> a simple stateless load balancer and failover manager. Have you considered >>> this option as well? >>> On Apr 26, 2015 6:21 AM, "Samir Doshi" wrote: >>> >>>> Hi Guys, >>>> >>>> What will be the best setup architecture to handle 50k subscriber >>>> registration and approximate 30k concurrent calls? >>>> We are planning to use opensips/kamailio proxy server for load balance >>>> & to handle registration and multiple freeswitch servers to handle media. >>>> Database will be MySQL. >>>> >>>> Is this good way? OR anybody have any other proposed architecture which >>>> can be helpful? >>>> >>>> Moreover Is there any way we can change codec realtime based on >>>> internet connectivity speed? >>>> >>>> Please let us know your thoughts. >>>> >>>> Thanks in advance. >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > Cumprimentos > Jos? Seabra > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150427/5da5d560/attachment.html From ssinyagin at gmail.com Mon Apr 27 11:50:11 2015 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Mon, 27 Apr 2015 09:50:11 +0200 Subject: [Freeswitch-users] Need cluster architecture suggestion In-Reply-To: References: Message-ID: it would be cool to see one day the whole design and source code at github... then other teams would contribute, instead of re-building every time from scratch On Mon, Apr 27, 2015 at 8:29 AM, Samir Doshi wrote: > Redis looks interesting. Will look at that. > Thanks guys for your time and suggestions. > > I will do further study and share my experience. > > > Thanks, > Samir > > On Mon, Apr 27, 2015 at 9:54 AM, Jos? Seabra wrote: >> >> Hello, >> >> What kind of features do you want provide? for better preformance and >> scalability I propose you use kamailio in 2 ways, and freeswitch as >> application/sbc server, then rtpengine to sdp nat and SRTP/RTP: >> >> First create a kamailio instance to do the role of sip load balancer, >> natbox, and security. >> >> Second create a another kamailio instance to handle all your registers and >> presence services, and control all you calls/presence(sip signalling). >> >> For example an IVR: >> Call arrives at load balance, loadbalance select one of second kamailio >> instance through dispatcher module, and send it to there, then the second >> kamailio instance will checkout what kind of call you are requesting, after >> it see that you are trying to dial an ivr (developing some kamailio script >> logic) it will select one of your freeswitch's and send call to there, then >> in freeswitch using lua script you can build your dinamic dialplans. >> >> for sharing presence between several kamailios you can use dmq + dbtext >> to save presence information replicated through dmq. >> >> for sharing user location between kamailios use dmq + usrloc_dmq + dbtext >> >> You can use mysql, but with mysql isn't simple scale geographically >> >> another database that i advise you use to build your pbx is redis. >> >> I hope that my view was helpfull >> >> >> BR >> Jos? Seabra >> >> 2015-04-27 3:14 GMT+01:00 Kamil Nigmatullin : >>> >>> I suggest to use opensips as a registrar and router/balancer with redis >>> as a database. Use redis locacally and all requested parameteres keep in uri >>> format as login=123;pass=456 . it gives you a very high performance and >>> saves hard disk from non-stop reading. >>> >>> 26 ???. 2015 ?. 15:12 ???????????? "Stanislav Sinyagin" >>> ???????: >>> >>>> There's an option to use FreeSWITCH as a registrar, and Kamailio would >>>> be a simple stateless load balancer and failover manager. Have you >>>> considered this option as well? >>>> >>>> On Apr 26, 2015 6:21 AM, "Samir Doshi" wrote: >>>>> >>>>> Hi Guys, >>>>> >>>>> What will be the best setup architecture to handle 50k subscriber >>>>> registration and approximate 30k concurrent calls? >>>>> We are planning to use opensips/kamailio proxy server for load balance >>>>> & to handle registration and multiple freeswitch servers to handle media. >>>>> Database will be MySQL. >>>>> >>>>> Is this good way? OR anybody have any other proposed architecture which >>>>> can be helpful? >>>>> >>>>> Moreover Is there any way we can change codec realtime based on >>>>> internet connectivity speed? >>>>> >>>>> Please let us know your thoughts. >>>>> >>>>> Thanks in advance. >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> >>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >> >> >> >> >> -- >> Cumprimentos >> Jos? Seabra >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org From eschmidbauer at gmail.com Mon Apr 27 17:15:49 2015 From: eschmidbauer at gmail.com (E. Schmidbauer) Date: Mon, 27 Apr 2015 09:15:49 -0400 Subject: [Freeswitch-users] Need cluster architecture suggestion In-Reply-To: References: Message-ID: @Schmidbauer, Keeping registration on both (kamailio and fs) will be unnecessary overload. Isn't it? You can use a database backend (like postgres, mysql, etc...) to store user location information in Kamailio (usrloc module) Then I have FS query the same user location database to generate the bridge string. This is just the way I've done it and it works great. So the registration information is kept in a single database. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150427/3e1c7005/attachment-0001.html From brian at freeswitch.org Mon Apr 27 17:29:47 2015 From: brian at freeswitch.org (Brian West) Date: Mon, 27 Apr 2015 08:29:47 -0500 Subject: [Freeswitch-users] Need cluster architecture suggestion In-Reply-To: References: Message-ID: LOL, We can wish can't we? :P On Mon, Apr 27, 2015 at 2:50 AM, Stanislav Sinyagin wrote: > it would be cool to see one day the whole design and source code at > github... then other teams would contribute, instead of re-building > every time from scratch > > > On Mon, Apr 27, 2015 at 8:29 AM, Samir Doshi wrote: > > Redis looks interesting. Will look at that. > > Thanks guys for your time and suggestions. > > > > I will do further study and share my experience. > > > > > > Thanks, > > Samir > > > > On Mon, Apr 27, 2015 at 9:54 AM, Jos? Seabra > wrote: > >> > >> Hello, > >> > >> What kind of features do you want provide? for better preformance and > >> scalability I propose you use kamailio in 2 ways, and freeswitch as > >> application/sbc server, then rtpengine to sdp nat and SRTP/RTP: > >> > >> First create a kamailio instance to do the role of sip load balancer, > >> natbox, and security. > >> > >> Second create a another kamailio instance to handle all your registers > and > >> presence services, and control all you calls/presence(sip signalling). > >> > >> For example an IVR: > >> Call arrives at load balance, loadbalance select one of second kamailio > >> instance through dispatcher module, and send it to there, then the > second > >> kamailio instance will checkout what kind of call you are requesting, > after > >> it see that you are trying to dial an ivr (developing some kamailio > script > >> logic) it will select one of your freeswitch's and send call to there, > then > >> in freeswitch using lua script you can build your dinamic dialplans. > >> > >> for sharing presence between several kamailios you can use dmq + > dbtext > >> to save presence information replicated through dmq. > >> > >> for sharing user location between kamailios use dmq + usrloc_dmq + > dbtext > >> > >> You can use mysql, but with mysql isn't simple scale geographically > >> > >> another database that i advise you use to build your pbx is redis. > >> > >> I hope that my view was helpfull > >> > >> > >> BR > >> Jos? Seabra > >> > >> 2015-04-27 3:14 GMT+01:00 Kamil Nigmatullin < > kamil.nigmatullin at gmail.com>: > >>> > >>> I suggest to use opensips as a registrar and router/balancer with redis > >>> as a database. Use redis locacally and all requested parameteres keep > in uri > >>> format as login=123;pass=456 . it gives you a very high performance and > >>> saves hard disk from non-stop reading. > >>> > >>> 26 ???. 2015 ?. 15:12 ???????????? "Stanislav Sinyagin" > >>> ???????: > >>> > >>>> There's an option to use FreeSWITCH as a registrar, and Kamailio would > >>>> be a simple stateless load balancer and failover manager. Have you > >>>> considered this option as well? > >>>> > >>>> On Apr 26, 2015 6:21 AM, "Samir Doshi" wrote: > >>>>> > >>>>> Hi Guys, > >>>>> > >>>>> What will be the best setup architecture to handle 50k subscriber > >>>>> registration and approximate 30k concurrent calls? > >>>>> We are planning to use opensips/kamailio proxy server for load > balance > >>>>> & to handle registration and multiple freeswitch servers to handle > media. > >>>>> Database will be MySQL. > >>>>> > >>>>> Is this good way? OR anybody have any other proposed architecture > which > >>>>> can be helpful? > >>>>> > >>>>> Moreover Is there any way we can change codec realtime based on > >>>>> internet connectivity speed? > >>>>> > >>>>> Please let us know your thoughts. > >>>>> > >>>>> Thanks in advance. > >>>>> > >>>>> > >>>>> > _________________________________________________________________________ > >>>>> Professional FreeSWITCH Consulting Services: > >>>>> consulting at freeswitch.org > >>>>> http://www.freeswitchsolutions.com > >>>>> > >>>>> Official FreeSWITCH Sites > >>>>> http://www.freeswitch.org > >>>>> http://confluence.freeswitch.org > >>>>> http://www.cluecon.com > >>>>> > >>>>> FreeSWITCH-users mailing list > >>>>> FreeSWITCH-users at lists.freeswitch.org > >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >>>>> > >>>>> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >>>>> http://www.freeswitch.org > >>>> > >>>> > >>>> > >>>> > _________________________________________________________________________ > >>>> Professional FreeSWITCH Consulting Services: > >>>> consulting at freeswitch.org > >>>> http://www.freeswitchsolutions.com > >>>> > >>>> Official FreeSWITCH Sites > >>>> http://www.freeswitch.org > >>>> http://confluence.freeswitch.org > >>>> http://www.cluecon.com > >>>> > >>>> FreeSWITCH-users mailing list > >>>> FreeSWITCH-users at lists.freeswitch.org > >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >>>> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >>>> http://www.freeswitch.org > >>> > >>> > >>> > _________________________________________________________________________ > >>> Professional FreeSWITCH Consulting Services: > >>> consulting at freeswitch.org > >>> http://www.freeswitchsolutions.com > >>> > >>> Official FreeSWITCH Sites > >>> http://www.freeswitch.org > >>> http://confluence.freeswitch.org > >>> http://www.cluecon.com > >>> > >>> FreeSWITCH-users mailing list > >>> FreeSWITCH-users at lists.freeswitch.org > >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >>> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >>> http://www.freeswitch.org > >> > >> > >> > >> > >> -- > >> Cumprimentos > >> Jos? Seabra > >> > >> > _________________________________________________________________________ > >> Professional FreeSWITCH Consulting Services: > >> consulting at freeswitch.org > >> http://www.freeswitchsolutions.com > >> > >> Official FreeSWITCH Sites > >> http://www.freeswitch.org > >> http://confluence.freeswitch.org > >> http://www.cluecon.com > >> > >> FreeSWITCH-users mailing list > >> FreeSWITCH-users at lists.freeswitch.org > >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >> http://www.freeswitch.org > > > > > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com ClueCon 2015 Call for Speakers | Register TODAY! | Reddit: /r/freeswitch *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150427/95a33fda/attachment.html From cjbujold at accra.ca Mon Apr 27 17:33:49 2015 From: cjbujold at accra.ca (Charles Bujold) Date: Mon, 27 Apr 2015 10:33:49 -0300 Subject: [Freeswitch-users] Client gets hang-up after 32 seconds Message-ID: <002501d080ee$cc3dd340$64b979c0$@accra.ca> We have an extension that we can call and can talk with no problems. However if the extension calls us, he gets connected and we can only talk for 32 seconds before the call gets terminated. We looked at the log and are unable to identify the reason why he cannot call us but that we can call him. The error seems to be that when he calls Freeswitch for some reason sets a timeout of 30 seconds (Setting leg timeout to 30) See log below. Please help. How can we fix this? Thanks Charles 6d0e7ed5-6078-4a31-9d6e-0e7d239c3579 o=FreeSWITCH 1430114648 1430114650 IN IP4 156.34.240.101 6d0e7ed5-6078-4a31-9d6e-0e7d239c3579 s=FreeSWITCH 6d0e7ed5-6078-4a31-9d6e-0e7d239c3579 c=IN IP4 156.34.240.101 6d0e7ed5-6078-4a31-9d6e-0e7d239c3579 t=0 0 6d0e7ed5-6078-4a31-9d6e-0e7d239c3579 m=audio 25974 RTP/AVP 0 101 6d0e7ed5-6078-4a31-9d6e-0e7d239c3579 a=rtpmap:0 PCMU/8000 6d0e7ed5-6078-4a31-9d6e-0e7d239c3579 a=rtpmap:101 telephone-event/8000 6d0e7ed5-6078-4a31-9d6e-0e7d239c3579 a=fmtp:101 0-16 6d0e7ed5-6078-4a31-9d6e-0e7d239c3579 a=ptime:20 6d0e7ed5-6078-4a31-9d6e-0e7d239c3579 a=sendrecv 6d0e7ed5-6078-4a31-9d6e-0e7d239c3579 6d0e7ed5-6078-4a31-9d6e-0e7d239c3579 2015-04-27 10:17:04.785852 [DEBUG] switch_core_session.c:908 Send signal sofia/internal/425 at 192.168.20.153 [BREAK] 6d0e7ed5-6078-4a31-9d6e-0e7d239c3579 2015-04-27 10:17:04.785852 [DEBUG] switch_core_session.c:1053 Send signal sofia/internal/425 at 192.168.20.153 [BREAK] 6d0e7ed5-6078-4a31-9d6e-0e7d239c3579 2015-04-27 10:17:04.785852 [NOTICE] switch_ivr_originate.c:3522 Channel [sofia/internal/425 at 192.168.20.153] has been answered 6d0e7ed5-6078-4a31-9d6e-0e7d239c3579 2015-04-27 10:17:04.785852 [DEBUG] switch_channel.c:3689 (sofia/internal/425 at 192.168.20.153) Callstate Change EARLY -> ACTIVE 6d0e7ed5-6078-4a31-9d6e-0e7d239c3579 2015-04-27 10:17:04.785852 [DEBUG] sofia.c:6614 Channel sofia/internal/425 at 192.168.20.153 entering state [completed][200] 6d0e7ed5-6078-4a31-9d6e-0e7d239c3579 2015-04-27 10:17:04.785852 [DEBUG] switch_ivr_originate.c:3580 Originate Resulted in Success: [sofia/internal/sip:200 at 192.168.20.150:5060] 6d0e7ed5-6078-4a31-9d6e-0e7d239c3579 2015-04-27 10:17:04.785852 [DEBUG] switch_ivr_originate.c:2847 sofia/internal/sip:200 at 192.168.20.150:5060 Setting leg timeout to 30 6d0e7ed5-6078-4a31-9d6e-0e7d239c3579 2015-04-27 10:17:04.785852 [DEBUG] switch_ivr_originate.c:3580 Originate Resulted in Success: [sofia/internal/sip:200 at 192.168.20.150:5060] b8e098cc-82a9-4128-992e-a21690707fb3 2015-04-27 10:17:04.785852 [DEBUG] switch_core_session.c:908 Send signal sofia/internal/sip:200 at 192.168.20.150:5060 [BREAK] 6d0e7ed5-6078-4a31-9d6e-0e7d239c3579 2015-04-27 10:17:04.785852 [DEBUG] switch_core_session.c:908 Send signal sofia/internal/425 at 192.168.20.153 [BREAK] b8e098cc-82a9-4128-992e-a21690707fb3 2015-04-27 10:17:04.785852 [DEBUG] switch_ivr_bridge.c:1465 (sofia/internal/sip:200 at 192.168.20.150:5060) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA b8e098cc-82a9-4128-992e-a21690707fb3 2015-04-27 10:17:04.785852 [DEBUG] switch_core_session.c:1388 Send signal sofia/internal/sip:200 at 192.168.20.150:5060 [BREAK] b8e098cc-82a9-4128-992e-a21690707fb3 2015-04-27 10:17:04.785852 [DEBUG] switch_core_state_machine.c:472 (sofia/internal/sip:200 at 192.168.20.150:5060) Running State Change CS_EXCHANGE_MEDIA b8e098cc-82a9-4128-992e-a21690707fb3 2015-04-27 10:17:04.785852 [DEBUG] switch_core_state_machine.c:538 (sofia/internal/sip:200 at 192.168.20.150:5060) State EXCHANGE_MEDIA b8e098cc-82a9-4128-992e-a21690707fb3 2015-04-27 10:17:04.785852 [DEBUG] mod_sofia.c:594 SOFIA EXCHANGE_MEDIA b8e098cc-82a9-4128-992e-a21690707fb3 2015-04-27 10:17:04.845827 [DEBUG] switch_rtp.c:5853 Correct ip/port confirmed. 6d0e7ed5-6078-4a31-9d6e-0e7d239c3579 2015-04-27 10:17:36.785826 [DEBUG] switch_core_session.c:1053 Send signal sofia/internal/425 at 192.168.20.153 [BREAK] 6d0e7ed5-6078-4a31-9d6e-0e7d239c3579 2015-04-27 10:17:36.785826 [DEBUG] switch_core_session.c:1053 Send signal sofia/internal/425 at 192.168.20.153 [BREAK] 6d0e7ed5-6078-4a31-9d6e-0e7d239c3579 2015-04-27 10:17:36.805822 [DEBUG] sofia.c:6614 Channel sofia/internal/425 at 192.168.20.153 entering state [terminating][0] 6d0e7ed5-6078-4a31-9d6e-0e7d239c3579 2015-04-27 10:17:36.805822 [NOTICE] sofia.c:7530 Hangup sofia/internal/425 at 192.168.20.153 [CS_EXECUTE] [NORMAL_UNSPECIFIED] 6d0e7ed5-6078-4a31-9d6e-0e7d239c3579 2015-04-27 10:17:36.805822 [DEBUG] switch_channel.c:3222 Send signal sofia/internal/425 at 192.168.20.153 [KILL] 6d0e7ed5-6078-4a31-9d6e-0e7d239c3579 2015-04-27 10:17:36.805822 [DEBUG] mod_hash.c:298 Usage for 192.168.20.153_200 is now 0 6d0e7ed5-6078-4a31-9d6e-0e7d239c3579 2015-04-27 10:17:36.805822 [DEBUG] switch_core_session.c:1388 Send signal sofia/internal/425 at 192.168.20.153 [BREAK] 6d0e7ed5-6078-4a31-9d6e-0e7d239c3579 2015-04-27 10:17:36.805822 [DEBUG] switch_ivr_bridge.c:660 BRIDGE THREAD DONE [sofia/internal/425 at 192.168.20.153] b8e098cc-82a9-4128-992e-a21690707fb3 2015-04-27 10:17:36.805822 [DEBUG] switch_ivr_bridge.c:690 Send signal sofia/internal/sip:200 at 192.168.20.150:5060 [BREAK] b8e098cc-82a9-4128-992e-a21690707fb3 2015-04-27 10:17:36.825829 [DEBUG] switch_ivr_bridge.c:579 sofia/internal/425 at 192.168.20.153 ending bridge by request from write function b8e098cc-82a9-4128-992e-a21690707fb3 2015-04-27 10:17:36.825829 [DEBUG] switch_ivr_bridge.c:660 BRIDGE THREAD DONE [sofia/internal/sip:200 at 192.168.20.150:5060] 6d0e7ed5-6078-4a31-9d6e-0e7d239c3579 2015-04-27 10:17:36.825829 [DEBUG] switch_ivr_bridge.c:690 Send signal sofia/internal/425 at 192.168.20.153 [BREAK] b8e098cc-82a9-4128-992e-a21690707fb3 2015-04-27 10:17:36.825829 [NOTICE] switch_ivr_bridge.c:754 Hangup sofia/internal/sip:200 at 192.168.20.150:5060 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING] b8e098cc-82a9-4128-992e-a21690707fb3 2015-04-27 10:17:36.825829 [DEBUG] switch_channel.c:3222 Send signal sofia/internal/sip:200 at 192.168.20.150:5060 [KILL] b8e098cc-82a9-4128-992e-a21690707fb3 2015-04-27 10:17:36.825829 [DEBUG] switch_core_session.c:1388 Send signal sofia/internal/sip:200 at 192.168.20.150:5060 [BREAK] b8e098cc-82a9-4128-992e-a21690707fb3 2015-04-27 10:17:36.825829 [DEBUG] switch_core_state_machine.c:538 (sofia/internal/sip:200 at 192.168.20.150:5060) State EXCHANGE_MEDIA going to sleep b8e098cc-82a9-4128-992e-a21690707fb3 2015-04-27 10:17:36.825829 [DEBUG] switch_core_state_machine.c:472 (sofia/internal/sip:200 at 192.168.20.150:5060) Running State Change CS_HANGUP b8e098cc-82a9-4128-992e-a21690707fb3 2015-04-27 10:17:36.825829 [DEBUG] switch_core_state_machine.c:735 (sofia/internal/sip:200 at 192.168.20.150:5060) Callstate Change ACTIVE -> HANGUP b8e098cc-82a9-4128-992e-a21690707fb3 2015-04-27 10:17:36.825829 [DEBUG] switch_ivr_bridge.c:1563 sofia/internal/sip:200 at 192.168.20.150:5060 skip receive message [UNBRIDGE] (channel is hungup already) 6d0e7ed5-6078-4a31-9d6e-0e7d239c3579 2015-04-27 10:17:36.825829 [DEBUG] switch_ivr_bridge.c:1566 sofia/internal/425 at 192.168.20.153 skip receive message [UNBRIDGE] (channel is hungup already) b8e098cc-82a9-4128-992e-a21690707fb3 2015-04-27 10:17:36.825829 [DEBUG] switch_core_state_machine.c:737 (sofia/internal/sip:200 at 192.168.20.150:5060) State HANGUP b8e098cc-82a9-4128-992e-a21690707fb3 2015-04-27 10:17:36.825829 [DEBUG] mod_sofia.c:413 Channel sofia/internal/sip:200 at 192.168.20.150:5060 hanging up, cause: NORMAL_CLEARING 6d0e7ed5-6078-4a31-9d6e-0e7d239c3579 2015-04-27 10:17:36.825829 [DEBUG] switch_core_session.c:2893 sofia/internal/425 at 192.168.20.153 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already) -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150427/a0d9f79d/attachment-0001.html From luis.azedo at factorlusitano.com Mon Apr 27 17:34:42 2015 From: luis.azedo at factorlusitano.com (Luis Azedo) Date: Mon, 27 Apr 2015 14:34:42 +0100 Subject: [Freeswitch-users] Need cluster architecture suggestion Message-ID: take a look at kazoo https://github.com/2600hz/kazoo Best From olegstolyar at gmail.com Mon Apr 27 17:43:36 2015 From: olegstolyar at gmail.com (Oleg Stolyar) Date: Mon, 27 Apr 2015 06:43:36 -0700 Subject: [Freeswitch-users] Confirmation of ICE connectivity check success In-Reply-To: References: Message-ID: Guys, anything? Anyone? Please let me know if the question doesn't make sense. The reason I am looking for this info is that sometimes my users do get media in either direction. They establish a call to FS and I confirm that all the signalling went through and there is no "audio DTLS packet not written" error in the logs. However, there is no sound coming in either direction. Then 30-45 sec later, FS writes a message "No audio stun for a long time" In this particular case it was fixed by switching to a different ISP (so definitely not a FS or WebRTC problem). but I would like to try to provide more information to the network people about what to look for. On Fri, Apr 24, 2015 at 6:04 AM, Oleg Stolyar wrote: > Hi guys, > > Is there something in FreeSWITCH logs or events I can use to confirm > whether the ICE connectivity check ( > https://tools.ietf.org/html/rfc5245#section-2.2) succeeded and what > candidate pair was chosen? > > If it did not succeed, is there a way to see the attempted candidate pair > and most importantly to determine for each pair what direction the > connectivity failed? > > This is for WebRTC, if it makes a difference. > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150427/abc63707/attachment.html From ssinyagin at gmail.com Mon Apr 27 17:45:12 2015 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Mon, 27 Apr 2015 15:45:12 +0200 Subject: [Freeswitch-users] Need cluster architecture suggestion In-Reply-To: References: Message-ID: well, actually I'm trying to publish as much as I can, including the design documentation. If I get a project that would require to build a scalable cluster, I will definitely try to publish it too. It works pretty well -- I got two new paying customers who found me via github and my blog, and a couple of other potential customers. Also, businesses already got brilliant software tools for free, so why not going further and making more open-source value? On Mon, Apr 27, 2015 at 3:29 PM, Brian West wrote: > LOL, We can wish can't we? :P > > On Mon, Apr 27, 2015 at 2:50 AM, Stanislav Sinyagin > wrote: > >> it would be cool to see one day the whole design and source code at >> github... then other teams would contribute, instead of re-building >> every time from scratch >> >> >> On Mon, Apr 27, 2015 at 8:29 AM, Samir Doshi wrote: >> > Redis looks interesting. Will look at that. >> > Thanks guys for your time and suggestions. >> > >> > I will do further study and share my experience. >> > >> > >> > Thanks, >> > Samir >> > >> > On Mon, Apr 27, 2015 at 9:54 AM, Jos? Seabra >> wrote: >> >> >> >> Hello, >> >> >> >> What kind of features do you want provide? for better preformance and >> >> scalability I propose you use kamailio in 2 ways, and freeswitch as >> >> application/sbc server, then rtpengine to sdp nat and SRTP/RTP: >> >> >> >> First create a kamailio instance to do the role of sip load balancer, >> >> natbox, and security. >> >> >> >> Second create a another kamailio instance to handle all your registers >> and >> >> presence services, and control all you calls/presence(sip signalling). >> >> >> >> For example an IVR: >> >> Call arrives at load balance, loadbalance select one of second kamailio >> >> instance through dispatcher module, and send it to there, then the >> second >> >> kamailio instance will checkout what kind of call you are requesting, >> after >> >> it see that you are trying to dial an ivr (developing some kamailio >> script >> >> logic) it will select one of your freeswitch's and send call to there, >> then >> >> in freeswitch using lua script you can build your dinamic dialplans. >> >> >> >> for sharing presence between several kamailios you can use dmq + >> dbtext >> >> to save presence information replicated through dmq. >> >> >> >> for sharing user location between kamailios use dmq + usrloc_dmq + >> dbtext >> >> >> >> You can use mysql, but with mysql isn't simple scale geographically >> >> >> >> another database that i advise you use to build your pbx is redis. >> >> >> >> I hope that my view was helpfull >> >> >> >> >> >> BR >> >> Jos? Seabra >> >> >> >> 2015-04-27 3:14 GMT+01:00 Kamil Nigmatullin < >> kamil.nigmatullin at gmail.com>: >> >>> >> >>> I suggest to use opensips as a registrar and router/balancer with >> redis >> >>> as a database. Use redis locacally and all requested parameteres keep >> in uri >> >>> format as login=123;pass=456 . it gives you a very high performance >> and >> >>> saves hard disk from non-stop reading. >> >>> >> >>> 26 ???. 2015 ?. 15:12 ???????????? "Stanislav Sinyagin" >> >>> ???????: >> >>> >> >>>> There's an option to use FreeSWITCH as a registrar, and Kamailio >> would >> >>>> be a simple stateless load balancer and failover manager. Have you >> >>>> considered this option as well? >> >>>> >> >>>> On Apr 26, 2015 6:21 AM, "Samir Doshi" wrote: >> >>>>> >> >>>>> Hi Guys, >> >>>>> >> >>>>> What will be the best setup architecture to handle 50k subscriber >> >>>>> registration and approximate 30k concurrent calls? >> >>>>> We are planning to use opensips/kamailio proxy server for load >> balance >> >>>>> & to handle registration and multiple freeswitch servers to handle >> media. >> >>>>> Database will be MySQL. >> >>>>> >> >>>>> Is this good way? OR anybody have any other proposed architecture >> which >> >>>>> can be helpful? >> >>>>> >> >>>>> Moreover Is there any way we can change codec realtime based on >> >>>>> internet connectivity speed? >> >>>>> >> >>>>> Please let us know your thoughts. >> >>>>> >> >>>>> Thanks in advance. >> >>>>> >> >>>>> >> >>>>> >> _________________________________________________________________________ >> >>>>> Professional FreeSWITCH Consulting Services: >> >>>>> consulting at freeswitch.org >> >>>>> http://www.freeswitchsolutions.com >> >>>>> >> >>>>> Official FreeSWITCH Sites >> >>>>> http://www.freeswitch.org >> >>>>> http://confluence.freeswitch.org >> >>>>> http://www.cluecon.com >> >>>>> >> >>>>> FreeSWITCH-users mailing list >> >>>>> FreeSWITCH-users at lists.freeswitch.org >> >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >>>>> >> >>>>> UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> >>>>> http://www.freeswitch.org >> >>>> >> >>>> >> >>>> >> >>>> >> _________________________________________________________________________ >> >>>> Professional FreeSWITCH Consulting Services: >> >>>> consulting at freeswitch.org >> >>>> http://www.freeswitchsolutions.com >> >>>> >> >>>> Official FreeSWITCH Sites >> >>>> http://www.freeswitch.org >> >>>> http://confluence.freeswitch.org >> >>>> http://www.cluecon.com >> >>>> >> >>>> FreeSWITCH-users mailing list >> >>>> FreeSWITCH-users at lists.freeswitch.org >> >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >>>> UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> >>>> http://www.freeswitch.org >> >>> >> >>> >> >>> >> _________________________________________________________________________ >> >>> Professional FreeSWITCH Consulting Services: >> >>> consulting at freeswitch.org >> >>> http://www.freeswitchsolutions.com >> >>> >> >>> Official FreeSWITCH Sites >> >>> http://www.freeswitch.org >> >>> http://confluence.freeswitch.org >> >>> http://www.cluecon.com >> >>> >> >>> FreeSWITCH-users mailing list >> >>> FreeSWITCH-users at lists.freeswitch.org >> >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >>> UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> >>> http://www.freeswitch.org >> >> >> >> >> >> >> >> >> >> -- >> >> Cumprimentos >> >> Jos? Seabra >> >> >> >> >> _________________________________________________________________________ >> >> Professional FreeSWITCH Consulting Services: >> >> consulting at freeswitch.org >> >> http://www.freeswitchsolutions.com >> >> >> >> Official FreeSWITCH Sites >> >> http://www.freeswitch.org >> >> http://confluence.freeswitch.org >> >> http://www.cluecon.com >> >> >> >> FreeSWITCH-users mailing list >> >> FreeSWITCH-users at lists.freeswitch.org >> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >> UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> >> http://www.freeswitch.org >> > >> > >> > >> > >> _________________________________________________________________________ >> > Professional FreeSWITCH Consulting Services: >> > consulting at freeswitch.org >> > http://www.freeswitchsolutions.com >> > >> > Official FreeSWITCH Sites >> > http://www.freeswitch.org >> > http://confluence.freeswitch.org >> > http://www.cluecon.com >> > >> > FreeSWITCH-users mailing list >> > FreeSWITCH-users at lists.freeswitch.org >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> > UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> > http://www.freeswitch.org >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > > *Brian West* > brian at freeswitch.org > > > *Twitter: @FreeSWITCH , @briankwest* > http://www.freeswitchbook.com > http://www.freeswitchcookbook.com > > ClueCon 2015 Call for Speakers > | Register > TODAY! | Reddit: /r/freeswitch > > > *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) > *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150427/010195b0/attachment-0001.html From krice at freeswitch.org Mon Apr 27 18:12:05 2015 From: krice at freeswitch.org (Ken Rice) Date: Mon, 27 Apr 2015 09:12:05 -0500 Subject: [Freeswitch-users] Client gets hang-up after 32 seconds In-Reply-To: <002501d080ee$cc3dd340$64b979c0$@accra.ca> Message-ID: This is probably a NAT issue where the FS isnt getting that ACK for the 200 OK in the sip messaging. To confirm this enable sip tracing in sofia fs_cli> sofia global siptrace on Also setting high priority on an email to this list is not a desirable thing to do as it will get most people to ignore your emails. If in the future you require immediate attention, I would contact consulting at freeswitch.org for paid immediate support. Thank K On 4/27/15, 8:33 AM, "Charles Bujold" wrote: > We have an extension that we can call and can talk with no problems. However > if the extension calls us, he gets connected and we can only talk for 32 > seconds before the call gets terminated. We looked at the log and are unable > to identify the reason why he cannot call us but that we can call him. The > error seems to be that when he calls Freeswitch for some reason sets a timeout > of 30 seconds (Setting leg timeout to 30) See log below. > > Please help. How can we fix this? > Thanks > Charles > > 6d0e7ed5-6078-4a31-9d6e-0e7d239c3579 o=FreeSWITCH 1430114648 1430114650 IN IP4 > 156.34.240.101 > 6d0e7ed5-6078-4a31-9d6e-0e7d239c3579 s=FreeSWITCH > 6d0e7ed5-6078-4a31-9d6e-0e7d239c3579 c=IN IP4 156.34.240.101 > 6d0e7ed5-6078-4a31-9d6e-0e7d239c3579 t=0 0 > 6d0e7ed5-6078-4a31-9d6e-0e7d239c3579 m=audio 25974 RTP/AVP 0 101 > 6d0e7ed5-6078-4a31-9d6e-0e7d239c3579 a=rtpmap:0 PCMU/8000 > 6d0e7ed5-6078-4a31-9d6e-0e7d239c3579 a=rtpmap:101 telephone-event/8000 > 6d0e7ed5-6078-4a31-9d6e-0e7d239c3579 a=fmtp:101 0-16 > 6d0e7ed5-6078-4a31-9d6e-0e7d239c3579 a=ptime:20 > 6d0e7ed5-6078-4a31-9d6e-0e7d239c3579 a=sendrecv > 6d0e7ed5-6078-4a31-9d6e-0e7d239c3579 > 6d0e7ed5-6078-4a31-9d6e-0e7d239c3579 2015-04-27 10:17:04.785852 [DEBUG] > switch_core_session.c:908 Send signal sofia/internal/425 at 192.168.20.153 > [BREAK] > 6d0e7ed5-6078-4a31-9d6e-0e7d239c3579 2015-04-27 10:17:04.785852 [DEBUG] > switch_core_session.c:1053 Send signal sofia/internal/425 at 192.168.20.153 > [BREAK] > 6d0e7ed5-6078-4a31-9d6e-0e7d239c3579 2015-04-27 10:17:04.785852 [NOTICE] > switch_ivr_originate.c:3522 Channel [sofia/internal/425 at 192.168.20.153] has > been answered > 6d0e7ed5-6078-4a31-9d6e-0e7d239c3579 2015-04-27 10:17:04.785852 [DEBUG] > switch_channel.c:3689 (sofia/internal/425 at 192.168.20.153) Callstate Change > EARLY -> ACTIVE > 6d0e7ed5-6078-4a31-9d6e-0e7d239c3579 2015-04-27 10:17:04.785852 [DEBUG] > sofia.c:6614 Channel sofia/internal/425 at 192.168.20.153 entering state > [completed][200] > 6d0e7ed5-6078-4a31-9d6e-0e7d239c3579 2015-04-27 10:17:04.785852 [DEBUG] > switch_ivr_originate.c:3580 Originate Resulted in Success: > [sofia/internal/sip:200 at 192.168.20.150:5060] > 6d0e7ed5-6078-4a31-9d6e-0e7d239c3579 2015-04-27 10:17:04.785852 [DEBUG] > switch_ivr_originate.c:2847 sofia/internal/sip:200 at 192.168.20.150:5060 Setting > leg timeout to 30 > 6d0e7ed5-6078-4a31-9d6e-0e7d239c3579 2015-04-27 10:17:04.785852 [DEBUG] > switch_ivr_originate.c:3580 Originate Resulted in Success: > [sofia/internal/sip:200 at 192.168.20.150:5060] > b8e098cc-82a9-4128-992e-a21690707fb3 2015-04-27 10:17:04.785852 [DEBUG] > switch_core_session.c:908 Send signal > sofia/internal/sip:200 at 192.168.20.150:5060 [BREAK] > 6d0e7ed5-6078-4a31-9d6e-0e7d239c3579 2015-04-27 10:17:04.785852 [DEBUG] > switch_core_session.c:908 Send signal sofia/internal/425 at 192.168.20.153 > [BREAK] > b8e098cc-82a9-4128-992e-a21690707fb3 2015-04-27 10:17:04.785852 [DEBUG] > switch_ivr_bridge.c:1465 (sofia/internal/sip:200 at 192.168.20.150:5060) State > Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA > b8e098cc-82a9-4128-992e-a21690707fb3 2015-04-27 10:17:04.785852 [DEBUG] > switch_core_session.c:1388 Send signal > sofia/internal/sip:200 at 192.168.20.150:5060 [BREAK] > b8e098cc-82a9-4128-992e-a21690707fb3 2015-04-27 10:17:04.785852 [DEBUG] > switch_core_state_machine.c:472 (sofia/internal/sip:200 at 192.168.20.150:5060) > Running State Change CS_EXCHANGE_MEDIA > b8e098cc-82a9-4128-992e-a21690707fb3 2015-04-27 10:17:04.785852 [DEBUG] > switch_core_state_machine.c:538 (sofia/internal/sip:200 at 192.168.20.150:5060) > State EXCHANGE_MEDIA > b8e098cc-82a9-4128-992e-a21690707fb3 2015-04-27 10:17:04.785852 [DEBUG] > mod_sofia.c:594 SOFIA EXCHANGE_MEDIA > b8e098cc-82a9-4128-992e-a21690707fb3 2015-04-27 10:17:04.845827 [DEBUG] > switch_rtp.c:5853 Correct ip/port confirmed. > 6d0e7ed5-6078-4a31-9d6e-0e7d239c3579 2015-04-27 10:17:36.785826 [DEBUG] > switch_core_session.c:1053 Send signal sofia/internal/425 at 192.168.20.153 > [BREAK] > 6d0e7ed5-6078-4a31-9d6e-0e7d239c3579 2015-04-27 10:17:36.785826 [DEBUG] > switch_core_session.c:1053 Send signal sofia/internal/425 at 192.168.20.153 > [BREAK] > 6d0e7ed5-6078-4a31-9d6e-0e7d239c3579 2015-04-27 10:17:36.805822 [DEBUG] > sofia.c:6614 Channel sofia/internal/425 at 192.168.20.153 entering state > [terminating][0] > 6d0e7ed5-6078-4a31-9d6e-0e7d239c3579 2015-04-27 10:17:36.805822 [NOTICE] > sofia.c:7530 Hangup sofia/internal/425 at 192.168.20.153 [CS_EXECUTE] > [NORMAL_UNSPECIFIED] > 6d0e7ed5-6078-4a31-9d6e-0e7d239c3579 2015-04-27 10:17:36.805822 [DEBUG] > switch_channel.c:3222 Send signal sofia/internal/425 at 192.168.20.153 [KILL] > 6d0e7ed5-6078-4a31-9d6e-0e7d239c3579 2015-04-27 10:17:36.805822 [DEBUG] > mod_hash.c:298 Usage for 192.168.20.153_200 is now 0 > 6d0e7ed5-6078-4a31-9d6e-0e7d239c3579 2015-04-27 10:17:36.805822 [DEBUG] > switch_core_session.c:1388 Send signal sofia/internal/425 at 192.168.20.153 > [BREAK] > 6d0e7ed5-6078-4a31-9d6e-0e7d239c3579 2015-04-27 10:17:36.805822 [DEBUG] > switch_ivr_bridge.c:660 BRIDGE THREAD DONE [sofia/internal/425 at 192.168.20.153] > b8e098cc-82a9-4128-992e-a21690707fb3 2015-04-27 10:17:36.805822 [DEBUG] > switch_ivr_bridge.c:690 Send signal sofia/internal/sip:200 at 192.168.20.150:5060 > [BREAK] > b8e098cc-82a9-4128-992e-a21690707fb3 2015-04-27 10:17:36.825829 [DEBUG] > switch_ivr_bridge.c:579 sofia/internal/425 at 192.168.20.153 ending bridge by > request from write function > b8e098cc-82a9-4128-992e-a21690707fb3 2015-04-27 10:17:36.825829 [DEBUG] > switch_ivr_bridge.c:660 BRIDGE THREAD DONE > [sofia/internal/sip:200 at 192.168.20.150:5060] > 6d0e7ed5-6078-4a31-9d6e-0e7d239c3579 2015-04-27 10:17:36.825829 [DEBUG] > switch_ivr_bridge.c:690 Send signal sofia/internal/425 at 192.168.20.153 [BREAK] > b8e098cc-82a9-4128-992e-a21690707fb3 2015-04-27 10:17:36.825829 [NOTICE] > switch_ivr_bridge.c:754 Hangup sofia/internal/sip:200 at 192.168.20.150:5060 > [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING] > b8e098cc-82a9-4128-992e-a21690707fb3 2015-04-27 10:17:36.825829 [DEBUG] > switch_channel.c:3222 Send signal sofia/internal/sip:200 at 192.168.20.150:5060 > [KILL] > b8e098cc-82a9-4128-992e-a21690707fb3 2015-04-27 10:17:36.825829 [DEBUG] > switch_core_session.c:1388 Send signal > sofia/internal/sip:200 at 192.168.20.150:5060 [BREAK] > b8e098cc-82a9-4128-992e-a21690707fb3 2015-04-27 10:17:36.825829 [DEBUG] > switch_core_state_machine.c:538 (sofia/internal/sip:200 at 192.168.20.150:5060) > State EXCHANGE_MEDIA going to sleep > b8e098cc-82a9-4128-992e-a21690707fb3 2015-04-27 10:17:36.825829 [DEBUG] > switch_core_state_machine.c:472 (sofia/internal/sip:200 at 192.168.20.150:5060) > Running State Change CS_HANGUP > b8e098cc-82a9-4128-992e-a21690707fb3 2015-04-27 10:17:36.825829 [DEBUG] > switch_core_state_machine.c:735 (sofia/internal/sip:200 at 192.168.20.150:5060) > Callstate Change ACTIVE -> HANGUP > b8e098cc-82a9-4128-992e-a21690707fb3 2015-04-27 10:17:36.825829 [DEBUG] > switch_ivr_bridge.c:1563 sofia/internal/sip:200 at 192.168.20.150:5060 skip > receive message [UNBRIDGE] (channel is hungup already) > 6d0e7ed5-6078-4a31-9d6e-0e7d239c3579 2015-04-27 10:17:36.825829 [DEBUG] > switch_ivr_bridge.c:1566 sofia/internal/425 at 192.168.20.153 skip receive > message [UNBRIDGE] (channel is hungup already) > b8e098cc-82a9-4128-992e-a21690707fb3 2015-04-27 10:17:36.825829 [DEBUG] > switch_core_state_machine.c:737 (sofia/internal/sip:200 at 192.168.20.150:5060) > State HANGUP > b8e098cc-82a9-4128-992e-a21690707fb3 2015-04-27 10:17:36.825829 [DEBUG] > mod_sofia.c:413 Channel sofia/internal/sip:200 at 192.168.20.150:5060 hanging up, > cause: NORMAL_CLEARING > 6d0e7ed5-6078-4a31-9d6e-0e7d239c3579 2015-04-27 10:17:36.825829 [DEBUG] > switch_core_session.c:2893 sofia/internal/425 at 192.168.20.153 skip receive > message [APPLICATION_EXEC_COMPLETE] (channel is hungup already) > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -- Ken http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org irc.freenode.net #freeswitch Twitter: @FreeSWITCH -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150427/5dd5cf15/attachment.html From mishehu at freeswitch.org Mon Apr 27 19:05:52 2015 From: mishehu at freeswitch.org (I put the Who? in Mishehu) Date: Mon, 27 Apr 2015 10:05:52 -0500 Subject: [Freeswitch-users] Compile Error with mod_lua In-Reply-To: References: Message-ID: <553E5050.3000207@freeswitch.org> Or you can just clone the repo then issue "git checkout v1.4" and it takes you to the most recent commit on the v1.4 branch also. -Yossi On 04/25/2015 09:50 PM, SamyGo wrote: > master, so if you're downloading from git add this '-b v1.4' like this: > > git clone -b v1.4 https://freeswitch.org/stash/scm/fs/freeswitch.git > freeswitch.git > > see if this helps you out as well. > > On Sat, Apr 25, 2015 at 10:42 PM, jungle Boogie > > wrote: > > > On 25 Apr 2015 19:28, "SamyGo" > wrote: > > > > I quickly realized that Im not on 1.4 branch and compiled using > git branch 1.4 and now its all fine. > > > And what branch were you compiling from? > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150427/91eb402d/attachment-0001.html From jungleboogie0 at gmail.com Mon Apr 27 19:10:23 2015 From: jungleboogie0 at gmail.com (jungle Boogie) Date: Mon, 27 Apr 2015 08:10:23 -0700 Subject: [Freeswitch-users] Compile Error with mod_lua In-Reply-To: <553E5050.3000207@freeswitch.org> References: <553E5050.3000207@freeswitch.org> Message-ID: On 27 April 2015 at 08:05, I put the Who? in Mishehu wrote: > Or you can just clone the repo then issue "git checkout v1.4" and it takes > you to the most recent commit on the v1.4 branch also. Right, but I want to follow master so I'll have no wait until someone can fix it. -- ------- inum: 883510009027723 sip: jungleboogie at sip2sip.info xmpp: jungle-boogie at jit.si From danb.lists at gmail.com Mon Apr 27 19:52:18 2015 From: danb.lists at gmail.com (DanB) Date: Mon, 27 Apr 2015 17:52:18 +0200 Subject: [Freeswitch-users] Dialplan ARRAYs - how to check size Message-ID: <553E5B32.6030909@gmail.com> Hey Guys, I was wondering if you could help me figuring out how to check the size of a channel variable of type ARRAY (as per documentation here: https://wiki.freeswitch.org/wiki/Dialplan_ARRAYS) Ta for any kind of tip! DanB From mario_fs at mgtech.com Mon Apr 27 20:37:12 2015 From: mario_fs at mgtech.com (Mario) Date: Mon, 27 Apr 2015 09:37:12 -0700 Subject: [Freeswitch-users] Compile Error with mod_lua In-Reply-To: References: <553E5050.3000207@freeswitch.org> Message-ID: I think this is the same issue, I opened a jira yesterday: https://freeswitch.org/jira/browse/FS-7474?jql=project%20%3D%20FS%20AND%20created%3E%3D-1w%20ORDER%20BY%20created%20DESC > On Apr 27, 2015, at 8:10 AM, jungle Boogie wrote: > > On 27 April 2015 at 08:05, I put the Who? in Mishehu > wrote: >> Or you can just clone the repo then issue "git checkout v1.4" and it takes >> you to the most recent commit on the v1.4 branch also. > > > Right, but I want to follow master so I'll have no wait until someone > can fix it. > > -- > ------- > inum: 883510009027723 > sip: jungleboogie at sip2sip.info > xmpp: jungle-boogie at jit.si > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150427/ecd794b5/attachment.html From covici at ccs.covici.com Mon Apr 27 20:43:13 2015 From: covici at ccs.covici.com (covici at ccs.covici.com) Date: Mon, 27 Apr 2015 12:43:13 -0400 Subject: [Freeswitch-users] Compile Error with mod_lua In-Reply-To: References: <553E5050.3000207@freeswitch.org> Message-ID: <28348.1430152993@ccs.covici.com> Try a make reswig in the src/mod/languages/lua directory and see if that is a temporary workaround. Mario wrote: > I think this is the same issue, I opened a jira yesterday: > > https://freeswitch.org/jira/browse/FS-7474?jql=project%20%3D%20FS%20AND%20created%3E%3D-1w%20ORDER%20BY%20created%20DESC > > > On Apr 27, 2015, at 8:10 AM, jungle Boogie wrote: > > > > On 27 April 2015 at 08:05, I put the Who? in Mishehu > > wrote: > >> Or you can just clone the repo then issue "git checkout v1.4" and it takes > >> you to the most recent commit on the v1.4 branch also. > > > > > > Right, but I want to follow master so I'll have no wait until someone > > can fix it. > > > > -- > > ------- > > inum: 883510009027723 > > sip: jungleboogie at sip2sip.info > > xmpp: jungle-boogie at jit.si > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > > ---------------------------------------------------- > Alternatives: > > ---------------------------------------------------- > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici covici at ccs.covici.com From krice at freeswitch.org Mon Apr 27 23:09:09 2015 From: krice at freeswitch.org (Ken Rice) Date: Mon, 27 Apr 2015 19:09:09 +0000 Subject: [Freeswitch-users] FreeSWITCH Week in Review (Master Branch) April 18th-24th Message-ID: <553e8955a4d50_f8c8100732c6496@resque-worker-high.1.mail> New Post on freeswitch.org from Kathleen check it out at http://ift.tt/1bwXNWG FreeSWITCH Week in Review (Master Branch) April 18th-24th Hello, again. This passed week in the FreeSWITCH master branch we had 11 commits. We had one new feature this week with a force-register-domain param being added to mod_verto. Join us on Wednesdays at 12:00 CT for some more FreeSWITCH fun! And head over to freeswitch.com to learn more about FreeSWITCH support. New features: FS-7470 [mod_verto] Add a force-register-domain param The following bugs were squashed: FS-7060 [mod_amqp] Fix for connection errors and a case where the connection succeeds but login fails FS-7456 Fix bug in SDP parser, to allow it to handle sdp with m lines in any order FS-7460 [mod_sofia] Don?t force ICE in 3pcc-mode=proxy FS-7465 Fixed a crash in stereo file writing FS-7425 Fix an audio Handshake failure 1 when using webrtc with PFS-only client (Firefox >=38) -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150427/4c698591/attachment.html From bob.mccarthy at experient.com Tue Apr 28 07:31:06 2015 From: bob.mccarthy at experient.com (Bob McCarthy) Date: Mon, 27 Apr 2015 21:31:06 -0600 Subject: [Freeswitch-users] Polycom VVX Shared Call Appearance Message-ID: <040c01d08163$c3f78b70$4be6a250$@experient.com> Trying to upgrade our Polycom Phones from SoundPoint 670's to VVX 600's. We have had Shared Call appearance working for the last couple of years on the 670's. We have it mostly working on the VVX except for the on hold pick-off. The pick-off enters the dial-plan which then fails. We never needed to dial plan this for the 670's. Using the same registrations / IP addresses i.e. one for one swap out. Anyone have VVX's working with SCA ? Bob -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150427/a4501c04/attachment.html From ankit_doshi2011 at yahoo.com Tue Apr 28 14:06:54 2015 From: ankit_doshi2011 at yahoo.com (ankitdoshi) Date: Tue, 28 Apr 2015 03:06:54 -0700 (MST) Subject: [Freeswitch-users] Custom Ringback Message-ID: <1430215614081-7596156.post@n2.nabble.com> Hello friends, I am newbie for ringback http://https://wiki.freeswitch.org/wiki/Variable_ringback i need something like whenever i will make call until call answer ring must be replace with my custom ring i have tried different solutions for that but didn't get exact solution as i need My current dialplan show me like but its didn't work is it right way to make a ringback as dialplan shows ? Please let me know if i am doing anything wrong or need to change something to make it work Thanks in advance for suggestions and help -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Custom-Ringback-tp7596156.html Sent from the freeswitch-users mailing list archive at Nabble.com. From mike at jerris.com Tue Apr 28 16:54:56 2015 From: mike at jerris.com (Michael Jerris) Date: Tue, 28 Apr 2015 08:54:56 -0400 Subject: [Freeswitch-users] Polycom VVX Shared Call Appearance In-Reply-To: <040c01d08163$c3f78b70$4be6a250$@experient.com> References: <040c01d08163$c3f78b70$4be6a250$@experient.com> Message-ID: we have had that working for a long time. Can you compare sip traces on working vs non working to see what changed? On Monday, April 27, 2015, Bob McCarthy wrote: > Trying to upgrade our Polycom Phones from SoundPoint 670?s to VVX 600?s. > > We have had Shared Call appearance working for the last couple of years on > the 670?s. We have it mostly working on the VVX except for the on hold > pick-off. > > > > The pick-off enters the dial-plan which then fails. We never needed to > dial plan this for the 670?s. Using the same registrations / IP addresses > i.e. one for one swap out. > > > > Anyone have VVX?s working with SCA ? > > > > > > Bob > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150428/8274038a/attachment.html From bhavikpatel14388 at gmail.com Tue Apr 28 17:26:46 2015 From: bhavikpatel14388 at gmail.com (bhavik patel) Date: Tue, 28 Apr 2015 18:56:46 +0530 Subject: [Freeswitch-users] 407 Proxy authentication Message-ID: Hi, We need 407 Proxy authentication require sip dialog while calling between sip to sip extension. Currently when we are calling, we never got that sip dialog. I am sure there must be some configuration to achieve this. Can anyone please help us to make it working? -- Thanks, Bhavik Patel -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150428/bd23373b/attachment.html From mike at jerris.com Tue Apr 28 17:53:29 2015 From: mike at jerris.com (Michael Jerris) Date: Tue, 28 Apr 2015 09:53:29 -0400 Subject: [Freeswitch-users] 407 Proxy authentication In-Reply-To: References: Message-ID: Check the profile settings for auth and acl. The default configs include profiles for anonymous and auth. > On Apr 28, 2015, at 9:26 AM, bhavik patel wrote: > > Hi, > > We need 407 Proxy authentication require sip dialog while calling between sip to sip extension. Currently when we are calling, we never got that sip dialog. > > I am sure there must be some configuration to achieve this. > > Can anyone please help us to make it working? From norbert.miazek at ubiquity.pl Tue Apr 28 19:41:31 2015 From: norbert.miazek at ubiquity.pl (norb) Date: Tue, 28 Apr 2015 08:41:31 -0700 (MST) Subject: [Freeswitch-users] Problem with message-chat in mod_verto Message-ID: <1430235691196-7596157.post@n2.nabble.com> Hi, i have problem with the module : mod_verto Sending messages via peer-to-peer network isn't working But, but sending messages via conference call is working well I got debug info in fs_cli when i send object via peer to peer: And via conference call (Success [i see it in callee and caller]): -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Problem-with-message-chat-in-mod-verto-tp7596157.html Sent from the freeswitch-users mailing list archive at Nabble.com. From aronp at guaranteedplus.com Wed Apr 29 01:34:21 2015 From: aronp at guaranteedplus.com (Podrigal, Aron) Date: Tue, 28 Apr 2015 17:34:21 -0400 Subject: [Freeswitch-users] follow single endpoint redirect within group Message-ID: Hi, How would one handle a 302 redirect from received from one out of 10 users in the ring group? there is a channel variable here https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/src/mod/endpoints/mod_sofia/sofia.c#6010 to not allow redirect so not to cause the call to be hijacked. However I must use manual-redirect to handle the routing further within fs. Wouldn't it be possible to add some code to originate a new leg to follow that endpoints 302 here https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/src/mod/endpoints/mod_sofia/sofia.c#6111 Thanks -- Aron Podrigal - //Be happy :-) -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150428/7d98f9aa/attachment.html From brian at freeswitch.org Wed Apr 29 01:38:35 2015 From: brian at freeswitch.org (Brian West) Date: Tue, 28 Apr 2015 16:38:35 -0500 Subject: [Freeswitch-users] follow single endpoint redirect within group In-Reply-To: References: Message-ID: Set outbound_redirect_fatal=true in {} and it will let that 302 die. On Tue, Apr 28, 2015 at 4:34 PM, Podrigal, Aron wrote: > Hi, > > How would one handle a 302 redirect from received from one out of 10 users > in the ring group? there is a channel variable here > https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/src/mod/endpoints/mod_sofia/sofia.c#6010 to > not allow redirect so not to cause the call to be hijacked. However I must > use manual-redirect to handle the routing further within fs. Wouldn't it be > possible to add some code to originate a new leg to follow that endpoints > 302 here > https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/src/mod/endpoints/mod_sofia/sofia.c#6111 > > > Thanks > > -- > Aron Podrigal > - > //Be happy :-) > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com ClueCon 2015 Call for Speakers | Register TODAY! | Reddit: /r/freeswitch *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150428/9dd36f7e/attachment.html From aronp at guaranteedplus.com Wed Apr 29 01:54:38 2015 From: aronp at guaranteedplus.com (Podrigal, Aron) Date: Tue, 28 Apr 2015 17:54:38 -0400 Subject: [Freeswitch-users] follow single endpoint redirect within group In-Reply-To: References: Message-ID: If I call multiple users and one of them sends a 302, I want to follow the 302 for that user, while still ringing the other users. On Tue, Apr 28, 2015 at 5:38 PM, Brian West wrote: > Set outbound_redirect_fatal=true in {} and it will let that 302 die. > > On Tue, Apr 28, 2015 at 4:34 PM, Podrigal, Aron > wrote: > >> Hi, >> >> How would one handle a 302 redirect from received from one out of 10 >> users in the ring group? there is a channel variable here >> https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/src/mod/endpoints/mod_sofia/sofia.c#6010 to >> not allow redirect so not to cause the call to be hijacked. However I must >> use manual-redirect to handle the routing further within fs. Wouldn't it be >> possible to add some code to originate a new leg to follow that endpoints >> 302 here >> https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/src/mod/endpoints/mod_sofia/sofia.c#6111 >> >> >> Thanks >> >> -- >> Aron Podrigal >> - >> //Be happy :-) >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > > *Brian West* > brian at freeswitch.org > > > *Twitter: @FreeSWITCH , @briankwest* > http://www.freeswitchbook.com > http://www.freeswitchcookbook.com > > ClueCon 2015 Call for Speakers > | Register > TODAY! | Reddit: /r/freeswitch > > > *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) > *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Aron Podrigal - //Be happy :-) -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150428/c3b76b1a/attachment-0001.html From bhavikpatel14388 at gmail.com Wed Apr 29 11:50:39 2015 From: bhavikpatel14388 at gmail.com (bhavik patel) Date: Wed, 29 Apr 2015 13:20:39 +0530 Subject: [Freeswitch-users] 407 Proxy authentication In-Reply-To: References: Message-ID: If you know any specific sip profile parameter then please suggest me. On Tue, Apr 28, 2015 at 7:23 PM, Michael Jerris wrote: > Check the profile settings for auth and acl. The default configs include > profiles for anonymous and auth. > > > On Apr 28, 2015, at 9:26 AM, bhavik patel > wrote: > > > > Hi, > > > > We need 407 Proxy authentication require sip dialog while calling > between sip to sip extension. Currently when we are calling, we never got > that sip dialog. > > > > I am sure there must be some configuration to achieve this. > > > > Can anyone please help us to make it working? > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Thanks, Bhavik Patel -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150429/6ab6a530/attachment.html From paul.atreides83 at googlemail.com Wed Apr 29 13:37:13 2015 From: paul.atreides83 at googlemail.com (Paul Atreides) Date: Wed, 29 Apr 2015 11:37:13 +0200 Subject: [Freeswitch-users] Remote Control for SIP Clients Message-ID: Hi, is it possible to remotely control a sip client. Like dialing numbers over an computer program or picking up the phone? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150429/e4f02dfb/attachment.html From naveen.khanna.bm at gmail.com Wed Apr 29 15:20:56 2015 From: naveen.khanna.bm at gmail.com (Naveen Khanna) Date: Wed, 29 Apr 2015 16:50:56 +0530 Subject: [Freeswitch-users] Remote Control for SIP Clients In-Reply-To: References: Message-ID: I believe you are looking for SIP Autoanswer following link should help https://wiki.freeswitch.org/wiki/Variable_sip_auto_answer And for dialling you can use originate https://wiki.freeswitch.org/wiki/Mod_commands#originate via ESL You can further get information on https://wiki.freeswitch.org/wiki/Event_Socket_Library as to how to write the script for program based dialling. Regards, Naveen Khanna > On 29-Apr-2015, at 3:07 pm, Paul Atreides > wrote: > > Hi, > > is it possible to remotely control a sip client. Like dialing numbers over an computer program > or picking up the phone? > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150429/dcaeba71/attachment.html From jhorsburgh at gmail.com Wed Apr 29 15:36:20 2015 From: jhorsburgh at gmail.com (Jeremy) Date: Wed, 29 Apr 2015 21:36:20 +1000 Subject: [Freeswitch-users] Duplicate DTMF Issue - Solved Message-ID: Hey Giovanni, Just an update, I made the changes as you suggested and it seems to be working very well! Thank you very much! Kind Regards, Jeremy Hey Giovanni, Awesome! I will compile it tonight and let you know how it goes. Thank you again for your help. Jeremy Hello Jeremy, ok, understood now. Gsmopen uses internally spandsp to detect DTMFs. Because of possible false multiple detections, there is an hardcoded minimum duration of 350 ms for each DTMF. In your specific case, edit mod_gsmopen.cpp in /usr/src/freeswitch/src/mod/endpoints/mod_gsmopen, and modify the value at line 3302: if ((new_dtmf_timestamp - tech_pvt->old_dtmf_timestamp) > 350000) { //FIXME: make it configurable change that value to 50000 or little less (is not configurable, as you can see :) ) and recompile (eg: from /usr/src/freeswitch type make mod_gsmopen-install) That should do the trick. Let us know if you encounter problems. -giovanni On Thu, Apr 23, 2015 at 2:39 PM, Jeremy > wrote: >** Hi Giovanni, **>>* Thank you for your reply, sorry I didn't explain the problem very well. *>>* I am trying to detect a string of DTMF's with a short pulse duration (about 50ms) and the normal DTMF detection is not able to reliably do this (it seems to miss almost all of the tones). *>>* Spandsp appears to be able to reliably do this but when I enable spandsp, I get duplicate tones detected by both spandsp and gsmopen (I think its gsmopen, example below). *>>* You are correct. Is it possible for gsmopen not to recognize DTMF's and use only spandsp to analyze the audio? *>>* Thank you for your help in advance. *>>* Jeremy. *>>>* P.S. Greatly appreciate the work you have put into GSMopen, brilliant work! *>>>* Hello Jeremy, *>>* I've not understood the problem, and the solution you are looking for. *>>* You want gsmopen not to recognize DTMFs, so you can analyze the audio with *>* spandsp? *>>* Can you give more info ? *>>* -giovanni *>>* On Wed, Apr 22, 2015 at 2:58 PM, jhorsburgh >> wrote: *>>* >* Hello All, *>* *>* I am having some issues detecting DTMF tones and was hoping *>* *>* someone could shed some light on the problem. *>* *>>* *Background* *>* *>* I am using Freeswitch (1.4.14~32bit) with GSMopen to receive calls and *>* *>* process high-speed DTMF signal for use with Alarm Systems. Unfortunately *>* *>* the *>* *>* standard inband DTMF detection is not quite up to the task but spandsp *>* *>* works *>* *>* perfectly. *>* *>>* *Problem* *>* *>* The problem I am having is that the standard inband DTMF detection remains *>* *>* enabled when spandsp is enabled producing duplicates of each detected tone. *>* *>>* Is there a way of disabling DTMF detection with the exception of spandsp? *>* *>>* Any help would be greatly appreciated. *>* *>>* Kind regards, *>* *>* Jeremy *>* *>>>>* 2015-04-22 12:18:22.129468 [DEBUG] mod_gsmopen.cpp:919 rev 1.4.14~32bit *>* *>* [(nil)|37 ][DEBUG_GSMOPEN 919 ][interface1][-1, 5, 5] *>* *>* gsmopen/interface1 CHANNEL got *>* *>* SWITCH_MESSAGE_INDICATE_TRANSCODING_NECESSARY *>* *>* 2015-04-22 12:18:22.569494 [DEBUG] switch_channel.c:488 RECV DTMF 5:2000 *>* *>* 2015-04-22 12:18:22.569494 [DEBUG] mod_gsmopen.cpp:745 rev 1.4.14~32bit *>* *>* [(nil)|37 ][DEBUG_GSMOPEN 745 ][interface1][-1, 5, 5] DTMF DETECTED: *>* *>* [5] new_dtmf_timestamp: 1652802529, delta_t: 515839955 *>* *>* 2015-04-22 12:18:22.569494 [DEBUG] mod_spandsp_dsp.c:373 DTMF BEGIN *>* *>* DETECTED: [5] *>* *>* 2015-04-22 12:18:22.569494 [DEBUG] switch_channel.c:488 RECV DTMF 5:2000 *>* *>* 2015-04-22 12:18:22.749457 [DEBUG] mod_spandsp_dsp.c:385 DTMF END DETECTED: *>* *>* [5], duration = 178 ms *>* *>* 2015-04-22 12:18:23.049446 [DEBUG] switch_channel.c:488 RECV DTMF 3:2000 *>* *>* 2015-04-22 12:18:23.049446 [DEBUG] mod_gsmopen.cpp:745 rev 1.4.14~32bit *>* *>* [(nil)|37 ][DEBUG_GSMOPEN 745 ][interface1][-1, 5, 5] DTMF DETECTED: *>* *>* [3] new_dtmf_timestamp: 1653282480, delta_t: 479951 *>* *>* 2015-04-22 12:18:23.049446 [DEBUG] mod_spandsp_dsp.c:373 DTMF BEGIN *>* *>* DETECTED: [3] *>* *>* 2015-04-22 12:18:23.049446 [DEBUG] switch_channel.c:488 RECV DTMF 3:2000 *>* *>* 2015-04-22 12:18:23.229447 [DEBUG] mod_spandsp_dsp.c:385 DTMF END DETECTED: *>* *>* [3], duration = 165 ms *>* *>* 2015-04-22 12:18:23.529449 [DEBUG] switch_channel.c:488 RECV DTMF 5:2000 *>* *>* 2015-04-22 12:18:23.529449 [DEBUG] mod_gsmopen.cpp:745 rev 1.4.14~32bit *>* *>* [(nil)|37 ][DEBUG_GSMOPEN 745 ][interface1][-1, 5, 5] DTMF DETECTED: *>* *>* [5] new_dtmf_timestamp: 1653762488, delta_t: 480008 *>* *>* 2015-04-22 12:18:23.549464 [DEBUG] mod_spandsp_dsp.c:373 DTMF BEGIN *>* *>* DETECTED: [5] *>* *>* 2015-04-22 12:18:23.549464 [DEBUG] switch_channel.c:488 RECV DTMF 5:2000 *>* *>* 2015-04-22 12:18:23.689495 [DEBUG] mod_spandsp_dsp.c:385 DTMF END DETECTED: *>* *>* [5], duration = 140 ms *>* *>* 2015-04-22 12:18:24.029440 [DEBUG] switch_channel.c:488 RECV DTMF 2:2000 *>* *>* 2015-04-22 12:18:24.029440 [DEBUG] mod_gsmopen.cpp:745 rev 1.4.14~32bit *>* *>* [(nil)|37 ][DEBUG_GSMOPEN 745 ][interface1][-1, 5, 5] DTMF DETECTED: *>* *>* [2] new_dtmf_timestamp: 1654262471, delta_t: 499983 *>* *>* 2015-04-22 12:18:24.029440 [DEBUG] mod_spandsp_dsp.c:373 DTMF BEGIN *>* *>* DETECTED: [2] *>* *>* 2015-04-22 12:18:24.029440 [DEBUG] switch_channel.c:488 RECV DTMF 2:2000 *>* *>* 2015-04-22 12:18:24.169442 [DEBUG] mod_spandsp_dsp.c:385 DTMF END DETECTED: *>* *>* [2], duration = 153 ms *>* *>* 2015-04-22 12:18:24.489445 [DEBUG] switch_channel.c:488 RECV DTMF 5:2000 *>* *>* 2015-04-22 12:18:24.489445 [DEBUG] mod_gsmopen.cpp:745 rev 1.4.14~32bit *>* *>* [(nil)|37 ][DEBUG_GSMOPEN 745 ][interface1][-1, 5, 5] DTMF DETECTED: *>* *>* [5] new_dtmf_timestamp: 1654722477, delta_t: 460006 *>* *>* 2015-04-22 12:18:24.489445 [DEBUG] mod_spandsp_dsp.c:373 DTMF BEGIN *>* *>* DETECTED: [5] *>* *>* 2015-04-22 12:18:24.489445 [DEBUG] switch_channel.c:488 RECV DTMF 5:2000 *>* *>* 2015-04-22 12:18:24.649447 [DEBUG] mod_spandsp_dsp.c:385 DTMF END DETECTED: *>* *>* [5], duration = 153 ms *>* *>* 2015-04-22 12:18:25.609450 [INFO] switch_cpp.cpp:1328 Failed to validate *>* *>* Checksum - '5533552255' *>* *>>>>>>>* -- *>* *>* View this message in context: *>* *>* http://freeswitch-users.2379917.n2.nabble.com/Duplicate-DTMF-Issue-tp7596155.html > *>* *>* Sent from the freeswitch-users mailing list archive at Nabble.com. *>* *>>* _________________________________________________________________________ *>* *>* Professional FreeSWITCH Consulting Services: *>* *>* consulting at freeswitch.org > *>* *>* http://www.freeswitchsolutions.com > *>* *>>* Official FreeSWITCH Sites *>* *>* http://www.freeswitch.org > *>* *>* http://confluence.freeswitch.org > *>* *>* http://www.cluecon.com > *>* *>>* FreeSWITCH-users mailing list *>* *>* FreeSWITCH-users at lists.freeswitch.org > *>* *>* http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > *>* *>* UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > *>* *>* http://www.freeswitch.org > *>* *> *>>>* -- *>* Sincerely, *>>* Giovanni Maruzzelli *>* Cell : +39-347-2665618 *>* -------------- next part -------------- *>* An HTML attachment was scrubbed... *>* URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150422/c1e71dbc/attachment.html *>>>>* _________________________________________________________________________ *>* Professional FreeSWITCH Consulting Services: *>* consulting at freeswitch.org *>* http://www.freeswitchsolutions.com *>>* Official FreeSWITCH Sites *>* http://www.freeswitch.org *>* http://confluence.freeswitch.org *>* http://www.cluecon.com *>>* FreeSWITCH-users mailing list *>* FreeSWITCH-users at lists.freeswitch.org *>* http://lists.freeswitch.org/mailman/listinfo/freeswitch-users *>* UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users *>* http://www.freeswitch.org *> -- Sincerely, Giovanni Maruzzelli Cell : +39-347-2665618 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150423/9c2753e2/attachment-0001.html -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150424/74b3ecd7/attachment-0001.html -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150429/0a6be492/attachment-0001.html From gmaruzz at gmail.com Wed Apr 29 15:50:21 2015 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Wed, 29 Apr 2015 13:50:21 +0200 Subject: [Freeswitch-users] Duplicate DTMF Issue - Solved In-Reply-To: References: Message-ID: Happy to read it ! :) On Wed, Apr 29, 2015 at 1:36 PM, Jeremy wrote: > Hey Giovanni, > > Just an update, I made the changes as you suggested and it seems to be working very well! Thank you very much! > > > Kind Regards, > > Jeremy > > > > > > Hey Giovanni, > > Awesome! I will compile it tonight and let you know how it goes. > > Thank you again for your help. > > Jeremy > > > > > > > Hello Jeremy, > > ok, understood now. > > Gsmopen uses internally spandsp to detect DTMFs. > > Because of possible false multiple detections, there is an hardcoded > minimum duration of 350 ms for each DTMF. > > In your specific case, edit mod_gsmopen.cpp in > /usr/src/freeswitch/src/mod/endpoints/mod_gsmopen, and modify the value at > line 3302: > > if ((new_dtmf_timestamp - tech_pvt->old_dtmf_timestamp) > > 350000) { //FIXME: make it configurable > > change that value to 50000 or little less (is not configurable, as you can > see :) ) and recompile (eg: from /usr/src/freeswitch type make > mod_gsmopen-install) > > That should do the trick. > > Let us know if you encounter problems. > > -giovanni > > > On Thu, Apr 23, 2015 at 2:39 PM, Jeremy > > wrote: > > >** Hi Giovanni, > **>>* Thank you for your reply, sorry I didn't explain the problem very well. > *>>* I am trying to detect a string of DTMF's with a short pulse > duration (about 50ms) and the normal DTMF detection is not able to > reliably do this (it seems to miss almost all of the tones). > *>>* Spandsp appears to be able to reliably do this but when I enable > spandsp, I get duplicate tones detected by both spandsp and gsmopen (I > think its gsmopen, example below). > *>>* You are correct. Is it possible for gsmopen not to recognize > DTMF's and use only spandsp to analyze the audio? > *>>* Thank you for your help in advance. > *>>* Jeremy. > *>>>* P.S. Greatly appreciate the work you have put into GSMopen, > brilliant work! > *>>>* Hello Jeremy, > *>>* I've not understood the problem, and the solution you are looking for. > *>>* You want gsmopen not to recognize DTMFs, so you can analyze the audio with > *>* spandsp? > *>>* Can you give more info ? > *>>* -giovanni > *>>* On Wed, Apr 22, 2015 at 2:58 PM, jhorsburgh > >> > wrote: > *>>* >* Hello All, > *>* *>* I am having some issues detecting DTMF tones and was hoping > *>* *>* someone could shed some light on the problem. > *>* *>>* *Background* > *>* *>* I am using Freeswitch (1.4.14~32bit) with GSMopen to receive calls and > *>* *>* process high-speed DTMF signal for use with Alarm Systems. Unfortunately > *>* *>* the > *>* *>* standard inband DTMF detection is not quite up to the task but spandsp > *>* *>* works > *>* *>* perfectly. > *>* *>>* *Problem* > *>* *>* The problem I am having is that the standard inband DTMF > detection remains > *>* *>* enabled when spandsp is enabled producing duplicates of each > detected tone. > *>* *>>* Is there a way of disabling DTMF detection with the exception > of spandsp? > *>* *>>* Any help would be greatly appreciated. > *>* *>>* Kind regards, > *>* *>* Jeremy > *>* *>>>>* 2015-04-22 12:18:22.129468 [DEBUG] mod_gsmopen.cpp:919 rev > 1.4.14~32bit > *>* *>* [(nil)|37 ][DEBUG_GSMOPEN 919 ][interface1][-1, 5, 5] > *>* *>* gsmopen/interface1 CHANNEL got > *>* *>* SWITCH_MESSAGE_INDICATE_TRANSCODING_NECESSARY > *>* *>* 2015-04-22 12:18:22.569494 [DEBUG] switch_channel.c:488 RECV DTMF 5:2000 > *>* *>* 2015-04-22 12:18:22.569494 [DEBUG] mod_gsmopen.cpp:745 rev 1.4.14~32bit > *>* *>* [(nil)|37 ][DEBUG_GSMOPEN 745 ][interface1][-1, 5, 5] > DTMF DETECTED: > *>* *>* [5] new_dtmf_timestamp: 1652802529, delta_t: 515839955 > *>* *>* 2015-04-22 12:18:22.569494 [DEBUG] mod_spandsp_dsp.c:373 DTMF BEGIN > *>* *>* DETECTED: [5] > *>* *>* 2015-04-22 12:18:22.569494 [DEBUG] switch_channel.c:488 RECV DTMF 5:2000 > *>* *>* 2015-04-22 12:18:22.749457 [DEBUG] mod_spandsp_dsp.c:385 DTMF > END DETECTED: > *>* *>* [5], duration = 178 ms > *>* *>* 2015-04-22 12:18:23.049446 [DEBUG] switch_channel.c:488 RECV DTMF 3:2000 > *>* *>* 2015-04-22 12:18:23.049446 [DEBUG] mod_gsmopen.cpp:745 rev 1.4.14~32bit > *>* *>* [(nil)|37 ][DEBUG_GSMOPEN 745 ][interface1][-1, 5, 5] > DTMF DETECTED: > *>* *>* [3] new_dtmf_timestamp: 1653282480, delta_t: 479951 > *>* *>* 2015-04-22 12:18:23.049446 [DEBUG] mod_spandsp_dsp.c:373 DTMF BEGIN > *>* *>* DETECTED: [3] > *>* *>* 2015-04-22 12:18:23.049446 [DEBUG] switch_channel.c:488 RECV DTMF 3:2000 > *>* *>* 2015-04-22 12:18:23.229447 [DEBUG] mod_spandsp_dsp.c:385 DTMF > END DETECTED: > *>* *>* [3], duration = 165 ms > *>* *>* 2015-04-22 12:18:23.529449 [DEBUG] switch_channel.c:488 RECV DTMF 5:2000 > *>* *>* 2015-04-22 12:18:23.529449 [DEBUG] mod_gsmopen.cpp:745 rev 1.4.14~32bit > *>* *>* [(nil)|37 ][DEBUG_GSMOPEN 745 ][interface1][-1, 5, 5] > DTMF DETECTED: > *>* *>* [5] new_dtmf_timestamp: 1653762488, delta_t: 480008 > *>* *>* 2015-04-22 12:18:23.549464 [DEBUG] mod_spandsp_dsp.c:373 DTMF BEGIN > *>* *>* DETECTED: [5] > *>* *>* 2015-04-22 12:18:23.549464 [DEBUG] switch_channel.c:488 RECV DTMF 5:2000 > *>* *>* 2015-04-22 12:18:23.689495 [DEBUG] mod_spandsp_dsp.c:385 DTMF > END DETECTED: > *>* *>* [5], duration = 140 ms > *>* *>* 2015-04-22 12:18:24.029440 [DEBUG] switch_channel.c:488 RECV DTMF 2:2000 > *>* *>* 2015-04-22 12:18:24.029440 [DEBUG] mod_gsmopen.cpp:745 rev 1.4.14~32bit > *>* *>* [(nil)|37 ][DEBUG_GSMOPEN 745 ][interface1][-1, 5, 5] > DTMF DETECTED: > *>* *>* [2] new_dtmf_timestamp: 1654262471, delta_t: 499983 > *>* *>* 2015-04-22 12:18:24.029440 [DEBUG] mod_spandsp_dsp.c:373 DTMF BEGIN > *>* *>* DETECTED: [2] > *>* *>* 2015-04-22 12:18:24.029440 [DEBUG] switch_channel.c:488 RECV DTMF 2:2000 > *>* *>* 2015-04-22 12:18:24.169442 [DEBUG] mod_spandsp_dsp.c:385 DTMF > END DETECTED: > *>* *>* [2], duration = 153 ms > *>* *>* 2015-04-22 12:18:24.489445 [DEBUG] switch_channel.c:488 RECV DTMF 5:2000 > *>* *>* 2015-04-22 12:18:24.489445 [DEBUG] mod_gsmopen.cpp:745 rev 1.4.14~32bit > *>* *>* [(nil)|37 ][DEBUG_GSMOPEN 745 ][interface1][-1, 5, 5] > DTMF DETECTED: > *>* *>* [5] new_dtmf_timestamp: 1654722477, delta_t: 460006 > *>* *>* 2015-04-22 12:18:24.489445 [DEBUG] mod_spandsp_dsp.c:373 DTMF BEGIN > *>* *>* DETECTED: [5] > *>* *>* 2015-04-22 12:18:24.489445 [DEBUG] switch_channel.c:488 RECV DTMF 5:2000 > *>* *>* 2015-04-22 12:18:24.649447 [DEBUG] mod_spandsp_dsp.c:385 DTMF > END DETECTED: > *>* *>* [5], duration = 153 ms > *>* *>* 2015-04-22 12:18:25.609450 [INFO] switch_cpp.cpp:1328 Failed to validate > *>* *>* Checksum - '5533552255' > *>* *>>>>>>>* -- > *>* *>* View this message in context: > *>* *>* http://freeswitch-users.2379917.n2.nabble.com/Duplicate-DTMF-Issue-tp7596155.html > > > > *>* *>* Sent from the freeswitch-users mailing list archive at Nabble.com. > *>* *>>* _________________________________________________________________________ > *>* *>* Professional FreeSWITCH Consulting Services: > *>* *>* consulting at freeswitch.org > > > *>* *>* http://www.freeswitchsolutions.com > > > > *>* *>>* Official FreeSWITCH Sites > *>* *>* http://www.freeswitch.org > > > *>* *>* http://confluence.freeswitch.org > > > *>* *>* http://www.cluecon.com > > > *>* *>>* FreeSWITCH-users mailing list > *>* *>* FreeSWITCH-users at lists.freeswitch.org > > > > *>* *>* http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > > > *>* *>* UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > > > *>* *>* http://www.freeswitch.org > > > *>* *> > *>>>* -- > *>* Sincerely, > *>>* Giovanni Maruzzelli > *>* Cell : +39-347-2665618 > *>* -------------- next part -------------- > *>* An HTML attachment was scrubbed... > *>* URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150422/c1e71dbc/attachment.html > > *>>>>* _________________________________________________________________________ > *>* Professional FreeSWITCH Consulting Services: > *>* consulting at freeswitch.org > > *>* http://www.freeswitchsolutions.com > *>>* Official FreeSWITCH Sites > *>* http://www.freeswitch.org > *>* http://confluence.freeswitch.org > *>* http://www.cluecon.com > *>>* FreeSWITCH-users mailing list > *>* FreeSWITCH-users at lists.freeswitch.org > > *>* http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > *>* UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > *>* http://www.freeswitch.org > *> > > > -- > Sincerely, > > Giovanni Maruzzelli > Cell : +39-347-2665618 > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150423/9c2753e2/attachment-0001.html > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150424/74b3ecd7/attachment-0001.html > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Sincerely, Giovanni Maruzzelli Cell : +39-347-2665618 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150429/143d1490/attachment-0001.html From idokan at gmail.com Wed Apr 29 18:13:13 2015 From: idokan at gmail.com (ik) Date: Wed, 29 Apr 2015 17:13:13 +0300 Subject: [Freeswitch-users] capture moderator hangup Message-ID: Hello, I have a conference that can only exists on moderator inside, and if the moderator exists, the conference is closed. I'm unable to find how to capture the normal callers, and move them to a new dialplan (for example). Can someone point me where can I find such information? Thanks, Ido -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150429/0f0712c9/attachment.html From agoulis at opensips.org Wed Apr 29 19:05:55 2015 From: agoulis at opensips.org (Alex Goulis) Date: Wed, 29 Apr 2015 10:05:55 -0500 Subject: [Freeswitch-users] ClueCon is right around the corner, and so is your first look at OpenSIPS 2.1! Message-ID: <5540F353.1030007@opensips.org> Hi All, First, we're looking forward to seeing everyone at ClueCon this August. This year we'll be showing off OpenSIPS 2.1 and how the slew of new features will help you enhance the scalability of your freeswitch installations! Registration for the summit will be opening in June and will precede ClueCon as always. Remember, ClueCon registrants will get a discount on the cost of the summit! Also for those of you on the fence for the Amsterdam Summit, we still have a little room left! Come get an early look at OpenSIPS 2.1 on May 12 & 13 2015 at the Westcord Fashion Hotel in Amsterdam. This a 2 day event will cover both beginner and advanced topics. You can get more information about the summit at: http://www.opensips.org/Community/Summit-2015Amsterdam-Schedule We look forward to seeing you in Chicago at Cluecon! -The OpenSIPS Project Team From eagle.antonio at gmail.com Wed Apr 29 20:14:36 2015 From: eagle.antonio at gmail.com (Antonio Teixeira) Date: Wed, 29 Apr 2015 17:14:36 +0100 Subject: [Freeswitch-users] Need an Old .deb Package On Version 1.4.15 Message-ID: Hi there, Due to a possible bug I had to revert back to 1.4.15 when when I try to do *apt-get install freeswitch-mod-xml-rpc* it tries to update to 1.4.18 and if I force apt-get install freeswitch-mod-xml-rpc=1.4.15 it complains *Version .... not found.* I just need this package , forgot to add it when I created the image :(. Thanks Antonio -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150429/4e619276/attachment.html From eagle.antonio at gmail.com Wed Apr 29 20:15:28 2015 From: eagle.antonio at gmail.com (Antonio Teixeira) Date: Wed, 29 Apr 2015 17:15:28 +0100 Subject: [Freeswitch-users] User Context In-Reply-To: References: Message-ID: Brian, Should I move this to Jira or it's something else ? Thanks Antonio 2015-04-26 11:56 GMT+01:00 Antonio Teixeira : > Hi Brian, > > I have attached the profile XML on : > https://pastebin.freeswitch.org/24154 > > Thanks > > > 2015-04-25 17:43 GMT+01:00 Brian West : > >> Well that would all depend on how you're doing authentication, Are you >> doing a challenge to all the calls? >> >> On Fri, Apr 24, 2015 at 12:02 PM, Antonio Teixeira < >> eagle.antonio at gmail.com> wrote: >> >>> Hi, >>> >>> I'm having a small problem with usercontext on a multiple domain setup. >>> >>> Version: >>> FreeSWITCH Version 1.4.18-1~64bit (-1 64bit) >>> >>> Config: >>> https://pastebin.freeswitch.org/24153 >>> >>> Log: >>> 2015-04-24 15:43:58.470673 [INFO] mod_dialplan_xml.c:635 Processing User >>> A <3005>->123 in context default >>> >>> I can't setup the context var and freeswitch fallsback to default. >>> Is this a BUG or I'm to blame ? >>> >>> A/t >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> >> -- >> >> *Brian West* >> brian at freeswitch.org >> >> >> *Twitter: @FreeSWITCH , @briankwest* >> http://www.freeswitchbook.com >> http://www.freeswitchcookbook.com >> >> ClueCon 2015 Call for Speakers >> | Register >> TODAY! | Reddit: /r/freeswitch >> >> >> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) >> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150429/c575ecae/attachment.html From varghesepaul87 at gmail.com Wed Apr 29 21:29:51 2015 From: varghesepaul87 at gmail.com (Varghese Paul) Date: Wed, 29 Apr 2015 10:29:51 -0700 Subject: [Freeswitch-users] 407 Proxy authentication In-Reply-To: References: Message-ID: Hi , You can set this variable in your inbound sip profile. Regards Varghese Paul On Wed, Apr 29, 2015 at 12:50 AM, bhavik patel wrote: > If you know any specific sip profile parameter then please suggest me. > > > On Tue, Apr 28, 2015 at 7:23 PM, Michael Jerris wrote: > >> Check the profile settings for auth and acl. The default configs include >> profiles for anonymous and auth. >> >> > On Apr 28, 2015, at 9:26 AM, bhavik patel >> wrote: >> > >> > Hi, >> > >> > We need 407 Proxy authentication require sip dialog while calling >> between sip to sip extension. Currently when we are calling, we never got >> that sip dialog. >> > >> > I am sure there must be some configuration to achieve this. >> > >> > Can anyone please help us to make it working? >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > Thanks, > Bhavik Patel > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150429/d32f8202/attachment.html From ssinyagin at gmail.com Wed Apr 29 21:34:49 2015 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Wed, 29 Apr 2015 19:34:49 +0200 Subject: [Freeswitch-users] Need an Old .deb Package On Version 1.4.15 In-Reply-To: References: Message-ID: You can easily build them yourself. Here I described the steps for ARM architecture, and x86 will be similar: https://txlab.wordpress.com/2015/04/08/installing-freeswitch-on-scaleway-c1/ On Apr 29, 2015 6:15 PM, "Antonio Teixeira" wrote: > Hi there, > > Due to a possible bug I had to revert back to 1.4.15 when when I try to do > > *apt-get install freeswitch-mod-xml-rpc* > > it tries to update to 1.4.18 and if I force apt-get install > freeswitch-mod-xml-rpc=1.4.15 > it complains *Version .... not found.* > > I just need this package , forgot to add it when I created the image :(. > > Thanks > Antonio > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150429/bc7065de/attachment-0001.html From s.safarov at gmail.com Wed Apr 29 22:27:50 2015 From: s.safarov at gmail.com (Sergey Safarov) Date: Wed, 29 Apr 2015 18:27:50 +0000 Subject: [Freeswitch-users] follow single endpoint redirect within group In-Reply-To: References: Message-ID: Try call endpoint via loopback endpoint. On Wed, Apr 29, 2015, 00:55 Podrigal, Aron wrote: > > If I call multiple users and one of them sends a 302, I want to follow the > 302 for that user, while still ringing the other users. > > On Tue, Apr 28, 2015 at 5:38 PM, Brian West wrote: > >> Set outbound_redirect_fatal=true in {} and it will let that 302 die. >> >> On Tue, Apr 28, 2015 at 4:34 PM, Podrigal, Aron > > wrote: >> >>> Hi, >>> >>> How would one handle a 302 redirect from received from one out of 10 >>> users in the ring group? there is a channel variable here >>> https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/src/mod/endpoints/mod_sofia/sofia.c#6010 to >>> not allow redirect so not to cause the call to be hijacked. However I must >>> use manual-redirect to handle the routing further within fs. Wouldn't it be >>> possible to add some code to originate a new leg to follow that endpoints >>> 302 here >>> https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/src/mod/endpoints/mod_sofia/sofia.c#6111 >>> >>> >>> Thanks >>> >>> -- >>> Aron Podrigal >>> - >>> //Be happy :-) >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> >> -- >> >> *Brian West* >> brian at freeswitch.org >> >> >> *Twitter: @FreeSWITCH , @briankwest* >> http://www.freeswitchbook.com >> http://www.freeswitchcookbook.com >> >> ClueCon 2015 Call for Speakers >> | Register >> TODAY! | Reddit: /r/freeswitch >> >> >> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) >> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > Aron Podrigal > - > //Be happy :-) > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150429/17177c4c/attachment.html From aqsyounas at gmail.com Wed Apr 29 22:49:05 2015 From: aqsyounas at gmail.com (Aqs Younas) Date: Wed, 29 Apr 2015 11:49:05 -0700 Subject: [Freeswitch-users] Best sound file format for freeswitch In-Reply-To: References: Message-ID: Thanks. Tunbridge, Anthony for explanation. On 23 April 2015 at 14:20, Anthony Minessale wrote: > WAV is best if you have several callers with varying codecs. Its stored > decoded and only has to encode and PCMU for instance from SLIN is not very > costly. > Ideally you want to match the rate and number of channels that most > callers will have. > > > On Thu, Apr 23, 2015 at 4:06 PM, Chris Tunbridge > wrote: > >> Brain i think what he's trying to say is that he'll have upto 250 >> callers, that can call in at any time, and when a caller calls in, they >> need to start at the beginning of this list, not where the stream currently >> is. >> >> On Thu, Apr 23, 2015 at 2:19 PM, Brian West wrote: >> >>> Still doesn't matter, If you have 100 files you wish to pay in sequence >>> to all the callers, the same applies. Its still one local string with a >>> list of things to play and its shared to all callers. >>> >>> On Thu, Apr 23, 2015 at 11:43 AM, Aqs Younas >>> wrote: >>> >>>> Hi, Brian. >>>> >>>> I think you misunderstood my question. Its not one file but 100 files >>>> that we are playing in sequence(1-100) to every Caller. >>>> >>>> Thanks >>>> >>>> >>>> On 23 April 2015 at 21:33, Aqs Younas wrote: >>>> >>>>> Yep, We are playing same sound files to every user. Actually sound >>>>> files are some sort of lecture files. As soon as a call comes in, we start >>>>> playing files from 1 to 100. >>>>> >>>>> On 23 April 2015 at 21:21, Giovanni Maruzzelli >>>>> wrote: >>>>> >>>>>> >>>>>> >>>>>> On Thu, Apr 23, 2015 at 6:16 PM, Aqs Younas >>>>>> wrote: >>>>>> >>>>>>> Thanks for your quick reply. >>>>>>> >>>>>>> Does suppressing 2 channels would be helpful? >>>>>>> >>>>>>> >>>>>> yes, go from stereo mp3 to mono with one only pass. You can use sox, >>>>>> lame, audacty or whatever, but probably the easiest and bullet proof way is >>>>>> to load mod_shout in fs_encode, and use it as per mod_native_file >>>>>> confluence page instructions >>>>>> >>>>>> -giovanni >>>>>> >>>>>> >>>>>> >>>>>> >>>>>>> On 23 April 2015 at 20:59, Chris Tunbridge >>>>>>> wrote: >>>>>>> >>>>>>>> This depends on the codec your users are using. >>>>>>>> >>>>>>>> If its PCMA or PCMU then you should be fine with wav, and if you >>>>>>>> want to suppress the 2 channels message you can convert it to a mono file, >>>>>>>> here's an example with sox. >>>>>>>> >>>>>>>> sox input.mp3 -c 1 -r 8000 output.wav >>>>>>>> >>>>>>>> On Thu, Apr 23, 2015 at 9:18 AM, Aqs Younas >>>>>>>> wrote: >>>>>>>> >>>>>>>>> Hi,users. >>>>>>>>> >>>>>>>>> I have 1-100 sound files (mp3) and wants to play these files in >>>>>>>>> loop from 1 to 100 to more than 250 concurrent users. >>>>>>>>> >>>>>>>>> Currently these sound files have format. >>>>>>>>> >>>>>>>>> Codec: MPEG audio layer 1/2/3 (mpga) >>>>>>>>> Channels: Stereo >>>>>>>>> Sample Rate: 22050 Hz >>>>>>>>> Bitrate: 64 kb/s >>>>>>>>> >>>>>>>>> While playing these files I see in freeswitch log. >>>>>>>>> >>>>>>>>> >>>>>>>>> *2015-04-23 14:17:59.351859 [WARNING] switch_core_file.c:230 File >>>>>>>>> has 2 channels, muxing to 1 channel will occur.* >>>>>>>>> >>>>>>>>> >>>>>>>>> I want my freeswitch to have minimum load while playing these >>>>>>>>> files (located on freeswitch server). >>>>>>>>> >>>>>>>>> I which file format I must convert these files to have my >>>>>>>>> freeswitch with minimum load. >>>>>>>>> >>>>>>>>> Your Guys opinion is much appreciated. >>>>>>>>> >>>>>>>>> Thanks >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> _________________________________________________________________________ >>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>> consulting at freeswitch.org >>>>>>>>> http://www.freeswitchsolutions.com >>>>>>>>> >>>>>>>>> Official FreeSWITCH Sites >>>>>>>>> http://www.freeswitch.org >>>>>>>>> http://confluence.freeswitch.org >>>>>>>>> http://www.cluecon.com >>>>>>>>> >>>>>>>>> FreeSWITCH-users mailing list >>>>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>> UNSUBSCRIBE: >>>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>>> http://www.freeswitch.org >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> _________________________________________________________________________ >>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>> consulting at freeswitch.org >>>>>>>> http://www.freeswitchsolutions.com >>>>>>>> >>>>>>>> Official FreeSWITCH Sites >>>>>>>> http://www.freeswitch.org >>>>>>>> http://confluence.freeswitch.org >>>>>>>> http://www.cluecon.com >>>>>>>> >>>>>>>> FreeSWITCH-users mailing list >>>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>> UNSUBSCRIBE: >>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>> http://www.freeswitch.org >>>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> _________________________________________________________________________ >>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>> consulting at freeswitch.org >>>>>>> http://www.freeswitchsolutions.com >>>>>>> >>>>>>> Official FreeSWITCH Sites >>>>>>> http://www.freeswitch.org >>>>>>> http://confluence.freeswitch.org >>>>>>> http://www.cluecon.com >>>>>>> >>>>>>> FreeSWITCH-users mailing list >>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> UNSUBSCRIBE: >>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>> http://www.freeswitch.org >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Sincerely, >>>>>> >>>>>> Giovanni Maruzzelli >>>>>> Cell : +39-347-2665618 >>>>>> >>>>>> >>>>>> _________________________________________________________________________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at freeswitch.org >>>>>> http://www.freeswitchsolutions.com >>>>>> >>>>>> Official FreeSWITCH Sites >>>>>> http://www.freeswitch.org >>>>>> http://confluence.freeswitch.org >>>>>> http://www.cluecon.com >>>>>> >>>>>> FreeSWITCH-users mailing list >>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE: >>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>> >>>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> >>> -- >>> >>> *Brian West* >>> brian at freeswitch.org >>> >>> >>> *Twitter: @FreeSWITCH , @briankwest* >>> http://www.freeswitchbook.com >>> http://www.freeswitchcookbook.com >>> >>> ClueCon 2015 Call for Speakers >>> | Register >>> TODAY! | Reddit: /r/freeswitch >>> >>> >>> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) >>> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > Anthony Minessale II ? @anthmfs ? @FreeSWITCH ? > > ? http://freeswitch.org/ ? http://cluecon.com/ ? > http://twitter.com/FreeSWITCH > ? irc.freenode.net #freeswitch ? *http://freeswitch.org/g+ > * > > ClueCon Weekly Development Call > [image: ?] sip:888 at conference.freeswitch.org [image: ?] +19193869900 > > https://www.youtube.com/watch?v=9XXgW34t40s > https://www.youtube.com/watch?v=NLaDpGQuZDA > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150429/35f8fc97/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 1767 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150429/35f8fc97/attachment-0001.png From brian at freeswitch.org Thu Apr 30 00:31:31 2015 From: brian at freeswitch.org (Brian West) Date: Wed, 29 Apr 2015 15:31:31 -0500 Subject: [Freeswitch-users] follow single endpoint redirect within group In-Reply-To: References: Message-ID: or loop back to yourself, but there is no simple way to do this really. On Tue, Apr 28, 2015 at 4:54 PM, Podrigal, Aron wrote: > > If I call multiple users and one of them sends a 302, I want to follow the > 302 for that user, while still ringing the other users. > > On Tue, Apr 28, 2015 at 5:38 PM, Brian West wrote: > >> Set outbound_redirect_fatal=true in {} and it will let that 302 die. >> >> On Tue, Apr 28, 2015 at 4:34 PM, Podrigal, Aron > > wrote: >> >>> Hi, >>> >>> How would one handle a 302 redirect from received from one out of 10 >>> users in the ring group? there is a channel variable here >>> https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/src/mod/endpoints/mod_sofia/sofia.c#6010 to >>> not allow redirect so not to cause the call to be hijacked. However I must >>> use manual-redirect to handle the routing further within fs. Wouldn't it be >>> possible to add some code to originate a new leg to follow that endpoints >>> 302 here >>> https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/src/mod/endpoints/mod_sofia/sofia.c#6111 >>> >>> >>> Thanks >>> >>> -- >>> Aron Podrigal >>> - >>> //Be happy :-) >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> >> -- >> >> *Brian West* >> brian at freeswitch.org >> >> >> *Twitter: @FreeSWITCH , @briankwest* >> http://www.freeswitchbook.com >> http://www.freeswitchcookbook.com >> >> ClueCon 2015 Call for Speakers >> | Register >> TODAY! | Reddit: /r/freeswitch >> >> >> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) >> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > Aron Podrigal > - > //Be happy :-) > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com ClueCon 2015 Call for Speakers | Register TODAY! | Reddit: /r/freeswitch *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150429/60de9620/attachment.html From bhavikpatel14388 at gmail.com Thu Apr 30 10:48:08 2015 From: bhavikpatel14388 at gmail.com (bhavik patel) Date: Thu, 30 Apr 2015 12:18:08 +0530 Subject: [Freeswitch-users] 407 Proxy authentication In-Reply-To: References: Message-ID: Hi, Thanks for reply,I tried but still same. Any other configuration missing. On Wed, Apr 29, 2015 at 10:59 PM, Varghese Paul wrote: > Hi , > > You can set this variable in your inbound sip profile. > > > > > Regards > > Varghese Paul > > > On Wed, Apr 29, 2015 at 12:50 AM, bhavik patel > wrote: > >> If you know any specific sip profile parameter then please suggest me. >> >> >> On Tue, Apr 28, 2015 at 7:23 PM, Michael Jerris wrote: >> >>> Check the profile settings for auth and acl. The default configs >>> include profiles for anonymous and auth. >>> >>> > On Apr 28, 2015, at 9:26 AM, bhavik patel >>> wrote: >>> > >>> > Hi, >>> > >>> > We need 407 Proxy authentication require sip dialog while calling >>> between sip to sip extension. Currently when we are calling, we never got >>> that sip dialog. >>> > >>> > I am sure there must be some configuration to achieve this. >>> > >>> > Can anyone please help us to make it working? >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> >> -- >> Thanks, >> Bhavik Patel >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Thanks, Bhavik Patel -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150430/ba18f98b/attachment.html From ssinyagin at gmail.com Thu Apr 30 12:23:28 2015 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Thu, 30 Apr 2015 10:23:28 +0200 Subject: [Freeswitch-users] 407 Proxy authentication In-Reply-To: References: Message-ID: I think it's the proper time you would start reading the book :-) https://www.packtpub.com/networking-and-servers/freeswitch-12 or pay someone for training On Thu, Apr 30, 2015 at 8:48 AM, bhavik patel wrote: > Hi, > > Thanks for reply,I tried but still same. > Any other configuration missing. > > On Wed, Apr 29, 2015 at 10:59 PM, Varghese Paul > wrote: >> >> Hi , >> >> You can set this variable in your inbound sip profile. >> >> >> >> >> Regards >> >> Varghese Paul >> >> >> On Wed, Apr 29, 2015 at 12:50 AM, bhavik patel >> wrote: >>> >>> If you know any specific sip profile parameter then please suggest me. >>> >>> >>> On Tue, Apr 28, 2015 at 7:23 PM, Michael Jerris wrote: >>>> >>>> Check the profile settings for auth and acl. The default configs >>>> include profiles for anonymous and auth. >>>> >>>> > On Apr 28, 2015, at 9:26 AM, bhavik patel >>>> > wrote: >>>> > >>>> > Hi, >>>> > >>>> > We need 407 Proxy authentication require sip dialog while calling >>>> > between sip to sip extension. Currently when we are calling, we never got >>>> > that sip dialog. >>>> > >>>> > I am sure there must be some configuration to achieve this. >>>> > >>>> > Can anyone please help us to make it working? >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>> >>> >>> >>> >>> -- >>> Thanks, >>> Bhavik Patel >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org > > > > > -- > Thanks, > Bhavik Patel > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org From yadenis at seznam.cz Thu Apr 30 15:46:29 2015 From: yadenis at seznam.cz (dex_Cz) Date: Thu, 30 Apr 2015 04:46:29 -0700 (MST) Subject: [Freeswitch-users] Help with FSV record. Message-ID: <1430394389391-7596159.post@n2.nabble.com> Hi guys! I have a question. Somebody tried to record in the FSV file when i bridge call? I hame a simple context from example. But it is not working. I tried to change the context It also did not help. In the end I try to enter these commands from the console uuid_setvar enable_file_write_buffering false (its says ok) and uuid_record start /usr/local/freeswitch/recordings/testrecord.fsv But i have a error 2015-04-30 12:27:16.635463 [ERR] mod_fsv.c:702 You are asking to write 342 bytes of data which is not supported. Please set enable_file_write_buffering=false to use .fsv format 5e9ce2b0-ef23-11e4-b181-d1f037dabce9 2015-04-30 12:27:16.635463 [ERR] switch_ivr_async.c:1155 Error writing /usr/local/freeswitch/recordings/testrecord.fsv Anyone can help me, What I'm doing wrong? -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Help-with-FSV-record-tp7596159.html Sent from the freeswitch-users mailing list archive at Nabble.com. From cdgraff at gmail.com Thu Apr 30 16:24:57 2015 From: cdgraff at gmail.com (Alejandro) Date: Thu, 30 Apr 2015 09:24:57 -0300 Subject: [Freeswitch-users] voicemail + S3 Message-ID: Hi all, I read that if I combine, mod_voicemail with mod_http_cache I can save my voicemail message directly into S3 storage. Any are using this implementation? can share with me some config file to understand how i need setup this? Thanks in advance Alejandro -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150430/e31d5244/attachment.html From mike at jerris.com Thu Apr 30 16:34:47 2015 From: mike at jerris.com (Michael Jerris) Date: Thu, 30 Apr 2015 08:34:47 -0400 Subject: [Freeswitch-users] Help with FSV record. In-Reply-To: <1430394389391-7596159.post@n2.nabble.com> References: <1430394389391-7596159.post@n2.nabble.com> Message-ID: <8D8CF81D-30E4-4AF3-BDD1-358F9492342D@jerris.com> Recording video was barely a feature in 1.4. Full support for this and everything you are trying to do is coming in 1.6. Stay tuned for beta announcements on that coming soon. You can try out the feature branch if you like, more info is available at: https://freeswitch.org/confluence/display/FREESWITCH/FreeSWITCH+1.6+Video . We are still working on docs so please be patient as we gather all of that information. > On Apr 30, 2015, at 7:46 AM, dex_Cz wrote: > > Hi guys! > I have a question. Somebody tried to record in the FSV file when i bridge > call? > I hame a simple context from example. But it is not working. > > > > > data="/usr/local/freeswitch/recordings/testrecord.fsv"/> > > > > > > > > > I tried to change the context > > > > > > data="{ignore_early_media=true}user/1004 at 172.16.0.2"/> > > > > > > > It also did not help. In the end I try to enter these commands from the > console > uuid_setvar enable_file_write_buffering false (its says ok) > and > uuid_record start /usr/local/freeswitch/recordings/testrecord.fsv > > But i have a error > > 2015-04-30 12:27:16.635463 [ERR] mod_fsv.c:702 You are asking to write 342 > bytes of data which is not supported. Please set > enable_file_write_buffering=false to use .fsv format > 5e9ce2b0-ef23-11e4-b181-d1f037dabce9 2015-04-30 12:27:16.635463 [ERR] > switch_ivr_async.c:1155 Error writing > /usr/local/freeswitch/recordings/testrecord.fsv > > Anyone can help me, What I'm doing wrong? > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150430/b9a2aabd/attachment.html From steveayre at gmail.com Thu Apr 30 17:23:07 2015 From: steveayre at gmail.com (Steven Ayre) Date: Thu, 30 Apr 2015 14:23:07 +0100 Subject: [Freeswitch-users] voicemail + S3 In-Reply-To: References: Message-ID: There's a sample config attached to https://freeswitch.org/jira/browse/FS-7280, but from that ticket I'm not sure that it is actually functioning yet. On 30 April 2015 at 13:24, Alejandro wrote: > Hi all, > > I read that if I combine, mod_voicemail with mod_http_cache I can save my > voicemail message directly into S3 storage. > > Any are using this implementation? can share with me some config file to > understand how i need setup this? > > Thanks in advance > Alejandro > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150430/26900f08/attachment.html From bknight at superheatfgh.com Thu Apr 30 17:23:35 2015 From: bknight at superheatfgh.com (Brad Knight) Date: Thu, 30 Apr 2015 13:23:35 +0000 Subject: [Freeswitch-users] FreeBSD installation error Message-ID: <8FD8765702E03645B40F5ADEA478582F0165D45D83@KINEX05.SuperheatFGH.com> Hello, I'm having trouble downloading the source to a FreeBSD box (pfSense2.2.2). /usr/local/src: git clone https://stash.freeswitch.org/scm/fs/freeswitch.git fatal: could not create work tree dir 'freeswitch'.: No such file or directory I was following this guide. https://freeswitch.org/confluence/display/FREESWITCH/FreeBSD Any help/direction would great to what I may be doing wrong. Thanks, Brad -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150430/3017acfd/attachment.html From asilva at wirelessmundi.com Thu Apr 30 17:24:32 2015 From: asilva at wirelessmundi.com (Antonio Silva) Date: Thu, 30 Apr 2015 15:24:32 +0200 Subject: [Freeswitch-users] Intercept chat message before forwarding it to receiver In-Reply-To: References: Message-ID: <55422D10.9050002@wirelessmundi.com> Hi, When you intercept the message and send it again, what happen to the original message, is it sent to the destination as well? I'm trying to implement a small dialplan where i want to be able to allow only a certain users to chat between them, but i can't make FS to drop the original message... I tried the action stop but no luck... You can check the output of my test is here: https://pastebin.freeswitch.org/24170 Thanks, Ant?nio On 03/17/2015 09:58 PM, David Wafula wrote: > OH cool. Chatplan it is. > Thanks! > > On Tue, Mar 17, 2015 at 3:06 PM, Brian West > wrote: > > You would use the Chat Plan to accomplish this, I'm pretty sure > examples are on confluence or wiki. > > On Mon, Mar 16, 2015 at 6:29 PM, David Wafula > wrote: > > Dear all, > We are implementing custom messaging system that is using > freeswitch. > I wish to intercept a chat message, prepend Country Code (or > whatever i want) of the sender, then forward it to receiver. > How does one intercept a chat message ? > > Regards, > -- > David Wafula > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > > -- > > */Brian West/* > brian at freeswitch.org > > > */Twitter: @FreeSWITCH , @briankwest/* > http://www.freeswitchbook.com > http://www.freeswitchcookbook.com > > *T:*+19184209001 | *F:*+19184209002 > | *M:*+1918424WEST (9378) > *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > > -- > David Wafula > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -- --- Ant?nio Silva -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150430/5132c884/attachment-0001.html From cdgraff at gmail.com Thu Apr 30 17:31:40 2015 From: cdgraff at gmail.com (Alejandro) Date: Thu, 30 Apr 2015 10:31:40 -0300 Subject: [Freeswitch-users] voicemail + S3 In-Reply-To: References: Message-ID: Thanks Steven, to point me to the attach, I previously read the ticket, but don't see the attached file. Regards, Alejandro 2015-04-30 10:23 GMT-03:00 Steven Ayre : > There's a sample config attached to > https://freeswitch.org/jira/browse/FS-7280, but from that ticket I'm not > sure that it is actually functioning yet. > > On 30 April 2015 at 13:24, Alejandro wrote: > >> Hi all, >> >> I read that if I combine, mod_voicemail with mod_http_cache I can save my >> voicemail message directly into S3 storage. >> >> Any are using this implementation? can share with me some config file to >> understand how i need setup this? >> >> Thanks in advance >> Alejandro >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150430/8b265592/attachment.html From mike at jerris.com Thu Apr 30 17:45:11 2015 From: mike at jerris.com (Michael Jerris) Date: Thu, 30 Apr 2015 09:45:11 -0400 Subject: [Freeswitch-users] FreeBSD installation error In-Reply-To: <8FD8765702E03645B40F5ADEA478582F0165D45D83@KINEX05.SuperheatFGH.com> References: <8FD8765702E03645B40F5ADEA478582F0165D45D83@KINEX05.SuperheatFGH.com> Message-ID: git clone https://freeswitch.org/stash/scm/fs/freeswitch.git doc fixed. > On Apr 30, 2015, at 9:23 AM, Brad Knight wrote: > > Hello, > > I'm having trouble downloading the source to a FreeBSD box (pfSense2.2.2). > > /usr/local/src: git clone https://stash.freeswitch.org/scm/fs/freeswitch.git > fatal: could not create work tree dir 'freeswitch'.: No such file or directory > > I was following this guide. > https://freeswitch.org/confluence/display/FREESWITCH/FreeBSD > > Any help/direction would great to what I may be doing wrong. > Thanks, > Brad -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150430/3ae162aa/attachment.html From paul.atreides83 at googlemail.com Thu Apr 30 17:58:44 2015 From: paul.atreides83 at googlemail.com (Paul Atreides) Date: Thu, 30 Apr 2015 15:58:44 +0200 Subject: [Freeswitch-users] Remote Control for SIP Clients In-Reply-To: References: Message-ID: Thanks Naveen, that was exactly what I was looking for. On Wed, Apr 29, 2015 at 1:20 PM, Naveen Khanna wrote: > I believe you are looking for SIP Autoanswer following link should help > > https://wiki.freeswitch.org/wiki/Variable_sip_auto_answer > > > And for dialling you can use originate > https://wiki.freeswitch.org/wiki/Mod_commands#originate via ESL > > You can further get information on > https://wiki.freeswitch.org/wiki/Event_Socket_Library as to how to write > the script for program based dialling. > > > Regards, > > > *Naveen Khanna* > > > On 29-Apr-2015, at 3:07 pm, Paul Atreides > wrote: > > Hi, > > is it possible to remotely control a sip client. Like dialing numbers over > an computer program > or picking up the phone? > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150430/e0eb403c/attachment.html From steveayre at gmail.com Thu Apr 30 20:35:17 2015 From: steveayre at gmail.com (Steven Ayre) Date: Thu, 30 Apr 2015 17:35:17 +0100 Subject: [Freeswitch-users] voicemail + S3 In-Reply-To: References: Message-ID: between description and comments http_cache.conf, s3 profile voicemail.conf, see the storage-dir param towards the bottom But as I say it's not yet functional - the comments show it was failing as mod_voicemail checks if the file exists which mod_http_cache seems not to support yet and I don't see any mention of FS-7280 in the commit log since the ticket was created. On 30 April 2015 at 14:31, Alejandro wrote: > Thanks Steven, to point me to the attach, I previously read the ticket, > but don't see the attached file. > > Regards, > Alejandro > > 2015-04-30 10:23 GMT-03:00 Steven Ayre : > > There's a sample config attached to >> https://freeswitch.org/jira/browse/FS-7280, but from that ticket I'm not >> sure that it is actually functioning yet. >> >> On 30 April 2015 at 13:24, Alejandro wrote: >> >>> Hi all, >>> >>> I read that if I combine, mod_voicemail with mod_http_cache I can save >>> my voicemail message directly into S3 storage. >>> >>> Any are using this implementation? can share with me some config file to >>> understand how i need setup this? >>> >>> Thanks in advance >>> Alejandro >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150430/c29ed44d/attachment-0001.html From cdgraff at gmail.com Thu Apr 30 21:11:17 2015 From: cdgraff at gmail.com (Alejandro) Date: Thu, 30 Apr 2015 14:11:17 -0300 Subject: [Freeswitch-users] voicemail + S3 In-Reply-To: References: Message-ID: hi Steven, thanks a lot for the time to gide me, during mean time will use s3fs (i'm not big fan, but i has this into other services into production and is a good alternative, and can pass the issue of use http_cache module to upload.) just one more question... i like to give the user the option to has custom Voicemail Grettings recorded by some profesional presenter, and rotate in base to the hour of the day automatically. Something like, from 9am to 5pm, play gretting_1.mp3 and from 5pm to 9am grettings_2.mp3 Can teel me if that be possible and guide me to some documentation or link to investigate more about this? THanks again, i'm working with freeswitch just a few hours, and is really amazing, I come from Asterisk and feel more flexible and powerfull freeswitch. Regards from Argentina Alejandro 2015-04-30 13:35 GMT-03:00 Steven Ayre : > between description and comments > http_cache.conf, s3 profile > voicemail.conf, see the storage-dir param towards the bottom > > But as I say it's not yet functional - the comments show it was failing as > mod_voicemail checks if the file exists which mod_http_cache seems not to > support yet and I don't see any mention of FS-7280 in the commit log since > the ticket was created. > > > On 30 April 2015 at 14:31, Alejandro wrote: > >> Thanks Steven, to point me to the attach, I previously read the ticket, >> but don't see the attached file. >> >> Regards, >> Alejandro >> >> 2015-04-30 10:23 GMT-03:00 Steven Ayre : >> >> There's a sample config attached to >>> https://freeswitch.org/jira/browse/FS-7280, but from that ticket I'm >>> not sure that it is actually functioning yet. >>> >>> On 30 April 2015 at 13:24, Alejandro wrote: >>> >>>> Hi all, >>>> >>>> I read that if I combine, mod_voicemail with mod_http_cache I can save >>>> my voicemail message directly into S3 storage. >>>> >>>> Any are using this implementation? can share with me some config file >>>> to understand how i need setup this? >>>> >>>> Thanks in advance >>>> Alejandro >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150430/fef2c7a8/attachment.html From blasterjr at gmail.com Thu Apr 30 21:19:43 2015 From: blasterjr at gmail.com (Chris Tunbridge) Date: Thu, 30 Apr 2015 11:19:43 -0600 Subject: [Freeswitch-users] voicemail + S3 In-Reply-To: References: Message-ID: Alejandro i figured I'd chime in, i am the one who submitted that ticket regarding http_cache+voicemail, the issue is the system doesn't read the http_put status and thinks that the voicemail didn't get stored so it never makes a record. S3FS works okay for voice mails, it'd be nice is the voice mail module was updated to function with the http_cache module as this would help out with scaling deployments. On Thu, Apr 30, 2015 at 11:11 AM, Alejandro wrote: > hi Steven, > > thanks a lot for the time to gide me, during mean time will use s3fs (i'm > not big fan, but i has this into other services into production and is a > good alternative, and can pass the issue of use http_cache module to > upload.) > > just one more question... i like to give the user the option to has custom > Voicemail Grettings recorded by some profesional presenter, and rotate in > base to the hour of the day automatically. > > Something like, from 9am to 5pm, play gretting_1.mp3 and from 5pm to 9am > grettings_2.mp3 > > Can teel me if that be possible and guide me to some documentation or link > to investigate more about this? > > THanks again, i'm working with freeswitch just a few hours, and is really > amazing, I come from Asterisk and feel more flexible and powerfull > freeswitch. > > Regards from Argentina > Alejandro > > 2015-04-30 13:35 GMT-03:00 Steven Ayre : > > between description and comments >> http_cache.conf, s3 profile >> voicemail.conf, see the storage-dir param towards the bottom >> >> But as I say it's not yet functional - the comments show it was failing >> as mod_voicemail checks if the file exists which mod_http_cache seems not >> to support yet and I don't see any mention of FS-7280 in the commit log >> since the ticket was created. >> >> >> On 30 April 2015 at 14:31, Alejandro wrote: >> >>> Thanks Steven, to point me to the attach, I previously read the ticket, >>> but don't see the attached file. >>> >>> Regards, >>> Alejandro >>> >>> 2015-04-30 10:23 GMT-03:00 Steven Ayre : >>> >>> There's a sample config attached to >>>> https://freeswitch.org/jira/browse/FS-7280, but from that ticket I'm >>>> not sure that it is actually functioning yet. >>>> >>>> On 30 April 2015 at 13:24, Alejandro wrote: >>>> >>>>> Hi all, >>>>> >>>>> I read that if I combine, mod_voicemail with mod_http_cache I can save >>>>> my voicemail message directly into S3 storage. >>>>> >>>>> Any are using this implementation? can share with me some config file >>>>> to understand how i need setup this? >>>>> >>>>> Thanks in advance >>>>> Alejandro >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150430/f7a4d68b/attachment-0001.html From blasterjr at gmail.com Thu Apr 30 21:23:05 2015 From: blasterjr at gmail.com (Chris Tunbridge) Date: Thu, 30 Apr 2015 11:23:05 -0600 Subject: [Freeswitch-users] voicemail + S3 In-Reply-To: References: Message-ID: Alejandro the way you would change the voicemail greeting is by using the following action setting the number to a different one depending on the greeting # you want to play. You can control the time based stuff by using conditions, see here for more information https://freeswitch.org/confluence/display/FREESWITCH/Time+of+Day+and+Holiday+Routing On Thu, Apr 30, 2015 at 11:19 AM, Chris Tunbridge wrote: > Alejandro i figured I'd chime in, i am the one who submitted that ticket > regarding http_cache+voicemail, the issue is the system doesn't read the > http_put status and thinks that the voicemail didn't get stored so it never > makes a record. > > S3FS works okay for voice mails, it'd be nice is the voice mail module was > updated to function with the http_cache module as this would help out with > scaling deployments. > > On Thu, Apr 30, 2015 at 11:11 AM, Alejandro wrote: > >> hi Steven, >> >> thanks a lot for the time to gide me, during mean time will use s3fs (i'm >> not big fan, but i has this into other services into production and is a >> good alternative, and can pass the issue of use http_cache module to >> upload.) >> >> just one more question... i like to give the user the option to has >> custom Voicemail Grettings recorded by some profesional presenter, and >> rotate in base to the hour of the day automatically. >> >> Something like, from 9am to 5pm, play gretting_1.mp3 and from 5pm to 9am >> grettings_2.mp3 >> >> Can teel me if that be possible and guide me to some documentation or >> link to investigate more about this? >> >> THanks again, i'm working with freeswitch just a few hours, and is really >> amazing, I come from Asterisk and feel more flexible and powerfull >> freeswitch. >> >> Regards from Argentina >> Alejandro >> >> 2015-04-30 13:35 GMT-03:00 Steven Ayre : >> >> between description and comments >>> http_cache.conf, s3 profile >>> voicemail.conf, see the storage-dir param towards the bottom >>> >>> But as I say it's not yet functional - the comments show it was failing >>> as mod_voicemail checks if the file exists which mod_http_cache seems not >>> to support yet and I don't see any mention of FS-7280 in the commit log >>> since the ticket was created. >>> >>> >>> On 30 April 2015 at 14:31, Alejandro wrote: >>> >>>> Thanks Steven, to point me to the attach, I previously read the ticket, >>>> but don't see the attached file. >>>> >>>> Regards, >>>> Alejandro >>>> >>>> 2015-04-30 10:23 GMT-03:00 Steven Ayre : >>>> >>>> There's a sample config attached to >>>>> https://freeswitch.org/jira/browse/FS-7280, but from that ticket I'm >>>>> not sure that it is actually functioning yet. >>>>> >>>>> On 30 April 2015 at 13:24, Alejandro wrote: >>>>> >>>>>> Hi all, >>>>>> >>>>>> I read that if I combine, mod_voicemail with mod_http_cache I can >>>>>> save my voicemail message directly into S3 storage. >>>>>> >>>>>> Any are using this implementation? can share with me some config file >>>>>> to understand how i need setup this? >>>>>> >>>>>> Thanks in advance >>>>>> Alejandro >>>>>> >>>>>> >>>>>> _________________________________________________________________________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at freeswitch.org >>>>>> http://www.freeswitchsolutions.com >>>>>> >>>>>> Official FreeSWITCH Sites >>>>>> http://www.freeswitch.org >>>>>> http://confluence.freeswitch.org >>>>>> http://www.cluecon.com >>>>>> >>>>>> FreeSWITCH-users mailing list >>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE: >>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>> >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150430/f3de1f78/attachment.html From jpablolorenzetti at hotmail.com Thu Apr 30 23:14:51 2015 From: jpablolorenzetti at hotmail.com (Juan Pablo L.) Date: Thu, 30 Apr 2015 19:14:51 +0000 Subject: [Freeswitch-users] adding policies Message-ID: Hi, i m trying to enabled policies in my AAA, but i m getting the following error: Thu Apr 30 13:02:22 2015 : Error: ~/etc/raddb/policy.d/filter[66]: Failed to find "reject" as a module or policy. Thu Apr 30 13:02:22 2015 : Error: ~/etc/raddb/policy.d/filter[66]: Please verify that the configuration exists in ~/etc/raddb/mods-enabled/reject. Thu Apr 30 13:02:22 2015 : Error: ~/etc/raddb/policy.d/filter[66]: Failed to parse "reject" entry. Thu Apr 30 13:02:22 2015 : Error: ~/etc/raddb/policy.d/filter[65]: Failed to parse "if" subsection. Thu Apr 30 13:02:22 2015 : Error: ~/etc/raddb/sites-enabled/default[220]: Errors parsing authorize section. i have enabled policies in radius.conf: policy { $INCLUDE policy.d/ } i have defined the policy in the ~/etc/raddb/policy.d/filter filter_username { if (User-Name != "%{tolower:%{User-Name}}") { reject } } and i configured sites-available/default to call the policy in the authorize section by simply calling the name of the filter: filter_username but i get the above error, i would appreciate where to look for more info about this. thanks!! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150430/cc1dd978/attachment.html